# Price

> Represents a price with tax and currency

- Source: `src/Price.php` <https://github.com/wagnerwagner/merx/blob/2.0.0-alpha.11/src/Price.php>

## Description

Used in ListItem.

## Pages

- [new Price()](https://merx2.wagnerwagner.de/reference/classes/price/__construct.md): Price constructor.
- [$price->quantify()](https://merx2.wagnerwagner.de/reference/classes/price/quantify.md): Multiplier for the price
- [$price->taxIncluded()](https://merx2.wagnerwagner.de/reference/classes/price/tax-included.md): Returns if the tax is included in the price
- [$price->toArray()](https://merx2.wagnerwagner.de/reference/classes/price/to-array.md): Converts the object to an array, removing null values.
- [$price->toFloat()](https://merx2.wagnerwagner.de/reference/classes/price/to-float.md): Returns the price as float
- [$price->toString()](https://merx2.wagnerwagner.de/reference/classes/price/to-string.md): Returns the price as string
- [$price->updatePrice()](https://merx2.wagnerwagner.de/reference/classes/price/update-price.md): Updates the price and recalculates the net price and tax
- [$price->updatePriceNet()](https://merx2.wagnerwagner.de/reference/classes/price/update-price-net.md): Updates the net price and recalculates the price and tax
