| DiscountServiceGetDiscounts Method (Int32, Int32, SortBy, SortDirection, String, Int32) |
Namespace:
Dynamicweb.Ecommerce.Orders.Discounts
Assembly:
Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax public IEnumerable<Discount> GetDiscounts(
int rangeStart,
int rangeEnd,
SortBy sortBy,
SortDirection sortDirection,
string shopId,
ref int totalCount
)
Public Function GetDiscounts (
rangeStart As Integer,
rangeEnd As Integer,
sortBy As SortBy,
sortDirection As SortDirection,
shopId As String,
ByRef totalCount As Integer
) As IEnumerable(Of Discount)
Parameters
- rangeStart
- Type: SystemInt32
- rangeEnd
- Type: SystemInt32
- sortBy
- Type: Dynamicweb.Ecommerce.Orders.DiscountsSortBy
- sortDirection
- Type: Dynamicweb.Ecommerce.Orders.DiscountsSortDirection
- shopId
- Type: SystemString
- totalCount
- Type: SystemInt32
Return Value
Type:
IEnumerableDiscountSee Also