Package com.commercetools.api.models.me
Interface MyQuoteUpdate
- All Superinterfaces:
- ResourceUpdate<MyQuoteUpdate,- MyQuoteUpdateAction, - MyQuoteUpdateBuilder> 
public interface MyQuoteUpdate
extends ResourceUpdate<MyQuoteUpdate,MyQuoteUpdateAction,MyQuoteUpdateBuilder>  
MyQuoteUpdate
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     MyQuoteUpdate myQuoteUpdate = MyQuoteUpdate.builder()
             .version(0.3)
             .plusActions(actionsBuilder -> actionsBuilder)
             .build()
 - 
Method SummaryModifier and TypeMethodDescriptionstatic MyQuoteUpdateBuilderbuilder()builder factory method for MyQuoteUpdatestatic MyQuoteUpdateBuilderbuilder(MyQuoteUpdate template) create builder for MyQuoteUpdate instancecopyDeep()static MyQuoteUpdatedeepCopy(MyQuoteUpdate template) factory method to create a deep copy of MyQuoteUpdate@NotNull @Valid List<MyQuoteUpdateAction>Update actions to be performed on the Quote.@NotNull LongExpected version of the Quote to which the changes should be applied.static MyQuoteUpdateof()factory methodstatic MyQuoteUpdateof(MyQuoteUpdate template) factory method to create a shallow copy MyQuoteUpdatevoidsetActions(MyQuoteUpdateAction... actions) Update actions to be performed on the Quote.voidsetActions(List<MyQuoteUpdateAction> actions) Update actions to be performed on the Quote.voidsetVersion(Long version) Expected version of the Quote to which the changes should be applied.static com.fasterxml.jackson.core.type.TypeReference<MyQuoteUpdate>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithMyQuoteUpdate(Function<MyQuoteUpdate, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateget
- 
Method Details- 
getVersionExpected version of the Quote to 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<MyQuoteUpdate,- MyQuoteUpdateAction, - MyQuoteUpdateBuilder> 
- Returns:
- version
 
- 
getActionsUpdate actions to be performed on the Quote. - Specified by:
- getActionsin interface- ResourceUpdate<MyQuoteUpdate,- MyQuoteUpdateAction, - MyQuoteUpdateBuilder> 
- Returns:
- actions
 
- 
setVersionExpected version of the Quote to 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<MyQuoteUpdate,- MyQuoteUpdateAction, - MyQuoteUpdateBuilder> 
- Parameters:
- version- value to be set
 
- 
setActionsUpdate actions to be performed on the Quote. - Parameters:
- actions- values to be set
 
- 
setActionsUpdate actions to be performed on the Quote. - Specified by:
- setActionsin interface- ResourceUpdate<MyQuoteUpdate,- MyQuoteUpdateAction, - MyQuoteUpdateBuilder> 
- Parameters:
- actions- values to be set
 
- 
offactory method- Returns:
- instance of MyQuoteUpdate
 
- 
offactory method to create a shallow copy MyQuoteUpdate- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeepMyQuoteUpdate copyDeep()
- 
deepCopyfactory method to create a deep copy of MyQuoteUpdate- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for MyQuoteUpdate- Returns:
- builder
 
- 
buildercreate builder for MyQuoteUpdate instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withMyQuoteUpdateaccessor 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
 
 
-