PddVirtualMobileChargeNotifyRequest.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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 PddVirtualMobileChargeNotifyRequest extends PopBaseHttpRequest
  6. {
  7. public function __construct()
  8. {
  9. }
  10. /**
  11. * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVirtualMobileChargeNotifyRequest_ChargeCertiItem>, "charge_certi")
  12. */
  13. private $chargeCerti;
  14. /**
  15. * @JsonProperty(String, "order_sn")
  16. */
  17. private $orderSn;
  18. /**
  19. * @JsonProperty(String, "outer_order_sn")
  20. */
  21. private $outerOrderSn;
  22. /**
  23. * @JsonProperty(String, "status")
  24. */
  25. private $status;
  26. protected function setUserParams(&$params)
  27. {
  28. $this->setUserParam($params, "charge_certi", $this->chargeCerti);
  29. $this->setUserParam($params, "order_sn", $this->orderSn);
  30. $this->setUserParam($params, "outer_order_sn", $this->outerOrderSn);
  31. $this->setUserParam($params, "status", $this->status);
  32. }
  33. public function getVersion()
  34. {
  35. return "V1";
  36. }
  37. public function getDataType()
  38. {
  39. return "JSON";
  40. }
  41. public function getType()
  42. {
  43. return "pdd.virtual.mobile.charge.notify";
  44. }
  45. public function setChargeCerti($chargeCerti)
  46. {
  47. $this->chargeCerti = $chargeCerti;
  48. }
  49. public function setOrderSn($orderSn)
  50. {
  51. $this->orderSn = $orderSn;
  52. }
  53. public function setOuterOrderSn($outerOrderSn)
  54. {
  55. $this->outerOrderSn = $outerOrderSn;
  56. }
  57. public function setStatus($status)
  58. {
  59. $this->status = $status;
  60. }
  61. }
  62. class PddVirtualMobileChargeNotifyRequest_ChargeCertiItem extends PopBaseJsonEntity
  63. {
  64. public function __construct()
  65. {
  66. }
  67. /**
  68. * @JsonProperty(Long, "charge_certi_amount")
  69. */
  70. private $chargeCertiAmount;
  71. /**
  72. * @JsonProperty(String, "charge_certi_date")
  73. */
  74. private $chargeCertiDate;
  75. /**
  76. * @JsonProperty(String, "charge_certi_mobile")
  77. */
  78. private $chargeCertiMobile;
  79. /**
  80. * @JsonProperty(String, "charge_certi_mobile_tail")
  81. */
  82. private $chargeCertiMobileTail;
  83. /**
  84. * @JsonProperty(String, "charge_certi_order_sn")
  85. */
  86. private $chargeCertiOrderSn;
  87. /**
  88. * @JsonProperty(String, "charge_certi_text")
  89. */
  90. private $chargeCertiText;
  91. /**
  92. * @JsonProperty(String, "merchant_outer_id")
  93. */
  94. private $merchantOuterId;
  95. public function setChargeCertiAmount($chargeCertiAmount)
  96. {
  97. $this->chargeCertiAmount = $chargeCertiAmount;
  98. }
  99. public function setChargeCertiDate($chargeCertiDate)
  100. {
  101. $this->chargeCertiDate = $chargeCertiDate;
  102. }
  103. public function setChargeCertiMobile($chargeCertiMobile)
  104. {
  105. $this->chargeCertiMobile = $chargeCertiMobile;
  106. }
  107. public function setChargeCertiMobileTail($chargeCertiMobileTail)
  108. {
  109. $this->chargeCertiMobileTail = $chargeCertiMobileTail;
  110. }
  111. public function setChargeCertiOrderSn($chargeCertiOrderSn)
  112. {
  113. $this->chargeCertiOrderSn = $chargeCertiOrderSn;
  114. }
  115. public function setChargeCertiText($chargeCertiText)
  116. {
  117. $this->chargeCertiText = $chargeCertiText;
  118. }
  119. public function setMerchantOuterId($merchantOuterId)
  120. {
  121. $this->merchantOuterId = $merchantOuterId;
  122. }
  123. }