Class AssortmentGroupRelation
- Namespace
- Dynamicweb.Ecommerce.Assortments
- Assembly
- Dynamicweb.Ecommerce.dll
Assortment group relation class.
[Serializable]
public class AssortmentGroupRelation : AssortmentRelation
- Inheritance
-
AssortmentGroupRelation
- Inherited Members
Constructors
AssortmentGroupRelation()
Initializes a new instance of the AssortmentGroupRelation class.
public AssortmentGroupRelation()
AssortmentGroupRelation(Assortment)
Initializes a new instance of the AssortmentGroupRelation class.
public AssortmentGroupRelation(Assortment assortment)
Parameters
assortmentAssortmentThe assortment used in this relation.
AssortmentGroupRelation(Assortment, Group)
Initializes a new instance of the AssortmentGroupRelation class.
[SetsRequiredMembers]
public AssortmentGroupRelation(Assortment assortment, Group group)
Parameters
assortmentAssortmentThe assortment used in this relation.
groupGroupThe group used in this relation.
AssortmentGroupRelation(string)
Initializes a new instance of the AssortmentGroupRelation class.
public AssortmentGroupRelation(string assortmentID)
Parameters
assortmentIDstringThe id of the assortment used in this relation.
AssortmentGroupRelation(string, string)
Initializes a new instance of the AssortmentGroupRelation class.
[SetsRequiredMembers]
public AssortmentGroupRelation(string assortmentID, string groupID)
Parameters
assortmentIDstringThe id of the assortment used in this relation.
groupIDstringThe id of the group used in this relation.
Properties
Excluded
Gets or sets whether the group should be excluded from the assortment.
public bool Excluded { get; set; }
Property Value
Group
public Group? Group { get; }
Property Value
- Group
The group.
GroupID
Gets or sets the id of the Group associated with this AssortmentGroupRelation.
public required string GroupID { get; set; }
Property Value
- string
The group identifier.