PddRdcPddgeniusSendgoodsCancelRequest.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 PddRdcPddgeniusSendgoodsCancelRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddRdcPddgeniusSendgoodsCancelRequest_Param, "param")
  12. */
  13. private $param;
  14. protected function setUserParams(&$params)
  15. {
  16. $this->setUserParam($params, "param", $this->param);
  17. }
  18. public function getVersion()
  19. {
  20. return "V1";
  21. }
  22. public function getDataType()
  23. {
  24. return "JSON";
  25. }
  26. public function getType()
  27. {
  28. return "pdd.rdc.pddgenius.sendgoods.cancel";
  29. }
  30. public function setParam($param)
  31. {
  32. $this->param = $param;
  33. }
  34. }
  35. class PddRdcPddgeniusSendgoodsCancelRequest_Param extends PopBaseJsonEntity
  36. {
  37. public function __construct()
  38. {
  39. }
  40. /**
  41. * @JsonProperty(Long, "operate_time")
  42. */
  43. private $operateTime;
  44. /**
  45. * @JsonProperty(String, "tid")
  46. */
  47. private $tid;
  48. /**
  49. * @JsonProperty(String, "status")
  50. */
  51. private $status;
  52. /**
  53. * @JsonProperty(Long, "refund_id")
  54. */
  55. private $refundId;
  56. /**
  57. * @JsonProperty(Integer, "refund_fee")
  58. */
  59. private $refundFee;
  60. /**
  61. * @JsonProperty(String, "msg")
  62. */
  63. private $msg;
  64. /**
  65. * @JsonProperty(Integer, "fail_reason_code")
  66. */
  67. private $failReasonCode;
  68. public function setOperateTime($operateTime)
  69. {
  70. $this->operateTime = $operateTime;
  71. }
  72. public function setTid($tid)
  73. {
  74. $this->tid = $tid;
  75. }
  76. public function setStatus($status)
  77. {
  78. $this->status = $status;
  79. }
  80. public function setRefundId($refundId)
  81. {
  82. $this->refundId = $refundId;
  83. }
  84. public function setRefundFee($refundFee)
  85. {
  86. $this->refundFee = $refundFee;
  87. }
  88. public function setMsg($msg)
  89. {
  90. $this->msg = $msg;
  91. }
  92. public function setFailReasonCode($failReasonCode)
  93. {
  94. $this->failReasonCode = $failReasonCode;
  95. }
  96. }