Interface StandalonePriceSetCustomTypeAction
- All Superinterfaces:
ResourceUpdateAction<StandalonePriceUpdateAction>,StandalonePriceUpdateAction
StandalonePriceSetCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceSetCustomTypeAction standalonePriceSetCustomTypeAction = StandalonePriceSetCustomTypeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceSetCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceSetCustomTypeActionbuilder(StandalonePriceSetCustomTypeAction template) create builder for StandalonePriceSetCustomTypeAction instancecopyDeep()deepCopy(StandalonePriceSetCustomTypeAction template) factory method to create a deep copy of StandalonePriceSetCustomTypeAction@Valid FieldContainerSets the Custom Fields fields for the StandalonePrice.@Valid TypeResourceIdentifiergetType()Defines the Type that extends the StandalonePrice with Custom Fields.of()factory methodof(StandalonePriceSetCustomTypeAction template) factory method to create a shallow copy StandalonePriceSetCustomTypeActionvoidsetFields(FieldContainer fields) Sets the Custom Fields fields for the StandalonePrice.voidDefines the Type that extends the StandalonePrice with Custom Fields.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceSetCustomTypeAction>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
-
SET_CUSTOM_TYPE
discriminator value for StandalonePriceSetCustomTypeAction- See Also:
-
-
Method Details
-
getType
Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the StandalonePrice.
- Returns:
- fields
-
setType
Defines the Type that extends the StandalonePrice with Custom Fields. If absent, any existing Type and Custom Fields are removed from the StandalonePrice.
- Parameters:
type- value to be set
-
setFields
Sets the Custom Fields fields for the StandalonePrice.
- Parameters:
fields- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceSetCustomTypeAction
-
of
factory method to create a shallow copy StandalonePriceSetCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StandalonePriceSetCustomTypeAction copyDeep()- Specified by:
copyDeepin interfaceStandalonePriceUpdateAction
-
deepCopy
@Nullable static StandalonePriceSetCustomTypeAction deepCopy(@Nullable StandalonePriceSetCustomTypeAction template) factory method to create a deep copy of StandalonePriceSetCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceSetCustomTypeAction- Returns:
- builder
-
builder
static StandalonePriceSetCustomTypeActionBuilder builder(StandalonePriceSetCustomTypeAction template) create builder for StandalonePriceSetCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceSetCustomTypeAction
default <T> T withStandalonePriceSetCustomTypeAction(Function<StandalonePriceSetCustomTypeAction, 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<StandalonePriceSetCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-