AlipayOpenMiniIndividualBusinessCertifyRequest.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. class AlipayOpenMiniIndividualBusinessCertifyRequest
  8. {
  9. /**
  10. * 营业执照注册号即营业执照的编号。
  11. **/
  12. private $licenseNo;
  13. /**
  14. * 营业执照图片的Base64编码字符串,图片大小不能超过2M
  15. **/
  16. private $licensePic;
  17. private $apiParas = array();
  18. private $terminalType;
  19. private $terminalInfo;
  20. private $prodCode;
  21. private $apiVersion="1.0";
  22. private $notifyUrl;
  23. private $returnUrl;
  24. private $needEncrypt=false;
  25. public function setLicenseNo($licenseNo)
  26. {
  27. $this->licenseNo = $licenseNo;
  28. $this->apiParas["license_no"] = $licenseNo;
  29. }
  30. public function getLicenseNo()
  31. {
  32. return $this->licenseNo;
  33. }
  34. public function setLicensePic($licensePic)
  35. {
  36. $this->licensePic = $licensePic;
  37. $this->apiParas["license_pic"] = $licensePic;
  38. }
  39. public function getLicensePic()
  40. {
  41. return $this->licensePic;
  42. }
  43. public function getApiMethodName()
  44. {
  45. return "alipay.open.mini.individual.business.certify";
  46. }
  47. public function setNotifyUrl($notifyUrl)
  48. {
  49. $this->notifyUrl=$notifyUrl;
  50. }
  51. public function getNotifyUrl()
  52. {
  53. return $this->notifyUrl;
  54. }
  55. public function setReturnUrl($returnUrl)
  56. {
  57. $this->returnUrl=$returnUrl;
  58. }
  59. public function getReturnUrl()
  60. {
  61. return $this->returnUrl;
  62. }
  63. public function getApiParas()
  64. {
  65. return $this->apiParas;
  66. }
  67. public function getTerminalType()
  68. {
  69. return $this->terminalType;
  70. }
  71. public function setTerminalType($terminalType)
  72. {
  73. $this->terminalType = $terminalType;
  74. }
  75. public function getTerminalInfo()
  76. {
  77. return $this->terminalInfo;
  78. }
  79. public function setTerminalInfo($terminalInfo)
  80. {
  81. $this->terminalInfo = $terminalInfo;
  82. }
  83. public function getProdCode()
  84. {
  85. return $this->prodCode;
  86. }
  87. public function setProdCode($prodCode)
  88. {
  89. $this->prodCode = $prodCode;
  90. }
  91. public function setApiVersion($apiVersion)
  92. {
  93. $this->apiVersion=$apiVersion;
  94. }
  95. public function getApiVersion()
  96. {
  97. return $this->apiVersion;
  98. }
  99. public function setNeedEncrypt($needEncrypt)
  100. {
  101. $this->needEncrypt=$needEncrypt;
  102. }
  103. public function getNeedEncrypt()
  104. {
  105. return $this->needEncrypt;
  106. }
  107. }