Attribute | Type | Static* | Description |
---|---|---|---|
vat_type |
array |
No. |
The available VAT types (as an array of ezvattype objects). |
current_user |
object |
No. |
The current user (as an ezuser object). |
is_vat_included |
boolean |
Yes. |
TRUE if the VAT is included, FALSE otherwise. |
vat_percent |
string |
No. |
The VAT percentage (without the percent symbol). |
discount_percent |
double |
Yes. |
The discount percentage. |
has_discount |
boolean |
No. |
TRUE if a discount rule affects the price, FALSE otherwise. |
selected_vat_type |
object |
No. |
The selected VAT type (as an ezvattype object). |
price |
string |
Yes. |
The entered price. |
inc_vat_price |
string |
No. |
The price including the VAT. |
ex_vat_price |
double |
No. |
The price excluding the VAT. |
discount_price_inc_vat |
double |
No. |
The discounted price including the VAT. |
discount_price_ex_vat |
double |
No. |
The discounted price excluding the VAT. |
currency |
string |
Yes. |
An empty string. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.