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