Class CartSetShippingRateInputActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetShippingRateInputActionImpl
- All Implemented Interfaces:
CartSetShippingRateInputAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetShippingRateInputActionImpl
extends Object
implements CartSetShippingRateInputAction, io.vrap.rmf.base.client.ModelBase
Input used to select a ShippingRatePriceTier. If no matching tier can be found, or the input is not set, the default price for the shipping rate is used.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.cart.CartSetShippingRateInputAction
SET_SHIPPING_RATE_INPUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The data type of this field depends on theshippingRateInputType.type
configured in the Project:int
hashCode()
void
setShippingRateInput
(ShippingRateInputDraft shippingRateInput) The data type of this field depends on theshippingRateInputType.type
configured in the Project:Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetShippingRateInputAction
withCartSetShippingRateInputAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartSetShippingRateInputActionImpl
public CartSetShippingRateInputActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getShippingRateInput
The data type of this field depends on the
shippingRateInputType.type
configured in the Project:- If
CartClassification
, it must be ClassificationShippingRateInputDraft. - If
CartScore
, it must be ScoreShippingRateInputDraft. - If
CartValue
, it cannot be set.
- Specified by:
getShippingRateInput
in interfaceCartSetShippingRateInputAction
- Returns:
- shippingRateInput
- If
-
setShippingRateInput
Description copied from interface:CartSetShippingRateInputAction
The data type of this field depends on the
shippingRateInputType.type
configured in the Project:- If
CartClassification
, it must be ClassificationShippingRateInputDraft. - If
CartScore
, it must be ScoreShippingRateInputDraft. - If
CartValue
, it cannot be set.
- Specified by:
setShippingRateInput
in interfaceCartSetShippingRateInputAction
- Parameters:
shippingRateInput
- value to be set
- If
-
equals
-
hashCode
-