Interface BusinessUnitCustomerGroupAssignmentRemovedMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Remove CustomerGroupAssignment update action.
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentRemovedMessage businessUnitCustomerGroupAssignmentRemovedMessage = BusinessUnitCustomerGroupAssignmentRemovedMessage.builder()
.id("{id}")
.version(0.3)
.createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
.sequenceNumber(0.3)
.resource(resourceBuilder -> resourceBuilder)
.resourceVersion(0.3)
.customerGroupAssignment(customerGroupAssignmentBuilder -> customerGroupAssignmentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomerGroupAssignmentRemovedMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomerGroupAssignmentRemovedMessagecreate builder for BusinessUnitCustomerGroupAssignmentRemovedMessage instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentRemovedMessage@NotNull @Valid CustomerGroupAssignmentCustomer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.of()factory methodfactory method to create a shallow copy BusinessUnitCustomerGroupAssignmentRemovedMessagevoidsetCustomerGroupAssignment(CustomerGroupAssignment customerGroupAssignment) Customer Group unassigned from the Business Unit during the Remove CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomerGroupAssignmentRemovedMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomerGroupAssignmentRemovedMessage(Function<BusinessUnitCustomerGroupAssignmentRemovedMessage, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResourceMethods inherited from interface com.commercetools.api.models.DomainResource
getMethods inherited from interface com.commercetools.api.models.message.Message
getCreatedAt, getCreatedBy, getId, getLastModifiedAt, getLastModifiedBy, getResource, getResourceUserProvidedIdentifiers, getResourceVersion, getSequenceNumber, getType, getVersion, setCreatedAt, setCreatedBy, setId, setLastModifiedAt, setLastModifiedBy, setResource, setResourceUserProvidedIdentifiers, setResourceVersion, setSequenceNumber, setVersion, withMessage
-
Field Details
-
BUSINESS_UNIT_CUSTOMER_GROUP_ASSIGNMENT_REMOVED
discriminator value for BusinessUnitCustomerGroupAssignmentRemovedMessage- 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 BusinessUnitCustomerGroupAssignmentRemovedMessage
-
of
static BusinessUnitCustomerGroupAssignmentRemovedMessage of(BusinessUnitCustomerGroupAssignmentRemovedMessage template) factory method to create a shallow copy BusinessUnitCustomerGroupAssignmentRemovedMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static BusinessUnitCustomerGroupAssignmentRemovedMessage deepCopy(@Nullable BusinessUnitCustomerGroupAssignmentRemovedMessage template) factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentRemovedMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomerGroupAssignmentRemovedMessage- Returns:
- builder
-
builder
static BusinessUnitCustomerGroupAssignmentRemovedMessageBuilder builder(BusinessUnitCustomerGroupAssignmentRemovedMessage template) create builder for BusinessUnitCustomerGroupAssignmentRemovedMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomerGroupAssignmentRemovedMessage
default <T> T withBusinessUnitCustomerGroupAssignmentRemovedMessage(Function<BusinessUnitCustomerGroupAssignmentRemovedMessage, 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<BusinessUnitCustomerGroupAssignmentRemovedMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-