Package com.commercetools.api.models.me
Interface MyCustomerUpdate
- All Superinterfaces:
- ResourceUpdate<MyCustomerUpdate,- MyCustomerUpdateAction, - MyCustomerUpdateBuilder> 
public interface MyCustomerUpdate
extends ResourceUpdate<MyCustomerUpdate,MyCustomerUpdateAction,MyCustomerUpdateBuilder>  
MyCustomerUpdate
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     MyCustomerUpdate myCustomerUpdate = MyCustomerUpdate.builder()
             .version(0.3)
             .plusActions(actionsBuilder -> actionsBuilder)
             .build()
 - 
Method SummaryModifier and TypeMethodDescriptionstatic MyCustomerUpdateBuilderbuilder()builder factory method for MyCustomerUpdatestatic MyCustomerUpdateBuilderbuilder(MyCustomerUpdate template) create builder for MyCustomerUpdate instancecopyDeep()static MyCustomerUpdatedeepCopy(MyCustomerUpdate template) factory method to create a deep copy of MyCustomerUpdate@NotNull @Valid List<MyCustomerUpdateAction>Update actions to be performed on the Customer.@NotNull LongExpected version of the Customer on which the changes should be applied.static MyCustomerUpdateof()factory methodstatic MyCustomerUpdateof(MyCustomerUpdate template) factory method to create a shallow copy MyCustomerUpdatevoidsetActions(MyCustomerUpdateAction... actions) Update actions to be performed on the Customer.voidsetActions(List<MyCustomerUpdateAction> actions) Update actions to be performed on the Customer.voidsetVersion(Long version) Expected version of the Customer on which the changes should be applied.static com.fasterxml.jackson.core.type.TypeReference<MyCustomerUpdate>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithMyCustomerUpdate(Function<MyCustomerUpdate, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateget
- 
Method Details- 
getVersionExpected version of the Customer on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned. - Specified by:
- getVersionin interface- ResourceUpdate<MyCustomerUpdate,- MyCustomerUpdateAction, - MyCustomerUpdateBuilder> 
- Returns:
- version
 
- 
getActionsUpdate actions to be performed on the Customer. - Specified by:
- getActionsin interface- ResourceUpdate<MyCustomerUpdate,- MyCustomerUpdateAction, - MyCustomerUpdateBuilder> 
- Returns:
- actions
 
- 
setVersionExpected version of the Customer on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned. - Specified by:
- setVersionin interface- ResourceUpdate<MyCustomerUpdate,- MyCustomerUpdateAction, - MyCustomerUpdateBuilder> 
- Parameters:
- version- value to be set
 
- 
setActionsUpdate actions to be performed on the Customer. - Parameters:
- actions- values to be set
 
- 
setActionsUpdate actions to be performed on the Customer. - Specified by:
- setActionsin interface- ResourceUpdate<MyCustomerUpdate,- MyCustomerUpdateAction, - MyCustomerUpdateBuilder> 
- Parameters:
- actions- values to be set
 
- 
offactory method- Returns:
- instance of MyCustomerUpdate
 
- 
offactory method to create a shallow copy MyCustomerUpdate- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeepMyCustomerUpdate copyDeep()
- 
deepCopyfactory method to create a deep copy of MyCustomerUpdate- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for MyCustomerUpdate- Returns:
- builder
 
- 
buildercreate builder for MyCustomerUpdate instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withMyCustomerUpdateaccessor map function- Type Parameters:
- T- mapped type
- Parameters:
- helper- function to map the object
- Returns:
- mapped value
 
- 
typeReferencegives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
 
 
-