Interface ShippingRateInputType
- All Known Subinterfaces:
CartClassificationType
,CartScoreType
,CartValueType
public interface ShippingRateInputType
ShippingRateInputType
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ShippingRateInputType shippingRateInputType = ShippingRateInputType.cartClassificationBuilder()
plusValues(valuesBuilder -> valuesBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for cartClassification subtypestatic CartScoreTypeBuilder
builder for cartScore subtypestatic CartValueTypeBuilder
builder for cartValue subtypestatic ShippingRateInputType
deepCopy
(ShippingRateInputType template) factory method to create a deep copy of ShippingRateInputType@NotNull ShippingRateTierType
getType()
static com.fasterxml.jackson.core.type.TypeReference<ShippingRateInputType>
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 ShippingRateInputType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
cartClassificationBuilder
builder for cartClassification subtype- Returns:
- builder
-
cartScoreBuilder
builder for cartScore subtype- Returns:
- builder
-
cartValueBuilder
builder for cartValue subtype- Returns:
- builder
-
withShippingRateInputType
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
-