\Yurun\PaySDK\Weixin\GetPublicKeyRequest

微信支付-获取RSA加密公钥请求类.

Summary

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

Properties

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

$allowReport

$allowReport : boolean

是否允许上报.

Type

boolean

$_method

$_method : string

接口请求方法.

Type

string

$_isSyncVerify

$_isSyncVerify : boolean

是否同步返回验证

Type

boolean

$_contentType

$_contentType : string|null

Content-Type.

Type

string|null

Methods

__construct()

__construct() 

__onExecute()

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

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

Parameters

\Yurun\PaySDK\Base $sdk
string $format

数据格式,json、xml等

Returns

boolean