Interface ChangeTargetLineItemsChangeValue
- All Superinterfaces:
ChangeTargetChangeValue
ChangeTargetLineItemsChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeTargetLineItemsChangeValue changeTargetLineItemsChangeValue = ChangeTargetLineItemsChangeValue.builder()
.predicate("{predicate}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ChangeTargetLineItemsChangeValue -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChangeTargetLineItemsChangeValuebuilder
(ChangeTargetLineItemsChangeValue template) create builder for ChangeTargetLineItemsChangeValue instancedeepCopy
(ChangeTargetLineItemsChangeValue template) factory method to create a deep copy of ChangeTargetLineItemsChangeValue@NotNull String
Valid LineItem target predicate.@NotNull String
getType()
of()
factory methodof
(ChangeTargetLineItemsChangeValue template) factory method to create a shallow copy ChangeTargetLineItemsChangeValuevoid
setPredicate
(String predicate) Valid LineItem target predicate.static com.fasterxml.jackson.core.type.TypeReference<ChangeTargetLineItemsChangeValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.history.models.change_value.ChangeTargetChangeValue
withChangeTargetChangeValue
-
Field Details
-
LINE_ITEMS
discriminator value for ChangeTargetLineItemsChangeValue- See Also:
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceChangeTargetChangeValue
- Returns:
- type
-
getPredicate
Valid LineItem target predicate.
- Returns:
- predicate
-
setPredicate
Valid LineItem target predicate.
- Parameters:
predicate
- value to be set
-
of
factory method- Returns:
- instance of ChangeTargetLineItemsChangeValue
-
of
factory method to create a shallow copy ChangeTargetLineItemsChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChangeTargetLineItemsChangeValue deepCopy(@Nullable ChangeTargetLineItemsChangeValue template) factory method to create a deep copy of ChangeTargetLineItemsChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChangeTargetLineItemsChangeValue- Returns:
- builder
-
builder
create builder for ChangeTargetLineItemsChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChangeTargetLineItemsChangeValue
default <T> T withChangeTargetLineItemsChangeValue(Function<ChangeTargetLineItemsChangeValue, T> helper) 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<ChangeTargetLineItemsChangeValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-