| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddGoodsAddRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "bad_fruit_claim")
- */
- private $badFruitClaim;
- /**
- * @JsonProperty(Long, "buy_limit")
- */
- private $buyLimit;
- /**
- * @JsonProperty(List<String>, "carousel_gallery")
- */
- private $carouselGallery;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_CarouselVideoItem>, "carousel_video")
- */
- private $carouselVideo;
- /**
- * @JsonProperty(String, "carousel_video_url")
- */
- private $carouselVideoUrl;
- /**
- * @JsonProperty(Long, "cat_id")
- */
- private $catId;
- /**
- * @JsonProperty(Long, "cost_template_id")
- */
- private $costTemplateId;
- /**
- * @JsonProperty(Integer, "country_id")
- */
- private $countryId;
- /**
- * @JsonProperty(Long, "customer_num")
- */
- private $customerNum;
- /**
- * @JsonProperty(String, "customs")
- */
- private $customs;
- /**
- * @JsonProperty(Integer, "delivery_one_day")
- */
- private $deliveryOneDay;
- /**
- * @JsonProperty(List<String>, "detail_gallery")
- */
- private $detailGallery;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_ElecGoodsAttributes, "elec_goods_attributes")
- */
- private $elecGoodsAttributes;
- /**
- * @JsonProperty(String, "goods_desc")
- */
- private $goodsDesc;
- /**
- * @JsonProperty(String, "goods_name")
- */
- private $goodsName;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_GoodsPropertiesItem>, "goods_properties")
- */
- private $goodsProperties;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_GoodsTradeAttr, "goods_trade_attr")
- */
- private $goodsTradeAttr;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_GoodsTravelAttr, "goods_travel_attr")
- */
- private $goodsTravelAttr;
- /**
- * @JsonProperty(Integer, "goods_type")
- */
- private $goodsType;
- /**
- * @JsonProperty(String, "image_url")
- */
- private $imageUrl;
- /**
- * @JsonProperty(Boolean, "invoice_status")
- */
- private $invoiceStatus;
- /**
- * @JsonProperty(Boolean, "is_customs")
- */
- private $isCustoms;
- /**
- * @JsonProperty(Boolean, "is_folt")
- */
- private $isFolt;
- /**
- * @JsonProperty(Boolean, "is_pre_sale")
- */
- private $isPreSale;
- /**
- * @JsonProperty(Boolean, "is_refundable")
- */
- private $isRefundable;
- /**
- * @JsonProperty(Integer, "lack_of_weight_claim")
- */
- private $lackOfWeightClaim;
- /**
- * @JsonProperty(String, "mai_jia_zi_ti")
- */
- private $maiJiaZiTi;
- /**
- * @JsonProperty(Long, "market_price")
- */
- private $marketPrice;
- /**
- * @JsonProperty(Integer, "order_limit")
- */
- private $orderLimit;
- /**
- * @JsonProperty(Integer, "origin_country_id")
- */
- private $originCountryId;
- /**
- * @JsonProperty(String, "out_goods_id")
- */
- private $outGoodsId;
- /**
- * @JsonProperty(String, "out_source_goods_id")
- */
- private $outSourceGoodsId;
- /**
- * @JsonProperty(Integer, "out_source_type")
- */
- private $outSourceType;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_OverseaGoods, "oversea_goods")
- */
- private $overseaGoods;
- /**
- * @JsonProperty(Integer, "oversea_type")
- */
- private $overseaType;
- /**
- * @JsonProperty(Long, "pre_sale_time")
- */
- private $preSaleTime;
- /**
- * @JsonProperty(Integer, "quan_guo_lian_bao")
- */
- private $quanGuoLianBao;
- /**
- * @JsonProperty(Boolean, "second_hand")
- */
- private $secondHand;
- /**
- * @JsonProperty(String, "shang_men_an_zhuang")
- */
- private $shangMenAnZhuang;
- /**
- * @JsonProperty(Long, "shipment_limit_second")
- */
- private $shipmentLimitSecond;
- /**
- * @JsonProperty(Long, "size_spec_id")
- */
- private $sizeSpecId;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_SkuListItem>, "sku_list")
- */
- private $skuList;
- /**
- * @JsonProperty(Integer, "sku_type")
- */
- private $skuType;
- /**
- * @JsonProperty(String, "song_huo_an_zhuang")
- */
- private $songHuoAnZhuang;
- /**
- * @JsonProperty(String, "song_huo_ru_hu")
- */
- private $songHuoRuHu;
- /**
- * @JsonProperty(String, "tiny_name")
- */
- private $tinyName;
- /**
- * @JsonProperty(String, "warehouse")
- */
- private $warehouse;
- /**
- * @JsonProperty(String, "warm_tips")
- */
- private $warmTips;
- /**
- * @JsonProperty(Integer, "zhi_huan_bu_xiu")
- */
- private $zhiHuanBuXiu;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "bad_fruit_claim", $this->badFruitClaim);
- $this->setUserParam($params, "buy_limit", $this->buyLimit);
- $this->setUserParam($params, "carousel_gallery", $this->carouselGallery);
- $this->setUserParam($params, "carousel_video", $this->carouselVideo);
- $this->setUserParam($params, "carousel_video_url", $this->carouselVideoUrl);
- $this->setUserParam($params, "cat_id", $this->catId);
- $this->setUserParam($params, "cost_template_id", $this->costTemplateId);
- $this->setUserParam($params, "country_id", $this->countryId);
- $this->setUserParam($params, "customer_num", $this->customerNum);
- $this->setUserParam($params, "customs", $this->customs);
- $this->setUserParam($params, "delivery_one_day", $this->deliveryOneDay);
- $this->setUserParam($params, "detail_gallery", $this->detailGallery);
- $this->setUserParam($params, "elec_goods_attributes", $this->elecGoodsAttributes);
- $this->setUserParam($params, "goods_desc", $this->goodsDesc);
- $this->setUserParam($params, "goods_name", $this->goodsName);
- $this->setUserParam($params, "goods_properties", $this->goodsProperties);
- $this->setUserParam($params, "goods_trade_attr", $this->goodsTradeAttr);
- $this->setUserParam($params, "goods_travel_attr", $this->goodsTravelAttr);
- $this->setUserParam($params, "goods_type", $this->goodsType);
- $this->setUserParam($params, "image_url", $this->imageUrl);
- $this->setUserParam($params, "invoice_status", $this->invoiceStatus);
- $this->setUserParam($params, "is_customs", $this->isCustoms);
- $this->setUserParam($params, "is_folt", $this->isFolt);
- $this->setUserParam($params, "is_pre_sale", $this->isPreSale);
- $this->setUserParam($params, "is_refundable", $this->isRefundable);
- $this->setUserParam($params, "lack_of_weight_claim", $this->lackOfWeightClaim);
- $this->setUserParam($params, "mai_jia_zi_ti", $this->maiJiaZiTi);
- $this->setUserParam($params, "market_price", $this->marketPrice);
- $this->setUserParam($params, "order_limit", $this->orderLimit);
- $this->setUserParam($params, "origin_country_id", $this->originCountryId);
- $this->setUserParam($params, "out_goods_id", $this->outGoodsId);
- $this->setUserParam($params, "out_source_goods_id", $this->outSourceGoodsId);
- $this->setUserParam($params, "out_source_type", $this->outSourceType);
- $this->setUserParam($params, "oversea_goods", $this->overseaGoods);
- $this->setUserParam($params, "oversea_type", $this->overseaType);
- $this->setUserParam($params, "pre_sale_time", $this->preSaleTime);
- $this->setUserParam($params, "quan_guo_lian_bao", $this->quanGuoLianBao);
- $this->setUserParam($params, "second_hand", $this->secondHand);
- $this->setUserParam($params, "shang_men_an_zhuang", $this->shangMenAnZhuang);
- $this->setUserParam($params, "shipment_limit_second", $this->shipmentLimitSecond);
- $this->setUserParam($params, "size_spec_id", $this->sizeSpecId);
- $this->setUserParam($params, "sku_list", $this->skuList);
- $this->setUserParam($params, "sku_type", $this->skuType);
- $this->setUserParam($params, "song_huo_an_zhuang", $this->songHuoAnZhuang);
- $this->setUserParam($params, "song_huo_ru_hu", $this->songHuoRuHu);
- $this->setUserParam($params, "tiny_name", $this->tinyName);
- $this->setUserParam($params, "warehouse", $this->warehouse);
- $this->setUserParam($params, "warm_tips", $this->warmTips);
- $this->setUserParam($params, "zhi_huan_bu_xiu", $this->zhiHuanBuXiu);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.goods.add";
- }
- public function setBadFruitClaim($badFruitClaim)
- {
- $this->badFruitClaim = $badFruitClaim;
- }
- public function setBuyLimit($buyLimit)
- {
- $this->buyLimit = $buyLimit;
- }
- public function setCarouselGallery($carouselGallery)
- {
- $this->carouselGallery = $carouselGallery;
- }
- public function setCarouselVideo($carouselVideo)
- {
- $this->carouselVideo = $carouselVideo;
- }
- public function setCarouselVideoUrl($carouselVideoUrl)
- {
- $this->carouselVideoUrl = $carouselVideoUrl;
- }
- public function setCatId($catId)
- {
- $this->catId = $catId;
- }
- public function setCostTemplateId($costTemplateId)
- {
- $this->costTemplateId = $costTemplateId;
- }
- public function setCountryId($countryId)
- {
- $this->countryId = $countryId;
- }
- public function setCustomerNum($customerNum)
- {
- $this->customerNum = $customerNum;
- }
- public function setCustoms($customs)
- {
- $this->customs = $customs;
- }
- public function setDeliveryOneDay($deliveryOneDay)
- {
- $this->deliveryOneDay = $deliveryOneDay;
- }
- public function setDetailGallery($detailGallery)
- {
- $this->detailGallery = $detailGallery;
- }
- public function setElecGoodsAttributes($elecGoodsAttributes)
- {
- $this->elecGoodsAttributes = $elecGoodsAttributes;
- }
- public function setGoodsDesc($goodsDesc)
- {
- $this->goodsDesc = $goodsDesc;
- }
- public function setGoodsName($goodsName)
- {
- $this->goodsName = $goodsName;
- }
- public function setGoodsProperties($goodsProperties)
- {
- $this->goodsProperties = $goodsProperties;
- }
- public function setGoodsTradeAttr($goodsTradeAttr)
- {
- $this->goodsTradeAttr = $goodsTradeAttr;
- }
- public function setGoodsTravelAttr($goodsTravelAttr)
- {
- $this->goodsTravelAttr = $goodsTravelAttr;
- }
- public function setGoodsType($goodsType)
- {
- $this->goodsType = $goodsType;
- }
- public function setImageUrl($imageUrl)
- {
- $this->imageUrl = $imageUrl;
- }
- public function setInvoiceStatus($invoiceStatus)
- {
- $this->invoiceStatus = $invoiceStatus;
- }
- public function setIsCustoms($isCustoms)
- {
- $this->isCustoms = $isCustoms;
- }
- public function setIsFolt($isFolt)
- {
- $this->isFolt = $isFolt;
- }
- public function setIsPreSale($isPreSale)
- {
- $this->isPreSale = $isPreSale;
- }
- public function setIsRefundable($isRefundable)
- {
- $this->isRefundable = $isRefundable;
- }
- public function setLackOfWeightClaim($lackOfWeightClaim)
- {
- $this->lackOfWeightClaim = $lackOfWeightClaim;
- }
- public function setMaiJiaZiTi($maiJiaZiTi)
- {
- $this->maiJiaZiTi = $maiJiaZiTi;
- }
- public function setMarketPrice($marketPrice)
- {
- $this->marketPrice = $marketPrice;
- }
- public function setOrderLimit($orderLimit)
- {
- $this->orderLimit = $orderLimit;
- }
- public function setOriginCountryId($originCountryId)
- {
- $this->originCountryId = $originCountryId;
- }
- public function setOutGoodsId($outGoodsId)
- {
- $this->outGoodsId = $outGoodsId;
- }
- public function setOutSourceGoodsId($outSourceGoodsId)
- {
- $this->outSourceGoodsId = $outSourceGoodsId;
- }
- public function setOutSourceType($outSourceType)
- {
- $this->outSourceType = $outSourceType;
- }
- public function setOverseaGoods($overseaGoods)
- {
- $this->overseaGoods = $overseaGoods;
- }
- public function setOverseaType($overseaType)
- {
- $this->overseaType = $overseaType;
- }
- public function setPreSaleTime($preSaleTime)
- {
- $this->preSaleTime = $preSaleTime;
- }
- public function setQuanGuoLianBao($quanGuoLianBao)
- {
- $this->quanGuoLianBao = $quanGuoLianBao;
- }
- public function setSecondHand($secondHand)
- {
- $this->secondHand = $secondHand;
- }
- public function setShangMenAnZhuang($shangMenAnZhuang)
- {
- $this->shangMenAnZhuang = $shangMenAnZhuang;
- }
- public function setShipmentLimitSecond($shipmentLimitSecond)
- {
- $this->shipmentLimitSecond = $shipmentLimitSecond;
- }
- public function setSizeSpecId($sizeSpecId)
- {
- $this->sizeSpecId = $sizeSpecId;
- }
- public function setSkuList($skuList)
- {
- $this->skuList = $skuList;
- }
- public function setSkuType($skuType)
- {
- $this->skuType = $skuType;
- }
- public function setSongHuoAnZhuang($songHuoAnZhuang)
- {
- $this->songHuoAnZhuang = $songHuoAnZhuang;
- }
- public function setSongHuoRuHu($songHuoRuHu)
- {
- $this->songHuoRuHu = $songHuoRuHu;
- }
- public function setTinyName($tinyName)
- {
- $this->tinyName = $tinyName;
- }
- public function setWarehouse($warehouse)
- {
- $this->warehouse = $warehouse;
- }
- public function setWarmTips($warmTips)
- {
- $this->warmTips = $warmTips;
- }
- public function setZhiHuanBuXiu($zhiHuanBuXiu)
- {
- $this->zhiHuanBuXiu = $zhiHuanBuXiu;
- }
- }
- class PddGoodsAddRequest_CarouselVideoItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Long, "file_id")
- */
- private $fileId;
- /**
- * @JsonProperty(String, "video_url")
- */
- private $videoUrl;
- public function setFileId($fileId)
- {
- $this->fileId = $fileId;
- }
- public function setVideoUrl($videoUrl)
- {
- $this->videoUrl = $videoUrl;
- }
- }
- class PddGoodsAddRequest_ElecGoodsAttributes extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Long, "begin_time")
- */
- private $beginTime;
- /**
- * @JsonProperty(Integer, "days_time")
- */
- private $daysTime;
- /**
- * @JsonProperty(Long, "end_time")
- */
- private $endTime;
- /**
- * @JsonProperty(Integer, "time_type")
- */
- private $timeType;
- public function setBeginTime($beginTime)
- {
- $this->beginTime = $beginTime;
- }
- public function setDaysTime($daysTime)
- {
- $this->daysTime = $daysTime;
- }
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
- public function setTimeType($timeType)
- {
- $this->timeType = $timeType;
- }
- }
- class PddGoodsAddRequest_GoodsPropertiesItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "group_id")
- */
- private $groupId;
- /**
- * @JsonProperty(String, "img_url")
- */
- private $imgUrl;
- /**
- * @JsonProperty(String, "note")
- */
- private $note;
- /**
- * @JsonProperty(Long, "parent_spec_id")
- */
- private $parentSpecId;
- /**
- * @JsonProperty(Long, "ref_pid")
- */
- private $refPid;
- /**
- * @JsonProperty(Long, "spec_id")
- */
- private $specId;
- /**
- * @JsonProperty(Long, "template_pid")
- */
- private $templatePid;
- /**
- * @JsonProperty(String, "value")
- */
- private $value;
- /**
- * @JsonProperty(String, "value_unit")
- */
- private $valueUnit;
- /**
- * @JsonProperty(Long, "vid")
- */
- private $vid;
- public function setGroupId($groupId)
- {
- $this->groupId = $groupId;
- }
- public function setImgUrl($imgUrl)
- {
- $this->imgUrl = $imgUrl;
- }
- public function setNote($note)
- {
- $this->note = $note;
- }
- public function setParentSpecId($parentSpecId)
- {
- $this->parentSpecId = $parentSpecId;
- }
- public function setRefPid($refPid)
- {
- $this->refPid = $refPid;
- }
- public function setSpecId($specId)
- {
- $this->specId = $specId;
- }
- public function setTemplatePid($templatePid)
- {
- $this->templatePid = $templatePid;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function setValueUnit($valueUnit)
- {
- $this->valueUnit = $valueUnit;
- }
- public function setVid($vid)
- {
- $this->vid = $vid;
- }
- }
- class PddGoodsAddRequest_GoodsTradeAttr extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "advances_days")
- */
- private $advancesDays;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_GoodsTradeAttrBookingNotes, "booking_notes")
- */
- private $bookingNotes;
- /**
- * @JsonProperty(Integer, "life_span")
- */
- private $lifeSpan;
- public function setAdvancesDays($advancesDays)
- {
- $this->advancesDays = $advancesDays;
- }
- public function setBookingNotes($bookingNotes)
- {
- $this->bookingNotes = $bookingNotes;
- }
- public function setLifeSpan($lifeSpan)
- {
- $this->lifeSpan = $lifeSpan;
- }
- }
- class PddGoodsAddRequest_GoodsTradeAttrBookingNotes extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "url")
- */
- private $url;
- public function setUrl($url)
- {
- $this->url = $url;
- }
- }
- class PddGoodsAddRequest_GoodsTravelAttr extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Boolean, "need_tourist")
- */
- private $needTourist;
- /**
- * @JsonProperty(Integer, "type")
- */
- private $type;
- public function setNeedTourist($needTourist)
- {
- $this->needTourist = $needTourist;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- }
- class PddGoodsAddRequest_OverseaGoods extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "bonded_warehouse_key")
- */
- private $bondedWarehouseKey;
- /**
- * @JsonProperty(Integer, "consumption_tax_rate")
- */
- private $consumptionTaxRate;
- /**
- * @JsonProperty(String, "customs_broker")
- */
- private $customsBroker;
- /**
- * @JsonProperty(String, "hs_code")
- */
- private $hsCode;
- /**
- * @JsonProperty(Integer, "value_added_tax_rate")
- */
- private $valueAddedTaxRate;
- public function setBondedWarehouseKey($bondedWarehouseKey)
- {
- $this->bondedWarehouseKey = $bondedWarehouseKey;
- }
- public function setConsumptionTaxRate($consumptionTaxRate)
- {
- $this->consumptionTaxRate = $consumptionTaxRate;
- }
- public function setCustomsBroker($customsBroker)
- {
- $this->customsBroker = $customsBroker;
- }
- public function setHsCode($hsCode)
- {
- $this->hsCode = $hsCode;
- }
- public function setValueAddedTaxRate($valueAddedTaxRate)
- {
- $this->valueAddedTaxRate = $valueAddedTaxRate;
- }
- }
- class PddGoodsAddRequest_SkuListItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "is_onsale")
- */
- private $isOnsale;
- /**
- * @JsonProperty(Long, "length")
- */
- private $length;
- /**
- * @JsonProperty(Long, "limit_quantity")
- */
- private $limitQuantity;
- /**
- * @JsonProperty(Long, "multi_price")
- */
- private $multiPrice;
- /**
- * @JsonProperty(String, "out_sku_sn")
- */
- private $outSkuSn;
- /**
- * @JsonProperty(String, "out_source_sku_id")
- */
- private $outSourceSkuId;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsAddRequest_SkuListItemOverseaSku, "oversea_sku")
- */
- private $overseaSku;
- /**
- * @JsonProperty(Long, "price")
- */
- private $price;
- /**
- * @JsonProperty(Long, "quantity")
- */
- private $quantity;
- /**
- * @JsonProperty(String, "spec_id_list")
- */
- private $specIdList;
- /**
- * @JsonProperty(String, "thumb_url")
- */
- private $thumbUrl;
- /**
- * @JsonProperty(Long, "weight")
- */
- private $weight;
- public function setIsOnsale($isOnsale)
- {
- $this->isOnsale = $isOnsale;
- }
- public function setLength($length)
- {
- $this->length = $length;
- }
- public function setLimitQuantity($limitQuantity)
- {
- $this->limitQuantity = $limitQuantity;
- }
- public function setMultiPrice($multiPrice)
- {
- $this->multiPrice = $multiPrice;
- }
- public function setOutSkuSn($outSkuSn)
- {
- $this->outSkuSn = $outSkuSn;
- }
- public function setOutSourceSkuId($outSourceSkuId)
- {
- $this->outSourceSkuId = $outSourceSkuId;
- }
- public function setOverseaSku($overseaSku)
- {
- $this->overseaSku = $overseaSku;
- }
- public function setPrice($price)
- {
- $this->price = $price;
- }
- public function setQuantity($quantity)
- {
- $this->quantity = $quantity;
- }
- public function setSpecIdList($specIdList)
- {
- $this->specIdList = $specIdList;
- }
- public function setThumbUrl($thumbUrl)
- {
- $this->thumbUrl = $thumbUrl;
- }
- public function setWeight($weight)
- {
- $this->weight = $weight;
- }
- }
- class PddGoodsAddRequest_SkuListItemOverseaSku extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "measurement_code")
- */
- private $measurementCode;
- /**
- * @JsonProperty(String, "specifications")
- */
- private $specifications;
- /**
- * @JsonProperty(Integer, "taxation")
- */
- private $taxation;
- public function setMeasurementCode($measurementCode)
- {
- $this->measurementCode = $measurementCode;
- }
- public function setSpecifications($specifications)
- {
- $this->specifications = $specifications;
- }
- public function setTaxation($taxation)
- {
- $this->taxation = $taxation;
- }
- }
|