| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- /**
- * 微信goods_detail字段说明
- * TradeMicropayWechaGoodsDetail
- * PHP version 7.4
- *
- * @category Class
- * @package Lakala\OpenAPISDK\V3\Model
- * @author lucongyu
- * @link https://o.lakala.com
- */
- namespace SixShop\Lakala\OpenAPISDK\V3\Model;
- class TradeMicropayWechaGoodsDetail extends TradeGoodsDetail implements \JsonSerializable
- {
- protected $goodsId;
- protected $wxpayGoodsId;
- protected $goodsName;
- protected $quantity;
- protected $price;
- public function setGoodsId($goodsId)
- {
- $this->goodsId = $goodsId;
- return $this;
- }
- public function getGoodsId()
- {
- return $this->goodsId;
- }
- public function setWxpayGoodsId($wxpayGoodsId)
- {
- $this->wxpayGoodsId = $wxpayGoodsId;
- return $this;
- }
- public function getWxpayGoodsId()
- {
- return $this->wxpayGoodsId;
- }
- public function setGoodsName($goodsName)
- {
- $this->goodsName = $goodsName;
- return $this;
- }
- public function getGoodsName()
- {
- return $this->goodsName;
- }
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- return $this;
- }
- public function getQuantity()
- {
- return $this->quantity;
- }
- public function setPrice($price)
- {
- $this->price = $price;
- return $this;
- }
- public function getPrice()
- {
- return $this->price;
- }
- public function jsonSerialize()
- {
- return [
- 'goods_id' => $this->goodsId,
- 'wxpay_goods_id' => $this->wxpayGoodsId,
- 'goods_name' => $this->goodsName,
- 'quantity' => $this->quantity,
- 'price' => $this->price,
- ];
- }
- }
|