Interface ShippingRatePriceTier
- All Known Subinterfaces:
CartClassificationTier
,CartScoreTier
,CartValueTier
public interface ShippingRatePriceTier
ShippingRatePriceTier
Example to create a subtype instance using the builder pattern
Example to create a subtype instance using the builder pattern
ShippingRatePriceTier shippingRatePriceTier = ShippingRatePriceTier.cartClassificationBuilder()
value("{value}")
price(priceBuilder -> priceBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for cartClassification subtypestatic CartScoreTierBuilder
builder for cartScore subtypestatic CartValueTierBuilder
builder for cartValue subtypestatic ShippingRatePriceTier
deepCopy
(ShippingRatePriceTier template) factory method to create a deep copy of ShippingRatePriceTier@NotNull ShippingRateTierType
getType()
static com.fasterxml.jackson.core.type.TypeReference<ShippingRatePriceTier>
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 ShippingRatePriceTier- 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
-
withShippingRatePriceTier
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
-