PddVasOrderSearchRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?php
  2. namespace Com\Pdd\Pop\Sdk\Api\Request;
  3. use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
  4. use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
  5. class PddVasOrderSearchRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(Long, "create_time_end")
  12. */
  13. private $createTimeEnd;
  14. /**
  15. * @JsonProperty(Long, "create_time_start")
  16. */
  17. private $createTimeStart;
  18. /**
  19. * @JsonProperty(Long, "mall_id")
  20. */
  21. private $mallId;
  22. /**
  23. * @JsonProperty(String, "order_sn")
  24. */
  25. private $orderSn;
  26. /**
  27. * @JsonProperty(Integer, "order_status")
  28. */
  29. private $orderStatus;
  30. /**
  31. * @JsonProperty(Integer, "page")
  32. */
  33. private $page;
  34. /**
  35. * @JsonProperty(Integer, "page_size")
  36. */
  37. private $pageSize;
  38. /**
  39. * @JsonProperty(Long, "pay_time_end")
  40. */
  41. private $payTimeEnd;
  42. /**
  43. * @JsonProperty(Long, "pay_time_start")
  44. */
  45. private $payTimeStart;
  46. /**
  47. * @JsonProperty(Long, "sku_id")
  48. */
  49. private $skuId;
  50. /**
  51. * @JsonProperty(Integer, "refund_status")
  52. */
  53. private $refundStatus;
  54. protected function setUserParams(&$params)
  55. {
  56. $this->setUserParam($params, "create_time_end", $this->createTimeEnd);
  57. $this->setUserParam($params, "create_time_start", $this->createTimeStart);
  58. $this->setUserParam($params, "mall_id", $this->mallId);
  59. $this->setUserParam($params, "order_sn", $this->orderSn);
  60. $this->setUserParam($params, "order_status", $this->orderStatus);
  61. $this->setUserParam($params, "page", $this->page);
  62. $this->setUserParam($params, "page_size", $this->pageSize);
  63. $this->setUserParam($params, "pay_time_end", $this->payTimeEnd);
  64. $this->setUserParam($params, "pay_time_start", $this->payTimeStart);
  65. $this->setUserParam($params, "sku_id", $this->skuId);
  66. $this->setUserParam($params, "refund_status", $this->refundStatus);
  67. }
  68. public function getVersion()
  69. {
  70. return "V1";
  71. }
  72. public function getDataType()
  73. {
  74. return "JSON";
  75. }
  76. public function getType()
  77. {
  78. return "pdd.vas.order.search";
  79. }
  80. public function setCreateTimeEnd($createTimeEnd)
  81. {
  82. $this->createTimeEnd = $createTimeEnd;
  83. }
  84. public function setCreateTimeStart($createTimeStart)
  85. {
  86. $this->createTimeStart = $createTimeStart;
  87. }
  88. public function setMallId($mallId)
  89. {
  90. $this->mallId = $mallId;
  91. }
  92. public function setOrderSn($orderSn)
  93. {
  94. $this->orderSn = $orderSn;
  95. }
  96. public function setOrderStatus($orderStatus)
  97. {
  98. $this->orderStatus = $orderStatus;
  99. }
  100. public function setPage($page)
  101. {
  102. $this->page = $page;
  103. }
  104. public function setPageSize($pageSize)
  105. {
  106. $this->pageSize = $pageSize;
  107. }
  108. public function setPayTimeEnd($payTimeEnd)
  109. {
  110. $this->payTimeEnd = $payTimeEnd;
  111. }
  112. public function setPayTimeStart($payTimeStart)
  113. {
  114. $this->payTimeStart = $payTimeStart;
  115. }
  116. public function setSkuId($skuId)
  117. {
  118. $this->skuId = $skuId;
  119. }
  120. public function setRefundStatus($refundStatus)
  121. {
  122. $this->refundStatus = $refundStatus;
  123. }
  124. }