This class does not have a constructor, so you cannot create it directly.
To get an instance of this class, use one of the subclass constructors.
Returns the tier index by quantity Id of Product promotion. ProductLineItems may have more than one quantity, but
not all items of that SKU may have received the same tier of promotion. Each quantity of the ProductLineItem is
indexed from 1 to n, where n is the quantity of the ProductLineItem, and this method returns a mapping from that
quantity index to the index of tier of the promotion that item received. For more information about tier indexes,
Map of Tier index by quantity Id or
Returns the promotion this discount is based on.
Promotion related to this discount
Returns the tier index for promotion at order level or bonus product.
Promotion tiers are always evaluated in the order of the highest threshold (e.g. quantity, or amount)
to the lowest threshold. The tier that is evaluated first (i.e. the highest quantity or amount) is indexed as 0,
the next tier 1, etc. The lowest tier will have index n - 1, where n is the total number of tiers.
Tier index or
Returns the quantity of the discount. This quantity specifies how often
this discount applies to its target object. For example, a 10% off
discount with quantity 2 associated to a product line item with
quantity 3 is applied to two items of the product line item.
Discounts of order and shipping promotions, and bonus discounts
have a fix quantity of 1.
Returns the type of the discount.