Interface CustomerGroupAssignmentsSetMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Set CustomerGroupAssignments update action.
Example to create an instance using the builder pattern
CustomerGroupAssignmentsSetMessagePayload customerGroupAssignmentsSetMessagePayload = CustomerGroupAssignmentsSetMessagePayload.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerGroupAssignmentsSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupAssignmentsSetMessagePayloadcreate builder for CustomerGroupAssignmentsSetMessagePayload instancefactory method to create a deep copy of CustomerGroupAssignmentsSetMessagePayload@Valid List<CustomerGroupAssignment>
List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.of()
factory methodof
(CustomerGroupAssignmentsSetMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentsSetMessagePayloadvoid
setCustomerGroupAssignments
(CustomerGroupAssignment... customerGroupAssignments) List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.void
setCustomerGroupAssignments
(List<CustomerGroupAssignment> customerGroupAssignments) List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentsSetMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomerGroupAssignmentsSetMessagePayload
(Function<CustomerGroupAssignmentsSetMessagePayload, 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_ASSIGNMENTS_SET
discriminator value for CustomerGroupAssignmentsSetMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignments
List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.
- Returns:
- customerGroupAssignments
-
setCustomerGroupAssignments
List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments
- values to be set
-
setCustomerGroupAssignments
List of CustomerGroupAssignments that were set during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments
- values to be set
-
of
factory method- Returns:
- instance of CustomerGroupAssignmentsSetMessagePayload
-
of
static CustomerGroupAssignmentsSetMessagePayload of(CustomerGroupAssignmentsSetMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentsSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerGroupAssignmentsSetMessagePayload deepCopy(@Nullable CustomerGroupAssignmentsSetMessagePayload template) factory method to create a deep copy of CustomerGroupAssignmentsSetMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupAssignmentsSetMessagePayload- Returns:
- builder
-
builder
static CustomerGroupAssignmentsSetMessagePayloadBuilder builder(CustomerGroupAssignmentsSetMessagePayload template) create builder for CustomerGroupAssignmentsSetMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupAssignmentsSetMessagePayload
default <T> T withCustomerGroupAssignmentsSetMessagePayload(Function<CustomerGroupAssignmentsSetMessagePayload, 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<CustomerGroupAssignmentsSetMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-