IMultiBuyDiscount Methods |
The IMultiBuyDiscount type exposes the following members.
Name | Description | |
---|---|---|
AcceptApplication |
Notifies discount that it was applied on given amount of items.
| |
AllowsMoreUses |
Returns true if this discount can be used repeatedly.
| |
GetMissingProducts |
Returns IDs of SKUs which could be discounted if present in cart. Most important products go first.
| |
Init |
Sets discount to its initial state.
| |
IsApplicableOn |
Indicates if this discount is affecting the price of given cart item, i.e. this method returns true for items
discounted by this discount.
| |
IsBasedOn |
Indicates if this discount is based on given cart item, i.e. this method returns true for items needed
to be in the cart to be eligible to get this discount.
| |
PrioritizeItems |
Sorts cart items according to priority. Places items preferred to be discounted on the beginning of list.
|