Properties

$code

$code

授权码,用户对应用授权后得到。

$grantType

$grantType

值为authorization_code时,代表用code换取;值为refresh_token时,代表用refresh_token换取

$refreshToken

$refreshToken

刷新令牌,上次换取访问令牌时得到。见出参的refresh_token字段

$apiParas

$apiParas

$terminalType

$terminalType

$terminalInfo

$terminalInfo

$prodCode

$prodCode

$apiVersion

$apiVersion

$notifyUrl

$notifyUrl

$returnUrl

$returnUrl

$needEncrypt

$needEncrypt

Methods

setCode()

setCode(mixed  $code) : mixed

Parameters

mixed $code

Returns

mixed —

getCode()

getCode() : mixed

Returns

mixed —

setGrantType()

setGrantType(mixed  $grantType) : mixed

Parameters

mixed $grantType

Returns

mixed —

getGrantType()

getGrantType() : mixed

Returns

mixed —

setRefreshToken()

setRefreshToken(mixed  $refreshToken) : mixed

Parameters

mixed $refreshToken

Returns

mixed —

getRefreshToken()

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