Interface ChangeValueAbsoluteChangeValue
- All Superinterfaces:
ChangeValueChangeValue
ChangeValueAbsoluteChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeValueAbsoluteChangeValue changeValueAbsoluteChangeValue = ChangeValueAbsoluteChangeValue.builder()
.plusMoney(moneyBuilder -> moneyBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChangeValueAbsoluteChangeValuebuilder
(ChangeValueAbsoluteChangeValue template) create builder for ChangeValueAbsoluteChangeValue instancedeepCopy
(ChangeValueAbsoluteChangeValue template) factory method to create a deep copy of ChangeValueAbsoluteChangeValuegetMoney()
Money values in different currencies.@NotNull String
getType()
of()
factory methodof
(ChangeValueAbsoluteChangeValue template) factory method to create a shallow copy ChangeValueAbsoluteChangeValuevoid
Money values in different currencies.void
Money values in different currencies.static com.fasterxml.jackson.core.type.TypeReference<ChangeValueAbsoluteChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.history.models.change_value.ChangeValueChangeValue
withChangeValueChangeValue
-
Field Details
-
ABSOLUTE
discriminator value for ChangeValueAbsoluteChangeValue- See Also:
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceChangeValueChangeValue
- Returns:
- type
-
getMoney
Money values in different currencies.
- Returns:
- money
-
setMoney
Money values in different currencies.
- Parameters:
money
- values to be set
-
setMoney
Money values in different currencies.
- Parameters:
money
- values to be set
-
of
factory method- Returns:
- instance of ChangeValueAbsoluteChangeValue
-
of
factory method to create a shallow copy ChangeValueAbsoluteChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChangeValueAbsoluteChangeValue deepCopy(@Nullable ChangeValueAbsoluteChangeValue template) factory method to create a deep copy of ChangeValueAbsoluteChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChangeValueAbsoluteChangeValue- Returns:
- builder
-
builder
create builder for ChangeValueAbsoluteChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChangeValueAbsoluteChangeValue
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ChangeValueAbsoluteChangeValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-