Properties

$arrayAsJson

$arrayAsJson : boolean

构建请求字符串时,是否将参数内的数组编码为 JSON

Type

boolean

$apiParams

$apiParams : array

API 请求参数(非系统参数)

Type

array

$notifyUrl

$notifyUrl : 

Type

$returnUrl

$returnUrl : 

Type

$authToken

$authToken : 

Type

$appAuthToken

$appAuthToken : 

Type

$batchNo

$batchNo : 

代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。

Type

$businessLicenseAuthPic

$businessLicenseAuthPic : 

营业执照授权函图片,个体工商户如果使用总公司或其他公司的营业执照认证需上传该授权函图片,最小50KB,图片格式必须为:png、bmp、gif、jpg、jpeg

Type

$businessLicenseNo

$businessLicenseNo : 

营业执照号码

Type

$businessLicensePic

$businessLicensePic : 

营业执照图片。被代创建商户运营主体为个人账户必填,企业账户无需填写,最小50KB,图片格式必须为:png、bmp、gif、jpg、jpeg

Type

$dateLimitation

$dateLimitation : 

营业期限

Type

$longTerm

$longTerm : 

营业期限是否长期有效

Type

$mccCode

$mccCode : 

所属MCCCode,详情可参考 <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1 ">商家经营类目</a> 中的“经营类目编码”

Type

$shopScenePic

$shopScenePic : 

店铺内景图片,最小50KB,图片格式必须为:png、bmp、gif、jpg、jpeg

Type

$shopSignBoardPic

$shopSignBoardPic : 

店铺门头照图片,最小50KB,图片格式必须为:png、bmp、gif、jpg、jpeg

Type

$specialLicensePic

$specialLicensePic : 

企业特殊资质图片,可参考 <a href="https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.59bgD2&treeId=222&articleId=105364&docType=1#s1 ">商家经营类目</a> 中的“需要的特殊资质证书”,最小50KB,图片格式必须为:png、bmp、gif、jpg、jpeg

Type

Methods

__construct()

__construct(  $config = array()) 

Parameters

$config

__destruct()

__destruct() 

className()

className(boolean  $shorten = false) : string

获取自身类名

Parameters

boolean $shorten

是否不带命名空间

Returns

string

getApiMethodName()

getApiMethodName() : string

根据类名获取 API 方法名

Returns

string

getTimestamp()

getTimestamp() : string

获取用于发起请求的“时间戳”

Returns

string

getApiParams()

getApiParams() 

getNotifyUrl()

getNotifyUrl() 

setNotifyUrl()

setNotifyUrl(  $notifyUrl) 

Parameters

$notifyUrl

getReturnUrl()

getReturnUrl() 

setReturnUrl()

setReturnUrl(  $returnUrl) 

Parameters

$returnUrl

getAuthToken()

getAuthToken() 

setAuthToken()

setAuthToken(  $authToken) 

Parameters

$authToken

getAppAuthToken()

getAppAuthToken() 

setAppAuthToken()

setAppAuthToken(  $appAuthToken) 

Parameters

$appAuthToken

__get()

__get(  $name) 

Parameters

$name

__set()

__set(  $name,   $value) 

Parameters

$name
$value

__isset()

__isset(  $name) 

Parameters

$name

__unset()

__unset(  $name) 

Parameters

$name

setBatchNo()

setBatchNo(  $batchNo) 

Parameters

$batchNo

getBatchNo()

getBatchNo() 

setBusinessLicenseAuthPic()

setBusinessLicenseAuthPic(  $businessLicenseAuthPic) 

Parameters

$businessLicenseAuthPic

getBusinessLicenseAuthPic()

getBusinessLicenseAuthPic() 

setBusinessLicenseNo()

setBusinessLicenseNo(  $businessLicenseNo) 

Parameters

$businessLicenseNo

getBusinessLicenseNo()

getBusinessLicenseNo() 

setBusinessLicensePic()

setBusinessLicensePic(  $businessLicensePic) 

Parameters

$businessLicensePic

getBusinessLicensePic()

getBusinessLicensePic() 

setDateLimitation()

setDateLimitation(  $dateLimitation) 

Parameters

$dateLimitation

getDateLimitation()

getDateLimitation() 

setLongTerm()

setLongTerm(  $longTerm) 

Parameters

$longTerm

getLongTerm()

getLongTerm() 

setMccCode()

setMccCode(  $mccCode) 

Parameters

$mccCode

getMccCode()

getMccCode() 

setShopScenePic()

setShopScenePic(  $shopScenePic) 

Parameters

$shopScenePic

getShopScenePic()

getShopScenePic() 

setShopSignBoardPic()

setShopSignBoardPic(  $shopSignBoardPic) 

Parameters

$shopSignBoardPic

getShopSignBoardPic()

getShopSignBoardPic() 

setSpecialLicensePic()

setSpecialLicensePic(  $specialLicensePic) 

Parameters

$specialLicensePic

getSpecialLicensePic()

getSpecialLicensePic()