Interface StandalonePriceChangeActiveAction
- All Superinterfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>
,StandalonePriceUpdateAction
Updating the value of a StandalonePrice produces the StandalonePriceActiveChanged Message.
Example to create an instance using the builder pattern
StandalonePriceChangeActiveAction standalonePriceChangeActiveAction = StandalonePriceChangeActiveAction.builder()
.active(true)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceChangeActiveAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceChangeActiveActionbuilder
(StandalonePriceChangeActiveAction template) create builder for StandalonePriceChangeActiveAction instancedeepCopy
(StandalonePriceChangeActiveAction template) factory method to create a deep copy of StandalonePriceChangeActiveAction@NotNull Boolean
New value to set for theactive
field of the StandalonePrice.of()
factory methodof
(StandalonePriceChangeActiveAction template) factory method to create a shallow copy StandalonePriceChangeActiveActionvoid
New value to set for theactive
field of the StandalonePrice.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceChangeActiveAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.standalone_price.StandalonePriceUpdateAction
getAction, withStandalonePriceUpdateAction
-
Field Details
-
CHANGE_ACTIVE
discriminator value for StandalonePriceChangeActiveAction- See Also:
-
-
Method Details
-
getActive
New value to set for the
active
field of the StandalonePrice.- Returns:
- active
-
setActive
New value to set for the
active
field of the StandalonePrice.- Parameters:
active
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceChangeActiveAction
-
of
factory method to create a shallow copy StandalonePriceChangeActiveAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceChangeActiveAction deepCopy(@Nullable StandalonePriceChangeActiveAction template) factory method to create a deep copy of StandalonePriceChangeActiveAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceChangeActiveAction- Returns:
- builder
-
builder
create builder for StandalonePriceChangeActiveAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceChangeActiveAction
default <T> T withStandalonePriceChangeActiveAction(Function<StandalonePriceChangeActiveAction, 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<StandalonePriceChangeActiveAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-