Interface CustomerGroupSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set Customer Group update action.
Example to create an instance using the builder pattern
CustomerGroupSetMessagePayload customerGroupSetMessagePayload = CustomerGroupSetMessagePayload.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerGroupSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupSetMessagePayloadbuilder
(CustomerGroupSetMessagePayload template) create builder for CustomerGroupSetMessagePayload instancedeepCopy
(CustomerGroupSetMessagePayload template) factory method to create a deep copy of CustomerGroupSetMessagePayload@Valid CustomerGroupReference
Customer Group that was set during the Set Customer Group update action.of()
factory methodof
(CustomerGroupSetMessagePayload template) factory method to create a shallow copy CustomerGroupSetMessagePayloadvoid
setCustomerGroup
(CustomerGroupReference customerGroup) Customer Group that was set during the Set Customer Group update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayload
Methods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
CUSTOMER_GROUP_SET
discriminator value for CustomerGroupSetMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroup
Customer Group that was set during the Set Customer Group update action.
- Returns:
- customerGroup
-
setCustomerGroup
Customer Group that was set during the Set Customer Group update action.
- Parameters:
customerGroup
- value to be set
-
of
factory method- Returns:
- instance of CustomerGroupSetMessagePayload
-
of
factory method to create a shallow copy CustomerGroupSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerGroupSetMessagePayload deepCopy(@Nullable CustomerGroupSetMessagePayload template) factory method to create a deep copy of CustomerGroupSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupSetMessagePayload- Returns:
- builder
-
builder
create builder for CustomerGroupSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupSetMessagePayload
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-