Interface OrderSetItemShippingAddressCustomTypeAction
- All Superinterfaces:
OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
OrderSetItemShippingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetItemShippingAddressCustomTypeAction orderSetItemShippingAddressCustomTypeAction = OrderSetItemShippingAddressCustomTypeAction.builder()
.addressKey("{addressKey}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for OrderSetItemShippingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSetItemShippingAddressCustomTypeActioncreate builder for OrderSetItemShippingAddressCustomTypeAction instancefactory method to create a deep copy of OrderSetItemShippingAddressCustomTypeAction@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 OrderSetItemShippingAddressCustomTypeActionvoid
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<OrderSetItemShippingAddressCustomTypeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderSetItemShippingAddressCustomTypeAction
(Function<OrderSetItemShippingAddressCustomTypeAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_ITEM_SHIPPING_ADDRESS_CUSTOM_TYPE
discriminator value for OrderSetItemShippingAddressCustomTypeAction- 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 OrderSetItemShippingAddressCustomTypeAction
-
of
static OrderSetItemShippingAddressCustomTypeAction of(OrderSetItemShippingAddressCustomTypeAction template) factory method to create a shallow copy OrderSetItemShippingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static OrderSetItemShippingAddressCustomTypeAction deepCopy(@Nullable OrderSetItemShippingAddressCustomTypeAction template) factory method to create a deep copy of OrderSetItemShippingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetItemShippingAddressCustomTypeAction- Returns:
- builder
-
builder
static OrderSetItemShippingAddressCustomTypeActionBuilder builder(OrderSetItemShippingAddressCustomTypeAction template) create builder for OrderSetItemShippingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetItemShippingAddressCustomTypeAction
default <T> T withOrderSetItemShippingAddressCustomTypeAction(Function<OrderSetItemShippingAddressCustomTypeAction, 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<OrderSetItemShippingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-