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

Property Summary 

PropertyDescription
totalFixedPrice: Number (read-only)Returns the total fixed price amount.

Constructor Summary 

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

Method Summary 

MethodDescription
getTotalFixedPrice()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

Property Details 

totalFixedPrice 

totalFixedPrice: Number (read-only)

Returns the total fixed price amount.


Method Details 

getTotalFixedPrice() 

getTotalFixedPrice(): Number

Returns the total fixed price amount.

Returns:

  • Total fixed price amount

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!