Table of Contents

Class UnitOptionViewModel

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll

Represents a view model for a unit option.

public class UnitOptionViewModel : FillableViewModelBase
Inheritance
UnitOptionViewModel
Inherited Members
Extension Methods

Properties

Id

Gets or sets the unit id.

public string? Id { get; set; }

Property Value

string

Image

Gets or sets the image path.

public MediaViewModel? Image { get; set; }

Property Value

MediaViewModel

Name

Gets or sets the name of the unit.

public string? Name { get; set; }

Property Value

string

NeverOutOfStock

Gets or sets the value indicating whether the unit can be never out of stock.

public bool NeverOutOfStock { get; set; }

Property Value

bool

StockLevel

Gets or sets the stock level for the given unit

public double? StockLevel { get; set; }

Property Value

double?
To top