Properties

$channelId

$channelId

代理商代替商户发放卡券后,再代替商户更新卡券时,此值为商户的pid/appid

$serialNumber

$serialNumber

支付宝pass唯一标识

$status

$status

券状态,支持更新为USED,CLOSED两种状态

$tplParams

$tplParams

模版动态参数信息【支付宝pass模版参数键值对JSON字符串】

$verifyCode

$verifyCode

核销码串值【当状态变更为USED时,建议传入】

$verifyType

$verifyType

核销方式,目前支持:wave(声波方式)、qrcode(二维码方式)、barcode(条码方式)、input(文本方式,即手工输入方式)。pass和verify_type不能同时为空

$apiParas

$apiParas

$terminalType

$terminalType

$terminalInfo

$terminalInfo

$prodCode

$prodCode

$apiVersion

$apiVersion

$notifyUrl

$notifyUrl

$returnUrl

$returnUrl

$needEncrypt

$needEncrypt

Methods

setChannelId()

setChannelId(mixed  $channelId) : mixed

Parameters

mixed $channelId

Returns

mixed —

getChannelId()

getChannelId() : mixed

Returns

mixed —

setSerialNumber()

setSerialNumber(mixed  $serialNumber) : mixed

Parameters

mixed $serialNumber

Returns

mixed —

getSerialNumber()

getSerialNumber() : mixed

Returns

mixed —

setStatus()

setStatus(mixed  $status) : mixed

Parameters

mixed $status

Returns

mixed —

getStatus()

getStatus() : mixed

Returns

mixed —

setTplParams()

setTplParams(mixed  $tplParams) : mixed

Parameters

mixed $tplParams

Returns

mixed —

getTplParams()

getTplParams() : mixed

Returns

mixed —

setVerifyCode()

setVerifyCode(mixed  $verifyCode) : mixed

Parameters

mixed $verifyCode

Returns

mixed —

getVerifyCode()

getVerifyCode() : mixed

Returns

mixed —

setVerifyType()

setVerifyType(mixed  $verifyType) : mixed

Parameters

mixed $verifyType

Returns

mixed —

getVerifyType()

getVerifyType() : mixed

Returns

mixed —

getApiMethodName()

getApiMethodName() : mixed

Returns

mixed —

setNotifyUrl()

setNotifyUrl(mixed  $notifyUrl) : mixed

Parameters

mixed $notifyUrl

Returns

mixed —

getNotifyUrl()

getNotifyUrl() : mixed

Returns

mixed —

setReturnUrl()

setReturnUrl(mixed  $returnUrl) : mixed

Parameters

mixed $returnUrl

Returns

mixed —

getReturnUrl()

getReturnUrl() : mixed

Returns

mixed —

getApiParas()

getApiParas() : mixed

Returns

mixed —

getTerminalType()

getTerminalType() : mixed

Returns

mixed —

setTerminalType()

setTerminalType(mixed  $terminalType) : mixed

Parameters

mixed $terminalType

Returns

mixed —

getTerminalInfo()

getTerminalInfo() : mixed

Returns

mixed —

setTerminalInfo()

setTerminalInfo(mixed  $terminalInfo) : mixed

Parameters

mixed $terminalInfo

Returns

mixed —

getProdCode()

getProdCode() : mixed

Returns

mixed —

setProdCode()

setProdCode(mixed  $prodCode) : mixed

Parameters

mixed $prodCode

Returns

mixed —

setApiVersion()

setApiVersion(mixed  $apiVersion) : mixed

Parameters

mixed $apiVersion

Returns

mixed —

getApiVersion()

getApiVersion() : mixed

Returns

mixed —

setNeedEncrypt()

setNeedEncrypt(mixed  $needEncrypt) : mixed

Parameters

mixed $needEncrypt

Returns

mixed —

getNeedEncrypt()

getNeedEncrypt() : mixed

Returns

mixed —