Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.Ecommerce
IMultiBuyDiscount Interface
IMultiBuyDiscount Methods
AcceptApplication Method
AllowsMoreUses Method
GetMissingProducts Method
Init Method
IsApplicableOn Method
IsBasedOn Method
PrioritizeItems Method
IMultiBuyDiscount
AcceptApplication Method
Notifies discount that it was applied on given amount of items.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
Copy
void
AcceptApplication
(
ShoppingCartItemInfo
item
,
int
count
)
Parameters
item
Type:
CMS.Ecommerce
ShoppingCartItemInfo
Discounted item. Null value means that discount was applied on product missing in cart
GetMissingProducts
.
count
Type:
System
Int32
Number of discounted items.
See Also
Reference
IMultiBuyDiscount Interface
CMS.Ecommerce Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com