Class ShippingMethodUpdateImpl
java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodUpdateImpl
- All Implemented Interfaces:
ResourceUpdate<ShippingMethodUpdate,
,ShippingMethodUpdateAction, ShippingMethodUpdateBuilder> ShippingMethodUpdate
,io.vrap.rmf.base.client.ModelBase
public class ShippingMethodUpdateImpl
extends Object
implements ShippingMethodUpdate, io.vrap.rmf.base.client.ModelBase
ShippingMethodUpdate
-
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
Update actions to be performed on the ShippingMethod.Expected version of the ShippingMethod on which the changes should be applied.int
hashCode()
void
setActions
(ShippingMethodUpdateAction... actions) Update actions to be performed on the ShippingMethod.void
setActions
(List<ShippingMethodUpdateAction> actions) Update actions to be performed on the ShippingMethod.void
setVersion
(Long version) Expected version of the ShippingMethod on which the changes should be applied.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.ResourceUpdate
get
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodUpdate
withShippingMethodUpdate
-
Constructor Details
-
ShippingMethodUpdateImpl
public ShippingMethodUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the ShippingMethod on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
getVersion
in interfaceResourceUpdate<ShippingMethodUpdate,
ShippingMethodUpdateAction, ShippingMethodUpdateBuilder> - Specified by:
getVersion
in interfaceShippingMethodUpdate
- Returns:
- version
-
getActions
Update actions to be performed on the ShippingMethod.
- Specified by:
getActions
in interfaceResourceUpdate<ShippingMethodUpdate,
ShippingMethodUpdateAction, ShippingMethodUpdateBuilder> - Specified by:
getActions
in interfaceShippingMethodUpdate
- Returns:
- actions
-
setVersion
Description copied from interface:ShippingMethodUpdate
Expected version of the ShippingMethod on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.
- Specified by:
setVersion
in interfaceResourceUpdate<ShippingMethodUpdate,
ShippingMethodUpdateAction, ShippingMethodUpdateBuilder> - Specified by:
setVersion
in interfaceShippingMethodUpdate
- Parameters:
version
- value to be set
-
setActions
Description copied from interface:ShippingMethodUpdate
Update actions to be performed on the ShippingMethod.
- Specified by:
setActions
in interfaceShippingMethodUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:ShippingMethodUpdate
Update actions to be performed on the ShippingMethod.
- Specified by:
setActions
in interfaceResourceUpdate<ShippingMethodUpdate,
ShippingMethodUpdateAction, ShippingMethodUpdateBuilder> - Specified by:
setActions
in interfaceShippingMethodUpdate
- Parameters:
actions
- values to be set
-
equals
-
hashCode
-