Interface ShippingMethodLabel
- All Superinterfaces:
Label
ShippingMethodLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodLabel shippingMethodLabel = ShippingMethodLabel.builder()
.name("{name}")
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ShippingMethodLabelBuilderbuilder()builder factory method for ShippingMethodLabelstatic ShippingMethodLabelBuilderbuilder(ShippingMethodLabel template) create builder for ShippingMethodLabel instancecopyDeep()static ShippingMethodLabeldeepCopy(ShippingMethodLabel template) factory method to create a deep copy of ShippingMethodLabelgetKey()User-defined unique identifier of the Shipping Method.@NotNull StringgetName()Unique name identifier of the Shipping Method.@NotNull StringgetType()static ShippingMethodLabelof()factory methodstatic ShippingMethodLabelof(ShippingMethodLabel template) factory method to create a shallow copy ShippingMethodLabelvoidUser-defined unique identifier of the Shipping Method.voidUnique name identifier of the Shipping Method.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithShippingMethodLabel(Function<ShippingMethodLabel, T> helper) accessor map function
-
Field Details
-
SHIPPING_METHOD_LABEL
discriminator value for ShippingMethodLabel- See Also:
-
-
Method Details
-
getType
-
getKey
String getKey()User-defined unique identifier of the Shipping Method.
- Returns:
- key
-
getName
Unique name identifier of the Shipping Method.
- Returns:
- name
-
setKey
User-defined unique identifier of the Shipping Method.
- Parameters:
key- value to be set
-
setName
Unique name identifier of the Shipping Method.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodLabel
-
of
factory method to create a shallow copy ShippingMethodLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ShippingMethodLabel copyDeep() -
deepCopy
factory method to create a deep copy of ShippingMethodLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodLabel- Returns:
- builder
-
builder
create builder for ShippingMethodLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodLabel
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
-