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