Class CartClassificationTypeImpl
java.lang.Object
com.commercetools.api.models.project.CartClassificationTypeImpl
- All Implemented Interfaces:
CartClassificationType
,ShippingRateInputType
,io.vrap.rmf.base.client.ModelBase
public class CartClassificationTypeImpl
extends Object
implements CartClassificationType, io.vrap.rmf.base.client.ModelBase
Used when the ShippingRate maps to an abstract Cart categorization expressed by strings (for example, Light
, Medium
, or Heavy
). Only keys defined in the values
array can be used to create a tier or to set a value of the shippingRateInput
on the Cart. Keys must be unique.
-
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.project.CartClassificationType
CART_CLASSIFICATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
The classification items that can be used for specifying any ShippingRatePriceTier.int
hashCode()
void
setValues
(CustomFieldLocalizedEnumValue... values) The classification items that can be used for specifying any ShippingRatePriceTier.void
setValues
(List<CustomFieldLocalizedEnumValue> values) The classification items that can be used for specifying any ShippingRatePriceTier.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.project.CartClassificationType
withCartClassificationType
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.project.ShippingRateInputType
withShippingRateInputType
-
Constructor Details
-
CartClassificationTypeImpl
public CartClassificationTypeImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceShippingRateInputType
- Returns:
- type
-
getValues
The classification items that can be used for specifying any ShippingRatePriceTier.
- Specified by:
getValues
in interfaceCartClassificationType
- Returns:
- values
-
setValues
Description copied from interface:CartClassificationType
The classification items that can be used for specifying any ShippingRatePriceTier.
- Specified by:
setValues
in interfaceCartClassificationType
- Parameters:
values
- values to be set
-
setValues
Description copied from interface:CartClassificationType
The classification items that can be used for specifying any ShippingRatePriceTier.
- Specified by:
setValues
in interfaceCartClassificationType
- Parameters:
values
- values to be set
-
equals
-
hashCode
-