ezmultiprice

Summary

Contains information about prices and currencies for a product.

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

No.

The price in the preferred currency.

inc_vat_price

string

No.

The price in the preferred currency including the VAT.

ex_vat_price

double

No.

The price in the preferred currency excluding the VAT.

discount_price_inc_vat

double

No.

The discounted price in the preferred currency including the VAT.

discount_price_ex_vat

double

No.

The discounted price in the preferred currency excluding the VAT.

currency

string

No.

The code of the preferred currency.

currency_list

array

No.

The available currencies (as an array of ezcurrencydata objects).

auto_currency_list

array

No.

The currencies that the auto prices are calculated for (as an array of ezcurrencydata objects).

price_list

array

No.

The prices in all currencies (both custom prices and auto prices).

auto_price_list

array

No.

The auto prices.

custom_price_list

array

No.

The custom prices.

inc_vat_price_list

array

No.

The prices including the VAT.

ex_vat_price_list

array

No.

The prices excluding the VAT.

discount_inc_vat_price_list

array

No.

The discounted prices including the VAT.

discount_ex_vat_price_list

array

No.

The discounted prices excluding the VAT.

* 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.