PddKttIncrementOrderQueryRequest.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 PddKttIncrementOrderQueryRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(Integer, "after_sales_status")
  12. */
  13. private $afterSalesStatus;
  14. /**
  15. * @JsonProperty(Integer, "cancel_status")
  16. */
  17. private $cancelStatus;
  18. /**
  19. * @JsonProperty(Long, "end_updated_at")
  20. */
  21. private $endUpdatedAt;
  22. /**
  23. * @JsonProperty(Integer, "page_number")
  24. */
  25. private $pageNumber;
  26. /**
  27. * @JsonProperty(Integer, "page_size")
  28. */
  29. private $pageSize;
  30. /**
  31. * @JsonProperty(Integer, "shipping_status")
  32. */
  33. private $shippingStatus;
  34. /**
  35. * @JsonProperty(Long, "start_updated_at")
  36. */
  37. private $startUpdatedAt;
  38. /**
  39. * @JsonProperty(Integer, "verification_status")
  40. */
  41. private $verificationStatus;
  42. protected function setUserParams(&$params)
  43. {
  44. $this->setUserParam($params, "after_sales_status", $this->afterSalesStatus);
  45. $this->setUserParam($params, "cancel_status", $this->cancelStatus);
  46. $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt);
  47. $this->setUserParam($params, "page_number", $this->pageNumber);
  48. $this->setUserParam($params, "page_size", $this->pageSize);
  49. $this->setUserParam($params, "shipping_status", $this->shippingStatus);
  50. $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt);
  51. $this->setUserParam($params, "verification_status", $this->verificationStatus);
  52. }
  53. public function getVersion()
  54. {
  55. return "V1";
  56. }
  57. public function getDataType()
  58. {
  59. return "JSON";
  60. }
  61. public function getType()
  62. {
  63. return "pdd.ktt.increment.order.query";
  64. }
  65. public function setAfterSalesStatus($afterSalesStatus)
  66. {
  67. $this->afterSalesStatus = $afterSalesStatus;
  68. }
  69. public function setCancelStatus($cancelStatus)
  70. {
  71. $this->cancelStatus = $cancelStatus;
  72. }
  73. public function setEndUpdatedAt($endUpdatedAt)
  74. {
  75. $this->endUpdatedAt = $endUpdatedAt;
  76. }
  77. public function setPageNumber($pageNumber)
  78. {
  79. $this->pageNumber = $pageNumber;
  80. }
  81. public function setPageSize($pageSize)
  82. {
  83. $this->pageSize = $pageSize;
  84. }
  85. public function setShippingStatus($shippingStatus)
  86. {
  87. $this->shippingStatus = $shippingStatus;
  88. }
  89. public function setStartUpdatedAt($startUpdatedAt)
  90. {
  91. $this->startUpdatedAt = $startUpdatedAt;
  92. }
  93. public function setVerificationStatus($verificationStatus)
  94. {
  95. $this->verificationStatus = $verificationStatus;
  96. }
  97. }