Package com.commercetools.api.models.me
Interface MyQuoteRequestUpdate
- All Superinterfaces:
ResourceUpdate<MyQuoteRequestUpdate,
MyQuoteRequestUpdateAction, MyQuoteRequestUpdateBuilder>
public interface MyQuoteRequestUpdate
extends ResourceUpdate<MyQuoteRequestUpdate,MyQuoteRequestUpdateAction,MyQuoteRequestUpdateBuilder>
MyQuoteRequestUpdate
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyQuoteRequestUpdate myQuoteRequestUpdate = MyQuoteRequestUpdate.builder()
.version(0.3)
.plusActions(actionsBuilder -> actionsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic MyQuoteRequestUpdateBuilder
builder()
builder factory method for MyQuoteRequestUpdatestatic MyQuoteRequestUpdateBuilder
builder
(MyQuoteRequestUpdate template) create builder for MyQuoteRequestUpdate instancestatic MyQuoteRequestUpdate
deepCopy
(MyQuoteRequestUpdate template) factory method to create a deep copy of MyQuoteRequestUpdate@NotNull @Valid List<MyQuoteRequestUpdateAction>
@NotNull Long
static MyQuoteRequestUpdate
of()
factory methodstatic MyQuoteRequestUpdate
of
(MyQuoteRequestUpdate template) factory method to create a shallow copy MyQuoteRequestUpdatevoid
setActions
(MyQuoteRequestUpdateAction... actions) set actionsvoid
setActions
(List<MyQuoteRequestUpdateAction> actions) set actionsvoid
setVersion
(Long version) set versionstatic com.fasterxml.jackson.core.type.TypeReference<MyQuoteRequestUpdate>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyQuoteRequestUpdate
(Function<MyQuoteRequestUpdate, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Method Details
-
getVersion
- Specified by:
getVersion
in interfaceResourceUpdate<MyQuoteRequestUpdate,
MyQuoteRequestUpdateAction, MyQuoteRequestUpdateBuilder> - Returns:
- version
-
getActions
- Specified by:
getActions
in interfaceResourceUpdate<MyQuoteRequestUpdate,
MyQuoteRequestUpdateAction, MyQuoteRequestUpdateBuilder> - Returns:
- actions
-
setVersion
set version- Specified by:
setVersion
in interfaceResourceUpdate<MyQuoteRequestUpdate,
MyQuoteRequestUpdateAction, MyQuoteRequestUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
set actions- Parameters:
actions
- values to be set
-
setActions
set actions- Specified by:
setActions
in interfaceResourceUpdate<MyQuoteRequestUpdate,
MyQuoteRequestUpdateAction, MyQuoteRequestUpdateBuilder> - Parameters:
actions
- values to be set
-
of
factory method- Returns:
- instance of MyQuoteRequestUpdate
-
of
factory method to create a shallow copy MyQuoteRequestUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of MyQuoteRequestUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyQuoteRequestUpdate- Returns:
- builder
-
builder
create builder for MyQuoteRequestUpdate instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyQuoteRequestUpdate
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-