Properties

$background

$background : 

背景图片,需上传图片原始二进制流,此图片显示在支付宝客户端生活号主页上方背景图位置,后缀是jpg或者jpeg,图片大小限制1mb

Type

$contactEmail

$contactEmail : 

联系人邮箱

Type

$contactName

$contactName : 

联系人姓名

Type

$contactTel

$contactTel : 

联系人电话

Type

$customerTel

$customerTel : 

客服电话,可以是电话号码,手机号码,400电话

Type

$description

$description : 

生活号简介,此内容显示在支付宝客户端生活号主页简介区块

Type

$extendData

$extendData : 

扩展数据JSON串

Type

$lifeName

$lifeName : 

生活号名称

Type

$logo

$logo : 

logo图片,需上传图片原始二进制流,此图片显示在支付宝客户端生活号主页上方位置,后缀是jpg或者jpeg,图片大小限制1mb,图片最小150px ,图片建议为是正方形

Type

$mccCode

$mccCode : 

mcc code

Type

$publicBizType

$publicBizType : 

目前只支持 LIFE_APP:应用号

Type

$showStyle

$showStyle : 

生活号前端展示类型

Type

$userId

$userId : 

支付宝用户id,由支付宝同学提供用户id,为该生活号对应pid

Type

$apiParas

$apiParas : 

Type

$terminalType

$terminalType : 

Type

$terminalInfo

$terminalInfo : 

Type

$prodCode

$prodCode : 

Type

$apiVersion

$apiVersion : 

Type

$notifyUrl

$notifyUrl : 

Type

$returnUrl

$returnUrl : 

Type

$needEncrypt

$needEncrypt : 

Type

Methods

setBackground()

setBackground(  $background) 

Parameters

$background

getBackground()

getBackground() 

setContactEmail()

setContactEmail(  $contactEmail) 

Parameters

$contactEmail

getContactEmail()

getContactEmail() 

setContactName()

setContactName(  $contactName) 

Parameters

$contactName

getContactName()

getContactName() 

setContactTel()

setContactTel(  $contactTel) 

Parameters

$contactTel

getContactTel()

getContactTel() 

setCustomerTel()

setCustomerTel(  $customerTel) 

Parameters

$customerTel

getCustomerTel()

getCustomerTel() 

setDescription()

setDescription(  $description) 

Parameters

$description

getDescription()

getDescription() 

setExtendData()

setExtendData(  $extendData) 

Parameters

$extendData

getExtendData()

getExtendData() 

setLifeName()

setLifeName(  $lifeName) 

Parameters

$lifeName

getLifeName()

getLifeName() 

setLogo()

setLogo(  $logo) 

Parameters

$logo

getLogo()

getLogo() 

setMccCode()

setMccCode(  $mccCode) 

Parameters

$mccCode

getMccCode()

getMccCode() 

setPublicBizType()

setPublicBizType(  $publicBizType) 

Parameters

$publicBizType

getPublicBizType()

getPublicBizType() 

setShowStyle()

setShowStyle(  $showStyle) 

Parameters

$showStyle

getShowStyle()

getShowStyle() 

setUserId()

setUserId(  $userId) 

Parameters

$userId

getUserId()

getUserId() 

getApiMethodName()

getApiMethodName() 

setNotifyUrl()

setNotifyUrl(  $notifyUrl) 

Parameters

$notifyUrl

getNotifyUrl()

getNotifyUrl() 

setReturnUrl()

setReturnUrl(  $returnUrl) 

Parameters

$returnUrl

getReturnUrl()

getReturnUrl() 

getApiParas()

getApiParas() 

getTerminalType()

getTerminalType() 

setTerminalType()

setTerminalType(  $terminalType) 

Parameters

$terminalType

getTerminalInfo()

getTerminalInfo() 

setTerminalInfo()

setTerminalInfo(  $terminalInfo) 

Parameters

$terminalInfo

getProdCode()

getProdCode() 

setProdCode()

setProdCode(  $prodCode) 

Parameters

$prodCode

setApiVersion()

setApiVersion(  $apiVersion) 

Parameters

$apiVersion

getApiVersion()

getApiVersion() 

setNeedEncrypt()

setNeedEncrypt(  $needEncrypt) 

Parameters

$needEncrypt

getNeedEncrypt()

getNeedEncrypt()