Interface ShippingRatePriceTier
- All Known Subinterfaces:
CartClassificationTier
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)
plusTiers(tiersBuilder -> tiersBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder for cartClassification 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
-
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
-