This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Price data model¶
The Siso\Bundle\PriceBundle\Model
class defines a generic price object.
When attached to a ProductNode
object,
PriceField
is used.
Properties¶
Name | Type | Required | Description |
---|---|---|---|
price |
float |
yes | The main price value |
priceInclVat |
float |
no | The price value including VAT |
priceExclVat |
float |
no | The price value excluding VAT |
isVatPrice |
boolean |
yes | If true, the main price value includes VAT |
vatCode |
float |
yes | VAT percentage |
currency |
string |
yes | The ISO 4217 currency code (e.g. "EUR") |
discount |
float |
no | Discount in percentage |
timestamp |
string |
no | Timestamp |
campaign |
string |
no | Campaign code resp. value |
source |
string |
yes | The source of this price (e.g. "NAV") |
quantityDiscount |
array |
no | Information regarding block prices, etc. |