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