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 instancecopyDeep()static ProductTailoringUpdatedeepCopy(ProductTailoringUpdate template) factory method to create a deep copy of ProductTailoringUpdate@NotNull @Valid List<ProductTailoringUpdateAction>Update actions to be performed on the ProductTailoring.@NotNull LongExpected version of the ProductTailoring on which the changes apply.static ProductTailoringUpdateof()factory methodstatic ProductTailoringUpdateof(ProductTailoringUpdate template) factory method to create a shallow copy ProductTailoringUpdatevoidsetActions(ProductTailoringUpdateAction... actions) Update actions to be performed on the ProductTailoring.voidsetActions(List<ProductTailoringUpdateAction> actions) Update actions to be performed on the ProductTailoring.voidsetVersion(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> Taccessor 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
-
copyDeep
ProductTailoringUpdate copyDeep() -
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
-