Class ShippingImpl
- All Implemented Interfaces:
Shipping
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines the shipping rates and Tax Rates of associated Line Items.Custom Fields of Shipping withMultiple
ShippingMode.Automatically set when the Shipping Method is added.User-defined unique identifier of the Shipping in a Cart withMultiple
ShippingMode.Used as an input to select a ShippingRatePriceTier.int
hashCode()
void
setShippingAddress
(Address shippingAddress) Determines the shipping rates and Tax Rates of associated Line Items.void
setShippingCustomFields
(CustomFields shippingCustomFields) Custom Fields of Shipping withMultiple
ShippingMode.void
setShippingInfo
(ShippingInfo shippingInfo) Automatically set when the Shipping Method is added.void
setShippingKey
(String shippingKey) User-defined unique identifier of the Shipping in a Cart withMultiple
ShippingMode.void
setShippingRateInput
(ShippingRateInput shippingRateInput) Used as an input to select a ShippingRatePriceTier.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.cart.Shipping
withShipping
-
Constructor Details
-
ShippingImpl
public ShippingImpl()create empty instance
-
-
Method Details
-
getShippingKey
User-defined unique identifier of the Shipping in a Cart with
Multiple
ShippingMode.- Specified by:
getShippingKey
in interfaceShipping
- Returns:
- shippingKey
-
getShippingInfo
Automatically set when the Shipping Method is added.
- Specified by:
getShippingInfo
in interfaceShipping
- Returns:
- shippingInfo
-
getShippingAddress
Determines the shipping rates and Tax Rates of associated Line Items.
- Specified by:
getShippingAddress
in interfaceShipping
- Returns:
- shippingAddress
-
getShippingRateInput
Used as an input to select a ShippingRatePriceTier. The data type of this field depends on the
shippingRateInputType.type
configured in the Project:- If
CartClassification
, it is ClassificationShippingRateInput. - If
CartScore
, it is ScoreShippingRateInput. - If
CartValue
, it cannot be used.
- Specified by:
getShippingRateInput
in interfaceShipping
- Returns:
- shippingRateInput
- If
-
getShippingCustomFields
Custom Fields of Shipping with
Multiple
ShippingMode.- Specified by:
getShippingCustomFields
in interfaceShipping
- Returns:
- shippingCustomFields
-
setShippingKey
Description copied from interface:Shipping
User-defined unique identifier of the Shipping in a Cart with
Multiple
ShippingMode.- Specified by:
setShippingKey
in interfaceShipping
- Parameters:
shippingKey
- value to be set
-
setShippingInfo
Description copied from interface:Shipping
Automatically set when the Shipping Method is added.
- Specified by:
setShippingInfo
in interfaceShipping
- Parameters:
shippingInfo
- value to be set
-
setShippingAddress
Description copied from interface:Shipping
Determines the shipping rates and Tax Rates of associated Line Items.
- Specified by:
setShippingAddress
in interfaceShipping
- Parameters:
shippingAddress
- value to be set
-
setShippingRateInput
Description copied from interface:Shipping
Used as an input to select a ShippingRatePriceTier. The data type of this field depends on the
shippingRateInputType.type
configured in the Project:- If
CartClassification
, it is ClassificationShippingRateInput. - If
CartScore
, it is ScoreShippingRateInput. - If
CartValue
, it cannot be used.
- Specified by:
setShippingRateInput
in interfaceShipping
- Parameters:
shippingRateInput
- value to be set
- If
-
setShippingCustomFields
Description copied from interface:Shipping
Custom Fields of Shipping with
Multiple
ShippingMode.- Specified by:
setShippingCustomFields
in interfaceShipping
- Parameters:
shippingCustomFields
- value to be set
-
equals
-
hashCode
public int hashCode()
-