Interface BusinessUnitCustomerGroupAssignmentsSetMessage
- All Superinterfaces:
BaseResource,DomainResource<Message>,Identifiable<Message>,Message,Versioned<Message>
Generated after a successful Set CustomerGroupAssignments update action.
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentsSetMessage businessUnitCustomerGroupAssignmentsSetMessage = BusinessUnitCustomerGroupAssignmentsSetMessage.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)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomerGroupAssignmentsSetMessage -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomerGroupAssignmentsSetMessagecreate builder for BusinessUnitCustomerGroupAssignmentsSetMessage instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentsSetMessage@Valid List<CustomerGroupAssignment>Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.@Valid List<CustomerGroupAssignment>Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.of()factory methodfactory method to create a shallow copy BusinessUnitCustomerGroupAssignmentsSetMessagevoidsetCustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.voidsetCustomerGroupAssignments(List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.voidsetOldCustomerGroupAssignments(CustomerGroupAssignment... oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.voidsetOldCustomerGroupAssignments(List<CustomerGroupAssignment> oldCustomerGroupAssignments) Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomerGroupAssignmentsSetMessage>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomerGroupAssignmentsSetMessage(Function<BusinessUnitCustomerGroupAssignmentsSetMessage, 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_ASSIGNMENTS_SET
discriminator value for BusinessUnitCustomerGroupAssignmentsSetMessage- See Also:
-
-
Method Details
-
getCustomerGroupAssignments
Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Returns:
- customerGroupAssignments
-
getOldCustomerGroupAssignments
Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Returns:
- oldCustomerGroupAssignments
-
setCustomerGroupAssignments
Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- values to be set
-
setCustomerGroupAssignments
Customer Groups assigned to the Business Unit during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- values to be set
-
setOldCustomerGroupAssignments
Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- values to be set
-
setOldCustomerGroupAssignments
Customer Groups assigned to the Business Unit before the Set CustomerGroupAssignments update action.
- Parameters:
oldCustomerGroupAssignments- values to be set
-
of
factory method- Returns:
- instance of BusinessUnitCustomerGroupAssignmentsSetMessage
-
of
static BusinessUnitCustomerGroupAssignmentsSetMessage of(BusinessUnitCustomerGroupAssignmentsSetMessage template) factory method to create a shallow copy BusinessUnitCustomerGroupAssignmentsSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceBaseResource- Specified by:
copyDeepin interfaceMessage
-
deepCopy
@Nullable static BusinessUnitCustomerGroupAssignmentsSetMessage deepCopy(@Nullable BusinessUnitCustomerGroupAssignmentsSetMessage template) factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentsSetMessage- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomerGroupAssignmentsSetMessage- Returns:
- builder
-
builder
static BusinessUnitCustomerGroupAssignmentsSetMessageBuilder builder(BusinessUnitCustomerGroupAssignmentsSetMessage template) create builder for BusinessUnitCustomerGroupAssignmentsSetMessage instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomerGroupAssignmentsSetMessage
default <T> T withBusinessUnitCustomerGroupAssignmentsSetMessage(Function<BusinessUnitCustomerGroupAssignmentsSetMessage, 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<BusinessUnitCustomerGroupAssignmentsSetMessage> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-