| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddFdsWaybillGetRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request")
- */
- private $paramFdsWaybillGetRequest;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.fds.waybill.get";
- }
- public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest)
- {
- $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender")
- */
- private $sender;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos")
- */
- private $tradeOrderInfoDtos;
- /**
- * @JsonProperty(String, "wp_code")
- */
- private $wpCode;
- public function setSender($sender)
- {
- $this->sender = $sender;
- }
- public function setTradeOrderInfoDtos($tradeOrderInfoDtos)
- {
- $this->tradeOrderInfoDtos = $tradeOrderInfoDtos;
- }
- public function setWpCode($wpCode)
- {
- $this->wpCode = $wpCode;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address")
- */
- private $address;
- /**
- * @JsonProperty(String, "mobile")
- */
- private $mobile;
- /**
- * @JsonProperty(String, "name")
- */
- private $name;
- /**
- * @JsonProperty(String, "phone")
- */
- private $phone;
- 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;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "city")
- */
- private $city;
- /**
- * @JsonProperty(String, "country")
- */
- private $country;
- /**
- * @JsonProperty(String, "detail")
- */
- private $detail;
- /**
- * @JsonProperty(String, "district")
- */
- private $district;
- /**
- * @JsonProperty(String, "province")
- */
- private $province;
- /**
- * @JsonProperty(String, "town")
- */
- private $town;
- public function setCity($city)
- {
- $this->city = $city;
- }
- public function setCountry($country)
- {
- $this->country = $country;
- }
- 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;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "logistics_services")
- */
- private $logisticsServices;
- /**
- * @JsonProperty(String, "object_id")
- */
- private $objectId;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info")
- */
- private $orderInfo;
- /**
- * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info")
- */
- private $packageInfo;
- /**
- * @JsonProperty(String, "template_url")
- */
- private $templateUrl;
- /**
- * @JsonProperty(Long, "user_id")
- */
- private $userId;
- public function setLogisticsServices($logisticsServices)
- {
- $this->logisticsServices = $logisticsServices;
- }
- public function setObjectId($objectId)
- {
- $this->objectId = $objectId;
- }
- public function setOrderInfo($orderInfo)
- {
- $this->orderInfo = $orderInfo;
- }
- public function setPackageInfo($packageInfo)
- {
- $this->packageInfo = $packageInfo;
- }
- public function setTemplateUrl($templateUrl)
- {
- $this->templateUrl = $templateUrl;
- }
- public function setUserId($userId)
- {
- $this->userId = $userId;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "order_channels_type")
- */
- private $orderChannelsType;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list")
- */
- private $tradeOrderList;
- public function setOrderChannelsType($orderChannelsType)
- {
- $this->orderChannelsType = $orderChannelsType;
- }
- public function setTradeOrderList($tradeOrderList)
- {
- $this->tradeOrderList = $tradeOrderList;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "mall_mask_id")
- */
- private $mallMaskId;
- /**
- * @JsonProperty(String, "order_mask_sn")
- */
- private $orderMaskSn;
- public function setMallMaskId($mallMaskId)
- {
- $this->mallMaskId = $mallMaskId;
- }
- public function setOrderMaskSn($orderMaskSn)
- {
- $this->orderMaskSn = $orderMaskSn;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "goods_description")
- */
- private $goodsDescription;
- /**
- * @JsonProperty(String, "id")
- */
- private $id;
- /**
- * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items")
- */
- private $items;
- /**
- * @JsonProperty(String, "packaging_description")
- */
- private $packagingDescription;
- /**
- * @JsonProperty(String, "total_packages_count")
- */
- private $totalPackagesCount;
- /**
- * @JsonProperty(Integer, "volume")
- */
- private $volume;
- /**
- * @JsonProperty(Integer, "weight")
- */
- private $weight;
- public function setGoodsDescription($goodsDescription)
- {
- $this->goodsDescription = $goodsDescription;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function setPackagingDescription($packagingDescription)
- {
- $this->packagingDescription = $packagingDescription;
- }
- public function setTotalPackagesCount($totalPackagesCount)
- {
- $this->totalPackagesCount = $totalPackagesCount;
- }
- public function setVolume($volume)
- {
- $this->volume = $volume;
- }
- public function setWeight($weight)
- {
- $this->weight = $weight;
- }
- }
- class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Integer, "count")
- */
- private $count;
- /**
- * @JsonProperty(String, "name")
- */
- private $name;
- public function setCount($count)
- {
- $this->count = $count;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- }
|