Class AssignedProductReferenceImpl
- All Implemented Interfaces:
AssignedProductReference
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Reference to a Product that is assigned to the Product Selection.The Variants of the Product that are excluded from the Product Selection.The Variants of the Product that are included from the Product Selection.int
hashCode()
void
setProduct
(ProductReference product) Reference to a Product that is assigned to the Product Selection.void
setVariantExclusion
(ProductVariantExclusion variantExclusion) The Variants of the Product that are excluded from the Product Selection.void
setVariantSelection
(ProductVariantSelection variantSelection) The Variants of the Product that are included from the Product Selection.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.product_selection.AssignedProductReference
withAssignedProductReference
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AssignedProductReferenceImpl
public AssignedProductReferenceImpl()create empty instance
-
-
Method Details
-
getProduct
Reference to a Product that is assigned to the Product Selection.
- Specified by:
getProduct
in interfaceAssignedProductReference
- Returns:
- product
-
getVariantSelection
The Variants of the Product that are included from the Product Selection.
This field may exist only in Product Selections with
Individual
ProductSelectionMode. In absence of this field, all Variants are deemed to be included.- Specified by:
getVariantSelection
in interfaceAssignedProductReference
- Returns:
- variantSelection
-
getVariantExclusion
The Variants of the Product that are excluded from the Product Selection.
This field may exist only in Product Selections with
IndividualExclusion
ProductSelectionMode. In absence of this field, all Variants are deemed to be excluded.- Specified by:
getVariantExclusion
in interfaceAssignedProductReference
- Returns:
- variantExclusion
-
setProduct
Description copied from interface:AssignedProductReference
Reference to a Product that is assigned to the Product Selection.
- Specified by:
setProduct
in interfaceAssignedProductReference
- Parameters:
product
- value to be set
-
setVariantSelection
Description copied from interface:AssignedProductReference
The Variants of the Product that are included from the Product Selection.
This field may exist only in Product Selections with
Individual
ProductSelectionMode. In absence of this field, all Variants are deemed to be included.- Specified by:
setVariantSelection
in interfaceAssignedProductReference
- Parameters:
variantSelection
- value to be set
-
setVariantExclusion
Description copied from interface:AssignedProductReference
The Variants of the Product that are excluded from the Product Selection.
This field may exist only in Product Selections with
IndividualExclusion
ProductSelectionMode. In absence of this field, all Variants are deemed to be excluded.- Specified by:
setVariantExclusion
in interfaceAssignedProductReference
- Parameters:
variantExclusion
- value to be set
-
equals
-
hashCode
public int hashCode()
-