Interface StagedOrderSetShippingRateInputAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
- All Known Implementing Classes:
StagedOrderSetShippingRateInputActionImpl
StagedOrderSetShippingRateInputAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetShippingRateInputAction stagedOrderSetShippingRateInputAction = StagedOrderSetShippingRateInputAction.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderSetShippingRateInputAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderSetShippingRateInputActionbuilder
(StagedOrderSetShippingRateInputAction template) create builder for StagedOrderSetShippingRateInputAction instancefactory method to create a deep copy of StagedOrderSetShippingRateInputAction@Valid ShippingRateInputDraft
Generic type holding specifc ShippingRateInputDraft types.of()
factory methodof
(StagedOrderSetShippingRateInputAction template) factory method to create a shallow copy StagedOrderSetShippingRateInputActionofUnset()
void
setShippingRateInput
(ShippingRateInputDraft shippingRateInput) Generic type holding specifc ShippingRateInputDraft types.static com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetShippingRateInputAction>
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.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
SET_SHIPPING_RATE_INPUT
discriminator value for StagedOrderSetShippingRateInputAction- See Also:
-
-
Method Details
-
getShippingRateInput
Generic type holding specifc ShippingRateInputDraft types.
- Returns:
- shippingRateInput
-
setShippingRateInput
Generic type holding specifc ShippingRateInputDraft types.
- Parameters:
shippingRateInput
- value to be set
-
of
factory method- Returns:
- instance of StagedOrderSetShippingRateInputAction
-
of
factory method to create a shallow copy StagedOrderSetShippingRateInputAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderSetShippingRateInputAction deepCopy(@Nullable StagedOrderSetShippingRateInputAction template) factory method to create a deep copy of StagedOrderSetShippingRateInputAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetShippingRateInputAction- Returns:
- builder
-
builder
static StagedOrderSetShippingRateInputActionBuilder builder(StagedOrderSetShippingRateInputAction template) create builder for StagedOrderSetShippingRateInputAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetShippingRateInputAction
default <T> T withStagedOrderSetShippingRateInputAction(Function<StagedOrderSetShippingRateInputAction, 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<StagedOrderSetShippingRateInputAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-