Interface AssociateRoleChangeBuyerAssignableAction
- All Superinterfaces:
AssociateRoleUpdateAction
,ResourceUpdateAction<AssociateRoleUpdateAction>
Changing the buyerAssignable
value of an AssociateRole generates an AssociateRoleBuyerAssignableChanged Message.
Example to create an instance using the builder pattern
AssociateRoleChangeBuyerAssignableAction associateRoleChangeBuyerAssignableAction = AssociateRoleChangeBuyerAssignableAction.builder()
.buyerAssignable(true)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for AssociateRoleChangeBuyerAssignableAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AssociateRoleChangeBuyerAssignableActioncreate builder for AssociateRoleChangeBuyerAssignableAction instancefactory method to create a deep copy of AssociateRoleChangeBuyerAssignableAction@NotNull Boolean
The new value of thebuyerAssignable
field of the AssociateRole.of()
factory methodof
(AssociateRoleChangeBuyerAssignableAction template) factory method to create a shallow copy AssociateRoleChangeBuyerAssignableActionvoid
setBuyerAssignable
(Boolean buyerAssignable) The new value of thebuyerAssignable
field of the AssociateRole.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleChangeBuyerAssignableAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssociateRoleChangeBuyerAssignableAction
(Function<AssociateRoleChangeBuyerAssignableAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleUpdateAction
getAction, withAssociateRoleUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_BUYER_ASSIGNABLE
discriminator value for AssociateRoleChangeBuyerAssignableAction- 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 AssociateRoleChangeBuyerAssignableAction
-
of
static AssociateRoleChangeBuyerAssignableAction of(AssociateRoleChangeBuyerAssignableAction template) factory method to create a shallow copy AssociateRoleChangeBuyerAssignableAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AssociateRoleChangeBuyerAssignableAction deepCopy(@Nullable AssociateRoleChangeBuyerAssignableAction template) factory method to create a deep copy of AssociateRoleChangeBuyerAssignableAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleChangeBuyerAssignableAction- Returns:
- builder
-
builder
static AssociateRoleChangeBuyerAssignableActionBuilder builder(AssociateRoleChangeBuyerAssignableAction template) create builder for AssociateRoleChangeBuyerAssignableAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleChangeBuyerAssignableAction
default <T> T withAssociateRoleChangeBuyerAssignableAction(Function<AssociateRoleChangeBuyerAssignableAction, 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<AssociateRoleChangeBuyerAssignableAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-