| DiscountServiceGetDiscounts Method (Int32, Int32, SortBy, SortDirection, Boolean, IEnumerableShop) |
Note: This API is now obsolete.
Namespace:
Dynamicweb.Ecommerce.Orders.Discounts
Assembly:
Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax [ObsoleteAttribute("Use GetDiscounts(rangeStart, rangeEnd, sortBy, sortDirection, assignableFromProducts, shops, discountsCount) instead")]
public IEnumerable<Discount> GetDiscounts(
int rangeStart,
int rangeEnd,
SortBy sortBy,
SortDirection sortDirection,
bool assignableFromProducts,
IEnumerable<Shop> shops
)
<ObsoleteAttribute("Use GetDiscounts(rangeStart, rangeEnd, sortBy, sortDirection, assignableFromProducts, shops, discountsCount) instead")>
Public Function GetDiscounts (
rangeStart As Integer,
rangeEnd As Integer,
sortBy As SortBy,
sortDirection As SortDirection,
assignableFromProducts As Boolean,
shops As IEnumerable(Of Shop)
) As IEnumerable(Of Discount)
Parameters
- rangeStart
- Type: SystemInt32
- rangeEnd
- Type: SystemInt32
- sortBy
- Type: Dynamicweb.Ecommerce.Orders.DiscountsSortBy
- sortDirection
- Type: Dynamicweb.Ecommerce.Orders.DiscountsSortDirection
- assignableFromProducts
- Type: SystemBoolean
- shops
- Type: System.Collections.GenericIEnumerableShop
Return Value
Type:
IEnumerableDiscountSee Also