\Yurun\PaySDK\AlipayCrossBorder\InStore\RefundRequest

支付宝境外到店支付-交易退款请求类.

Summary

Methods
Properties
Constants
__onExecute()
__construct()
$_syncResponseName
$_method
$_isSyncVerify
$_contentType
$service
$notify_url
$partner_trans_id
$partner_refund_id
$refund_amount
$currency
$refund_reson
$is_sync
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_syncResponseName

$_syncResponseName : string

支付宝返回的json中xxx_response的名字.

Type

string

$_method

$_method : string

接口请求方法.

Type

string

$_isSyncVerify

$_isSyncVerify : boolean

是否同步返回验证

Type

boolean

$_contentType

$_contentType : string|null

Content-Type.

Type

string|null

$service

$service : string

接口名称.

Type

string

$notify_url

$notify_url : string

退款通知地址,必须使用https协议.

Type

string

$partner_trans_id

$partner_trans_id : string

商户网站的订单号.

Type

string

$partner_refund_id

$partner_refund_id : string

商户的退款单的订单号.

Type

string

$refund_amount

$refund_amount : float

退款金额.

Type

float

$currency

$currency : string

退款货币代码

Type

string

$refund_reson

$refund_reson : string

退款原因.

Type

string

$is_sync

$is_sync : string

退款请求是同步或异步处理的。值: Y 或 N 默认值为 N, 异步处理。如果将值设置为 Y, notify_url 将变得毫无意义.

Type

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()