Class DiscountInfoCollection
- Namespace
- Dynamicweb.Ecommerce.Orders.Discounts
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about a discount information collection.
public class DiscountInfoCollection : Collection<DiscountInfo>, IList<DiscountInfo>, ICollection<DiscountInfo>, IReadOnlyList<DiscountInfo>, IReadOnlyCollection<DiscountInfo>, IEnumerable<DiscountInfo>, IList, ICollection, IEnumerable
- Inheritance
-
DiscountInfoCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
DiscountInfoCollection(PriceContext, Product, string, long)
public DiscountInfoCollection(PriceContext context, Product product, string unitId, long stockLocationId)
Parameters
context
PriceContextproduct
ProductunitId
stringstockLocationId
long
Properties
Price
Gets the price of the product with the discount subtracted.
public IPriceInfo Price { get; }
Property Value
- IPriceInfo
The price.
TotalPrice
Gets the total price of the discounts.
public IPriceInfo TotalPrice { get; }
Property Value
- IPriceInfo
The total price.