Class CartSetItemShippingAddressCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetItemShippingAddressCustomTypeActionImpl
- All Implemented Interfaces:
CartSetItemShippingAddressCustomTypeAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetItemShippingAddressCustomTypeActionImpl
extends Object
implements CartSetItemShippingAddressCustomTypeAction, io.vrap.rmf.base.client.ModelBase
CartSetItemShippingAddressCustomTypeAction
-
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.CartSetItemShippingAddressCustomTypeAction
SET_ITEM_SHIPPING_ADDRESS_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
key
of the Address initemShippingAddress
.Sets the Custom Fields fields for theitemShippingAddress
.getType()
Defines the Type that extends theitemShippingAddress
with Custom Fields.int
hashCode()
void
setAddressKey
(String addressKey) key
of the Address initemShippingAddress
.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for theitemShippingAddress
.void
Defines the Type that extends theitemShippingAddress
with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetItemShippingAddressCustomTypeAction
withCartSetItemShippingAddressCustomTypeAction
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
-
CartSetItemShippingAddressCustomTypeActionImpl
public CartSetItemShippingAddressCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getAddressKey
key
of the Address initemShippingAddress
.- Specified by:
getAddressKey
in interfaceCartSetItemShippingAddressCustomTypeAction
- Returns:
- addressKey
-
getType
Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Specified by:
getType
in interfaceCartSetItemShippingAddressCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
itemShippingAddress
.- Specified by:
getFields
in interfaceCartSetItemShippingAddressCustomTypeAction
- Returns:
- fields
-
setAddressKey
Description copied from interface:CartSetItemShippingAddressCustomTypeAction
key
of the Address initemShippingAddress
.- Specified by:
setAddressKey
in interfaceCartSetItemShippingAddressCustomTypeAction
- Parameters:
addressKey
- value to be set
-
setType
Description copied from interface:CartSetItemShippingAddressCustomTypeAction
Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Specified by:
setType
in interfaceCartSetItemShippingAddressCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CartSetItemShippingAddressCustomTypeAction
Sets the Custom Fields fields for the
itemShippingAddress
.- Specified by:
setFields
in interfaceCartSetItemShippingAddressCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode()
-