Interface ShippingRateInputDraft
- All Known Subinterfaces:
ClassificationShippingRateInputDraft,ScoreShippingRateInputDraft
public interface ShippingRateInputDraft
Generic type holding specific 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 subtypecopyDeep()static ShippingRateInputDraftdeepCopy(ShippingRateInputDraft template) factory method to create a deep copy of ShippingRateInputDraft@NotNull StringgetType()builder for score subtypestatic com.fasterxml.jackson.core.type.TypeReference<ShippingRateInputDraft>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getType
- Returns:
- type
-
copyDeep
ShippingRateInputDraft copyDeep() -
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
-