AlipayLifeassistantProdBillGetRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.lifeassistant.prod.bill.get request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayLifeassistantProdBillGetRequest
  9. {
  10. /**
  11. * 业务类型
  12. 1-手机充值
  13. 2-公共事业缴费
  14. 3-信用卡还款
  15. **/
  16. private $bizType;
  17. /**
  18. * 商户类型
  19. 10001——新浪
  20. **/
  21. private $mType;
  22. /**
  23. * 支付宝订单号
  24. **/
  25. private $orderId;
  26. /**
  27. * 付款方外部用户ID
  28. **/
  29. private $uid;
  30. private $apiParas = array();
  31. private $terminalType;
  32. private $terminalInfo;
  33. private $prodCode;
  34. private $apiVersion="1.0";
  35. private $notifyUrl;
  36. private $returnUrl;
  37. private $needEncrypt=false;
  38. public function setBizType($bizType)
  39. {
  40. $this->bizType = $bizType;
  41. $this->apiParas["biz_type"] = $bizType;
  42. }
  43. public function getBizType()
  44. {
  45. return $this->bizType;
  46. }
  47. public function setmType($mType)
  48. {
  49. $this->mType = $mType;
  50. $this->apiParas["m_type"] = $mType;
  51. }
  52. public function getmType()
  53. {
  54. return $this->mType;
  55. }
  56. public function setOrderId($orderId)
  57. {
  58. $this->orderId = $orderId;
  59. $this->apiParas["order_id"] = $orderId;
  60. }
  61. public function getOrderId()
  62. {
  63. return $this->orderId;
  64. }
  65. public function setUid($uid)
  66. {
  67. $this->uid = $uid;
  68. $this->apiParas["uid"] = $uid;
  69. }
  70. public function getUid()
  71. {
  72. return $this->uid;
  73. }
  74. public function getApiMethodName()
  75. {
  76. return "alipay.lifeassistant.prod.bill.get";
  77. }
  78. public function setNotifyUrl($notifyUrl)
  79. {
  80. $this->notifyUrl=$notifyUrl;
  81. }
  82. public function getNotifyUrl()
  83. {
  84. return $this->notifyUrl;
  85. }
  86. public function setReturnUrl($returnUrl)
  87. {
  88. $this->returnUrl=$returnUrl;
  89. }
  90. public function getReturnUrl()
  91. {
  92. return $this->returnUrl;
  93. }
  94. public function getApiParas()
  95. {
  96. return $this->apiParas;
  97. }
  98. public function getTerminalType()
  99. {
  100. return $this->terminalType;
  101. }
  102. public function setTerminalType($terminalType)
  103. {
  104. $this->terminalType = $terminalType;
  105. }
  106. public function getTerminalInfo()
  107. {
  108. return $this->terminalInfo;
  109. }
  110. public function setTerminalInfo($terminalInfo)
  111. {
  112. $this->terminalInfo = $terminalInfo;
  113. }
  114. public function getProdCode()
  115. {
  116. return $this->prodCode;
  117. }
  118. public function setProdCode($prodCode)
  119. {
  120. $this->prodCode = $prodCode;
  121. }
  122. public function setApiVersion($apiVersion)
  123. {
  124. $this->apiVersion=$apiVersion;
  125. }
  126. public function getApiVersion()
  127. {
  128. return $this->apiVersion;
  129. }
  130. public function setNeedEncrypt($needEncrypt)
  131. {
  132. $this->needEncrypt=$needEncrypt;
  133. }
  134. public function getNeedEncrypt()
  135. {
  136. return $this->needEncrypt;
  137. }
  138. }