Interface ProjectSetShippingRateInputTypeAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectSetShippingRateInputTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectSetShippingRateInputTypeAction projectSetShippingRateInputTypeAction = ProjectSetShippingRateInputTypeAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectSetShippingRateInputTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectSetShippingRateInputTypeActionbuilder
(ProjectSetShippingRateInputTypeAction template) create builder for ProjectSetShippingRateInputTypeAction instancefactory method to create a deep copy of ProjectSetShippingRateInputTypeAction@Valid ShippingRateInputType
Value to set.of()
factory methodof
(ProjectSetShippingRateInputTypeAction template) factory method to create a shallow copy ProjectSetShippingRateInputTypeActionofUnset()
void
setShippingRateInputType
(ShippingRateInputType shippingRateInputType) Value to set.static com.fasterxml.jackson.core.type.TypeReference<ProjectSetShippingRateInputTypeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_SHIPPING_RATE_INPUT_TYPE
discriminator value for ProjectSetShippingRateInputTypeAction- See Also:
-
-
Method Details
-
getShippingRateInputType
Value to set. If empty, any existing value will be removed.
- Returns:
- shippingRateInputType
-
setShippingRateInputType
Value to set. If empty, any existing value will be removed.
- Parameters:
shippingRateInputType
- value to be set
-
of
factory method- Returns:
- instance of ProjectSetShippingRateInputTypeAction
-
of
factory method to create a shallow copy ProjectSetShippingRateInputTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectSetShippingRateInputTypeAction deepCopy(@Nullable ProjectSetShippingRateInputTypeAction template) factory method to create a deep copy of ProjectSetShippingRateInputTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectSetShippingRateInputTypeAction- Returns:
- builder
-
builder
static ProjectSetShippingRateInputTypeActionBuilder builder(ProjectSetShippingRateInputTypeAction template) create builder for ProjectSetShippingRateInputTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectSetShippingRateInputTypeAction
default <T> T withProjectSetShippingRateInputTypeAction(Function<ProjectSetShippingRateInputTypeAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
ofUnset
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProjectSetShippingRateInputTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-