| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <?php
- namespace Com\Pdd\Pop\Sdk\Api\Request;
- use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
- use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
- class PddVasOrderSearchRequest extends PopBaseHttpRequest
- {
- public function __construct()
- {
- }
- /**
- * @JsonProperty(Long, "create_time_end")
- */
- private $createTimeEnd;
- /**
- * @JsonProperty(Long, "create_time_start")
- */
- private $createTimeStart;
- /**
- * @JsonProperty(Long, "mall_id")
- */
- private $mallId;
- /**
- * @JsonProperty(String, "order_sn")
- */
- private $orderSn;
- /**
- * @JsonProperty(Integer, "order_status")
- */
- private $orderStatus;
- /**
- * @JsonProperty(Integer, "page")
- */
- private $page;
- /**
- * @JsonProperty(Integer, "page_size")
- */
- private $pageSize;
- /**
- * @JsonProperty(Long, "pay_time_end")
- */
- private $payTimeEnd;
- /**
- * @JsonProperty(Long, "pay_time_start")
- */
- private $payTimeStart;
- /**
- * @JsonProperty(Long, "sku_id")
- */
- private $skuId;
- /**
- * @JsonProperty(Integer, "refund_status")
- */
- private $refundStatus;
- protected function setUserParams(&$params)
- {
- $this->setUserParam($params, "create_time_end", $this->createTimeEnd);
- $this->setUserParam($params, "create_time_start", $this->createTimeStart);
- $this->setUserParam($params, "mall_id", $this->mallId);
- $this->setUserParam($params, "order_sn", $this->orderSn);
- $this->setUserParam($params, "order_status", $this->orderStatus);
- $this->setUserParam($params, "page", $this->page);
- $this->setUserParam($params, "page_size", $this->pageSize);
- $this->setUserParam($params, "pay_time_end", $this->payTimeEnd);
- $this->setUserParam($params, "pay_time_start", $this->payTimeStart);
- $this->setUserParam($params, "sku_id", $this->skuId);
- $this->setUserParam($params, "refund_status", $this->refundStatus);
- }
- public function getVersion()
- {
- return "V1";
- }
- public function getDataType()
- {
- return "JSON";
- }
- public function getType()
- {
- return "pdd.vas.order.search";
- }
- public function setCreateTimeEnd($createTimeEnd)
- {
- $this->createTimeEnd = $createTimeEnd;
- }
- public function setCreateTimeStart($createTimeStart)
- {
- $this->createTimeStart = $createTimeStart;
- }
- public function setMallId($mallId)
- {
- $this->mallId = $mallId;
- }
- public function setOrderSn($orderSn)
- {
- $this->orderSn = $orderSn;
- }
- public function setOrderStatus($orderStatus)
- {
- $this->orderStatus = $orderStatus;
- }
- public function setPage($page)
- {
- $this->page = $page;
- }
- public function setPageSize($pageSize)
- {
- $this->pageSize = $pageSize;
- }
- public function setPayTimeEnd($payTimeEnd)
- {
- $this->payTimeEnd = $payTimeEnd;
- }
- public function setPayTimeStart($payTimeStart)
- {
- $this->payTimeStart = $payTimeStart;
- }
- public function setSkuId($skuId)
- {
- $this->skuId = $skuId;
- }
- public function setRefundStatus($refundStatus)
- {
- $this->refundStatus = $refundStatus;
- }
- }
|