| 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
)
<ObsoleteAttribute("Consider to use GetActiveOrderLineDiscounts, GetActiveOrderAndOrderInclusiveDiscounts or GetActiveOrderInclusiveDiscounts instead.")>
Public Function GetDiscounts (
orderDiscountType As DiscountApplyType
) As IEnumerable(Of Discount)
Parameters
- orderDiscountType
- Type: Dynamicweb.Ecommerce.Orders.DiscountsDiscountApplyType
Return Value
Type:
IEnumerableDiscountSee Also