Interface ItemShippingDetailsDraft
- All Superinterfaces:
Draft<ItemShippingDetailsDraft>
ItemShippingDetailsDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ItemShippingDetailsDraft itemShippingDetailsDraft = ItemShippingDetailsDraft.builder()
.plusTargets(targetsBuilder -> targetsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ItemShippingDetailsDraftbuilder
(ItemShippingDetailsDraft template) create builder for ItemShippingDetailsDraft instancestatic ItemShippingDetailsDraft
deepCopy
(ItemShippingDetailsDraft template) factory method to create a deep copy of ItemShippingDetailsDraft@NotNull @Valid List<ItemShippingTarget>
Maps toItemShippingDetailsDraft.targets
.static ItemShippingDetailsDraft
of()
factory methodstatic ItemShippingDetailsDraft
of
(ItemShippingDetailsDraft template) factory method to create a shallow copy ItemShippingDetailsDraftvoid
setTargets
(ItemShippingTarget... targets) Maps toItemShippingDetailsDraft.targets
.void
setTargets
(List<ItemShippingTarget> targets) Maps toItemShippingDetailsDraft.targets
.static com.fasterxml.jackson.core.type.TypeReference<ItemShippingDetailsDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getTargets
Maps to
ItemShippingDetailsDraft.targets
.- Returns:
- targets
-
setTargets
Maps to
ItemShippingDetailsDraft.targets
.- Parameters:
targets
- values to be set
-
setTargets
Maps to
ItemShippingDetailsDraft.targets
.- Parameters:
targets
- values to be set
-
of
factory method- Returns:
- instance of ItemShippingDetailsDraft
-
of
factory method to create a shallow copy ItemShippingDetailsDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of ItemShippingDetailsDraft- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ItemShippingDetailsDraft- Returns:
- builder
-
builder
create builder for ItemShippingDetailsDraft instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withItemShippingDetailsDraft
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
-