Interface RecurringOrderUpdate
public interface RecurringOrderUpdate
RecurringOrderUpdate
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
RecurringOrderUpdate recurringOrderUpdate = RecurringOrderUpdate.builder()
.version(0.3)
.plusActions(actionsBuilder -> actionsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecurringOrderUpdateBuilder
builder()
builder factory method for RecurringOrderUpdatestatic RecurringOrderUpdateBuilder
builder
(RecurringOrderUpdate template) create builder for RecurringOrderUpdate instancecopyDeep()
static RecurringOrderUpdate
deepCopy
(RecurringOrderUpdate template) factory method to create a deep copy of RecurringOrderUpdate@NotNull @Valid List<RecurringOrderUpdateAction>
Update actions to be performed on the RecurringOrder.@NotNull Long
Expected version of the RecurringOrder on which the changes should be applied.static RecurringOrderUpdate
of()
factory methodstatic RecurringOrderUpdate
of
(RecurringOrderUpdate template) factory method to create a shallow copy RecurringOrderUpdatevoid
setActions
(RecurringOrderUpdateAction... actions) Update actions to be performed on the RecurringOrder.void
setActions
(List<RecurringOrderUpdateAction> actions) Update actions to be performed on the RecurringOrder.void
setVersion
(Long version) Expected version of the RecurringOrder on which the changes should be applied.static com.fasterxml.jackson.core.type.TypeReference<RecurringOrderUpdate>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withRecurringOrderUpdate
(Function<RecurringOrderUpdate, T> helper) accessor map function
-
Method Details
-
getVersion
Expected version of the RecurringOrder on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Returns:
- version
-
getActions
Update actions to be performed on the RecurringOrder.
- Returns:
- actions
-
setVersion
Expected version of the RecurringOrder on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Parameters:
version
- value to be set
-
setActions
Update actions to be performed on the RecurringOrder.
- Parameters:
actions
- values to be set
-
setActions
Update actions to be performed on the RecurringOrder.
- Parameters:
actions
- values to be set
-
of
factory method- Returns:
- instance of RecurringOrderUpdate
-
of
factory method to create a shallow copy RecurringOrderUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
copyDeep
RecurringOrderUpdate copyDeep() -
deepCopy
factory method to create a deep copy of RecurringOrderUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for RecurringOrderUpdate- Returns:
- builder
-
builder
create builder for RecurringOrderUpdate instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withRecurringOrderUpdate
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
-