提交服务端基础框架
This commit is contained in:
@@ -0,0 +1,262 @@
|
||||
<?php
|
||||
/**
|
||||
* ALIPAY API: alipay.open.mini.ampe.enter.apply request
|
||||
*
|
||||
* @author auto create
|
||||
* @since 1.0, 2024-04-03 11:53:04
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user