Properties

$channelId

$channelId

代理商代替商户发放卡券后,再代替商户更新卡券时,此值为商户的pid/appid;商户自己发券时,此值为空或者商户appId

$extInfo

$extInfo

用来传递外部交易号等扩展参数信息,格式为json

$pass

$pass

需要修改的pass信息,可以更新全部pass信息,也可以斤更新某一节点。pass信息中的pass.json中的数据格式,如果不需要更新该属性值,设置为null即可。

$serialNumber

$serialNumber

Alipass唯一标识

$status

$status

Alipass状态,目前仅支持CLOSED及USED两种数据。status为USED时,verify_type即为核销时的核销方式。

$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 —

setExtInfo()

setExtInfo(mixed  $extInfo) : mixed

Parameters

mixed $extInfo

Returns

mixed —

getExtInfo()

getExtInfo() : mixed

Returns

mixed —

setPass()

setPass(mixed  $pass) : mixed

Parameters

mixed $pass

Returns

mixed —

getPass()

getPass() : 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 —

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 —