Class CartSetKeyActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetKeyActionImpl
- All Implemented Interfaces:
CartSetKeyAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetKeyActionImpl
extends Object
implements CartSetKeyAction, io.vrap.rmf.base.client.ModelBase
CartSetKeyAction
-
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.CartSetKeyAction
SET_KEY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetKeyAction
withCartSetKeyAction
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
-
CartSetKeyActionImpl
public CartSetKeyActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getKey
Value to set. If empty, any existing key will be removed.
- Specified by:
getKey
in interfaceCartSetKeyAction
- Returns:
- key
-
setKey
Description copied from interface:CartSetKeyAction
Value to set. If empty, any existing key will be removed.
- Specified by:
setKey
in interfaceCartSetKeyAction
- Parameters:
key
- value to be set
-
equals
-
hashCode
-