Interface BusinessUnitCustomerGroupAssignmentAddedMessagePayload
- All Superinterfaces:
MessagePayload,MessagePayloadMixin
Generated after a successful Add CustomerGroupAssignment update action.
Example to create an instance using the builder pattern
BusinessUnitCustomerGroupAssignmentAddedMessagePayload businessUnitCustomerGroupAssignmentAddedMessagePayload = BusinessUnitCustomerGroupAssignmentAddedMessagePayload.builder()
.customerGroupAssignment(customerGroupAssignmentBuilder -> customerGroupAssignmentBuilder)
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for BusinessUnitCustomerGroupAssignmentAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for BusinessUnitCustomerGroupAssignmentAddedMessagePayloadcreate builder for BusinessUnitCustomerGroupAssignmentAddedMessagePayload instancecopyDeep()factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentAddedMessagePayload@NotNull @Valid CustomerGroupAssignmentCustomer Group assigned to the Business Unit during the Add CustomerGroupAssignment update action.of()factory methodfactory method to create a shallow copy BusinessUnitCustomerGroupAssignmentAddedMessagePayloadvoidsetCustomerGroupAssignment(CustomerGroupAssignment customerGroupAssignment) Customer Group assigned to the Business Unit during the Add CustomerGroupAssignment update action.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitCustomerGroupAssignmentAddedMessagePayload>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithBusinessUnitCustomerGroupAssignmentAddedMessagePayload(Function<BusinessUnitCustomerGroupAssignmentAddedMessagePayload, 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_ASSIGNMENT_ADDED
discriminator value for BusinessUnitCustomerGroupAssignmentAddedMessagePayload- See Also:
-
-
Method Details
-
getCustomerGroupAssignment
Customer Group assigned to the Business Unit during the Add CustomerGroupAssignment update action.
- Returns:
- customerGroupAssignment
-
setCustomerGroupAssignment
Customer Group assigned to the Business Unit during the Add CustomerGroupAssignment update action.
- Parameters:
customerGroupAssignment- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitCustomerGroupAssignmentAddedMessagePayload
-
of
static BusinessUnitCustomerGroupAssignmentAddedMessagePayload of(BusinessUnitCustomerGroupAssignmentAddedMessagePayload template) factory method to create a shallow copy BusinessUnitCustomerGroupAssignmentAddedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceMessagePayload
-
deepCopy
@Nullable static BusinessUnitCustomerGroupAssignmentAddedMessagePayload deepCopy(@Nullable BusinessUnitCustomerGroupAssignmentAddedMessagePayload template) factory method to create a deep copy of BusinessUnitCustomerGroupAssignmentAddedMessagePayload- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitCustomerGroupAssignmentAddedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitCustomerGroupAssignmentAddedMessagePayloadBuilder builder(BusinessUnitCustomerGroupAssignmentAddedMessagePayload template) create builder for BusinessUnitCustomerGroupAssignmentAddedMessagePayload instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitCustomerGroupAssignmentAddedMessagePayload
default <T> T withBusinessUnitCustomerGroupAssignmentAddedMessagePayload(Function<BusinessUnitCustomerGroupAssignmentAddedMessagePayload, 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<BusinessUnitCustomerGroupAssignmentAddedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-