CombinationData
extends Element
in package
This is the Current Data class.
The API Current Data data will be stored in that class and will remain immutable (only get methods are available)
Tags
Table of Contents
$error | : Error|null | |
---|---|---|
$prices | : Prices|null | |
$pricesWithTaxes | : Prices|null | |
getError() | Returns the current element error (if there is error). | : Error|null |
getPrices() | Returns the item prices object. | : Prices|null |
getPricesWithTaxes() | Returns the item pricesWithTaxes object. | : Prices|null |
setError() | : void | |
setPrices() | : void | |
setPricesWithTaxes() | : void |
Properties
$error
protected
Error|null
$error
= null
$prices
protected
Prices|null
$prices
= null
$pricesWithTaxes
protected
Prices|null
$pricesWithTaxes
= null
Methods
getError()
Returns the current element error (if there is error).
public
getError() : Error|null
Return values
Error|null —getPrices()
Returns the item prices object.
public
getPrices() : Prices|null
Tags
Return values
Prices|null —getPricesWithTaxes()
Returns the item pricesWithTaxes object.
public
getPricesWithTaxes() : Prices|null
Tags
Return values
Prices|null —setError()
protected
setError(mixed $error) : void
Parameters
- $error : mixed
Return values
void —setPrices()
protected
setPrices(array<string|int, mixed> $prices) : void
Parameters
- $prices : array<string|int, mixed>
Return values
void —setPricesWithTaxes()
protected
setPricesWithTaxes(array<string|int, mixed> $pricesWithTaxes) : void
Parameters
- $pricesWithTaxes : array<string|int, mixed>