Interface AssociateRoleBuyerAssignableChangedMessagePayload
- All Superinterfaces:
MessagePayload
,MessagePayloadMixin
Generated after a successful Change BuyerAssignable update action.
Example to create an instance using the builder pattern
AssociateRoleBuyerAssignableChangedMessagePayload associateRoleBuyerAssignableChangedMessagePayload = AssociateRoleBuyerAssignableChangedMessagePayload.builder()
.buyerAssignable(true)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AssociateRoleBuyerAssignableChangedMessagePayload -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleBuyerAssignableChangedMessagePayloadcreate builder for AssociateRoleBuyerAssignableChangedMessagePayload instancefactory method to create a deep copy of AssociateRoleBuyerAssignableChangedMessagePayload@NotNull Boolean
The new value of thebuyerAssignable
field of the AssociateRole.of()
factory methodfactory method to create a shallow copy AssociateRoleBuyerAssignableChangedMessagePayloadvoid
setBuyerAssignable
(Boolean buyerAssignable) The new value of thebuyerAssignable
field of the AssociateRole.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleBuyerAssignableChangedMessagePayload>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssociateRoleBuyerAssignableChangedMessagePayload
(Function<AssociateRoleBuyerAssignableChangedMessagePayload, 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
-
ASSOCIATE_ROLE_BUYER_ASSIGNABLE_CHANGED
discriminator value for AssociateRoleBuyerAssignableChangedMessagePayload- See Also:
-
-
Method Details
-
getBuyerAssignable
The new value of the
buyerAssignable
field of the AssociateRole.- Returns:
- buyerAssignable
-
setBuyerAssignable
The new value of the
buyerAssignable
field of the AssociateRole.- Parameters:
buyerAssignable
- value to be set
-
of
factory method- Returns:
- instance of AssociateRoleBuyerAssignableChangedMessagePayload
-
of
static AssociateRoleBuyerAssignableChangedMessagePayload of(AssociateRoleBuyerAssignableChangedMessagePayload template) factory method to create a shallow copy AssociateRoleBuyerAssignableChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AssociateRoleBuyerAssignableChangedMessagePayload deepCopy(@Nullable AssociateRoleBuyerAssignableChangedMessagePayload template) factory method to create a deep copy of AssociateRoleBuyerAssignableChangedMessagePayload- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleBuyerAssignableChangedMessagePayload- Returns:
- builder
-
builder
static AssociateRoleBuyerAssignableChangedMessagePayloadBuilder builder(AssociateRoleBuyerAssignableChangedMessagePayload template) create builder for AssociateRoleBuyerAssignableChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleBuyerAssignableChangedMessagePayload
default <T> T withAssociateRoleBuyerAssignableChangedMessagePayload(Function<AssociateRoleBuyerAssignableChangedMessagePayload, 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<AssociateRoleBuyerAssignableChangedMessagePayload> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-