Interface StagedOrderSetItemShippingAddressCustomTypeAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
StagedOrderSetItemShippingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetItemShippingAddressCustomTypeAction stagedOrderSetItemShippingAddressCustomTypeAction = StagedOrderSetItemShippingAddressCustomTypeAction.builder()
.addressKey("{addressKey}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderSetItemShippingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderSetItemShippingAddressCustomTypeActioncreate builder for StagedOrderSetItemShippingAddressCustomTypeAction instancefactory method to create a deep copy of StagedOrderSetItemShippingAddressCustomTypeAction@NotNull String
key
of the Address initemShippingAddresses
.@Valid FieldContainer
Sets the Custom Fields fields for theitemShippingAddress
.@Valid TypeResourceIdentifier
getType()
Defines the Type that extends theitemShippingAddress
with Custom Fields.of()
factory methodfactory method to create a shallow copy StagedOrderSetItemShippingAddressCustomTypeActionvoid
setAddressKey
(String addressKey) key
of the Address initemShippingAddresses
.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for theitemShippingAddress
.void
Defines the Type that extends theitemShippingAddress
with Custom Fields.static com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetItemShippingAddressCustomTypeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStagedOrderSetItemShippingAddressCustomTypeAction
(Function<StagedOrderSetItemShippingAddressCustomTypeAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
SET_ITEM_SHIPPING_ADDRESS_CUSTOM_TYPE
discriminator value for StagedOrderSetItemShippingAddressCustomTypeAction- See Also:
-
-
Method Details
-
getAddressKey
key
of the Address initemShippingAddresses
.- Returns:
- addressKey
-
getType
Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
itemShippingAddress
.- Returns:
- fields
-
setAddressKey
key
of the Address initemShippingAddresses
.- Parameters:
addressKey
- value to be set
-
setType
Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Parameters:
type
- value to be set
-
setFields
Sets the Custom Fields fields for the
itemShippingAddress
.- Parameters:
fields
- value to be set
-
of
factory method- Returns:
- instance of StagedOrderSetItemShippingAddressCustomTypeAction
-
of
static StagedOrderSetItemShippingAddressCustomTypeAction of(StagedOrderSetItemShippingAddressCustomTypeAction template) factory method to create a shallow copy StagedOrderSetItemShippingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderSetItemShippingAddressCustomTypeAction deepCopy(@Nullable StagedOrderSetItemShippingAddressCustomTypeAction template) factory method to create a deep copy of StagedOrderSetItemShippingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetItemShippingAddressCustomTypeAction- Returns:
- builder
-
builder
static StagedOrderSetItemShippingAddressCustomTypeActionBuilder builder(StagedOrderSetItemShippingAddressCustomTypeAction template) create builder for StagedOrderSetItemShippingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetItemShippingAddressCustomTypeAction
default <T> T withStagedOrderSetItemShippingAddressCustomTypeAction(Function<StagedOrderSetItemShippingAddressCustomTypeAction, 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<StagedOrderSetItemShippingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-