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 Stringdiscriminator value for CustomerGroupAssignmentsSetMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for CustomerGroupAssignmentsSetMessagePayloadcreate builder for CustomerGroupAssignmentsSetMessagePayload instancecopyDeep()factory method to create a deep copy of CustomerGroupAssignmentsSetMessagePayload@Valid List<CustomerGroupAssignment>Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.of()factory methodof(CustomerGroupAssignmentsSetMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentsSetMessagePayloadvoidsetCustomerGroupAssignments(CustomerGroupAssignment... customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.voidsetCustomerGroupAssignments(List<CustomerGroupAssignment> customerGroupAssignments) Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentsSetMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithCustomerGroupAssignmentsSetMessagePayload(Function<CustomerGroupAssignmentsSetMessagePayload, 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
-
CUSTOMER_GROUP_ASSIGNMENTS_SET
discriminator value for CustomerGroupAssignmentsSetMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignments
Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Returns:
- customerGroupAssignments
-
setCustomerGroupAssignments
Customer Groups assigned to the Customer during the Set CustomerGroupAssignments update action.
- Parameters:
customerGroupAssignments- values to be set
-
setCustomerGroupAssignments
Customer Groups assigned to the Customer 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
-
copyDeep
CustomerGroupAssignmentsSetMessagePayload copyDeep()- Specified by:
copyDeepin interfaceMessagePayload
-
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
-