Interface CustomerGroupReference
- All Superinterfaces:
Reference
Reference to a CustomerGroup.
Example to create an instance using the builder pattern
CustomerGroupReference customerGroupReference = CustomerGroupReference.builder()
.id("{id}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerGroupReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerGroupReferencebuilder(CustomerGroupReference template) create builder for CustomerGroupReference instancecopyDeep()static CustomerGroupReferencedeepCopy(CustomerGroupReference template) factory method to create a deep copy of CustomerGroupReference@NotNull StringgetId()Unique identifier of the referenced CustomerGroup.static CustomerGroupReferenceof()factory methodstatic CustomerGroupReferenceof(CustomerGroupReference template) factory method to create a shallow copy CustomerGroupReferencevoidUnique identifier of the referenced CustomerGroup.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupReference>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.history.models.common.Reference
getTypeId, withReference
-
Field Details
-
CUSTOMER_GROUP
discriminator value for CustomerGroupReference- See Also:
-
-
Method Details
-
getId
Unique identifier of the referenced CustomerGroup.
-
setId
Unique identifier of the referenced CustomerGroup.
-
of
factory method- Returns:
- instance of CustomerGroupReference
-
of
factory method to create a shallow copy CustomerGroupReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerGroupReference copyDeep() -
deepCopy
factory method to create a deep copy of CustomerGroupReference- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupReference- Returns:
- builder
-
builder
create builder for CustomerGroupReference instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupReference
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-