Class ShippingMethodSetKeyActionImpl
java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodSetKeyActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodSetKeyAction
,ShippingMethodUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShippingMethodSetKeyActionImpl
extends Object
implements ShippingMethodSetKeyAction, io.vrap.rmf.base.client.ModelBase
ShippingMethodSetKeyAction
-
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.shipping_method.ShippingMethodSetKeyAction
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 io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodSetKeyAction
withShippingMethodSetKeyAction
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodUpdateAction
withShippingMethodUpdateAction
-
Constructor Details
-
ShippingMethodSetKeyActionImpl
public ShippingMethodSetKeyActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShippingMethodUpdateAction>
- Specified by:
getAction
in interfaceShippingMethodUpdateAction
- Returns:
- action
-
getKey
If
key
is absent ornull
, the existing key, if any, will be removed.- Specified by:
getKey
in interfaceShippingMethodSetKeyAction
- Returns:
- key
-
setKey
Description copied from interface:ShippingMethodSetKeyAction
If
key
is absent ornull
, the existing key, if any, will be removed.- Specified by:
setKey
in interfaceShippingMethodSetKeyAction
- Parameters:
key
- value to be set
-
equals
-
hashCode
public int hashCode()
-