| IMultiBuyDiscount Interface | 
Namespace: CMS.Ecommerce
public interface IMultiBuyDiscount : IDiscount, ICouponCodeApplication
The IMultiBuyDiscount type exposes the following members.
| Name | Description | |
|---|---|---|
| AppliedCouponCode | 
            Applied coupon code.
              (Inherited from IDiscount.) | |
| ApplyFurtherDiscounts | 
            Indicates if further discounts are to be applied if this discount applies.
              | |
| ApplyOnUnitsCount | 
            The number of discounted units.
              | |
| AutoAddEnabled | 
            Indicates if product is added to cart automatically, the system adds product to shopping cart only when the discount is percentage and set 100 % off.
              | |
| BasedOnUnitsCount | 
            The number of products needed to enable this discount.
              | |
| DiscountGuid | 
            Unique identifier of the discount.
              | |
| DiscountName | 
            Gets the display name of the discount.
              (Inherited from IDiscount.) | |
| MaxApplication | 
            Maximum number of possible usages of the discount. Zero or negative value is representing an unlimited application count.
              | 
| Name | Description | |
|---|---|---|
| Apply | 
            Applies coupon code during order creation.
              (Inherited from ICouponCodeApplication.) | |
| CalculateDiscount | 
            Calculates the discount value for given basePrice.
              (Inherited from IDiscount.) | |
| GetMissingProducts | 
            Returns IDs of SKUs which could be discounted if present in cart. Most important products go first.
              | |
| 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.
              |