ProductDiscount Class |
Namespace: Dynamicweb.Ecommerce.Orders.SalesDiscounts
[AddInNameAttribute("Product discount")] [AddInDescriptionAttribute("The product specific discount lets you apply a discount to a certain product. E.g. a customer buys product X and gets a 10 percent discount on that product.")] [AddInActiveAttribute(true)] [AddInOrderAttribute(1)] public class ProductDiscount : SalesDiscountProvider, IProductDiscount
The ProductDiscount type exposes the following members.
| Name | Description | |
|---|---|---|
| ProductDiscount | Initializes a new instance of the ProductDiscount class |
| Name | Description | |
|---|---|---|
| DiscountAmount | ||
| DiscountId | (Overrides SalesDiscountProviderDiscountId.) | |
| DiscountName | (Overrides SalesDiscountProviderDiscountName.) | |
| Discounts | (Inherited from SalesDiscountProvider.) | |
| DiscountValue | (Inherited from SalesDiscountProvider.) | |
| HideDiscountValueGroupBox | (Inherited from SalesDiscountProvider.) | |
| IsPercent | ||
| IsProductDiscount | (Overrides SalesDiscountProviderIsProductDiscount.) | |
| ProductDiscountProduct | (Inherited from SalesDiscountProvider.) | |
| ProductsAndGroups |
| Name | Description | |
|---|---|---|
| CreateAmountOrderline(Order, Double, Boolean) | (Inherited from SalesDiscountProvider.) | |
| CreateAmountOrderline(Order, Double, Boolean, OrderLine) | (Inherited from SalesDiscountProvider.) | |
| CreateProductOrderline(Order, Product) | (Inherited from SalesDiscountProvider.) | |
| CreateProductOrderline(Order, String) | (Inherited from SalesDiscountProvider.) | |
| CreateProductOrderline(Order, String, String) | (Inherited from SalesDiscountProvider.) | |
| GetIdSuitableString | (Inherited from ConfigurableAddIn.) | |
| GetOrderDiscounts | (Inherited from SalesDiscountProvider.) | |
| GetParametersToXml | (Inherited from ConfigurableAddIn.) | |
| GetParametersToXml(Boolean) | (Inherited from ConfigurableAddIn.) | |
| LoadParametersFromXml | (Inherited from ConfigurableAddIn.) | |
| ProcessOrder | (Overrides SalesDiscountProviderProcessOrder(Order).) | |
| RenderAdditionalContent | (Inherited from ConfigurableAddIn.) | |
| SetValue | (Inherited from ConfigurableAddIn.) | |
| UpdateFromPost | (Inherited from ConfigurableAddIn.) |
| Name | Description | |
|---|---|---|
| DefaultVoucherCodeFieldCaption | (Inherited from SalesDiscountProvider.) |