Table of Contents

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

string

DateFrom

public string DateFrom { get; set; }

Property Value

string

DateTo

public string DateTo { get; set; }

Property Value

string

OrderDiscount

public Discount OrderDiscount { get; set; }

Property Value

Discount

Reward

public Reward Reward { get; set; }

Property Value

Reward

SalesDiscount

public SalesDiscount SalesDiscount { get; set; }

Property Value

SalesDiscount

Title

public string Title { get; set; }

Property Value

string

Value

public string Value { get; set; }

Property Value

string

ValueType

public string ValueType { get; set; }

Property Value

string

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

Discount

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

Reward

GetProviders(int)

public static IEnumerable<VoucherListData> GetProviders(int listId)

Parameters

listId int

Returns

IEnumerable<VoucherListData>

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

SalesDiscount

GetVoucherListUsings(IEnumerable<VoucherList>)

[Obsolete("Use Services.Vouchers.GetVoucherListUsings instead.")]
public static IEnumerable<VoucherListUsing> GetVoucherListUsings(IEnumerable<VoucherList> voucherLists)

Parameters

voucherLists IEnumerable<VoucherList>

Returns

IEnumerable<VoucherListUsing>
To top