Interface BusinessUnitAssociateAddedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Add Associate update action.
Example to create an instance using the builder pattern
BusinessUnitAssociateAddedMessagePayload businessUnitAssociateAddedMessagePayload = BusinessUnitAssociateAddedMessagePayload.builder()
.associate(associateBuilder -> associateBuilder)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for BusinessUnitAssociateAddedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitAssociateAddedMessagePayloadcreate builder for BusinessUnitAssociateAddedMessagePayload instancefactory method to create a deep copy of BusinessUnitAssociateAddedMessagePayload@NotNull @Valid Associate
The Associate that was added to the Business Unit.of()
factory methodof
(BusinessUnitAssociateAddedMessagePayload template) factory method to create a shallow copy BusinessUnitAssociateAddedMessagePayloadvoid
setAssociate
(Associate associate) The Associate that was added to the Business Unit.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitAssociateAddedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withBusinessUnitAssociateAddedMessagePayload
(Function<BusinessUnitAssociateAddedMessagePayload, 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
-
BUSINESS_UNIT_ASSOCIATE_ADDED
discriminator value for BusinessUnitAssociateAddedMessagePayload- See Also:
-
-
Method Details
-
getAssociate
The Associate that was added to the Business Unit.
- Returns:
- associate
-
setAssociate
The Associate that was added to the Business Unit.
- Parameters:
associate
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitAssociateAddedMessagePayload
-
of
static BusinessUnitAssociateAddedMessagePayload of(BusinessUnitAssociateAddedMessagePayload template) factory method to create a shallow copy BusinessUnitAssociateAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitAssociateAddedMessagePayload deepCopy(@Nullable BusinessUnitAssociateAddedMessagePayload template) factory method to create a deep copy of BusinessUnitAssociateAddedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitAssociateAddedMessagePayload- Returns:
- builder
-
builder
static BusinessUnitAssociateAddedMessagePayloadBuilder builder(BusinessUnitAssociateAddedMessagePayload template) create builder for BusinessUnitAssociateAddedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitAssociateAddedMessagePayload
default <T> T withBusinessUnitAssociateAddedMessagePayload(Function<BusinessUnitAssociateAddedMessagePayload, 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<BusinessUnitAssociateAddedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-