Enum SortBy
- Namespace
- Dynamicweb.Ecommerce.Orders.Discounts
- Assembly
- Dynamicweb.Ecommerce.dll
The SortBy enumeration defines on which field discount will be sorted.
public enum SortBy
Fields
Active = 17The discount active field
Amount = 5The amount of money
AssignableFromProducts = 25The discount assignable from products field
CountryCode2 = 22The country code2
CurrencyCode = 6The currency code
DiscountType = 2The discount type
GroupId = 4The ID of product group
Id = 0The ID of discount
LanguageId = 21The ID of language
Name = 1The Name of discount
OrderFieldName = 12The order field name
OrderFieldValue = 13The order field value
OrderTotalPrice = 15The order total price
PaymentId = 24The Payment Id
Percentage = 7The percentage of discount
Priority = 26The discount priority field
ProductId = 3The ID of product
ProductQuantity = 20The quantity of product
ProductVariantId = 11The ID of product variant
ShippingId = 23The Shipping Id
ShopId = 16The ID of shop
UserCustomerNumber = 10The user customer number
UserGroupId = 9The ID of user group
UserId = 8The ID of user
ValidFrom = 18The date from which discount is valid
ValidTo = 19The date till which discount is valid
VoucherListId = 14The ID of voucher list