Interface CustomerGroupAssignmentAddedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Add CustomerGroupAssignment update action.
Example to create an instance using the builder pattern
CustomerGroupAssignmentAddedMessagePayload customerGroupAssignmentAddedMessagePayload = CustomerGroupAssignmentAddedMessagePayload.builder()
.customerGroupAssignment(customerGroupAssignmentBuilder -> customerGroupAssignmentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for CustomerGroupAssignmentAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomerGroupAssignmentAddedMessagePayloadcreate builder for CustomerGroupAssignmentAddedMessagePayload instancefactory method to create a deep copy of CustomerGroupAssignmentAddedMessagePayload@NotNull @Valid CustomerGroupAssignment
CustomerGroupAssignment that was added during the Add CustomerGroupAssignment update action.of()
factory methodof
(CustomerGroupAssignmentAddedMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentAddedMessagePayloadvoid
setCustomerGroupAssignment
(CustomerGroupAssignment customerGroupAssignment) CustomerGroupAssignment that was added during the Add CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<CustomerGroupAssignmentAddedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomerGroupAssignmentAddedMessagePayload
(Function<CustomerGroupAssignmentAddedMessagePayload, 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_ASSIGNMENT_ADDED
discriminator value for CustomerGroupAssignmentAddedMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignment
CustomerGroupAssignment that was added during the Add CustomerGroupAssignment update action.
- Returns:
- customerGroupAssignment
-
setCustomerGroupAssignment
CustomerGroupAssignment that was added during the Add CustomerGroupAssignment update action.
- Parameters:
customerGroupAssignment
- value to be set
-
of
factory method- Returns:
- instance of CustomerGroupAssignmentAddedMessagePayload
-
of
static CustomerGroupAssignmentAddedMessagePayload of(CustomerGroupAssignmentAddedMessagePayload template) factory method to create a shallow copy CustomerGroupAssignmentAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomerGroupAssignmentAddedMessagePayload deepCopy(@Nullable CustomerGroupAssignmentAddedMessagePayload template) factory method to create a deep copy of CustomerGroupAssignmentAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomerGroupAssignmentAddedMessagePayload- Returns:
- builder
-
builder
static CustomerGroupAssignmentAddedMessagePayloadBuilder builder(CustomerGroupAssignmentAddedMessagePayload template) create builder for CustomerGroupAssignmentAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomerGroupAssignmentAddedMessagePayload
default <T> T withCustomerGroupAssignmentAddedMessagePayload(Function<CustomerGroupAssignmentAddedMessagePayload, 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<CustomerGroupAssignmentAddedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-