Class DynamicProductRelation
- Namespace
- Dynamicweb.Ecommerce.Products.DynamicRelations
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a relation between a Product (Product properties), a Product (Relation properties) and a DynamicRelationGroup.
public sealed class DynamicProductRelation
- Inheritance
-
DynamicProductRelation
- Inherited Members
- Extension Methods
Properties
Amount
The specified amount of the relation.
public double? Amount { get; set; }
Property Value
Description
A description of the relation.
public string? Description { get; set; }
Property Value
DynamicRelationGroupId
The ID of the DynamicRelationGroup to which this relation belongs.
public string DynamicRelationGroupId { get; set; }
Property Value
Id
The primary ID.
public string Id { get; set; }
Property Value
SourceProductId
The ID of the Product that is the source of the relation.
public string? SourceProductId { get; set; }
Property Value
SourceProductUnitId
The ID of the Unit that is the source of the relation.
public string? SourceProductUnitId { get; set; }
Property Value
SourceProductVariantId
The ID of the product variant that is the source of the relation.
public string? SourceProductVariantId { get; set; }
Property Value
SourceProductVariantOptionId
The ID of the VariantOption that is the source of the relation.
public string? SourceProductVariantOptionId { get; set; }
Property Value
TargetProductId
The ID of the Product that is the target of the relation.
public string? TargetProductId { get; set; }
Property Value
TargetProductVariantId
The ID of the product variant that is the target of the relation.
public string? TargetProductVariantId { get; set; }
Property Value
ValidFrom
The date and time from which the relation is valid.
public DateTime? ValidFrom { get; set; }
Property Value
ValidTo
The date and time until which the relation is valid.
public DateTime? ValidTo { get; set; }