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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceChangeActiveAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceChangeActiveActionbuilder(StandalonePriceChangeActiveAction template) create builder for StandalonePriceChangeActiveAction instancecopyDeep()deepCopy(StandalonePriceChangeActiveAction template) factory method to create a deep copy of StandalonePriceChangeActiveAction@NotNull BooleanNew value to set for theactivefield of the StandalonePrice.of()factory methodof(StandalonePriceChangeActiveAction template) factory method to create a shallow copy StandalonePriceChangeActiveActionvoidNew value to set for theactivefield of the StandalonePrice.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceChangeActiveAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods 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
activefield of the StandalonePrice.- Returns:
- active
-
setActive
New value to set for the
activefield 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
-
copyDeep
StandalonePriceChangeActiveAction copyDeep()- Specified by:
copyDeepin interfaceStandalonePriceUpdateAction
-
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
-