\Yurun\PaySDK\AlipayCrossBorder\Online\NotifyBase

支付宝境外支付通知基类.

Summary

Methods
Properties
Constants
__construct()
exec()
reply()
getNotifyData()
notifyVerify()
$data
$sdk
$replyData
$swooleRequest
$swooleResponse
No constants found
__exec()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$data

$data : array

通知数据.

Type

array

$replyData

$replyData : mixed

返回数据.

Type

mixed

$swooleRequest

$swooleRequest : \Swoole\Http\Request|\Psr\Http\Message\ServerRequestInterface

swoole 请求类,或支持 PSR-7 标准的对象

Type

\Swoole\Http\Request|\Psr\Http\Message\ServerRequestInterface

$swooleResponse

$swooleResponse : \Swoole\Http\Response|\Psr\Http\Message\ResponseInterface

swoole 响应类,或支持 PSR-7 标准的对象

Type

\Swoole\Http\Response|\Psr\Http\Message\ResponseInterface

Methods

__construct()

__construct() 

exec()

exec() : void

执行.

reply()

reply(boolean  $success, string  $message = '') : void

返回数据.

Parameters

boolean $success
string $message

getNotifyData()

getNotifyData() : array|mixed

获取通知数据.

Returns

array|mixed

notifyVerify()

notifyVerify() : boolean

对通知进行验证,是否是正确的通知.

Returns

boolean

__exec()

__exec() : void

后续执行操作.