Table of Contents

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 = 17

The discount active field

Amount = 5

The amount of money

AssignableFromProducts = 25

The discount assignable from products field

CountryCode2 = 22

The country code2

CurrencyCode = 6

The currency code

DiscountType = 2

The discount type

GroupId = 4

The ID of product group

Id = 0

The ID of discount

LanguageId = 21

The ID of language

Name = 1

The Name of discount

OrderFieldName = 12

The order field name

OrderFieldValue = 13

The order field value

OrderTotalPrice = 15

The order total price

PaymentId = 24

The Payment Id

Percentage = 7

The percentage of discount

Priority = 26

The discount priority field

ProductId = 3

The ID of product

ProductQuantity = 20

The quantity of product

ProductVariantId = 11

The ID of product variant

ShippingId = 23

The Shipping Id

ShopId = 16

The ID of shop

UserCustomerNumber = 10

The user customer number

UserGroupId = 9

The ID of user group

UserId = 8

The ID of user

ValidFrom = 18

The date from which discount is valid

ValidTo = 19

The date till which discount is valid

VoucherListId = 14

The ID of voucher list

To top