\Yurun\PaySDK\Weixin\Profit\FinishRequest

微信支付-完结分账.

Summary

Methods
Properties
Constants
__construct()
__onExecute()
$_apiMethod
$needAppID
$needMchID
$needSignType
$signType
$needNonceStr
$allowReport
$_method
$_isSyncVerify
$_contentType
$brand_mch_id
$transaction_id
$out_order_no
$description
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

$brand_mch_id

$brand_mch_id : string

品牌主商户号.

当服务商开通了“连锁品牌工具”后,使用品牌供应链分账时,此参数传入品牌主商户号。传入后,分账方的分账比例,校验品牌主配置的全局分账。 使用普通分账,未开通“连锁品牌工具”的商户,可忽略此字段。

Type

string

$transaction_id

$transaction_id : string

微信订单号.

Type

string

$out_order_no

$out_order_no : string

商户分账单号.

查询分账结果,输入申请分账时的商户分账单号; 查询分账完结执行的结果,输入发起分账完结时的商户分账单号

Type

string

$description

$description : string

分账完结描述.

Type

string

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