Interface BusinessUnitCustomerGroupAssignmentsSetMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Set CustomerGroupAssignments update action.
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentsSetMessagePayload businessUnitCustomerGroupAssignmentsSetMessagePayload = BusinessUnitCustomerGroupAssignmentsSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomerGroupAssignmentsSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomerGroupAssignmentsSetMessagePayloadcreate builder for BusinessUnitCustomerGroupAssignmentsSetMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentsSetMessagePayload@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 BusinessUnitCustomerGroupAssignmentsSetMessagePayloadvoidsetCustomerGroupAssignments(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<BusinessUnitCustomerGroupAssignmentsSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomerGroupAssignmentsSetMessagePayload(Function<BusinessUnitCustomerGroupAssignmentsSetMessagePayload, 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_ASSIGNMENTS_SET
discriminator value for BusinessUnitCustomerGroupAssignmentsSetMessagePayload- 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 BusinessUnitCustomerGroupAssignmentsSetMessagePayload
-
of
static BusinessUnitCustomerGroupAssignmentsSetMessagePayload of(BusinessUnitCustomerGroupAssignmentsSetMessagePayload template) factory method to create a shallow copy BusinessUnitCustomerGroupAssignmentsSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static BusinessUnitCustomerGroupAssignmentsSetMessagePayload deepCopy(@Nullable BusinessUnitCustomerGroupAssignmentsSetMessagePayload template) factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentsSetMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomerGroupAssignmentsSetMessagePayload- Returns:
- builder
-
builder
static BusinessUnitCustomerGroupAssignmentsSetMessagePayloadBuilder builder(BusinessUnitCustomerGroupAssignmentsSetMessagePayload template) create builder for BusinessUnitCustomerGroupAssignmentsSetMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomerGroupAssignmentsSetMessagePayload
default <T> T withBusinessUnitCustomerGroupAssignmentsSetMessagePayload(Function<BusinessUnitCustomerGroupAssignmentsSetMessagePayload, 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<BusinessUnitCustomerGroupAssignmentsSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-