| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddLogisticsOnlineSendRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(String, "feature")
- */
- private $feature;
- /**
- * @JsonProperty(Long, "logistics_id")
- */
- private $logisticsId;
- /**
- * @JsonProperty(String, "order_sn")
- */
- private $orderSn;
- /**
- * @JsonProperty(String, "refund_address_id")
- */
- private $refundAddressId;
- /**
- * @JsonProperty(String, "tracking_number")
- */
- private $trackingNumber;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "feature", $this->feature);
- $this->setUserParam($params, "logistics_id", $this->logisticsId);
- $this->setUserParam($params, "order_sn", $this->orderSn);
- $this->setUserParam($params, "refund_address_id", $this->refundAddressId);
- $this->setUserParam($params, "tracking_number", $this->trackingNumber);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.logistics.online.send";
- }
- public function setFeature($feature)
- {
- $this->feature = $feature;
- }
- public function setLogisticsId($logisticsId)
- {
- $this->logisticsId = $logisticsId;
- }
- public function setOrderSn($orderSn)
- {
- $this->orderSn = $orderSn;
- }
- public function setRefundAddressId($refundAddressId)
- {
- $this->refundAddressId = $refundAddressId;
- }
- public function setTrackingNumber($trackingNumber)
- {
- $this->trackingNumber = $trackingNumber;
- }
- }
|