Class ProductSelectionImpl
- All Implemented Interfaces:
BaseResource
,Customizable<ProductSelection>
,DomainResource<ProductSelection>
,Identifiable<ProductSelection>
,ProductSelection
,ProductSelectionMixin
,Referencable<ProductSelection>
,ResourceIdentifiable<ProductSelection>
,Versioned<ProductSelection>
,WithKey
,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
Date and time (UTC) the ProductSelection was initially created.Present on resources created after 1/02/2019 except for events not tracked.Custom Fields of the ProductSelection.getId()
Unique identifier of the ProductSelection.getKey()
User-defined unique identifier of the ProductSelection.Date and time (UTC) the ProductSelection was last updated.Present on resources updated after 1/02/2019 except for events not tracked.getMode()
Specifies in which way the Products are assigned to the ProductSelection.getName()
Name of the ProductSelection.Number of Products that are currently assigned to this ProductSelection.getType()
Deprecated.Current version of the ProductSelection.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the ProductSelection was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1/02/2019 except for events not tracked.void
setCustom
(CustomFields custom) Custom Fields of the ProductSelection.void
Unique identifier of the ProductSelection.void
User-defined unique identifier of the ProductSelection.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the ProductSelection was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources updated after 1/02/2019 except for events not tracked.void
setMode
(ProductSelectionMode mode) Specifies in which way the Products are assigned to the ProductSelection.void
setName
(LocalizedString name) Name of the ProductSelection.void
setProductCount
(Integer productCount) Number of Products that are currently assigned to this ProductSelection.void
Deprecated.void
setVersion
(Long version) Current version of the ProductSelection.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface com.commercetools.api.models.Customizable
unwrapCustomizable
Methods inherited from interface com.commercetools.api.models.DomainResource
get
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_selection.ProductSelection
withProductSelection
Methods inherited from interface com.commercetools.api.models.product_selection.ProductSelectionMixin
toReference, toResourceIdentifier
-
Constructor Details
-
ProductSelectionImpl
public ProductSelectionImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the ProductSelection.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceDomainResource<ProductSelection>
- Specified by:
getId
in interfaceIdentifiable<ProductSelection>
- Specified by:
getId
in interfaceProductSelection
- Specified by:
getId
in interfaceVersioned<ProductSelection>
- Returns:
- id
-
getVersion
Current version of the ProductSelection.
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceDomainResource<ProductSelection>
- Specified by:
getVersion
in interfaceProductSelection
- Specified by:
getVersion
in interfaceVersioned<ProductSelection>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the ProductSelection was initially created.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceProductSelection
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the ProductSelection was last updated.
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceProductSelection
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources updated after 1/02/2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceProductSelection
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1/02/2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceProductSelection
- Returns:
- createdBy
-
getKey
User-defined unique identifier of the ProductSelection.
- Specified by:
getKey
in interfaceProductSelection
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
getName
Name of the ProductSelection.
- Specified by:
getName
in interfaceProductSelection
- Returns:
- name
-
getProductCount
Number of Products that are currently assigned to this ProductSelection.
- Specified by:
getProductCount
in interfaceProductSelection
- Returns:
- productCount
-
getType
Deprecated.Specifies in which way the Products are assigned to the ProductSelection. Currently, the only way of doing this is to specify each Product individually, either by including or excluding them explicitly.
- Specified by:
getType
in interfaceProductSelection
- Returns:
- type
-
getMode
Specifies in which way the Products are assigned to the ProductSelection. Currently, the only way of doing this is to specify each Product individually, either by including or excluding them explicitly.
- Specified by:
getMode
in interfaceProductSelection
- Returns:
- mode
-
getCustom
Custom Fields of the ProductSelection.
- Specified by:
getCustom
in interfaceCustomizable<ProductSelection>
- Specified by:
getCustom
in interfaceProductSelection
- Returns:
- custom
-
setId
Description copied from interface:ProductSelection
Unique identifier of the ProductSelection.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceProductSelection
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:ProductSelection
Current version of the ProductSelection.
- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceProductSelection
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:ProductSelection
Date and time (UTC) the ProductSelection was initially created.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceProductSelection
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:ProductSelection
Date and time (UTC) the ProductSelection was last updated.
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceProductSelection
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:ProductSelection
Present on resources updated after 1/02/2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceProductSelection
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:ProductSelection
Present on resources created after 1/02/2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceProductSelection
- Parameters:
createdBy
- value to be set
-
setKey
Description copied from interface:ProductSelection
User-defined unique identifier of the ProductSelection.
- Specified by:
setKey
in interfaceProductSelection
- Parameters:
key
- value to be set
-
setName
Description copied from interface:ProductSelection
Name of the ProductSelection.
- Specified by:
setName
in interfaceProductSelection
- Parameters:
name
- value to be set
-
setProductCount
Description copied from interface:ProductSelection
Number of Products that are currently assigned to this ProductSelection.
- Specified by:
setProductCount
in interfaceProductSelection
- Parameters:
productCount
- value to be set
-
setType
Deprecated.Description copied from interface:ProductSelection
Specifies in which way the Products are assigned to the ProductSelection. Currently, the only way of doing this is to specify each Product individually, either by including or excluding them explicitly.
- Specified by:
setType
in interfaceProductSelection
- Parameters:
type
- value to be set
-
setMode
Description copied from interface:ProductSelection
Specifies in which way the Products are assigned to the ProductSelection. Currently, the only way of doing this is to specify each Product individually, either by including or excluding them explicitly.
- Specified by:
setMode
in interfaceProductSelection
- Parameters:
mode
- value to be set
-
setCustom
Description copied from interface:ProductSelection
Custom Fields of the ProductSelection.
- Specified by:
setCustom
in interfaceCustomizable<ProductSelection>
- Specified by:
setCustom
in interfaceProductSelection
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-