AlipayEbppBillAddTeachRequest.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.bill.add.teach request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayEbppBillAddTeachRequest
  9. {
  10. /**
  11. * bank_bill_no
  12. **/
  13. private $bankBillNo;
  14. /**
  15. * 201203
  16. **/
  17. private $billDate;
  18. /**
  19. * 3388102012376451
  20. **/
  21. private $billKey;
  22. /**
  23. * BJCEB
  24. **/
  25. private $chargeInst;
  26. /**
  27. * extend_field
  28. **/
  29. private $extendField;
  30. /**
  31. * 出机构的业务流水号,需要保证唯一性
  32. **/
  33. private $merchantOrderNo;
  34. /**
  35. * 15987838584
  36. **/
  37. private $mobile;
  38. /**
  39. * 支付宝订单类型。公共事业缴纳JF,信用卡还款HK
  40. **/
  41. private $orderType;
  42. /**
  43. * owner_name
  44. **/
  45. private $ownerName;
  46. /**
  47. * 23.45
  48. **/
  49. private $payAmount;
  50. /**
  51. * 8
  52. **/
  53. private $serviceAmount;
  54. /**
  55. * eee
  56. **/
  57. private $subOrderType;
  58. /**
  59. * 浙江,杭徽高速
  60. **/
  61. private $trafficLocation;
  62. /**
  63. * traffic_regulations
  64. **/
  65. private $trafficRegulations;
  66. private $apiParas = array();
  67. private $terminalType;
  68. private $terminalInfo;
  69. private $prodCode;
  70. private $apiVersion="1.0";
  71. private $notifyUrl;
  72. private $returnUrl;
  73. private $needEncrypt=false;
  74. public function setBankBillNo($bankBillNo)
  75. {
  76. $this->bankBillNo = $bankBillNo;
  77. $this->apiParas["bank_bill_no"] = $bankBillNo;
  78. }
  79. public function getBankBillNo()
  80. {
  81. return $this->bankBillNo;
  82. }
  83. public function setBillDate($billDate)
  84. {
  85. $this->billDate = $billDate;
  86. $this->apiParas["bill_date"] = $billDate;
  87. }
  88. public function getBillDate()
  89. {
  90. return $this->billDate;
  91. }
  92. public function setBillKey($billKey)
  93. {
  94. $this->billKey = $billKey;
  95. $this->apiParas["bill_key"] = $billKey;
  96. }
  97. public function getBillKey()
  98. {
  99. return $this->billKey;
  100. }
  101. public function setChargeInst($chargeInst)
  102. {
  103. $this->chargeInst = $chargeInst;
  104. $this->apiParas["charge_inst"] = $chargeInst;
  105. }
  106. public function getChargeInst()
  107. {
  108. return $this->chargeInst;
  109. }
  110. public function setExtendField($extendField)
  111. {
  112. $this->extendField = $extendField;
  113. $this->apiParas["extend_field"] = $extendField;
  114. }
  115. public function getExtendField()
  116. {
  117. return $this->extendField;
  118. }
  119. public function setMerchantOrderNo($merchantOrderNo)
  120. {
  121. $this->merchantOrderNo = $merchantOrderNo;
  122. $this->apiParas["merchant_order_no"] = $merchantOrderNo;
  123. }
  124. public function getMerchantOrderNo()
  125. {
  126. return $this->merchantOrderNo;
  127. }
  128. public function setMobile($mobile)
  129. {
  130. $this->mobile = $mobile;
  131. $this->apiParas["mobile"] = $mobile;
  132. }
  133. public function getMobile()
  134. {
  135. return $this->mobile;
  136. }
  137. public function setOrderType($orderType)
  138. {
  139. $this->orderType = $orderType;
  140. $this->apiParas["order_type"] = $orderType;
  141. }
  142. public function getOrderType()
  143. {
  144. return $this->orderType;
  145. }
  146. public function setOwnerName($ownerName)
  147. {
  148. $this->ownerName = $ownerName;
  149. $this->apiParas["owner_name"] = $ownerName;
  150. }
  151. public function getOwnerName()
  152. {
  153. return $this->ownerName;
  154. }
  155. public function setPayAmount($payAmount)
  156. {
  157. $this->payAmount = $payAmount;
  158. $this->apiParas["pay_amount"] = $payAmount;
  159. }
  160. public function getPayAmount()
  161. {
  162. return $this->payAmount;
  163. }
  164. public function setServiceAmount($serviceAmount)
  165. {
  166. $this->serviceAmount = $serviceAmount;
  167. $this->apiParas["service_amount"] = $serviceAmount;
  168. }
  169. public function getServiceAmount()
  170. {
  171. return $this->serviceAmount;
  172. }
  173. public function setSubOrderType($subOrderType)
  174. {
  175. $this->subOrderType = $subOrderType;
  176. $this->apiParas["sub_order_type"] = $subOrderType;
  177. }
  178. public function getSubOrderType()
  179. {
  180. return $this->subOrderType;
  181. }
  182. public function setTrafficLocation($trafficLocation)
  183. {
  184. $this->trafficLocation = $trafficLocation;
  185. $this->apiParas["traffic_location"] = $trafficLocation;
  186. }
  187. public function getTrafficLocation()
  188. {
  189. return $this->trafficLocation;
  190. }
  191. public function setTrafficRegulations($trafficRegulations)
  192. {
  193. $this->trafficRegulations = $trafficRegulations;
  194. $this->apiParas["traffic_regulations"] = $trafficRegulations;
  195. }
  196. public function getTrafficRegulations()
  197. {
  198. return $this->trafficRegulations;
  199. }
  200. public function getApiMethodName()
  201. {
  202. return "alipay.ebpp.bill.add.teach";
  203. }
  204. public function setNotifyUrl($notifyUrl)
  205. {
  206. $this->notifyUrl=$notifyUrl;
  207. }
  208. public function getNotifyUrl()
  209. {
  210. return $this->notifyUrl;
  211. }
  212. public function setReturnUrl($returnUrl)
  213. {
  214. $this->returnUrl=$returnUrl;
  215. }
  216. public function getReturnUrl()
  217. {
  218. return $this->returnUrl;
  219. }
  220. public function getApiParas()
  221. {
  222. return $this->apiParas;
  223. }
  224. public function getTerminalType()
  225. {
  226. return $this->terminalType;
  227. }
  228. public function setTerminalType($terminalType)
  229. {
  230. $this->terminalType = $terminalType;
  231. }
  232. public function getTerminalInfo()
  233. {
  234. return $this->terminalInfo;
  235. }
  236. public function setTerminalInfo($terminalInfo)
  237. {
  238. $this->terminalInfo = $terminalInfo;
  239. }
  240. public function getProdCode()
  241. {
  242. return $this->prodCode;
  243. }
  244. public function setProdCode($prodCode)
  245. {
  246. $this->prodCode = $prodCode;
  247. }
  248. public function setApiVersion($apiVersion)
  249. {
  250. $this->apiVersion=$apiVersion;
  251. }
  252. public function getApiVersion()
  253. {
  254. return $this->apiVersion;
  255. }
  256. public function setNeedEncrypt($needEncrypt)
  257. {
  258. $this->needEncrypt=$needEncrypt;
  259. }
  260. public function getNeedEncrypt()
  261. {
  262. return $this->needEncrypt;
  263. }
  264. }