Package com.commercetools.api.models.me
Class MyCustomerUpdateImpl
java.lang.Object
com.commercetools.api.models.me.MyCustomerUpdateImpl
- All Implemented Interfaces:
MyCustomerUpdate
,ResourceUpdate<MyCustomerUpdate,
,MyCustomerUpdateAction, MyCustomerUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class MyCustomerUpdateImpl
extends Object
implements MyCustomerUpdate, io.vrap.rmf.base.client.ModelBase
MyCustomerUpdate
-
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 Customer.Expected version of the Customer on which the changes should be applied.int
hashCode()
void
setActions
(MyCustomerUpdateAction... actions) Update actions to be performed on the Customer.void
setActions
(List<MyCustomerUpdateAction> actions) Update actions to be performed on the Customer.void
setVersion
(Long version) Expected version of the Customer 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.me.MyCustomerUpdate
withMyCustomerUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
MyCustomerUpdateImpl
public MyCustomerUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Customer 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 interfaceMyCustomerUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<MyCustomerUpdate,
MyCustomerUpdateAction, MyCustomerUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Customer.
- Specified by:
getActions
in interfaceMyCustomerUpdate
- Specified by:
getActions
in interfaceResourceUpdate<MyCustomerUpdate,
MyCustomerUpdateAction, MyCustomerUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:MyCustomerUpdate
Expected version of the Customer 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 interfaceMyCustomerUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<MyCustomerUpdate,
MyCustomerUpdateAction, MyCustomerUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:MyCustomerUpdate
Update actions to be performed on the Customer.
- Specified by:
setActions
in interfaceMyCustomerUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:MyCustomerUpdate
Update actions to be performed on the Customer.
- Specified by:
setActions
in interfaceMyCustomerUpdate
- Specified by:
setActions
in interfaceResourceUpdate<MyCustomerUpdate,
MyCustomerUpdateAction, MyCustomerUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
-