Interface StandalonePriceRemoveStagedChangesAction
- All Superinterfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>
,StandalonePriceUpdateAction
Removes all staged changes from the StandalonePrice. Removing staged changes successfully produces the StandalonePriceStagedChangesRemoved Message.
Example to create an instance using the builder pattern
StandalonePriceRemoveStagedChangesAction standalonePriceRemoveStagedChangesAction = StandalonePriceRemoveStagedChangesAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceRemoveStagedChangesAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceRemoveStagedChangesActioncreate builder for StandalonePriceRemoveStagedChangesAction instancefactory method to create a deep copy of StandalonePriceRemoveStagedChangesActionof()
factory methodof
(StandalonePriceRemoveStagedChangesAction template) factory method to create a shallow copy StandalonePriceRemoveStagedChangesActionstatic com.fasterxml.jackson.core.type.TypeReference<StandalonePriceRemoveStagedChangesAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStandalonePriceRemoveStagedChangesAction
(Function<StandalonePriceRemoveStagedChangesAction, T> helper) 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
-
REMOVE_STAGED_CHANGES
discriminator value for StandalonePriceRemoveStagedChangesAction- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of StandalonePriceRemoveStagedChangesAction
-
of
static StandalonePriceRemoveStagedChangesAction of(StandalonePriceRemoveStagedChangesAction template) factory method to create a shallow copy StandalonePriceRemoveStagedChangesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StandalonePriceRemoveStagedChangesAction deepCopy(@Nullable StandalonePriceRemoveStagedChangesAction template) factory method to create a deep copy of StandalonePriceRemoveStagedChangesAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceRemoveStagedChangesAction- Returns:
- builder
-
builder
static StandalonePriceRemoveStagedChangesActionBuilder builder(StandalonePriceRemoveStagedChangesAction template) create builder for StandalonePriceRemoveStagedChangesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceRemoveStagedChangesAction
default <T> T withStandalonePriceRemoveStagedChangesAction(Function<StandalonePriceRemoveStagedChangesAction, 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<StandalonePriceRemoveStagedChangesAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-