ValidatePaymentParametersGroup
extends ParametersGroup
in package
This is the validate payment parameters group class.
Table of Contents
$body | : string | |
---|---|---|
$params | : array<string|int, mixed> | |
$validator | : ParametersValidator | |
setBody() | Sets the body parameter for this parameters group. | : void |
setParams() | Sets the params parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : ValidatePaymentParametersValidator |
Properties
$body
protected
string
$body
$params
protected
array<string|int, mixed>
$params
$validator
protected
ParametersValidator
$validator
Methods
setBody()
Sets the body parameter for this parameters group.
public
setBody(string $body) : void
Parameters
- $body : string
Return values
void —setParams()
Sets the params parameter for this parameters group.
public
setParams(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : ValidatePaymentParametersValidator