Interface ChangeTargetShippingChangeValue
- All Superinterfaces:
ChangeTargetChangeValue
ChangeTargetShippingChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeTargetShippingChangeValue changeTargetShippingChangeValue = ChangeTargetShippingChangeValue.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ChangeTargetShippingChangeValuebuilder
(ChangeTargetShippingChangeValue template) create builder for ChangeTargetShippingChangeValue instancedeepCopy
(ChangeTargetShippingChangeValue template) factory method to create a deep copy of ChangeTargetShippingChangeValue@NotNull String
getType()
of()
factory methodof
(ChangeTargetShippingChangeValue template) factory method to create a shallow copy ChangeTargetShippingChangeValuestatic com.fasterxml.jackson.core.type.TypeReference<ChangeTargetShippingChangeValue>
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
-
SHIPPING
discriminator value for ChangeTargetShippingChangeValue- See Also:
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceChangeTargetChangeValue
- Returns:
- type
-
of
factory method- Returns:
- instance of ChangeTargetShippingChangeValue
-
of
factory method to create a shallow copy ChangeTargetShippingChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ChangeTargetShippingChangeValue deepCopy(@Nullable ChangeTargetShippingChangeValue template) factory method to create a deep copy of ChangeTargetShippingChangeValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ChangeTargetShippingChangeValue- Returns:
- builder
-
builder
create builder for ChangeTargetShippingChangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withChangeTargetShippingChangeValue
default <T> T withChangeTargetShippingChangeValue(Function<ChangeTargetShippingChangeValue, 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<ChangeTargetShippingChangeValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-