ProductVariantItem
public class ProductVariantItem : IBlockReference
Namespace
Constructors
ProductVariantItem
Initializes a new instance of the ProductVariantItem
class.
public ProductVariantItem(Udi contentUdi, IPublishedElement content, ProductVariantConfig config)
Parameters
Parameter | Description |
---|---|
contentUdi |
The content UDI. |
content |
The content. |
config |
The config. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException |
contentUdi or content |
Properties
Config
Gets the config.
public ProductVariantConfig Config { get; }
Value
The config.
Content
Gets the content.
public IPublishedElement Content { get; }
Value
The content.
ContentUdi
Gets the content UDI.
public Udi ContentUdi { get; }
Value
The content UDI.