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