Interface ClassificationShippingRateInputDraft
- All Superinterfaces:
Draft<ClassificationShippingRateInputDraft>
,ShippingRateInputDraft
public interface ClassificationShippingRateInputDraft
extends ShippingRateInputDraft, Draft<ClassificationShippingRateInputDraft>
ClassificationShippingRateInputDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ClassificationShippingRateInputDraft classificationShippingRateInputDraft = ClassificationShippingRateInputDraft.builder()
.key("{key}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ClassificationShippingRateInputDraft -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ClassificationShippingRateInputDraftbuilder
(ClassificationShippingRateInputDraft template) create builder for ClassificationShippingRateInputDraft instancedeepCopy
(ClassificationShippingRateInputDraft template) factory method to create a deep copy of ClassificationShippingRateInputDraft@NotNull String
getKey()
Key of the value used as a programmatic identifier.of()
factory methodof
(ClassificationShippingRateInputDraft template) factory method to create a shallow copy ClassificationShippingRateInputDraftvoid
Key of the value used as a programmatic identifier.static com.fasterxml.jackson.core.type.TypeReference<ClassificationShippingRateInputDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.cart.ShippingRateInputDraft
getType, withShippingRateInputDraft
-
Field Details
-
CLASSIFICATION
discriminator value for ClassificationShippingRateInputDraft- See Also:
-
-
Method Details
-
getKey
Key of the value used as a programmatic identifier.
- Returns:
- key
-
setKey
Key of the value used as a programmatic identifier.
- Parameters:
key
- value to be set
-
of
factory method- Returns:
- instance of ClassificationShippingRateInputDraft
-
of
factory method to create a shallow copy ClassificationShippingRateInputDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ClassificationShippingRateInputDraft deepCopy(@Nullable ClassificationShippingRateInputDraft template) factory method to create a deep copy of ClassificationShippingRateInputDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ClassificationShippingRateInputDraft- Returns:
- builder
-
builder
static ClassificationShippingRateInputDraftBuilder builder(ClassificationShippingRateInputDraft template) create builder for ClassificationShippingRateInputDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withClassificationShippingRateInputDraft
default <T> T withClassificationShippingRateInputDraft(Function<ClassificationShippingRateInputDraft, 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<ClassificationShippingRateInputDraft> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-