Class CartOrderlineViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
CartOrderlineViewModel represents the rendering context used when a CartOrderline is rendered.
public class CartOrderlineViewModel : ViewModelBase
- Inheritance
-
CartOrderlineViewModel
- Inherited Members
- Extension Methods
Constructors
CartOrderlineViewModel()
Initializes a new instance of the CartOrderlineViewModel class.
public CartOrderlineViewModel()
Properties
ID
Gets or sets the id of the orderline.
public string ID { get; set; }
Property Value
- string
The id.
IsDiscount
Gets or sets if the orderline is a discount.
public bool IsDiscount { get; set; }
Property Value
- bool
The IsDiscount boolean.
IsProduct
Gets or sets if the orderline is a product.
public bool IsProduct { get; set; }
Property Value
- bool
The IsProduct boolean.
IsTax
Gets or sets if the orderline is a tax.
public bool IsTax { get; set; }
Property Value
- bool
The IsTax boolean.
OrderId
Gets or sets the order ID.
public string OrderId { get; set; }
Property Value
ParentLineId
Gets or sets the parent line ID.
public string ParentLineId { get; set; }
Property Value
PointPrice
Gets or sets the point price.
public double PointPrice { get; set; }
Property Value
- double
The point price.
PointsTotal
Gets or sets the total points.
public double PointsTotal { get; set; }
Property Value
- double
The total points.
ProductGroupID
Gets or sets the product primary or default group id.
public string ProductGroupID { get; set; }
Property Value
- string
The group id of the primary group or default group (first in collection).
ProductID
Gets or sets the product ID.
public string ProductID { get; set; }
Property Value
- string
The product ID.
ProductImage
public string ProductImage { get; set; }
Property Value
ProductLink
Gets or sets the product link.
public string ProductLink { get; set; }
Property Value
- string
The product link.
ProductName
Gets or sets the product name.
public string ProductName { get; set; }
Property Value
- string
The product name.
ProductNumber
Gets or sets the product number.
public string ProductNumber { get; set; }
Property Value
- string
The product number.
ProductVariantID
Gets or sets the product variantID.
public string ProductVariantID { get; set; }
Property Value
- string
The product variantID
ProductVariantText
Gets or sets the product variant text.
public string ProductVariantText { get; set; }
Property Value
- string
The product variant text.
Quantity
Gets or sets the quantity.
public double Quantity { get; set; }
Property Value
- double
The quantity.
StockLocationId
Gets or sets the stock location id.
public long StockLocationId { get; set; }
Property Value
TotalDiscount
Gets or sets the price viewmodel for total discount.
public PriceViewModel TotalDiscount { get; set; }
Property Value
- PriceViewModel
The price viewmodel for total discount.
TotalPrice
Gets or sets the price viewmodel for total price.
public PriceViewModel TotalPrice { get; set; }
Property Value
- PriceViewModel
The price viewmodel for total price.
TotalPriceWithProductDiscounts
Returns the price with the product discounts applied to it.
public PriceViewModel TotalPriceWithProductDiscounts { get; set; }
Property Value
UnitDiscount
Returns the unit discount.
public PriceViewModel UnitDiscount { get; set; }
Property Value
UnitId
Gets or sets the unit id.
public string UnitId { get; set; }
Property Value
- string
The unit id.
UnitName
Gets or sets the unit name.
public string UnitName { get; set; }
Property Value
- string
The unit name.
UnitPrice
Gets or sets the price viewmodel for unit price.
public PriceViewModel UnitPrice { get; set; }
Property Value
- PriceViewModel
The price viewmodel for unit price.
UnitPriceBeforeDiscount
Gets or sets the price viewmodel for unit price before custom discount.
public PriceViewModel UnitPriceBeforeDiscount { get; set; }
Property Value
- PriceViewModel
The price viewmodel for unit price.
UnitPriceWithProductDiscount
Returns the unit price with the product discount applied to it.
public PriceViewModel UnitPriceWithProductDiscount { get; set; }