Class ProductSelectionDraftImpl
java.lang.Object
com.commercetools.api.models.product_selection.ProductSelectionDraftImpl
- All Implemented Interfaces:
CustomizableDraft<ProductSelectionDraft>
,ProductSelectionDraft
,WithKey
,io.vrap.rmf.base.client.Draft<ProductSelectionDraft>
,io.vrap.rmf.base.client.ModelBase
public class ProductSelectionDraftImpl
extends Object
implements ProductSelectionDraft, io.vrap.rmf.base.client.ModelBase
ProductSelectionDraft
-
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
Custom Fields of this ProductSelection.getKey()
User-defined unique identifier for the ProductSelection.getMode()
Mode of the Product Selection.getName()
Name of the ProductSelection.getType()
Deprecated.int
hashCode()
void
setCustom
(CustomFieldsDraft custom) Custom Fields of this ProductSelection.void
User-defined unique identifier for the ProductSelection.void
setMode
(ProductSelectionMode mode) Mode of the Product Selection.void
setName
(LocalizedString name) Name of the ProductSelection.void
Deprecated.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.CustomizableDraft
unwrapCustomizableDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_selection.ProductSelectionDraft
withProductSelectionDraft
-
Constructor Details
-
ProductSelectionDraftImpl
public ProductSelectionDraftImpl()create empty instance
-
-
Method Details
-
getKey
User-defined unique identifier for the ProductSelection.
- Specified by:
getKey
in interfaceProductSelectionDraft
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
getName
Name of the ProductSelection. Not checked for uniqueness, but distinct names are recommended.
- Specified by:
getName
in interfaceProductSelectionDraft
- Returns:
- name
-
getCustom
Custom Fields of this ProductSelection.
- Specified by:
getCustom
in interfaceCustomizableDraft<ProductSelectionDraft>
- Specified by:
getCustom
in interfaceProductSelectionDraft
- Returns:
- custom
-
getType
Deprecated.Type of the Product Selection.
- Specified by:
getType
in interfaceProductSelectionDraft
- Returns:
- type
-
getMode
Mode of the Product Selection.
- Specified by:
getMode
in interfaceProductSelectionDraft
- Returns:
- mode
-
setKey
Description copied from interface:ProductSelectionDraft
User-defined unique identifier for the ProductSelection.
- Specified by:
setKey
in interfaceProductSelectionDraft
- Parameters:
key
- value to be set
-
setName
Description copied from interface:ProductSelectionDraft
Name of the ProductSelection. Not checked for uniqueness, but distinct names are recommended.
- Specified by:
setName
in interfaceProductSelectionDraft
- Parameters:
name
- value to be set
-
setCustom
Description copied from interface:ProductSelectionDraft
Custom Fields of this ProductSelection.
- Specified by:
setCustom
in interfaceCustomizableDraft<ProductSelectionDraft>
- Specified by:
setCustom
in interfaceProductSelectionDraft
- Parameters:
custom
- value to be set
-
setType
Deprecated.Description copied from interface:ProductSelectionDraft
Type of the Product Selection.
- Specified by:
setType
in interfaceProductSelectionDraft
- Parameters:
type
- value to be set
-
setMode
Description copied from interface:ProductSelectionDraft
Mode of the Product Selection.
- Specified by:
setMode
in interfaceProductSelectionDraft
- Parameters:
mode
- value to be set
-
equals
-
hashCode
-