Table of Contents

Class AssortmentProductRelation

Namespace
Dynamicweb.Ecommerce.Assortments
Assembly
Dynamicweb.Ecommerce.dll

Assortment product relation class

[Serializable]
public class AssortmentProductRelation : AssortmentRelation
Inheritance
AssortmentProductRelation
Inherited Members

Constructors

AssortmentProductRelation()

Initializes a new instance of the AssortmentProductRelation class.

public AssortmentProductRelation()

AssortmentProductRelation(Assortment)

Initializes a new instance of the AssortmentProductRelation class.

public AssortmentProductRelation(Assortment assortment)

Parameters

assortment Assortment

The assortment.

AssortmentProductRelation(Assortment, Product)

Initializes a new instance of the AssortmentProductRelation class.

[SetsRequiredMembers]
public AssortmentProductRelation(Assortment assortment, Product product)

Parameters

assortment Assortment

The assortment.

product Product

The product.

AssortmentProductRelation(string)

Initializes a new instance of the AssortmentProductRelation class.

public AssortmentProductRelation(string assortmentID)

Parameters

assortmentID string

The assortment identifier.

AssortmentProductRelation(string, string, string?)

Initializes a new instance of the AssortmentProductRelation class.

[SetsRequiredMembers]
public AssortmentProductRelation(string assortmentID, string productID, string? productVariantID)

Parameters

assortmentID string

The assortment identifier.

productID string

The product identifier.

productVariantID string

The product variant identifier.

Properties

Excluded

Gets or sets whether the product should be excluded from the assortment.

public bool Excluded { get; set; }

Property Value

bool

Product

Gets the product.

public Product Product { get; }

Property Value

Product

The product.

ProductID

Gets or sets the product identifier.

public required string ProductID { get; set; }

Property Value

string

The product identifier.

ProductVariantID

Gets or sets the product variant identifier.

public string? ProductVariantID { get; set; }

Property Value

string

The product variant identifier.

See Also

To top