ProductPrice

Extends Object. Represents a current price for a product. 

Properties
discount

Type PriceDiscount

The discount value between listPrice and the current price.

discountPercentage

Type Number

The percentage discount to the nearest whole number.

id

Type Number

The System ID for the ProductPrice object.

includesTax

Type 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

Type Boolean

True if the current price is less than the listPrice.

listPrice

Type Price

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

mechanism

Type String

The pricing mechanism:

  • buy
  • hire
minUnits

Type Number

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

price

Type Price

The current price of the product including offers/discounts.

quantity

Type Number

The order quantity threshold at which the price becomes effective.

rrp

Type Price

The "Recommended Retail Price" of the product.

suffix

Type 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

Type String

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

  • each
  • day
  • week
  • month
  • year