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
see
CombinationData::getPrices()
see
CombinationData::getPricesWithTaxes()
see
Element

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

Methods

getError()

Returns the current element error (if there is error).

public getError() : Error|null
Return values
Error|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>
Return values
void

Search results