Interface SetCartClassificationShippingRateInputValue
public interface SetCartClassificationShippingRateInputValue
SetCartClassificationShippingRateInputValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SetCartClassificationShippingRateInputValue setCartClassificationShippingRateInputValue = SetCartClassificationShippingRateInputValue.builder()
.type("{type}")
.key("{key}")
.label(labelBuilder -> labelBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SetCartClassificationShippingRateInputValuecreate builder for SetCartClassificationShippingRateInputValue instancefactory method to create a deep copy of SetCartClassificationShippingRateInputValue@NotNull String
getKey()
Key of the value used as a programmatic identifier.@NotNull @Valid LocalizedString
getLabel()
Descriptive localized label of the value.@NotNull String
getType()
of()
factory methodfactory method to create a shallow copy SetCartClassificationShippingRateInputValuevoid
Key of the value used as a programmatic identifier.void
setLabel
(LocalizedString label) Descriptive localized label of the value.void
set typestatic com.fasterxml.jackson.core.type.TypeReference<SetCartClassificationShippingRateInputValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSetCartClassificationShippingRateInputValue
(Function<SetCartClassificationShippingRateInputValue, T> helper) accessor map function
-
Method Details
-
getType
- Returns:
- type
-
getKey
Key of the value used as a programmatic identifier.
- Returns:
- key
-
getLabel
Descriptive localized label of the value.
- Returns:
- label
-
setType
set type- Parameters:
type
- value to be set
-
setKey
Key of the value used as a programmatic identifier.
- Parameters:
key
- value to be set
-
setLabel
Descriptive localized label of the value.
- Parameters:
label
- value to be set
-
of
factory method- Returns:
- instance of SetCartClassificationShippingRateInputValue
-
of
static SetCartClassificationShippingRateInputValue of(SetCartClassificationShippingRateInputValue template) factory method to create a shallow copy SetCartClassificationShippingRateInputValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static SetCartClassificationShippingRateInputValue deepCopy(@Nullable SetCartClassificationShippingRateInputValue template) factory method to create a deep copy of SetCartClassificationShippingRateInputValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SetCartClassificationShippingRateInputValue- Returns:
- builder
-
builder
static SetCartClassificationShippingRateInputValueBuilder builder(SetCartClassificationShippingRateInputValue template) create builder for SetCartClassificationShippingRateInputValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSetCartClassificationShippingRateInputValue
default <T> T withSetCartClassificationShippingRateInputValue(Function<SetCartClassificationShippingRateInputValue, 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<SetCartClassificationShippingRateInputValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-