Interface ShippingRateInput
- All Known Subinterfaces:
ClassificationShippingRateInput
,ScoreShippingRateInput
public interface ShippingRateInput
ShippingRateInput
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ShippingRateInput shippingRateInput = ShippingRateInput.classificationBuilder()
key("{key}")
label(labelBuilder -> labelBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for classification subtypestatic ShippingRateInput
deepCopy
(ShippingRateInput template) factory method to create a deep copy of ShippingRateInput@NotNull String
getType()
builder for score subtypestatic com.fasterxml.jackson.core.type.TypeReference<ShippingRateInput>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withShippingRateInput
(Function<ShippingRateInput, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
deepCopy
factory method to create a deep copy of ShippingRateInput- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
classificationBuilder
builder for classification subtype- Returns:
- builder
-
scoreBuilder
builder for score subtype- Returns:
- builder
-
withShippingRateInput
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
-