Table of Contents

Class DiscountGivenTotal

Namespace
Dynamicweb.Ecommerce.Orders.Discounts
Assembly
Dynamicweb.Ecommerce.dll

Represents statistic information about discounts.

public class DiscountGivenTotal
Inheritance
DiscountGivenTotal
Inherited Members

Properties

Amount

Gets or sets the amount given in discounts.

public double Amount { get; set; }

Property Value

double

The amount.

Remarks

The default currency is used for calculation.

CurrencyCode

Gets or sets the currency code the discount was given in.

public string CurrencyCode { get; set; }

Property Value

string

The currency code.

NumberOfOrders

Gets or sets the number of orders any discount have been given on.

public int NumberOfOrders { get; set; }

Property Value

int

The number of orders. If the same order has the same discount twice, this counts as 1

Quantity

Gets or sets the quantity discounts have been given.

public double Quantity { get; set; }

Property Value

double

The total quantity. If the same order has the same discount twice and one of them is given in the quantity of 2, this counts as 3

Remarks

If one orderline has been bought more than once, and the discount was given more than once, this number will reflect that

To top