AlipayOpenSpMerchantInconsistentApproveRequest.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <?php
  2. /**
  3. * ALIPAY API: alipay.open.sp.merchant.inconsistent.approve request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2023-04-03 04:57:59
  7. */
  8. class AlipayOpenSpMerchantInconsistentApproveRequest
  9. {
  10. /**
  11. * 身份证背面照,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href="https://opendocs.alipay.com/apis/01ea4t">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。
  12. **/
  13. private $backCard;
  14. /**
  15. * 实际经营人承诺函照片,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href="https://opendocs.alipay.com/apis/01ea4t">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。
  16. **/
  17. private $commitmentLetter;
  18. /**
  19. * 身份证正面照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式. 请传<a href="https://opendocs.alipay.com/apis/01ea4t">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。
  20. **/
  21. private $frontCard;
  22. /**
  23. * 手持营业执照合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href="https://opendocs.alipay.com/apis/01ea4t">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。
  24. **/
  25. private $handheldBusinessLicense;
  26. /**
  27. * 手持身份证合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href="https://opendocs.alipay.com/apis/01ea4t">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。
  28. **/
  29. private $handheldCard;
  30. /**
  31. * 服务优选商品编码
  32. **/
  33. private $itemCode;
  34. /**
  35. * 商家pid
  36. **/
  37. private $merchantPid;
  38. /**
  39. * 商家小程序appId
  40. **/
  41. private $miniAppid;
  42. /**
  43. * 外部业务号,需不重复
  44. **/
  45. private $outBizNo;
  46. /**
  47. * 推广服务商(S2)pid
  48. **/
  49. private $promotorPid;
  50. private $apiParas = array();
  51. private $terminalType;
  52. private $terminalInfo;
  53. private $prodCode;
  54. private $apiVersion="1.0";
  55. private $notifyUrl;
  56. private $returnUrl;
  57. private $needEncrypt=false;
  58. public function setBackCard($backCard)
  59. {
  60. $this->backCard = $backCard;
  61. $this->apiParas["back_card"] = $backCard;
  62. }
  63. public function getBackCard()
  64. {
  65. return $this->backCard;
  66. }
  67. public function setCommitmentLetter($commitmentLetter)
  68. {
  69. $this->commitmentLetter = $commitmentLetter;
  70. $this->apiParas["commitment_letter"] = $commitmentLetter;
  71. }
  72. public function getCommitmentLetter()
  73. {
  74. return $this->commitmentLetter;
  75. }
  76. public function setFrontCard($frontCard)
  77. {
  78. $this->frontCard = $frontCard;
  79. $this->apiParas["front_card"] = $frontCard;
  80. }
  81. public function getFrontCard()
  82. {
  83. return $this->frontCard;
  84. }
  85. public function setHandheldBusinessLicense($handheldBusinessLicense)
  86. {
  87. $this->handheldBusinessLicense = $handheldBusinessLicense;
  88. $this->apiParas["handheld_business_license"] = $handheldBusinessLicense;
  89. }
  90. public function getHandheldBusinessLicense()
  91. {
  92. return $this->handheldBusinessLicense;
  93. }
  94. public function setHandheldCard($handheldCard)
  95. {
  96. $this->handheldCard = $handheldCard;
  97. $this->apiParas["handheld_card"] = $handheldCard;
  98. }
  99. public function getHandheldCard()
  100. {
  101. return $this->handheldCard;
  102. }
  103. public function setItemCode($itemCode)
  104. {
  105. $this->itemCode = $itemCode;
  106. $this->apiParas["item_code"] = $itemCode;
  107. }
  108. public function getItemCode()
  109. {
  110. return $this->itemCode;
  111. }
  112. public function setMerchantPid($merchantPid)
  113. {
  114. $this->merchantPid = $merchantPid;
  115. $this->apiParas["merchant_pid"] = $merchantPid;
  116. }
  117. public function getMerchantPid()
  118. {
  119. return $this->merchantPid;
  120. }
  121. public function setMiniAppid($miniAppid)
  122. {
  123. $this->miniAppid = $miniAppid;
  124. $this->apiParas["mini_appid"] = $miniAppid;
  125. }
  126. public function getMiniAppid()
  127. {
  128. return $this->miniAppid;
  129. }
  130. public function setOutBizNo($outBizNo)
  131. {
  132. $this->outBizNo = $outBizNo;
  133. $this->apiParas["out_biz_no"] = $outBizNo;
  134. }
  135. public function getOutBizNo()
  136. {
  137. return $this->outBizNo;
  138. }
  139. public function setPromotorPid($promotorPid)
  140. {
  141. $this->promotorPid = $promotorPid;
  142. $this->apiParas["promotor_pid"] = $promotorPid;
  143. }
  144. public function getPromotorPid()
  145. {
  146. return $this->promotorPid;
  147. }
  148. public function getApiMethodName()
  149. {
  150. return "alipay.open.sp.merchant.inconsistent.approve";
  151. }
  152. public function setNotifyUrl($notifyUrl)
  153. {
  154. $this->notifyUrl=$notifyUrl;
  155. }
  156. public function getNotifyUrl()
  157. {
  158. return $this->notifyUrl;
  159. }
  160. public function setReturnUrl($returnUrl)
  161. {
  162. $this->returnUrl=$returnUrl;
  163. }
  164. public function getReturnUrl()
  165. {
  166. return $this->returnUrl;
  167. }
  168. public function getApiParas()
  169. {
  170. return $this->apiParas;
  171. }
  172. public function getTerminalType()
  173. {
  174. return $this->terminalType;
  175. }
  176. public function setTerminalType($terminalType)
  177. {
  178. $this->terminalType = $terminalType;
  179. }
  180. public function getTerminalInfo()
  181. {
  182. return $this->terminalInfo;
  183. }
  184. public function setTerminalInfo($terminalInfo)
  185. {
  186. $this->terminalInfo = $terminalInfo;
  187. }
  188. public function getProdCode()
  189. {
  190. return $this->prodCode;
  191. }
  192. public function setProdCode($prodCode)
  193. {
  194. $this->prodCode = $prodCode;
  195. }
  196. public function setApiVersion($apiVersion)
  197. {
  198. $this->apiVersion=$apiVersion;
  199. }
  200. public function getApiVersion()
  201. {
  202. return $this->apiVersion;
  203. }
  204. public function setNeedEncrypt($needEncrypt)
  205. {
  206. $this->needEncrypt=$needEncrypt;
  207. }
  208. public function getNeedEncrypt()
  209. {
  210. return $this->needEncrypt;
  211. }
  212. }