\refund_notify

微信支付-退款通知基类.

Summary

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

Properties

$replyData

$replyData : mixed

返回数据.

Type

mixed

$data

$data : array

通知数据.

Type

array

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

getNotifyData()

getNotifyData() : mixed

获取通知数据.

Returns

mixed

notifyVerify()

notifyVerify() : boolean

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

Returns

boolean

reply()

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

返回数据.

Parameters

boolean $success
string $message

exec()

exec() : void

执行.

__exec()

__exec() : void

后续执行操作.