Class ShippingMethodChangeIsDefaultActionImpl
java.lang.Object
com.commercetools.api.models.shipping_method.ShippingMethodChangeIsDefaultActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShippingMethodUpdateAction>
,ShippingMethodChangeIsDefaultAction
,ShippingMethodUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShippingMethodChangeIsDefaultActionImpl
extends Object
implements ShippingMethodChangeIsDefaultAction, io.vrap.rmf.base.client.ModelBase
ShippingMethodChangeIsDefaultAction
-
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.ShippingMethodChangeIsDefaultAction
CHANGE_IS_DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setIsDefault
(Boolean isDefault) Value to set.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.ShippingMethodChangeIsDefaultAction
withShippingMethodChangeIsDefaultAction
Methods inherited from interface com.commercetools.api.models.shipping_method.ShippingMethodUpdateAction
withShippingMethodUpdateAction
-
Constructor Details
-
ShippingMethodChangeIsDefaultActionImpl
public ShippingMethodChangeIsDefaultActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShippingMethodUpdateAction>
- Specified by:
getAction
in interfaceShippingMethodUpdateAction
- Returns:
- action
-
getIsDefault
Value to set. Only one ShippingMethod can be default in a Project.
- Specified by:
getIsDefault
in interfaceShippingMethodChangeIsDefaultAction
- Returns:
- isDefault
-
setIsDefault
Description copied from interface:ShippingMethodChangeIsDefaultAction
Value to set. Only one ShippingMethod can be default in a Project.
- Specified by:
setIsDefault
in interfaceShippingMethodChangeIsDefaultAction
- Parameters:
isDefault
- value to be set
-
equals
-
hashCode
public int hashCode()
-