CreateReturnRequestItemParametersGroup
extends ParametersGroup
in package
This is the document items parameters group class.
Table of Contents
$hash | : string | |
---|---|---|
$quantity | : int | |
$validator | : ParametersValidator | |
setHash() | Sets the hash parameter for this parameters group. | : void |
setQuantity() | Sets the quantity 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() | : CreateReturnRequestItemParametersValidator |
Properties
$hash
protected
string
$hash
$quantity
protected
int
$quantity
$validator
protected
ParametersValidator
$validator
Methods
setHash()
Sets the hash parameter for this parameters group.
public
setHash(string $hash) : void
Parameters
- $hash : string
Return values
void —setQuantity()
Sets the quantity parameter for this parameters group.
public
setQuantity(int $quantity) : void
Parameters
- $quantity : int
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() : CreateReturnRequestItemParametersValidator