\Yurun\PaySDKWeixinRequestBaseV3

微信请求类基类.

Summary

Methods
Properties
Constants
__onExecute()
__construct()
$_method
$_isSyncVerify
$_contentType
$_apiMethod
$needAppID
$needMchID
$needSignType
$signType
$needNonceStr
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_method

$_method : string

接口请求方法.

Type

string

$_isSyncVerify

$_isSyncVerify : boolean

是否同步返回验证

Type

boolean

$_contentType

$_contentType : string|null

Content-Type.

Type

string|null

$_apiMethod

$_apiMethod : string

接口名称.

Type

string

$needAppID

$needAppID : boolean

参数中是否需要带有app_id.

Type

boolean

$needMchID

$needMchID : boolean

参数中是否需要带有mch_id.

Type

boolean

$needSignType

$needSignType : boolean

参数中是否需要带有sign_type.

Type

boolean

$signType

$signType : string

签名类型,为null时使用publicParams设置.

Type

string

$needNonceStr

$needNonceStr : boolean|string

参数中是否需要带有nonce_str 为true时,自动带上nonce_str 为false时,不带上nonce_str 为字符串时,使用该字符串作为nonce_str字段名.

Type

boolean|string

Methods

__onExecute()

__onExecute(\Yurun\PaySDK\Base  $sdk, string  $format) : boolean

当调用SDK的execute时触发,返回true时不执行SDK中默认的执行逻辑.

Parameters

\Yurun\PaySDK\Base $sdk
string $format

数据格式,json、xml等

Returns

boolean

__construct()

__construct()