Interface SetCartScoreShippingRateInputValue
public interface SetCartScoreShippingRateInputValue
SetCartScoreShippingRateInputValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SetCartScoreShippingRateInputValue setCartScoreShippingRateInputValue = SetCartScoreShippingRateInputValue.builder()
.type("{type}")
.score(1)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SetCartScoreShippingRateInputValuebuilder
(SetCartScoreShippingRateInputValue template) create builder for SetCartScoreShippingRateInputValue instancedeepCopy
(SetCartScoreShippingRateInputValue template) factory method to create a deep copy of SetCartScoreShippingRateInputValue@NotNull Integer
getScore()
Abstract value for categorizing a Cart.@NotNull String
getType()
of()
factory methodof
(SetCartScoreShippingRateInputValue template) factory method to create a shallow copy SetCartScoreShippingRateInputValuevoid
Abstract value for categorizing a Cart.void
set typestatic com.fasterxml.jackson.core.type.TypeReference<SetCartScoreShippingRateInputValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getType
- Returns:
- type
-
getScore
Abstract value for categorizing a Cart.
- Returns:
- score
-
setType
set type- Parameters:
type
- value to be set
-
setScore
Abstract value for categorizing a Cart.
- Parameters:
score
- value to be set
-
of
factory method- Returns:
- instance of SetCartScoreShippingRateInputValue
-
of
factory method to create a shallow copy SetCartScoreShippingRateInputValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SetCartScoreShippingRateInputValue deepCopy(@Nullable SetCartScoreShippingRateInputValue template) factory method to create a deep copy of SetCartScoreShippingRateInputValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SetCartScoreShippingRateInputValue- Returns:
- builder
-
builder
static SetCartScoreShippingRateInputValueBuilder builder(SetCartScoreShippingRateInputValue template) create builder for SetCartScoreShippingRateInputValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSetCartScoreShippingRateInputValue
default <T> T withSetCartScoreShippingRateInputValue(Function<SetCartScoreShippingRateInputValue, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<SetCartScoreShippingRateInputValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-