Interface CustomerGroupAssignmentRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Remove CustomerGroupAssignment update action.
Example to create an instance using the builder pattern
CustomerGroupAssignmentRemovedMessagePayload customerGroupAssignmentRemovedMessagePayload = CustomerGroupAssignmentRemovedMessagePayload.builder()
.customerGroupAssignment(customerGroupAssignmentBuilder -> customerGroupAssignmentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for CustomerGroupAssignmentRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerGroupAssignmentRemovedMessagePayloadcreate builder for CustomerGroupAssignmentRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerGroupAssignmentRemovedMessagePayload@NotNull @Valid CustomerGroupAssignmentCustomer Group removed during the Remove CustomerGroupAssignment update action.of()factory methodfactory method to create a shallow copy CustomerGroupAssignmentRemovedMessagePayloadvoidsetCustomerGroupAssignment(CustomerGroupAssignment customerGroupAssignment) Customer Group removed during the Remove CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerGroupAssignmentRemovedMessagePayload(Function<CustomerGroupAssignmentRemovedMessagePayload, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.message.MessagePayload
getType, withMessagePayloadMethods inherited from interface com.commercetools.api.models.message.MessagePayloadMixin
as
-
Field Details
-
CUSTOMER_GROUP_ASSIGNMENT_REMOVED
discriminator value for CustomerGroupAssignmentRemovedMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignment
Customer Group removed during the Remove CustomerGroupAssignment update action.
- Returns:
- customerGroupAssignment
-
setCustomerGroupAssignment
Customer Group removed during the Remove CustomerGroupAssignment update action.
- Parameters:
customerGroupAssignment- value to be set
-
of
factory method- Returns:
- instance of CustomerGroupAssignmentRemovedMessagePayload
-
of
static CustomerGroupAssignmentRemovedMessagePayload of(CustomerGroupAssignmentRemovedMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
CustomerGroupAssignmentRemovedMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static CustomerGroupAssignmentRemovedMessagePayload deepCopy(@Nullable CustomerGroupAssignmentRemovedMessagePayload template) factory method to create a deep copy of CustomerGroupAssignmentRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupAssignmentRemovedMessagePayload- Returns:
- builder
-
builder
static CustomerGroupAssignmentRemovedMessagePayloadBuilder builder(CustomerGroupAssignmentRemovedMessagePayload template) create builder for CustomerGroupAssignmentRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupAssignmentRemovedMessagePayload
default <T> T withCustomerGroupAssignmentRemovedMessagePayload(Function<CustomerGroupAssignmentRemovedMessagePayload, T> helper) 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<CustomerGroupAssignmentRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-