AlipayEcardEduDepositOrderAddRequest.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ecard.edu.deposit.order.add request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayEcardEduDepositOrderAddRequest
  9. {
  10. /**
  11. * 校园一卡通机构
  12. **/
  13. private $agentCode;
  14. /**
  15. * 公众账号协议Id
  16. **/
  17. private $agreementId;
  18. /**
  19. * 支付宝userId
  20. **/
  21. private $alipayUserId;
  22. /**
  23. * 校园一卡通帐户姓名
  24. **/
  25. private $cardName;
  26. /**
  27. * 校园一卡通号码
  28. **/
  29. private $cardNo;
  30. /**
  31. * 校园一卡通充值金额
  32. **/
  33. private $depositAmount;
  34. /**
  35. * 成功充值通知手机号码
  36. **/
  37. private $mobileNo;
  38. /**
  39. * 公众平台ID
  40. **/
  41. private $publicId;
  42. /**
  43. * 是否分享手机号码
  44. **/
  45. private $shareMobileNo;
  46. private $apiParas = array();
  47. private $terminalType;
  48. private $terminalInfo;
  49. private $prodCode;
  50. private $apiVersion="1.0";
  51. private $notifyUrl;
  52. private $returnUrl;
  53. private $needEncrypt=false;
  54. public function setAgentCode($agentCode)
  55. {
  56. $this->agentCode = $agentCode;
  57. $this->apiParas["agent_code"] = $agentCode;
  58. }
  59. public function getAgentCode()
  60. {
  61. return $this->agentCode;
  62. }
  63. public function setAgreementId($agreementId)
  64. {
  65. $this->agreementId = $agreementId;
  66. $this->apiParas["agreement_id"] = $agreementId;
  67. }
  68. public function getAgreementId()
  69. {
  70. return $this->agreementId;
  71. }
  72. public function setAlipayUserId($alipayUserId)
  73. {
  74. $this->alipayUserId = $alipayUserId;
  75. $this->apiParas["alipay_user_id"] = $alipayUserId;
  76. }
  77. public function getAlipayUserId()
  78. {
  79. return $this->alipayUserId;
  80. }
  81. public function setCardName($cardName)
  82. {
  83. $this->cardName = $cardName;
  84. $this->apiParas["card_name"] = $cardName;
  85. }
  86. public function getCardName()
  87. {
  88. return $this->cardName;
  89. }
  90. public function setCardNo($cardNo)
  91. {
  92. $this->cardNo = $cardNo;
  93. $this->apiParas["card_no"] = $cardNo;
  94. }
  95. public function getCardNo()
  96. {
  97. return $this->cardNo;
  98. }
  99. public function setDepositAmount($depositAmount)
  100. {
  101. $this->depositAmount = $depositAmount;
  102. $this->apiParas["deposit_amount"] = $depositAmount;
  103. }
  104. public function getDepositAmount()
  105. {
  106. return $this->depositAmount;
  107. }
  108. public function setMobileNo($mobileNo)
  109. {
  110. $this->mobileNo = $mobileNo;
  111. $this->apiParas["mobile_no"] = $mobileNo;
  112. }
  113. public function getMobileNo()
  114. {
  115. return $this->mobileNo;
  116. }
  117. public function setPublicId($publicId)
  118. {
  119. $this->publicId = $publicId;
  120. $this->apiParas["public_id"] = $publicId;
  121. }
  122. public function getPublicId()
  123. {
  124. return $this->publicId;
  125. }
  126. public function setShareMobileNo($shareMobileNo)
  127. {
  128. $this->shareMobileNo = $shareMobileNo;
  129. $this->apiParas["share_mobile_no"] = $shareMobileNo;
  130. }
  131. public function getShareMobileNo()
  132. {
  133. return $this->shareMobileNo;
  134. }
  135. public function getApiMethodName()
  136. {
  137. return "alipay.ecard.edu.deposit.order.add";
  138. }
  139. public function setNotifyUrl($notifyUrl)
  140. {
  141. $this->notifyUrl=$notifyUrl;
  142. }
  143. public function getNotifyUrl()
  144. {
  145. return $this->notifyUrl;
  146. }
  147. public function setReturnUrl($returnUrl)
  148. {
  149. $this->returnUrl=$returnUrl;
  150. }
  151. public function getReturnUrl()
  152. {
  153. return $this->returnUrl;
  154. }
  155. public function getApiParas()
  156. {
  157. return $this->apiParas;
  158. }
  159. public function getTerminalType()
  160. {
  161. return $this->terminalType;
  162. }
  163. public function setTerminalType($terminalType)
  164. {
  165. $this->terminalType = $terminalType;
  166. }
  167. public function getTerminalInfo()
  168. {
  169. return $this->terminalInfo;
  170. }
  171. public function setTerminalInfo($terminalInfo)
  172. {
  173. $this->terminalInfo = $terminalInfo;
  174. }
  175. public function getProdCode()
  176. {
  177. return $this->prodCode;
  178. }
  179. public function setProdCode($prodCode)
  180. {
  181. $this->prodCode = $prodCode;
  182. }
  183. public function setApiVersion($apiVersion)
  184. {
  185. $this->apiVersion=$apiVersion;
  186. }
  187. public function getApiVersion()
  188. {
  189. return $this->apiVersion;
  190. }
  191. public function setNeedEncrypt($needEncrypt)
  192. {
  193. $this->needEncrypt=$needEncrypt;
  194. }
  195. public function getNeedEncrypt()
  196. {
  197. return $this->needEncrypt;
  198. }
  199. }