AlipayCommerceEcEnterpriseAuthApplyRequest.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.commerce.ec.enterprise.auth.apply request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-06-01 14:15:15
  7. */
  8. class AlipayCommerceEcEnterpriseAuthApplyRequest
  9. {
  10. /**
  11. * 统一社会信用代码
  12. **/
  13. private $enterpriseCode;
  14. /**
  15. * 企业ID
  16. **/
  17. private $enterpriseId;
  18. /**
  19. * 企业名称
  20. **/
  21. private $enterpriseName;
  22. /**
  23. * 营业执照文件ID
  24. **/
  25. private $fileId;
  26. /**
  27. * 法人身份证号:
  28. 快速创建,小二代入驻非必填。
  29. 普通创建,企业自入驻必填。
  30. **/
  31. private $legalIdNumber;
  32. /**
  33. * 法人姓名
  34. **/
  35. private $legalName;
  36. /**
  37. * 营业执照截止日期,时间格式:yyyy-MM-dd
  38. **/
  39. private $licenseEndDate;
  40. private $apiParas = array();
  41. private $terminalType;
  42. private $terminalInfo;
  43. private $prodCode;
  44. private $apiVersion="1.0";
  45. private $notifyUrl;
  46. private $returnUrl;
  47. private $needEncrypt=false;
  48. public function setEnterpriseCode($enterpriseCode)
  49. {
  50. $this->enterpriseCode = $enterpriseCode;
  51. $this->apiParas["enterprise_code"] = $enterpriseCode;
  52. }
  53. public function getEnterpriseCode()
  54. {
  55. return $this->enterpriseCode;
  56. }
  57. public function setEnterpriseId($enterpriseId)
  58. {
  59. $this->enterpriseId = $enterpriseId;
  60. $this->apiParas["enterprise_id"] = $enterpriseId;
  61. }
  62. public function getEnterpriseId()
  63. {
  64. return $this->enterpriseId;
  65. }
  66. public function setEnterpriseName($enterpriseName)
  67. {
  68. $this->enterpriseName = $enterpriseName;
  69. $this->apiParas["enterprise_name"] = $enterpriseName;
  70. }
  71. public function getEnterpriseName()
  72. {
  73. return $this->enterpriseName;
  74. }
  75. public function setFileId($fileId)
  76. {
  77. $this->fileId = $fileId;
  78. $this->apiParas["file_id"] = $fileId;
  79. }
  80. public function getFileId()
  81. {
  82. return $this->fileId;
  83. }
  84. public function setLegalIdNumber($legalIdNumber)
  85. {
  86. $this->legalIdNumber = $legalIdNumber;
  87. $this->apiParas["legal_id_number"] = $legalIdNumber;
  88. }
  89. public function getLegalIdNumber()
  90. {
  91. return $this->legalIdNumber;
  92. }
  93. public function setLegalName($legalName)
  94. {
  95. $this->legalName = $legalName;
  96. $this->apiParas["legal_name"] = $legalName;
  97. }
  98. public function getLegalName()
  99. {
  100. return $this->legalName;
  101. }
  102. public function setLicenseEndDate($licenseEndDate)
  103. {
  104. $this->licenseEndDate = $licenseEndDate;
  105. $this->apiParas["license_end_date"] = $licenseEndDate;
  106. }
  107. public function getLicenseEndDate()
  108. {
  109. return $this->licenseEndDate;
  110. }
  111. public function getApiMethodName()
  112. {
  113. return "alipay.commerce.ec.enterprise.auth.apply";
  114. }
  115. public function setNotifyUrl($notifyUrl)
  116. {
  117. $this->notifyUrl=$notifyUrl;
  118. }
  119. public function getNotifyUrl()
  120. {
  121. return $this->notifyUrl;
  122. }
  123. public function setReturnUrl($returnUrl)
  124. {
  125. $this->returnUrl=$returnUrl;
  126. }
  127. public function getReturnUrl()
  128. {
  129. return $this->returnUrl;
  130. }
  131. public function getApiParas()
  132. {
  133. return $this->apiParas;
  134. }
  135. public function getTerminalType()
  136. {
  137. return $this->terminalType;
  138. }
  139. public function setTerminalType($terminalType)
  140. {
  141. $this->terminalType = $terminalType;
  142. }
  143. public function getTerminalInfo()
  144. {
  145. return $this->terminalInfo;
  146. }
  147. public function setTerminalInfo($terminalInfo)
  148. {
  149. $this->terminalInfo = $terminalInfo;
  150. }
  151. public function getProdCode()
  152. {
  153. return $this->prodCode;
  154. }
  155. public function setProdCode($prodCode)
  156. {
  157. $this->prodCode = $prodCode;
  158. }
  159. public function setApiVersion($apiVersion)
  160. {
  161. $this->apiVersion=$apiVersion;
  162. }
  163. public function getApiVersion()
  164. {
  165. return $this->apiVersion;
  166. }
  167. public function setNeedEncrypt($needEncrypt)
  168. {
  169. $this->needEncrypt=$needEncrypt;
  170. }
  171. public function getNeedEncrypt()
  172. {
  173. return $this->needEncrypt;
  174. }
  175. }