Table of Contents

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()
See Also

Properties

ID

Gets or sets the id of the orderline.
public string ID { get; set; }

Property Value

string
The id.
See Also

IsDiscount

Gets or sets if the orderline is a discount.
public bool IsDiscount { get; set; }

Property Value

bool
The IsDiscount boolean.
See Also

IsProduct

Gets or sets if the orderline is a product.
public bool IsProduct { get; set; }

Property Value

bool
The IsProduct boolean.
See Also

IsTax

Gets or sets if the orderline is a tax.
public bool IsTax { get; set; }

Property Value

bool
The IsTax boolean.
See Also

ParentLineId

Gets or sets the parent line ID.
public string ParentLineId { get; set; }

Property Value

string
See Also

PointPrice

Gets or sets the point price.
public double PointPrice { get; set; }

Property Value

double
The point price.
See Also

PointsTotal

Gets or sets the total points.
public double PointsTotal { get; set; }

Property Value

double
The total points.
See Also

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).
See Also

ProductID

Gets or sets the product ID.
public string ProductID { get; set; }

Property Value

string
The product ID.
See Also

ProductImage

public string ProductImage { get; set; }

Property Value

string
See Also
Gets or sets the product link.
public string ProductLink { get; set; }

Property Value

string
The product link.
See Also

ProductName

Gets or sets the product name.
public string ProductName { get; set; }

Property Value

string
The product name.
See Also

ProductNumber

Gets or sets the product number.
public string ProductNumber { get; set; }

Property Value

string
The product number.
See Also

ProductVariantID

Gets or sets the product variantID.
public string ProductVariantID { get; set; }

Property Value

string
The product variantID
See Also

ProductVariantText

Gets or sets the product variant text.
public string ProductVariantText { get; set; }

Property Value

string
The product variant text.
See Also

Quantity

Gets or sets the quantity.
public double Quantity { get; set; }

Property Value

double
The quantity.
See Also

TotalDiscount

Gets or sets the price viewmodel for total discount.
public PriceViewModel TotalDiscount { get; set; }

Property Value

PriceViewModel
The price viewmodel for total discount.
See Also

TotalPrice

Gets or sets the price viewmodel for total price.
public PriceViewModel TotalPrice { get; set; }

Property Value

PriceViewModel
The price viewmodel for total price.
See Also

TotalPriceWithProductDiscounts

Returns the price with the product discounts applied to it.
public PriceViewModel TotalPriceWithProductDiscounts { get; set; }

Property Value

PriceViewModel
See Also

UnitDiscount

Returns the unit discount.
public PriceViewModel UnitDiscount { get; set; }

Property Value

PriceViewModel
See Also

UnitId

Gets or sets the unit id.
public string UnitId { get; set; }

Property Value

string
The unit id.
See Also

UnitName

Gets or sets the unit name.
public string UnitName { get; set; }

Property Value

string
The unit name.
See Also

UnitPrice

Gets or sets the price viewmodel for unit price.
public PriceViewModel UnitPrice { get; set; }

Property Value

PriceViewModel
The price viewmodel for unit price.
See Also

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.
See Also

UnitPriceWithProductDiscount

Returns the unit price with the product discount applied to it.
public PriceViewModel UnitPriceWithProductDiscount { get; set; }

Property Value

PriceViewModel
See Also

See Also

To top