GetCombinationDataParametersGroup extends ProductParametersGroup

This is the get current data model parameters group class.

Table of Contents

$options  : array<string|int, mixed>
$quantity  : int
$validator  : ParametersValidator
addOption() Adds a new option to the array of options for this parameters group.  : void
setOptions() Sets an array of options as a 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() {@inheritdoc}  : GetCombinationDataParametersValidator

Properties

Methods

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>

Search results