  | DiscountService Class | 
 
Inheritance HierarchySystemObject  Dynamicweb.Ecommerce.Orders.DiscountsDiscountService  
    Namespace: 
   Dynamicweb.Ecommerce.Orders.Discounts
    Assembly:
   Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntaxpublic class DiscountService
Public Class DiscountService
The DiscountService type exposes the following members.
Constructors
Methods| 
								 
							 | Name | Description | 
|---|
  | ClearCache |  | 
  | ClearCache(IEnumerableInt32) |  | 
  | ClearCache(Int32) |  | 
  | Delete |  | 
  | GetActiveOrderAndOrderInclusiveDiscounts |  | 
  | GetActiveOrderInclusiveDiscounts |  | 
  | GetActiveOrderLineDiscounts |  | 
  | GetApplicableDiscountsForProduct |  | 
  | GetDiscount |  | 
  | GetDiscountGiven |  | 
  | GetDiscounts |  | 
  | GetDiscounts(DiscountApplyType) |  Obsolete.  | 
  | GetDiscounts(Group, Boolean) |  | 
  | GetDiscounts(Product, Boolean) |  | 
  | GetDiscounts(Int32, Int32, SortBy, SortDirection) |  Obsolete.  | 
  | GetDiscounts(Int32, Int32, SortBy, SortDirection, Int32) |  | 
  | GetDiscounts(Int32, Int32, SortBy, SortDirection, Boolean, IEnumerableShop) |  Obsolete.  | 
  | GetDiscounts(Int32, Int32, SortBy, SortDirection, String, Int32) |  | 
  | GetDiscounts(Int32, Int32, SortBy, SortDirection, Boolean, IEnumerableShop, Int32) |  | 
  | GetDiscountsGiven |  | 
  | GetDiscountTranslations |  | 
  | GetGroupDiscounts |  | 
  | GetLoyaltyDiscountPrice |  | 
  | GetOrderCountByEmail |  | 
  | GetOrderCountByUserId |  | 
  | GetOrderDiscounts(Int32, Int32, SortBy, SortDirection, Int32) |  | 
  | GetOrderDiscounts(Int32, Int32, SortBy, SortDirection, String, Int32) |  | 
  | GetProductDiscounts(Int32, Int32, SortBy, SortDirection, Int32) |  | 
  | GetProductDiscounts(Int32, Int32, SortBy, SortDirection, String, Int32) |  | 
  | Save |  | 
  | SaveDiscountTranslation |  | 
Top
See Also