Class VoucherListData
- Namespace
- Dynamicweb.Ecommerce.Orders.SalesDiscounts
- Assembly
- Dynamicweb.Ecommerce.dll
[Obsolete("Use Dynamicweb.Ecommerce.Orders.Vouchers.VoucherListData instead")]
public sealed class VoucherListData
- Inheritance
-
VoucherListData
- Inherited Members
Properties
DataProviderType
public string DataProviderType { get; set; }
Property Value
DateFrom
public string DateFrom { get; set; }
Property Value
DateTo
public string DateTo { get; set; }
Property Value
OrderDiscount
public Discount OrderDiscount { get; set; }
Property Value
Reward
public Reward Reward { get; set; }
Property Value
SalesDiscount
public SalesDiscount SalesDiscount { get; set; }
Property Value
Title
public string Title { get; set; }
Property Value
Value
public string Value { get; set; }
Property Value
ValueType
public string ValueType { get; set; }
Property Value
Methods
GetDiscountForList(int)
Get the Discount object for the list with specified ID.
public static Discount GetDiscountForList(int listId)
Parameters
listId
int- The id of related voucher list.
Returns
GetLoyaltyRewardForList(int)
Get the Loyalty reward item object for the list with specified ID.
public static Reward GetLoyaltyRewardForList(int listId)
Parameters
listId
int- id of related voucher list
Returns
GetProviders(int)
public static IEnumerable<VoucherListData> GetProviders(int listId)
Parameters
listId
int
Returns
GetSalesDiscountForList(int)
Get the Discount object for the list with specified ID.
public static SalesDiscount GetSalesDiscountForList(int listId)
Parameters
listId
int- The id of related voucher list.
Returns
GetVoucherListUsings(IEnumerable<VoucherList>)
[Obsolete("Use Services.Vouchers.GetVoucherListUsings instead.")]
public static IEnumerable<VoucherListUsing> GetVoucherListUsings(IEnumerable<VoucherList> voucherLists)
Parameters
voucherLists
IEnumerable<VoucherList>