Interface StandalonePriceUpdateAction
- All Superinterfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>
- All Known Subinterfaces:
StandalonePriceAddPriceTierAction
,StandalonePriceApplyStagedChangesAction
,StandalonePriceChangeActiveAction
,StandalonePriceChangeValueAction
,StandalonePriceRemovePriceTierAction
,StandalonePriceRemoveStagedChangesAction
,StandalonePriceSetCustomFieldAction
,StandalonePriceSetCustomTypeAction
,StandalonePriceSetDiscountedPriceAction
,StandalonePriceSetKeyAction
,StandalonePriceSetPriceTiersAction
,StandalonePriceSetValidFromAction
,StandalonePriceSetValidFromAndUntilAction
,StandalonePriceSetValidUntilAction
public interface StandalonePriceUpdateAction
extends ResourceUpdateAction<StandalonePriceUpdateAction>
StandalonePriceUpdateAction
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
StandalonePriceUpdateAction standalonePriceUpdateAction = StandalonePriceUpdateAction.addPriceTierBuilder()
tier(tierBuilder -> tierBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for addPriceTier subtypebuilder for applyStagedChanges subtypebuilder for changeActive subtypebuilder for changeValue subtypestatic StandalonePriceUpdateAction
deepCopy
(StandalonePriceUpdateAction template) factory method to create a deep copy of StandalonePriceUpdateAction@NotNull String
builder for removePriceTier subtypebuilder for removeStagedChanges subtypebuilder for setCustomField subtypebuilder for setCustomType subtypebuilder for setDiscountedPrice subtypebuilder for setKey subtypebuilder for setPriceTiers subtypebuilder for setValidFromAndUntil subtypebuilder for setValidFrom subtypebuilder for setValidUntil subtypestatic com.fasterxml.jackson.core.type.TypeReference<StandalonePriceUpdateAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StandalonePriceUpdateAction>
- Returns:
- action
-
deepCopy
@Nullable static StandalonePriceUpdateAction deepCopy(@Nullable StandalonePriceUpdateAction template) factory method to create a deep copy of StandalonePriceUpdateAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
addPriceTierBuilder
builder for addPriceTier subtype- Returns:
- builder
-
applyStagedChangesBuilder
builder for applyStagedChanges subtype- Returns:
- builder
-
changeActiveBuilder
builder for changeActive subtype- Returns:
- builder
-
changeValueBuilder
builder for changeValue subtype- Returns:
- builder
-
removePriceTierBuilder
builder for removePriceTier subtype- Returns:
- builder
-
removeStagedChangesBuilder
builder for removeStagedChanges subtype- Returns:
- builder
-
setCustomFieldBuilder
builder for setCustomField subtype- Returns:
- builder
-
setCustomTypeBuilder
builder for setCustomType subtype- Returns:
- builder
-
setDiscountedPriceBuilder
builder for setDiscountedPrice subtype- Returns:
- builder
-
setKeyBuilder
builder for setKey subtype- Returns:
- builder
-
setPriceTiersBuilder
builder for setPriceTiers subtype- Returns:
- builder
-
setValidFromBuilder
builder for setValidFrom subtype- Returns:
- builder
-
setValidFromAndUntilBuilder
builder for setValidFromAndUntil subtype- Returns:
- builder
-
setValidUntilBuilder
builder for setValidUntil subtype- Returns:
- builder
-
withStandalonePriceUpdateAction
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-