ezprice
Summary
Contains information about a price.Persistent
No.Attributes
| 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.
Balazs Halasy (27/04/2005 9:07 am)
Svitlana Shatokhina (13/02/2007 1:36 pm)
Comments
There are no comments.