123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <?php
- /**
- * ALIPAY API: alipay.open.mini.ampe.enter.apply request
- *
- * @author auto create
- * @since 1.0, 2023-04-03 02:17:26
- */
- class AlipayOpenMiniAmpeEnterApplyRequest
- {
- /**
- * 详细地址
- **/
- private $address;
-
- /**
- * 联系人邮箱
- **/
- private $contactEmail;
-
- /**
- * 联系人姓名
- **/
- private $contactName;
-
- /**
- * 联系人手机号
- **/
- private $contactPhone;
-
- /**
- * 厂商名称,必填,最大长度为128
- **/
- private $enterpriseName;
-
- /**
- * 介绍资料,选填,最小为1k,最大不能超过10MB,文件格式支持zip,rar,jpg,png,doc,docx,pdf
- **/
- private $introductionFile;
-
- /**
- * 企业营业执照照片二进制流,必填,最小为1k,最大不能超过5MB,图片格式支持jpg,png
- **/
- private $licensePic;
-
- /**
- * 主营产品信息,选填
- **/
- private $majorProducts;
-
- /**
- * 企业官网,选填,最大长度为128
- **/
- private $officialWebsite;
-
- /**
- * 场景码,申请后平台分配,必填
- **/
- private $sceneCode;
- private $apiParas = array();
- private $terminalType;
- private $terminalInfo;
- private $prodCode;
- private $apiVersion="1.0";
- private $notifyUrl;
- private $returnUrl;
- private $needEncrypt=false;
-
- public function setAddress($address)
- {
- $this->address = $address;
- $this->apiParas["address"] = $address;
- }
- public function getAddress()
- {
- return $this->address;
- }
- public function setContactEmail($contactEmail)
- {
- $this->contactEmail = $contactEmail;
- $this->apiParas["contact_email"] = $contactEmail;
- }
- public function getContactEmail()
- {
- return $this->contactEmail;
- }
- public function setContactName($contactName)
- {
- $this->contactName = $contactName;
- $this->apiParas["contact_name"] = $contactName;
- }
- public function getContactName()
- {
- return $this->contactName;
- }
- public function setContactPhone($contactPhone)
- {
- $this->contactPhone = $contactPhone;
- $this->apiParas["contact_phone"] = $contactPhone;
- }
- public function getContactPhone()
- {
- return $this->contactPhone;
- }
- public function setEnterpriseName($enterpriseName)
- {
- $this->enterpriseName = $enterpriseName;
- $this->apiParas["enterprise_name"] = $enterpriseName;
- }
- public function getEnterpriseName()
- {
- return $this->enterpriseName;
- }
- public function setIntroductionFile($introductionFile)
- {
- $this->introductionFile = $introductionFile;
- $this->apiParas["introduction_file"] = $introductionFile;
- }
- public function getIntroductionFile()
- {
- return $this->introductionFile;
- }
- public function setLicensePic($licensePic)
- {
- $this->licensePic = $licensePic;
- $this->apiParas["license_pic"] = $licensePic;
- }
- public function getLicensePic()
- {
- return $this->licensePic;
- }
- public function setMajorProducts($majorProducts)
- {
- $this->majorProducts = $majorProducts;
- $this->apiParas["major_products"] = $majorProducts;
- }
- public function getMajorProducts()
- {
- return $this->majorProducts;
- }
- public function setOfficialWebsite($officialWebsite)
- {
- $this->officialWebsite = $officialWebsite;
- $this->apiParas["official_website"] = $officialWebsite;
- }
- public function getOfficialWebsite()
- {
- return $this->officialWebsite;
- }
- public function setSceneCode($sceneCode)
- {
- $this->sceneCode = $sceneCode;
- $this->apiParas["scene_code"] = $sceneCode;
- }
- public function getSceneCode()
- {
- return $this->sceneCode;
- }
- public function getApiMethodName()
- {
- return "alipay.open.mini.ampe.enter.apply";
- }
- public function setNotifyUrl($notifyUrl)
- {
- $this->notifyUrl=$notifyUrl;
- }
- public function getNotifyUrl()
- {
- return $this->notifyUrl;
- }
- public function setReturnUrl($returnUrl)
- {
- $this->returnUrl=$returnUrl;
- }
- public function getReturnUrl()
- {
- return $this->returnUrl;
- }
- public function getApiParas()
- {
- return $this->apiParas;
- }
- public function getTerminalType()
- {
- return $this->terminalType;
- }
- public function setTerminalType($terminalType)
- {
- $this->terminalType = $terminalType;
- }
- public function getTerminalInfo()
- {
- return $this->terminalInfo;
- }
- public function setTerminalInfo($terminalInfo)
- {
- $this->terminalInfo = $terminalInfo;
- }
- public function getProdCode()
- {
- return $this->prodCode;
- }
- public function setProdCode($prodCode)
- {
- $this->prodCode = $prodCode;
- }
- public function setApiVersion($apiVersion)
- {
- $this->apiVersion=$apiVersion;
- }
- public function getApiVersion()
- {
- return $this->apiVersion;
- }
- public function setNeedEncrypt($needEncrypt)
- {
- $this->needEncrypt=$needEncrypt;
- }
- public function getNeedEncrypt()
- {
- return $this->needEncrypt;
- }
- }
|