ProductPrice

Extends Object. Represents a current price for a product. 

Properties
discount PriceDiscount

The discount value between listPrice and the current price.

discountPercentage Number

The percentage discount to the nearest whole number.

id Number

The System ID for the ProductPrice object.

includesTax Boolean

True if the product price includes tax, else false. This is subject to the tax rule for the current visitor and is regardless of the setting for the product price within Evance.

isOffer Boolean

True if the current price is less than the listPrice.

listPrice Price

The standard list price of the product excluding offers/discounts.

mechanism String

The pricing mechanism:

  • buy
  • hire
minUnits Number

The minimum number of units permitted per order. For purchasable products the minUnits is always 1, but may differ for hired products.

price Price

The current price of the product including offers/discounts.

quantity Number

The order quantity threshold at which the price becomes effective.

rrp Price

The "Recommended Retail Price" of the product.

suffix String

The the string to be shown after a price e.g. +VAT. This automatically knows whether to use an inclusive or exclusive of tax suffix subject to the current session tax rule.

unit String

The unit type of the price, the value of which will be one of the following.

  • each
  • day
  • week
  • month
  • year