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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceSetCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceSetCustomTypeActionbuilder
(StandalonePriceSetCustomTypeAction template) create builder for StandalonePriceSetCustomTypeAction instancedeepCopy
(StandalonePriceSetCustomTypeAction template) factory method to create a deep copy of StandalonePriceSetCustomTypeAction@Valid FieldContainer
Sets the Custom Fields fields for the StandalonePrice.@Valid TypeResourceIdentifier
getType()
Defines the Type that extends the StandalonePrice with Custom Fields.of()
factory methodof
(StandalonePriceSetCustomTypeAction template) factory method to create a shallow copy StandalonePriceSetCustomTypeActionvoid
setFields
(FieldContainer fields) Sets the Custom Fields fields for the StandalonePrice.void
Defines 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> 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
-
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
-
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
-