| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddWmsWareSynchronizeRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsWareSynchronizeRequest_Request, "request")
- */
- private $request;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "request", $this->request);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.wms.ware.synchronize";
- }
- public function setRequest($request)
- {
- $this->request = $request;
- }
- }
- class PddWmsWareSynchronizeRequest_Request extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "actionType")
- */
- private $actionType;
- /**
- * @JsonProperty(String, "ownerCode")
- */
- private $ownerCode;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsWareSynchronizeRequest_RequestWare, "ware")
- */
- private $ware;
- public function setActionType($actionType)
- {
- $this->actionType = $actionType;
- }
- public function setOwnerCode($ownerCode)
- {
- $this->ownerCode = $ownerCode;
- }
- public function setWare($ware)
- {
- $this->ware = $ware;
- }
- }
- class PddWmsWareSynchronizeRequest_RequestWare extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "barCode")
- */
- private $barCode;
- /**
- * @JsonProperty(String, "brandName")
- */
- private $brandName;
- /**
- * @JsonProperty(String, "categoryId")
- */
- private $categoryId;
- /**
- * @JsonProperty(String, "categoryName")
- */
- private $categoryName;
- /**
- * @JsonProperty(String, "color")
- */
- private $color;
- /**
- * @JsonProperty(String, "height")
- */
- private $height;
- /**
- * @JsonProperty(String, "length")
- */
- private $length;
- /**
- * @JsonProperty(String, "size")
- */
- private $size;
- /**
- * @JsonProperty(String, "volume")
- */
- private $volume;
- /**
- * @JsonProperty(String, "wareName")
- */
- private $wareName;
- /**
- * @JsonProperty(String, "wareSn")
- */
- private $wareSn;
- /**
- * @JsonProperty(String, "wareType")
- */
- private $wareType;
- /**
- * @JsonProperty(String, "weight")
- */
- private $weight;
- /**
- * @JsonProperty(String, "width")
- */
- private $width;
- public function setBarCode($barCode)
- {
- $this->barCode = $barCode;
- }
- public function setBrandName($brandName)
- {
- $this->brandName = $brandName;
- }
- public function setCategoryId($categoryId)
- {
- $this->categoryId = $categoryId;
- }
- public function setCategoryName($categoryName)
- {
- $this->categoryName = $categoryName;
- }
- public function setColor($color)
- {
- $this->color = $color;
- }
- public function setHeight($height)
- {
- $this->height = $height;
- }
- public function setLength($length)
- {
- $this->length = $length;
- }
- public function setSize($size)
- {
- $this->size = $size;
- }
- public function setVolume($volume)
- {
- $this->volume = $volume;
- }
- public function setWareName($wareName)
- {
- $this->wareName = $wareName;
- }
- public function setWareSn($wareSn)
- {
- $this->wareSn = $wareSn;
- }
- public function setWareType($wareType)
- {
- $this->wareType = $wareType;
- }
- public function setWeight($weight)
- {
- $this->weight = $weight;
- }
- public function setWidth($width)
- {
- $this->width = $width;
- }
- }
|