dw.campaign
Class FixedPriceDiscount
Object
dw.campaign.Discount
dw.campaign.FixedPriceDiscount
Represents a fix price discount in the discount plan, for example "Shipping only 0.99 all orders $25 or more."
Properties
fixedPrice  :  Number  (Read Only)
The fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Constructor Summary
FixedPriceDiscount(amount : Number)
Create a fixed-price-discount on the fly.
Method Summary
getFixedPrice() : Number
Returns the fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Constructor Detail
FixedPriceDiscount
public FixedPriceDiscount(amount : Number)
Create a fixed-price-discount on the fly. Can be used to create a custom price adjustment.
Parameters:
amount - fixed price e.g. 10.00

Method Detail
getFixedPrice
getFixedPrice() : Number
Returns the fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Returns:
Fixed price amount