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 String
discriminator value for CustomerGroupAssignmentRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupAssignmentRemovedMessagePayloadcreate builder for CustomerGroupAssignmentRemovedMessagePayload instancefactory method to create a deep copy of CustomerGroupAssignmentRemovedMessagePayload@NotNull @Valid CustomerGroupReference
CustomerGroupAssignment that was removed during the Remove CustomerGroupAssignment update action.of()
factory methodfactory method to create a shallow copy CustomerGroupAssignmentRemovedMessagePayloadvoid
setCustomerGroupAssignment
(CustomerGroupReference customerGroupAssignment) CustomerGroupAssignment that was removed during the Remove CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentRemovedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomerGroupAssignmentRemovedMessagePayload
(Function<CustomerGroupAssignmentRemovedMessagePayload, T> helper) 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_ASSIGNMENT_REMOVED
discriminator value for CustomerGroupAssignmentRemovedMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignment
CustomerGroupAssignment that was removed during the Remove CustomerGroupAssignment update action.
- Returns:
- customerGroupAssignment
-
setCustomerGroupAssignment
CustomerGroupAssignment that was 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
-
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
-