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 ShippingRatePriceTierBuilderbuilder()builder factory method for ShippingRatePriceTierstatic ShippingRatePriceTierBuilderbuilder(ShippingRatePriceTier template) create builder for ShippingRatePriceTier instancecopyDeep()static ShippingRatePriceTierdeepCopy(ShippingRatePriceTier template) factory method to create a deep copy of ShippingRatePriceTier@NotNull ShippingRateTierTypegetType()static ShippingRatePriceTierof()factory methodstatic ShippingRatePriceTierof(ShippingRatePriceTier template) factory method to create a shallow copy ShippingRatePriceTiervoidsetType(ShippingRateTierType type) set typestatic com.fasterxml.jackson.core.type.TypeReference<ShippingRatePriceTier>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor 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
-
copyDeep
ShippingRatePriceTier copyDeep() -
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
-