AlipayEbppBillSearchRequest.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.bill.search request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019-03-08 15:29:11
  7. */
  8. class AlipayEbppBillSearchRequest
  9. {
  10. /**
  11. * 账单流水
  12. **/
  13. private $billKey;
  14. /**
  15. * 出账机构
  16. **/
  17. private $chargeInst;
  18. /**
  19. * 销账机构
  20. **/
  21. private $chargeoffInst;
  22. /**
  23. * 销账机构给出账机构分配的id
  24. **/
  25. private $companyId;
  26. /**
  27. * 必须以key value形式定义,转为json为格式:{"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}
  28. 后端会直接转换为MAP对象,转换异常会报参数格式错误
  29. **/
  30. private $extend;
  31. /**
  32. * 业务类型
  33. **/
  34. private $orderType;
  35. /**
  36. * 子业务类型
  37. **/
  38. private $subOrderType;
  39. private $apiParas = array();
  40. private $terminalType;
  41. private $terminalInfo;
  42. private $prodCode;
  43. private $apiVersion="1.0";
  44. private $notifyUrl;
  45. private $returnUrl;
  46. private $needEncrypt=false;
  47. public function setBillKey($billKey)
  48. {
  49. $this->billKey = $billKey;
  50. $this->apiParas["bill_key"] = $billKey;
  51. }
  52. public function getBillKey()
  53. {
  54. return $this->billKey;
  55. }
  56. public function setChargeInst($chargeInst)
  57. {
  58. $this->chargeInst = $chargeInst;
  59. $this->apiParas["charge_inst"] = $chargeInst;
  60. }
  61. public function getChargeInst()
  62. {
  63. return $this->chargeInst;
  64. }
  65. public function setChargeoffInst($chargeoffInst)
  66. {
  67. $this->chargeoffInst = $chargeoffInst;
  68. $this->apiParas["chargeoff_inst"] = $chargeoffInst;
  69. }
  70. public function getChargeoffInst()
  71. {
  72. return $this->chargeoffInst;
  73. }
  74. public function setCompanyId($companyId)
  75. {
  76. $this->companyId = $companyId;
  77. $this->apiParas["company_id"] = $companyId;
  78. }
  79. public function getCompanyId()
  80. {
  81. return $this->companyId;
  82. }
  83. public function setExtend($extend)
  84. {
  85. $this->extend = $extend;
  86. $this->apiParas["extend"] = $extend;
  87. }
  88. public function getExtend()
  89. {
  90. return $this->extend;
  91. }
  92. public function setOrderType($orderType)
  93. {
  94. $this->orderType = $orderType;
  95. $this->apiParas["order_type"] = $orderType;
  96. }
  97. public function getOrderType()
  98. {
  99. return $this->orderType;
  100. }
  101. public function setSubOrderType($subOrderType)
  102. {
  103. $this->subOrderType = $subOrderType;
  104. $this->apiParas["sub_order_type"] = $subOrderType;
  105. }
  106. public function getSubOrderType()
  107. {
  108. return $this->subOrderType;
  109. }
  110. public function getApiMethodName()
  111. {
  112. return "alipay.ebpp.bill.search";
  113. }
  114. public function setNotifyUrl($notifyUrl)
  115. {
  116. $this->notifyUrl=$notifyUrl;
  117. }
  118. public function getNotifyUrl()
  119. {
  120. return $this->notifyUrl;
  121. }
  122. public function setReturnUrl($returnUrl)
  123. {
  124. $this->returnUrl=$returnUrl;
  125. }
  126. public function getReturnUrl()
  127. {
  128. return $this->returnUrl;
  129. }
  130. public function getApiParas()
  131. {
  132. return $this->apiParas;
  133. }
  134. public function getTerminalType()
  135. {
  136. return $this->terminalType;
  137. }
  138. public function setTerminalType($terminalType)
  139. {
  140. $this->terminalType = $terminalType;
  141. }
  142. public function getTerminalInfo()
  143. {
  144. return $this->terminalInfo;
  145. }
  146. public function setTerminalInfo($terminalInfo)
  147. {
  148. $this->terminalInfo = $terminalInfo;
  149. }
  150. public function getProdCode()
  151. {
  152. return $this->prodCode;
  153. }
  154. public function setProdCode($prodCode)
  155. {
  156. $this->prodCode = $prodCode;
  157. }
  158. public function setApiVersion($apiVersion)
  159. {
  160. $this->apiVersion=$apiVersion;
  161. }
  162. public function getApiVersion()
  163. {
  164. return $this->apiVersion;
  165. }
  166. public function setNeedEncrypt($needEncrypt)
  167. {
  168. $this->needEncrypt=$needEncrypt;
  169. }
  170. public function getNeedEncrypt()
  171. {
  172. return $this->needEncrypt;
  173. }
  174. }