Price
Represents a price with tax and currency
Description
Used in ListItem.
- new Price() Price constructor.
- $price->quantify() Multiplier for the price
- $price->taxIncluded() Returns if the tax is included in the price
- $price->toArray() Converts the object to an array, removing null values.
- $price->toFloat() Returns the price as float
- $price->toString() Returns the price as string
- $price->updatePrice() Updates the price and recalculates the net price and tax
- $price->updatePriceNet() Updates the net price and recalculates the price and tax