| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddCloudWmsOrderSendRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequest, "wms_order_send_request")
- */
- private $wmsOrderSendRequest;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "wms_order_send_request", $this->wmsOrderSendRequest);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.cloud.wms.order.send";
- }
- public function setWmsOrderSendRequest($wmsOrderSendRequest)
- {
- $this->wmsOrderSendRequest = $wmsOrderSendRequest;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequest extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "owner_code")
- */
- private $ownerCode;
- /**
- * @JsonProperty(String, "owner_name")
- */
- private $ownerName;
- /**
- * @JsonProperty(String, "warehouse_code")
- */
- private $warehouseCode;
- /**
- * @JsonProperty(String, "warehouse_type")
- */
- private $warehouseType;
- /**
- * @JsonProperty(String, "order_type")
- */
- private $orderType;
- /**
- * @JsonProperty(String, "delivery_order_code")
- */
- private $deliveryOrderCode;
- /**
- * @JsonProperty(String, "source_order_code")
- */
- private $sourceOrderCode;
- /**
- * @JsonProperty(String, "source_platform_code")
- */
- private $sourcePlatformCode;
- /**
- * @JsonProperty(String, "shop_nick")
- */
- private $shopNick;
- /**
- * @JsonProperty(String, "seller_nick")
- */
- private $sellerNick;
- /**
- * @JsonProperty(String, "buyer_nick")
- */
- private $buyerNick;
- /**
- * @JsonProperty(String, "create_time")
- */
- private $createTime;
- /**
- * @JsonProperty(String, "order_time")
- */
- private $orderTime;
- /**
- * @JsonProperty(String, "pay_time")
- */
- private $payTime;
- /**
- * @JsonProperty(String, "operate_time")
- */
- private $operateTime;
- /**
- * @JsonProperty(String, "order_flag")
- */
- private $orderFlag;
- /**
- * @JsonProperty(Integer, "total_amount")
- */
- private $totalAmount;
- /**
- * @JsonProperty(Integer, "discount_amount")
- */
- private $discountAmount;
- /**
- * @JsonProperty(Integer, "freight")
- */
- private $freight;
- /**
- * @JsonProperty(Integer, "actual_amount")
- */
- private $actualAmount;
- /**
- * @JsonProperty(String, "logistics_code")
- */
- private $logisticsCode;
- /**
- * @JsonProperty(String, "logistics_no")
- */
- private $logisticsNo;
- /**
- * @JsonProperty(String, "seller_message")
- */
- private $sellerMessage;
- /**
- * @JsonProperty(String, "buyer_message")
- */
- private $buyerMessage;
- /**
- * @JsonProperty(Boolean, "invoice_flag")
- */
- private $invoiceFlag;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestInvoiceInfo, "invoice_info")
- */
- private $invoiceInfo;
- /**
- * @JsonProperty(String, "remark")
- */
- private $remark;
- /**
- * @JsonProperty(String, "no_stack_tag")
- */
- private $noStackTag;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestSenderInfo, "senderInfo")
- */
- private $senderInfo;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestReceiverInfo, "receiverInfo")
- */
- private $receiverInfo;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestOrderLineListItem>, "order_line_list")
- */
- private $orderLineList;
- /**
- * @JsonProperty(String, "extendProps")
- */
- private $extendProps;
- /**
- * @JsonProperty(String, "token")
- */
- private $token;
- /**
- * @JsonProperty(String, "customerId")
- */
- private $customerId;
- public function setOwnerCode($ownerCode)
- {
- $this->ownerCode = $ownerCode;
- }
- public function setOwnerName($ownerName)
- {
- $this->ownerName = $ownerName;
- }
- public function setWarehouseCode($warehouseCode)
- {
- $this->warehouseCode = $warehouseCode;
- }
- public function setWarehouseType($warehouseType)
- {
- $this->warehouseType = $warehouseType;
- }
- public function setOrderType($orderType)
- {
- $this->orderType = $orderType;
- }
- public function setDeliveryOrderCode($deliveryOrderCode)
- {
- $this->deliveryOrderCode = $deliveryOrderCode;
- }
- public function setSourceOrderCode($sourceOrderCode)
- {
- $this->sourceOrderCode = $sourceOrderCode;
- }
- public function setSourcePlatformCode($sourcePlatformCode)
- {
- $this->sourcePlatformCode = $sourcePlatformCode;
- }
- public function setShopNick($shopNick)
- {
- $this->shopNick = $shopNick;
- }
- public function setSellerNick($sellerNick)
- {
- $this->sellerNick = $sellerNick;
- }
- public function setBuyerNick($buyerNick)
- {
- $this->buyerNick = $buyerNick;
- }
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function setOrderTime($orderTime)
- {
- $this->orderTime = $orderTime;
- }
- public function setPayTime($payTime)
- {
- $this->payTime = $payTime;
- }
- public function setOperateTime($operateTime)
- {
- $this->operateTime = $operateTime;
- }
- public function setOrderFlag($orderFlag)
- {
- $this->orderFlag = $orderFlag;
- }
- public function setTotalAmount($totalAmount)
- {
- $this->totalAmount = $totalAmount;
- }
- public function setDiscountAmount($discountAmount)
- {
- $this->discountAmount = $discountAmount;
- }
- public function setFreight($freight)
- {
- $this->freight = $freight;
- }
- public function setActualAmount($actualAmount)
- {
- $this->actualAmount = $actualAmount;
- }
- public function setLogisticsCode($logisticsCode)
- {
- $this->logisticsCode = $logisticsCode;
- }
- public function setLogisticsNo($logisticsNo)
- {
- $this->logisticsNo = $logisticsNo;
- }
- public function setSellerMessage($sellerMessage)
- {
- $this->sellerMessage = $sellerMessage;
- }
- public function setBuyerMessage($buyerMessage)
- {
- $this->buyerMessage = $buyerMessage;
- }
- public function setInvoiceFlag($invoiceFlag)
- {
- $this->invoiceFlag = $invoiceFlag;
- }
- public function setInvoiceInfo($invoiceInfo)
- {
- $this->invoiceInfo = $invoiceInfo;
- }
- public function setRemark($remark)
- {
- $this->remark = $remark;
- }
- public function setNoStackTag($noStackTag)
- {
- $this->noStackTag = $noStackTag;
- }
- public function setSenderInfo($senderInfo)
- {
- $this->senderInfo = $senderInfo;
- }
- public function setReceiverInfo($receiverInfo)
- {
- $this->receiverInfo = $receiverInfo;
- }
- public function setOrderLineList($orderLineList)
- {
- $this->orderLineList = $orderLineList;
- }
- public function setExtendProps($extendProps)
- {
- $this->extendProps = $extendProps;
- }
- public function setToken($token)
- {
- $this->token = $token;
- }
- public function setCustomerId($customerId)
- {
- $this->customerId = $customerId;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestInvoiceInfo extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "invoice_type")
- */
- private $invoiceType;
- /**
- * @JsonProperty(String, "invoice_head")
- */
- private $invoiceHead;
- /**
- * @JsonProperty(String, "invoice_content")
- */
- private $invoiceContent;
- /**
- * @JsonProperty(String, "invoice_tax_number")
- */
- private $invoiceTaxNumber;
- /**
- * @JsonProperty(String, "invoice_ext_fields")
- */
- private $invoiceExtFields;
- public function setInvoiceType($invoiceType)
- {
- $this->invoiceType = $invoiceType;
- }
- public function setInvoiceHead($invoiceHead)
- {
- $this->invoiceHead = $invoiceHead;
- }
- public function setInvoiceContent($invoiceContent)
- {
- $this->invoiceContent = $invoiceContent;
- }
- public function setInvoiceTaxNumber($invoiceTaxNumber)
- {
- $this->invoiceTaxNumber = $invoiceTaxNumber;
- }
- public function setInvoiceExtFields($invoiceExtFields)
- {
- $this->invoiceExtFields = $invoiceExtFields;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestSenderInfo extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestSenderInfoAddress, "address")
- */
- private $address;
- /**
- * @JsonProperty(String, "mobile")
- */
- private $mobile;
- /**
- * @JsonProperty(String, "name")
- */
- private $name;
- /**
- * @JsonProperty(String, "phone")
- */
- private $phone;
- /**
- * @JsonProperty(String, "zipcode")
- */
- private $zipcode;
- public function setAddress($address)
- {
- $this->address = $address;
- }
- public function setMobile($mobile)
- {
- $this->mobile = $mobile;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function setPhone($phone)
- {
- $this->phone = $phone;
- }
- public function setZipcode($zipcode)
- {
- $this->zipcode = $zipcode;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestSenderInfoAddress extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "city")
- */
- private $city;
- /**
- * @JsonProperty(String, "detail")
- */
- private $detail;
- /**
- * @JsonProperty(String, "district")
- */
- private $district;
- /**
- * @JsonProperty(String, "province")
- */
- private $province;
- /**
- * @JsonProperty(String, "town")
- */
- private $town;
- /**
- * @JsonProperty(String, "country")
- */
- private $country;
- public function setCity($city)
- {
- $this->city = $city;
- }
- public function setDetail($detail)
- {
- $this->detail = $detail;
- }
- public function setDistrict($district)
- {
- $this->district = $district;
- }
- public function setProvince($province)
- {
- $this->province = $province;
- }
- public function setTown($town)
- {
- $this->town = $town;
- }
- public function setCountry($country)
- {
- $this->country = $country;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestReceiverInfo extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWmsOrderSendRequest_WmsOrderSendRequestReceiverInfoAddress, "address")
- */
- private $address;
- /**
- * @JsonProperty(String, "mobile")
- */
- private $mobile;
- /**
- * @JsonProperty(String, "name")
- */
- private $name;
- /**
- * @JsonProperty(String, "phone")
- */
- private $phone;
- /**
- * @JsonProperty(String, "zipcode")
- */
- private $zipcode;
- public function setAddress($address)
- {
- $this->address = $address;
- }
- public function setMobile($mobile)
- {
- $this->mobile = $mobile;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function setPhone($phone)
- {
- $this->phone = $phone;
- }
- public function setZipcode($zipcode)
- {
- $this->zipcode = $zipcode;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestReceiverInfoAddress extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "city")
- */
- private $city;
- /**
- * @JsonProperty(String, "detail")
- */
- private $detail;
- /**
- * @JsonProperty(String, "district")
- */
- private $district;
- /**
- * @JsonProperty(String, "province")
- */
- private $province;
- /**
- * @JsonProperty(String, "town")
- */
- private $town;
- /**
- * @JsonProperty(String, "country")
- */
- private $country;
- public function setCity($city)
- {
- $this->city = $city;
- }
- public function setDetail($detail)
- {
- $this->detail = $detail;
- }
- public function setDistrict($district)
- {
- $this->district = $district;
- }
- public function setProvince($province)
- {
- $this->province = $province;
- }
- public function setTown($town)
- {
- $this->town = $town;
- }
- public function setCountry($country)
- {
- $this->country = $country;
- }
- }
- class PddCloudWmsOrderSendRequest_WmsOrderSendRequestOrderLineListItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "order_line_no")
- */
- private $orderLineNo;
- /**
- * @JsonProperty(String, "source_order_code")
- */
- private $sourceOrderCode;
- /**
- * @JsonProperty(String, "sub_source_order_code")
- */
- private $subSourceOrderCode;
- /**
- * @JsonProperty(String, "owner_code")
- */
- private $ownerCode;
- /**
- * @JsonProperty(String, "item_id")
- */
- private $itemId;
- /**
- * @JsonProperty(String, "item_code")
- */
- private $itemCode;
- /**
- * @JsonProperty(String, "item_name")
- */
- private $itemName;
- /**
- * @JsonProperty(Integer, "item_quantity")
- */
- private $itemQuantity;
- /**
- * @JsonProperty(String, "retail_price")
- */
- private $retailPrice;
- /**
- * @JsonProperty(String, "actual_price")
- */
- private $actualPrice;
- /**
- * @JsonProperty(String, "discount_amount")
- */
- private $discountAmount;
- /**
- * @JsonProperty(String, "batch_code")
- */
- private $batchCode;
- /**
- * @JsonProperty(String, "remark")
- */
- private $remark;
- /**
- * @JsonProperty(String, "order_ext_fields")
- */
- private $orderExtFields;
- public function setOrderLineNo($orderLineNo)
- {
- $this->orderLineNo = $orderLineNo;
- }
- public function setSourceOrderCode($sourceOrderCode)
- {
- $this->sourceOrderCode = $sourceOrderCode;
- }
- public function setSubSourceOrderCode($subSourceOrderCode)
- {
- $this->subSourceOrderCode = $subSourceOrderCode;
- }
- public function setOwnerCode($ownerCode)
- {
- $this->ownerCode = $ownerCode;
- }
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
- public function setItemCode($itemCode)
- {
- $this->itemCode = $itemCode;
- }
- public function setItemName($itemName)
- {
- $this->itemName = $itemName;
- }
- public function setItemQuantity($itemQuantity)
- {
- $this->itemQuantity = $itemQuantity;
- }
- public function setRetailPrice($retailPrice)
- {
- $this->retailPrice = $retailPrice;
- }
- public function setActualPrice($actualPrice)
- {
- $this->actualPrice = $actualPrice;
- }
- public function setDiscountAmount($discountAmount)
- {
- $this->discountAmount = $discountAmount;
- }
- public function setBatchCode($batchCode)
- {
- $this->batchCode = $batchCode;
- }
- public function setRemark($remark)
- {
- $this->remark = $remark;
- }
- public function setOrderExtFields($orderExtFields)
- {
- $this->orderExtFields = $orderExtFields;
- }
- }
|