class PaymentManager

支付管理

Traits

AppTrait

Properties

protected Resp $error error from  AppTrait
protected Resp $success success from  AppTrait

Methods

getError()

获取错误

from  AppTrait
bool
setError(string|MessageBag $error)

设置错误

from  AppTrait
getSuccess()

Get success messages;

from  AppTrait
bool
setSuccess(Resp|string $success)

No description

from  AppTrait
static Payment
make(string $type)

No description

static mixed
makeByClass(string $class)

根据 Class 来组织类

Details

in AppTrait at line 30
Resp getError()

获取错误

Return Value

Resp

in AppTrait at line 43
bool setError(string|MessageBag $error)

设置错误

Parameters

string|MessageBag $error error

Return Value

bool

in AppTrait at line 72
Resp getSuccess()

Get success messages;

Return Value

Resp

in AppTrait at line 90
bool setSuccess(Resp|string $success)

No description

Parameters

Resp|string $success 设置的成功信息

Return Value

bool

at line 26
static Payment make(string $type)

No description

Parameters

string $type 类型

Return Value

Payment

Exceptions

ApplicationException

at line 50
static mixed makeByClass(string $class)

根据 Class 来组织类

Parameters

string $class 类名

Return Value

mixed

Exceptions

ApplicationException