AmountDiscount.md•865 B
## Package: dw.campaign
# Class AmountDiscount
## Inheritance Hierarchy
- Object
- dw.campaign.Discount
- dw.campaign.AmountDiscount
## Description
Represents an amount-off discount in the discount plan, for example "$10 off all orders $100 or more".
## Properties
### amount
**Type:** Number (Read Only)
The discount amount, for example 10.00 for a "$10 off" discount.
## Constructor Summary
AmountDiscount(amount : Number) Create an amount-discount on the fly.
## Method Summary
### getAmount
**Signature:** `getAmount() : Number`
Returns the discount amount, for example 10.00 for a "$10 off" discount.
## Constructor Detail
## Method Detail
## Method Details
### getAmount
**Signature:** `getAmount() : Number`
**Description:** Returns the discount amount, for example 10.00 for a "$10 off" discount.
**Returns:**
Discount amount
---