AlipayEbppRechargeOrderUpdateRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.recharge.order.update request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayEbppRechargeOrderUpdateRequest
  9. {
  10. /**
  11. * 对应状态的业务处理时间,格式:yyyyMMddHHmmss
  12. **/
  13. private $bizDate;
  14. /**
  15. * 手机号
  16. **/
  17. private $mobileNo;
  18. /**
  19. * 淘宝交易订单号 payOrderId
  20. **/
  21. private $orderId;
  22. /**
  23. * 状态
  24. 支付成功:P;充值成功:S;充值失败:F
  25. **/
  26. private $status;
  27. private $apiParas = array();
  28. private $terminalType;
  29. private $terminalInfo;
  30. private $prodCode;
  31. private $apiVersion="1.0";
  32. private $notifyUrl;
  33. private $returnUrl;
  34. private $needEncrypt=false;
  35. public function setBizDate($bizDate)
  36. {
  37. $this->bizDate = $bizDate;
  38. $this->apiParas["biz_date"] = $bizDate;
  39. }
  40. public function getBizDate()
  41. {
  42. return $this->bizDate;
  43. }
  44. public function setMobileNo($mobileNo)
  45. {
  46. $this->mobileNo = $mobileNo;
  47. $this->apiParas["mobile_no"] = $mobileNo;
  48. }
  49. public function getMobileNo()
  50. {
  51. return $this->mobileNo;
  52. }
  53. public function setOrderId($orderId)
  54. {
  55. $this->orderId = $orderId;
  56. $this->apiParas["order_id"] = $orderId;
  57. }
  58. public function getOrderId()
  59. {
  60. return $this->orderId;
  61. }
  62. public function setStatus($status)
  63. {
  64. $this->status = $status;
  65. $this->apiParas["status"] = $status;
  66. }
  67. public function getStatus()
  68. {
  69. return $this->status;
  70. }
  71. public function getApiMethodName()
  72. {
  73. return "alipay.ebpp.recharge.order.update";
  74. }
  75. public function setNotifyUrl($notifyUrl)
  76. {
  77. $this->notifyUrl=$notifyUrl;
  78. }
  79. public function getNotifyUrl()
  80. {
  81. return $this->notifyUrl;
  82. }
  83. public function setReturnUrl($returnUrl)
  84. {
  85. $this->returnUrl=$returnUrl;
  86. }
  87. public function getReturnUrl()
  88. {
  89. return $this->returnUrl;
  90. }
  91. public function getApiParas()
  92. {
  93. return $this->apiParas;
  94. }
  95. public function getTerminalType()
  96. {
  97. return $this->terminalType;
  98. }
  99. public function setTerminalType($terminalType)
  100. {
  101. $this->terminalType = $terminalType;
  102. }
  103. public function getTerminalInfo()
  104. {
  105. return $this->terminalInfo;
  106. }
  107. public function setTerminalInfo($terminalInfo)
  108. {
  109. $this->terminalInfo = $terminalInfo;
  110. }
  111. public function getProdCode()
  112. {
  113. return $this->prodCode;
  114. }
  115. public function setProdCode($prodCode)
  116. {
  117. $this->prodCode = $prodCode;
  118. }
  119. public function setApiVersion($apiVersion)
  120. {
  121. $this->apiVersion=$apiVersion;
  122. }
  123. public function getApiVersion()
  124. {
  125. return $this->apiVersion;
  126. }
  127. public function setNeedEncrypt($needEncrypt)
  128. {
  129. $this->needEncrypt=$needEncrypt;
  130. }
  131. public function getNeedEncrypt()
  132. {
  133. return $this->needEncrypt;
  134. }
  135. }