Interface ShippingMethodChangeValue
public interface ShippingMethodChangeValue
ShippingMethodChangeValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ShippingMethodChangeValue shippingMethodChangeValue = ShippingMethodChangeValue.builder()
.id("{id}")
.name("{name}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ShippingMethodChangeValuebuilder(ShippingMethodChangeValue template) create builder for ShippingMethodChangeValue instancecopyDeep()static ShippingMethodChangeValuedeepCopy(ShippingMethodChangeValue template) factory method to create a deep copy of ShippingMethodChangeValue@NotNull StringgetId()idof the ShippingMethod.@NotNull StringgetName()Name of the ShippingMethod.static ShippingMethodChangeValueof()factory methodstatic ShippingMethodChangeValueof(ShippingMethodChangeValue template) factory method to create a shallow copy ShippingMethodChangeValuevoididof the ShippingMethod.voidName of the ShippingMethod.static com.fasterxml.jackson.core.type.TypeReference<ShippingMethodChangeValue>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
idof the ShippingMethod.- Returns:
- id
-
getName
Name of the ShippingMethod.
- Returns:
- name
-
setId
idof the ShippingMethod.- Parameters:
id- value to be set
-
setName
Name of the ShippingMethod.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of ShippingMethodChangeValue
-
of
factory method to create a shallow copy ShippingMethodChangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
ShippingMethodChangeValue copyDeep() -
deepCopy
factory method to create a deep copy of ShippingMethodChangeValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ShippingMethodChangeValue- Returns:
- builder
-
builder
create builder for ShippingMethodChangeValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withShippingMethodChangeValue
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
-