Interface ChangeValueChangeValue
- All Known Subinterfaces:
ChangeValueAbsoluteChangeValue
,ChangeValueExternalChangeValue
,ChangeValueGiftLineItemChangeValue
,ChangeValueRelativeChangeValue
public interface ChangeValueChangeValue
ChangeValueChangeValue
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ChangeValueChangeValue changeValueChangeValue = ChangeValueChangeValue.absoluteBuilder()
plusMoney(moneyBuilder -> moneyBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for absolute subtypestatic ChangeValueChangeValue
deepCopy
(ChangeValueChangeValue template) factory method to create a deep copy of ChangeValueChangeValuebuilder for external subtype@NotNull String
getType()
builder for giftLineItem subtypebuilder for relative subtypestatic com.fasterxml.jackson.core.type.TypeReference<ChangeValueChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getType
- Returns:
- type
-
deepCopy
factory method to create a deep copy of ChangeValueChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
absoluteBuilder
builder for absolute subtype- Returns:
- builder
-
externalBuilder
builder for external subtype- Returns:
- builder
-
giftLineItemBuilder
builder for giftLineItem subtype- Returns:
- builder
-
relativeBuilder
builder for relative subtype- Returns:
- builder
-
withChangeValueChangeValue
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
-