Interface ShippingRatePriceTier
public interface ShippingRatePriceTier
ShippingRatePriceTier
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingRatePriceTier shippingRatePriceTier = ShippingRatePriceTier.builder()
.type(ShippingRateTierType.CART_VALUE)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShippingRatePriceTierBuilder
builder()
builder factory method for ShippingRatePriceTierstatic ShippingRatePriceTierBuilder
builder
(ShippingRatePriceTier template) create builder for ShippingRatePriceTier instancestatic ShippingRatePriceTier
deepCopy
(ShippingRatePriceTier template) factory method to create a deep copy of ShippingRatePriceTier@NotNull ShippingRateTierType
getType()
static ShippingRatePriceTier
of()
factory methodstatic ShippingRatePriceTier
of
(ShippingRatePriceTier template) factory method to create a shallow copy ShippingRatePriceTiervoid
setType
(ShippingRateTierType type) set typestatic 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
-
setType
set type- Parameters:
type
- value to be set
-
of
factory method- Returns:
- instance of ShippingRatePriceTier
-
of
factory method to create a shallow copy ShippingRatePriceTier- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ShippingRatePriceTier- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingRatePriceTier- Returns:
- builder
-
builder
create builder for ShippingRatePriceTier instance- Parameters:
template
- instance with prefilled values for the builder- 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
-