Interface BusinessUnitCustomerGroupAssignmentRemovedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Remove CustomerGroupAssignment update action.
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentRemovedMessagePayload businessUnitCustomerGroupAssignmentRemovedMessagePayload = BusinessUnitCustomerGroupAssignmentRemovedMessagePayload.builder()
.customerGroupAssignment(customerGroupAssignmentBuilder -> customerGroupAssignmentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomerGroupAssignmentRemovedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomerGroupAssignmentRemovedMessagePayloadcreate builder for BusinessUnitCustomerGroupAssignmentRemovedMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentRemovedMessagePayload@NotNull @Valid CustomerGroupAssignmentCustomer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.of()factory methodfactory method to create a shallow copy BusinessUnitCustomerGroupAssignmentRemovedMessagePayloadvoidsetCustomerGroupAssignment(CustomerGroupAssignment customerGroupAssignment) Customer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomerGroupAssignmentRemovedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomerGroupAssignmentRemovedMessagePayload(Function<BusinessUnitCustomerGroupAssignmentRemovedMessagePayload, 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
-
BUSINESS_UNIT_CUSTOMER_GROUP_ASSIGNMENT_REMOVED
discriminator value for BusinessUnitCustomerGroupAssignmentRemovedMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignment
Customer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.
- Returns:
- customerGroupAssignment
-
setCustomerGroupAssignment
Customer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.
- Parameters:
customerGroupAssignment- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitCustomerGroupAssignmentRemovedMessagePayload
-
of
static BusinessUnitCustomerGroupAssignmentRemovedMessagePayload of(BusinessUnitCustomerGroupAssignmentRemovedMessagePayload template) factory method to create a shallow copy BusinessUnitCustomerGroupAssignmentRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static BusinessUnitCustomerGroupAssignmentRemovedMessagePayload deepCopy(@Nullable BusinessUnitCustomerGroupAssignmentRemovedMessagePayload template) factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentRemovedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomerGroupAssignmentRemovedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitCustomerGroupAssignmentRemovedMessagePayloadBuilder builder(BusinessUnitCustomerGroupAssignmentRemovedMessagePayload template) create builder for BusinessUnitCustomerGroupAssignmentRemovedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomerGroupAssignmentRemovedMessagePayload
default <T> T withBusinessUnitCustomerGroupAssignmentRemovedMessagePayload(Function<BusinessUnitCustomerGroupAssignmentRemovedMessagePayload, 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<BusinessUnitCustomerGroupAssignmentRemovedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-