AlipayEbppInvoiceMerchantApplyUploadRequest.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.ebpp.invoice.merchant.apply.upload request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-05-29 20:06:49
  7. */
  8. class AlipayEbppInvoiceMerchantApplyUploadRequest
  9. {
  10. /**
  11. * 发票申请ID
  12. **/
  13. private $applyId;
  14. /**
  15. * 批次ID
  16. **/
  17. private $batchId;
  18. /**
  19. * 合计含税金额(开票金额)
  20. **/
  21. private $invoiceAmount;
  22. /**
  23. * 发票代码
  24. **/
  25. private $invoiceCode;
  26. /**
  27. * 开票日期
  28. **/
  29. private $invoiceDate;
  30. /**
  31. * 发票板式文件数据
  32. **/
  33. private $invoiceFileData;
  34. /**
  35. * 发票板式文件类型
  36. **/
  37. private $invoiceFileType;
  38. /**
  39. * 开票发票类型
  40. **/
  41. private $invoiceKind;
  42. /**
  43. * 发票号码
  44. **/
  45. private $invoiceNo;
  46. /**
  47. * 发票(开票)类型
  48. **/
  49. private $invoiceType;
  50. /**
  51. * 原发票代码
  52. **/
  53. private $normalInvoiceCode;
  54. /**
  55. * 原发票号码
  56. **/
  57. private $normalInvoiceNo;
  58. /**
  59. * 销方地址
  60. **/
  61. private $payeeAddress;
  62. /**
  63. * 销方银行账号
  64. **/
  65. private $payeeBankAccountId;
  66. /**
  67. * 销方开户行名称
  68. **/
  69. private $payeeBankName;
  70. /**
  71. * 销方名称
  72. **/
  73. private $payeeName;
  74. /**
  75. * 销方联系电话
  76. **/
  77. private $payeePhone;
  78. /**
  79. * 销方税务登记证号
  80. **/
  81. private $payeeRegisterNo;
  82. /**
  83. * 购方名称
  84. **/
  85. private $payerName;
  86. /**
  87. * 购方税号
  88. **/
  89. private $payerRegisterNo;
  90. /**
  91. * 合计金额(不含税)
  92. **/
  93. private $sumPrice;
  94. /**
  95. * 税额
  96. **/
  97. private $sumTax;
  98. private $apiParas = array();
  99. private $terminalType;
  100. private $terminalInfo;
  101. private $prodCode;
  102. private $apiVersion="1.0";
  103. private $notifyUrl;
  104. private $returnUrl;
  105. private $needEncrypt=false;
  106. public function setApplyId($applyId)
  107. {
  108. $this->applyId = $applyId;
  109. $this->apiParas["apply_id"] = $applyId;
  110. }
  111. public function getApplyId()
  112. {
  113. return $this->applyId;
  114. }
  115. public function setBatchId($batchId)
  116. {
  117. $this->batchId = $batchId;
  118. $this->apiParas["batch_id"] = $batchId;
  119. }
  120. public function getBatchId()
  121. {
  122. return $this->batchId;
  123. }
  124. public function setInvoiceAmount($invoiceAmount)
  125. {
  126. $this->invoiceAmount = $invoiceAmount;
  127. $this->apiParas["invoice_amount"] = $invoiceAmount;
  128. }
  129. public function getInvoiceAmount()
  130. {
  131. return $this->invoiceAmount;
  132. }
  133. public function setInvoiceCode($invoiceCode)
  134. {
  135. $this->invoiceCode = $invoiceCode;
  136. $this->apiParas["invoice_code"] = $invoiceCode;
  137. }
  138. public function getInvoiceCode()
  139. {
  140. return $this->invoiceCode;
  141. }
  142. public function setInvoiceDate($invoiceDate)
  143. {
  144. $this->invoiceDate = $invoiceDate;
  145. $this->apiParas["invoice_date"] = $invoiceDate;
  146. }
  147. public function getInvoiceDate()
  148. {
  149. return $this->invoiceDate;
  150. }
  151. public function setInvoiceFileData($invoiceFileData)
  152. {
  153. $this->invoiceFileData = $invoiceFileData;
  154. $this->apiParas["invoice_file_data"] = $invoiceFileData;
  155. }
  156. public function getInvoiceFileData()
  157. {
  158. return $this->invoiceFileData;
  159. }
  160. public function setInvoiceFileType($invoiceFileType)
  161. {
  162. $this->invoiceFileType = $invoiceFileType;
  163. $this->apiParas["invoice_file_type"] = $invoiceFileType;
  164. }
  165. public function getInvoiceFileType()
  166. {
  167. return $this->invoiceFileType;
  168. }
  169. public function setInvoiceKind($invoiceKind)
  170. {
  171. $this->invoiceKind = $invoiceKind;
  172. $this->apiParas["invoice_kind"] = $invoiceKind;
  173. }
  174. public function getInvoiceKind()
  175. {
  176. return $this->invoiceKind;
  177. }
  178. public function setInvoiceNo($invoiceNo)
  179. {
  180. $this->invoiceNo = $invoiceNo;
  181. $this->apiParas["invoice_no"] = $invoiceNo;
  182. }
  183. public function getInvoiceNo()
  184. {
  185. return $this->invoiceNo;
  186. }
  187. public function setInvoiceType($invoiceType)
  188. {
  189. $this->invoiceType = $invoiceType;
  190. $this->apiParas["invoice_type"] = $invoiceType;
  191. }
  192. public function getInvoiceType()
  193. {
  194. return $this->invoiceType;
  195. }
  196. public function setNormalInvoiceCode($normalInvoiceCode)
  197. {
  198. $this->normalInvoiceCode = $normalInvoiceCode;
  199. $this->apiParas["normal_invoice_code"] = $normalInvoiceCode;
  200. }
  201. public function getNormalInvoiceCode()
  202. {
  203. return $this->normalInvoiceCode;
  204. }
  205. public function setNormalInvoiceNo($normalInvoiceNo)
  206. {
  207. $this->normalInvoiceNo = $normalInvoiceNo;
  208. $this->apiParas["normal_invoice_no"] = $normalInvoiceNo;
  209. }
  210. public function getNormalInvoiceNo()
  211. {
  212. return $this->normalInvoiceNo;
  213. }
  214. public function setPayeeAddress($payeeAddress)
  215. {
  216. $this->payeeAddress = $payeeAddress;
  217. $this->apiParas["payee_address"] = $payeeAddress;
  218. }
  219. public function getPayeeAddress()
  220. {
  221. return $this->payeeAddress;
  222. }
  223. public function setPayeeBankAccountId($payeeBankAccountId)
  224. {
  225. $this->payeeBankAccountId = $payeeBankAccountId;
  226. $this->apiParas["payee_bank_account_id"] = $payeeBankAccountId;
  227. }
  228. public function getPayeeBankAccountId()
  229. {
  230. return $this->payeeBankAccountId;
  231. }
  232. public function setPayeeBankName($payeeBankName)
  233. {
  234. $this->payeeBankName = $payeeBankName;
  235. $this->apiParas["payee_bank_name"] = $payeeBankName;
  236. }
  237. public function getPayeeBankName()
  238. {
  239. return $this->payeeBankName;
  240. }
  241. public function setPayeeName($payeeName)
  242. {
  243. $this->payeeName = $payeeName;
  244. $this->apiParas["payee_name"] = $payeeName;
  245. }
  246. public function getPayeeName()
  247. {
  248. return $this->payeeName;
  249. }
  250. public function setPayeePhone($payeePhone)
  251. {
  252. $this->payeePhone = $payeePhone;
  253. $this->apiParas["payee_phone"] = $payeePhone;
  254. }
  255. public function getPayeePhone()
  256. {
  257. return $this->payeePhone;
  258. }
  259. public function setPayeeRegisterNo($payeeRegisterNo)
  260. {
  261. $this->payeeRegisterNo = $payeeRegisterNo;
  262. $this->apiParas["payee_register_no"] = $payeeRegisterNo;
  263. }
  264. public function getPayeeRegisterNo()
  265. {
  266. return $this->payeeRegisterNo;
  267. }
  268. public function setPayerName($payerName)
  269. {
  270. $this->payerName = $payerName;
  271. $this->apiParas["payer_name"] = $payerName;
  272. }
  273. public function getPayerName()
  274. {
  275. return $this->payerName;
  276. }
  277. public function setPayerRegisterNo($payerRegisterNo)
  278. {
  279. $this->payerRegisterNo = $payerRegisterNo;
  280. $this->apiParas["payer_register_no"] = $payerRegisterNo;
  281. }
  282. public function getPayerRegisterNo()
  283. {
  284. return $this->payerRegisterNo;
  285. }
  286. public function setSumPrice($sumPrice)
  287. {
  288. $this->sumPrice = $sumPrice;
  289. $this->apiParas["sum_price"] = $sumPrice;
  290. }
  291. public function getSumPrice()
  292. {
  293. return $this->sumPrice;
  294. }
  295. public function setSumTax($sumTax)
  296. {
  297. $this->sumTax = $sumTax;
  298. $this->apiParas["sum_tax"] = $sumTax;
  299. }
  300. public function getSumTax()
  301. {
  302. return $this->sumTax;
  303. }
  304. public function getApiMethodName()
  305. {
  306. return "alipay.ebpp.invoice.merchant.apply.upload";
  307. }
  308. public function setNotifyUrl($notifyUrl)
  309. {
  310. $this->notifyUrl=$notifyUrl;
  311. }
  312. public function getNotifyUrl()
  313. {
  314. return $this->notifyUrl;
  315. }
  316. public function setReturnUrl($returnUrl)
  317. {
  318. $this->returnUrl=$returnUrl;
  319. }
  320. public function getReturnUrl()
  321. {
  322. return $this->returnUrl;
  323. }
  324. public function getApiParas()
  325. {
  326. return $this->apiParas;
  327. }
  328. public function getTerminalType()
  329. {
  330. return $this->terminalType;
  331. }
  332. public function setTerminalType($terminalType)
  333. {
  334. $this->terminalType = $terminalType;
  335. }
  336. public function getTerminalInfo()
  337. {
  338. return $this->terminalInfo;
  339. }
  340. public function setTerminalInfo($terminalInfo)
  341. {
  342. $this->terminalInfo = $terminalInfo;
  343. }
  344. public function getProdCode()
  345. {
  346. return $this->prodCode;
  347. }
  348. public function setProdCode($prodCode)
  349. {
  350. $this->prodCode = $prodCode;
  351. }
  352. public function setApiVersion($apiVersion)
  353. {
  354. $this->apiVersion=$apiVersion;
  355. }
  356. public function getApiVersion()
  357. {
  358. return $this->apiVersion;
  359. }
  360. public function setNeedEncrypt($needEncrypt)
  361. {
  362. $this->needEncrypt=$needEncrypt;
  363. }
  364. public function getNeedEncrypt()
  365. {
  366. return $this->needEncrypt;
  367. }
  368. }