Interface ProductTailoringUpdate
public interface ProductTailoringUpdate
ProductTailoringUpdate
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTailoringUpdate productTailoringUpdate = ProductTailoringUpdate.builder()
.version(0.3)
.plusActions(actionsBuilder -> actionsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductTailoringUpdatebuilder
(ProductTailoringUpdate template) create builder for ProductTailoringUpdate instancestatic ProductTailoringUpdate
deepCopy
(ProductTailoringUpdate template) factory method to create a deep copy of ProductTailoringUpdate@NotNull @Valid List<ProductTailoringUpdateAction>
Update actions to be performed on the ProductTailoring.@NotNull Long
Expected version of the ProductTailoring on which the changes apply.static ProductTailoringUpdate
of()
factory methodstatic ProductTailoringUpdate
of
(ProductTailoringUpdate template) factory method to create a shallow copy ProductTailoringUpdatevoid
setActions
(ProductTailoringUpdateAction... actions) Update actions to be performed on the ProductTailoring.void
setActions
(List<ProductTailoringUpdateAction> actions) Update actions to be performed on the ProductTailoring.void
setVersion
(Long version) Expected version of the ProductTailoring on which the changes apply.static com.fasterxml.jackson.core.type.TypeReference<ProductTailoringUpdate>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getVersion
Expected version of the ProductTailoring on which the changes apply. If the expected version does not match the actual version, a 409 Conflict is returned.
- Returns:
- version
-
getActions
Update actions to be performed on the ProductTailoring.
- Returns:
- actions
-
setVersion
Expected version of the ProductTailoring on which the changes apply. If the expected version does not match the actual version, a 409 Conflict is returned.
- Parameters:
version
- value to be set
-
setActions
Update actions to be performed on the ProductTailoring.
- Parameters:
actions
- values to be set
-
setActions
Update actions to be performed on the ProductTailoring.
- Parameters:
actions
- values to be set
-
of
factory method- Returns:
- instance of ProductTailoringUpdate
-
of
factory method to create a shallow copy ProductTailoringUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ProductTailoringUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductTailoringUpdate- Returns:
- builder
-
builder
create builder for ProductTailoringUpdate instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductTailoringUpdate
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
-