Class CustomerGroupImpl
- All Implemented Interfaces:
BaseResource
,CustomerGroup
,CustomerGroupMixin
,Customizable<CustomerGroup>
,DomainResource<CustomerGroup>
,Identifiable<CustomerGroup>
,Referencable<CustomerGroup>
,ResourceIdentifiable<CustomerGroup>
,Versioned<CustomerGroup>
,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 CustomerGroup was initially created.Present on resources created after 1 February 2019 except for events not tracked.Custom Fields for the CustomerGroup.getId()
Unique identifier of the CustomerGroup.getKey()
User-defined unique identifier for the CustomerGroup.Date and time (UTC) the CustomerGroup was last updated.Present on resources updated after 1 February 2019 except for events not tracked.getName()
Unique name of the CustomerGroup.Current version of the CustomerGroup.int
hashCode()
void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the CustomerGroup was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setCustom
(CustomFields custom) Custom Fields for the CustomerGroup.void
Unique identifier of the CustomerGroup.void
User-defined unique identifier for the CustomerGroup.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the CustomerGroup was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources updated after 1 February 2019 except for events not tracked.void
Unique name of the CustomerGroup.void
setVersion
(Long version) Current version of the CustomerGroup.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.customer_group.CustomerGroup
withCustomerGroup
Methods inherited from interface com.commercetools.api.models.customer_group.CustomerGroupMixin
toReference, toResourceIdentifier
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
-
Constructor Details
-
CustomerGroupImpl
public CustomerGroupImpl()create empty instance
-
-
Method Details
-
getId
Unique identifier of the CustomerGroup.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceCustomerGroup
- Specified by:
getId
in interfaceDomainResource<CustomerGroup>
- Specified by:
getId
in interfaceIdentifiable<CustomerGroup>
- Specified by:
getId
in interfaceVersioned<CustomerGroup>
- Returns:
- id
-
getVersion
Current version of the CustomerGroup.
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceCustomerGroup
- Specified by:
getVersion
in interfaceDomainResource<CustomerGroup>
- Specified by:
getVersion
in interfaceVersioned<CustomerGroup>
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the CustomerGroup was initially created.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceCustomerGroup
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the CustomerGroup was last updated.
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceCustomerGroup
- Returns:
- lastModifiedAt
-
getLastModifiedBy
Present on resources updated after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceCustomerGroup
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceCustomerGroup
- Returns:
- createdBy
-
getKey
User-defined unique identifier for the CustomerGroup.
- Specified by:
getKey
in interfaceCustomerGroup
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
getName
Unique name of the CustomerGroup.
- Specified by:
getName
in interfaceCustomerGroup
- Returns:
- name
-
getCustom
Custom Fields for the CustomerGroup.
- Specified by:
getCustom
in interfaceCustomerGroup
- Specified by:
getCustom
in interfaceCustomizable<CustomerGroup>
- Returns:
- custom
-
setId
Description copied from interface:CustomerGroup
Unique identifier of the CustomerGroup.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceCustomerGroup
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:CustomerGroup
Current version of the CustomerGroup.
- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceCustomerGroup
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:CustomerGroup
Date and time (UTC) the CustomerGroup was initially created.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceCustomerGroup
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:CustomerGroup
Date and time (UTC) the CustomerGroup was last updated.
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceCustomerGroup
- Parameters:
lastModifiedAt
- value to be set
-
setLastModifiedBy
Description copied from interface:CustomerGroup
Present on resources updated after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceCustomerGroup
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:CustomerGroup
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceCustomerGroup
- Parameters:
createdBy
- value to be set
-
setKey
Description copied from interface:CustomerGroup
User-defined unique identifier for the CustomerGroup.
- Specified by:
setKey
in interfaceCustomerGroup
- Parameters:
key
- value to be set
-
setName
Description copied from interface:CustomerGroup
Unique name of the CustomerGroup.
- Specified by:
setName
in interfaceCustomerGroup
- Parameters:
name
- value to be set
-
setCustom
Description copied from interface:CustomerGroup
Custom Fields for the CustomerGroup.
- Specified by:
setCustom
in interfaceCustomerGroup
- Specified by:
setCustom
in interfaceCustomizable<CustomerGroup>
- Parameters:
custom
- value to be set
-
equals
-
hashCode
-