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