Class BusinessUnitUpdateImpl
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitUpdateImpl
- All Implemented Interfaces:
BusinessUnitUpdate
,ResourceUpdate<BusinessUnitUpdate,
,BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class BusinessUnitUpdateImpl
extends Object
implements BusinessUnitUpdate, io.vrap.rmf.base.client.ModelBase
BusinessUnitUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the BusinessUnit.Expected version of the BusinessUnit on which the changes should be applied.int
hashCode()
void
setActions
(BusinessUnitUpdateAction... actions) Update actions to be performed on the BusinessUnit.void
setActions
(List<BusinessUnitUpdateAction> actions) Update actions to be performed on the BusinessUnit.void
setVersion
(Long version) Expected version of the BusinessUnit 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 com.commercetools.api.models.business_unit.BusinessUnitUpdate
withBusinessUnitUpdate
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
BusinessUnitUpdateImpl
public BusinessUnitUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
getVersion
in interfaceBusinessUnitUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<BusinessUnitUpdate,
BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the BusinessUnit.
- Specified by:
getActions
in interfaceBusinessUnitUpdate
- Specified by:
getActions
in interfaceResourceUpdate<BusinessUnitUpdate,
BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:BusinessUnitUpdate
Expected version of the BusinessUnit on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
setVersion
in interfaceBusinessUnitUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<BusinessUnitUpdate,
BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:BusinessUnitUpdate
Update actions to be performed on the BusinessUnit.
- Specified by:
setActions
in interfaceBusinessUnitUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:BusinessUnitUpdate
Update actions to be performed on the BusinessUnit.
- Specified by:
setActions
in interfaceBusinessUnitUpdate
- Specified by:
setActions
in interfaceResourceUpdate<BusinessUnitUpdate,
BusinessUnitUpdateAction, BusinessUnitUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-