Script: Class dw.campaign.TotalFixedPriceDiscount

Class TotalFixedPriceDiscount

Represents a total fix price discount on a group of products in the discount plan. For example: "buy 3 products of type X for a total price of $29.99".

Properties

totalFixedPrice : Number Read Only

The total fixed price amount.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getTotalFixedPrice() : Number

Returns the total fixed price amount.

Methods inherited from class Discount

getItemPromotionTiers, getPromotion, getPromotionTier, getQuantity, getType

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getTotalFixedPrice

getTotalFixedPrice() : Number

Returns the total fixed price amount.

Returns:

Total fixed price amount