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 Stringdiscriminator value for StagedOrderSetItemShippingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StagedOrderSetItemShippingAddressCustomTypeActioncreate builder for StagedOrderSetItemShippingAddressCustomTypeAction instancecopyDeep()factory method to create a deep copy of StagedOrderSetItemShippingAddressCustomTypeAction@NotNull String@Valid FieldContainerSets the Custom Fields fields for theitemShippingAddress.@Valid TypeResourceIdentifiergetType()of()factory methodfactory method to create a shallow copy StagedOrderSetItemShippingAddressCustomTypeActionvoidsetAddressKey(String addressKey) voidsetFields(FieldContainer fields) Sets the Custom Fields fields for theitemShippingAddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetItemShippingAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStagedOrderSetItemShippingAddressCustomTypeAction(Function<StagedOrderSetItemShippingAddressCustomTypeAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods 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
keyof the Address initemShippingAddresses.- Returns:
- addressKey
-
getType
Defines the Type that extends the
itemShippingAddresswith 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
keyof the Address initemShippingAddresses.- Parameters:
addressKey- value to be set
-
setType
Defines the Type that extends the
itemShippingAddresswith 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
-
copyDeep
- Specified by:
copyDeepin interfaceStagedOrderUpdateAction
-
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
-