Click or drag to resize
MultiBuyDiscountsApplicator Class
Class applying discount on given shopping cart items.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceMultiBuyDiscountsApplicator

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public class MultiBuyDiscountsApplicator : IMultiBuyDiscountsApplicator

The MultiBuyDiscountsApplicator type exposes the following members.

Constructors
  NameDescription
Public methodMultiBuyDiscountsApplicator
Top
Properties
  NameDescription
Protected propertyDiscountApplications
Dictionary of multibuy discounts application [Discount -> [CartItem -> DiscountedUnitsCount]]
Top
Methods
  NameDescription
Public methodAcceptsMissedDiscount
Notifies the applicator that discount was nearly applied. It could be applied on given products if present in cart.
Public methodApplyDiscount
Applies discount to given number of unit of given item.
Protected methodGetDiscountsSummary
Returns list of discount applications.
Protected methodGetSavings
Returns discount saving for particular item.
Public methodReset
Resets applicator to its initial state.
Top
See Also