Click or drag to resize

DiscountServiceGetDiscounts Method (DiscountApplyType)

Note: This API is now obsolete.

Namespace:  Dynamicweb.Ecommerce.Orders.Discounts
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
[ObsoleteAttribute("Consider to use GetActiveOrderLineDiscounts, GetActiveOrderAndOrderInclusiveDiscounts or GetActiveOrderInclusiveDiscounts instead.")]
public IEnumerable<Discount> GetDiscounts(
	DiscountApplyType orderDiscountType
)

Parameters

orderDiscountType
Type: Dynamicweb.Ecommerce.Orders.DiscountsDiscountApplyType

Return Value

Type: IEnumerableDiscount
See Also