Interface StagedOrderSetShippingAddressCustomTypeAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>,StagedOrderUpdateAction
StagedOrderSetShippingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetShippingAddressCustomTypeAction stagedOrderSetShippingAddressCustomTypeAction = StagedOrderSetShippingAddressCustomTypeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StagedOrderSetShippingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StagedOrderSetShippingAddressCustomTypeActioncreate builder for StagedOrderSetShippingAddressCustomTypeAction instancecopyDeep()factory method to create a deep copy of StagedOrderSetShippingAddressCustomTypeAction@Valid FieldContainerSets the Custom Fields fields for theshippingAddress.@Valid TypeResourceIdentifiergetType()of()factory methodfactory method to create a shallow copy StagedOrderSetShippingAddressCustomTypeActionvoidsetFields(FieldContainer fields) Sets the Custom Fields fields for theshippingAddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetShippingAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStagedOrderSetShippingAddressCustomTypeAction(Function<StagedOrderSetShippingAddressCustomTypeAction, 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_SHIPPING_ADDRESS_CUSTOM_TYPE
discriminator value for StagedOrderSetShippingAddressCustomTypeAction- See Also:
-
-
Method Details
-
getType
Defines the Type that extends the
shippingAddresswith Custom Fields. If absent, any existing Type and Custom Fields are removed from theshippingAddress.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
shippingAddress.- Returns:
- fields
-
setType
Defines the Type that extends the
shippingAddresswith Custom Fields. If absent, any existing Type and Custom Fields are removed from theshippingAddress.- Parameters:
type- value to be set
-
setFields
Sets the Custom Fields fields for the
shippingAddress.- Parameters:
fields- value to be set
-
of
factory method- Returns:
- instance of StagedOrderSetShippingAddressCustomTypeAction
-
of
static StagedOrderSetShippingAddressCustomTypeAction of(StagedOrderSetShippingAddressCustomTypeAction template) factory method to create a shallow copy StagedOrderSetShippingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
- Specified by:
copyDeepin interfaceStagedOrderUpdateAction
-
deepCopy
@Nullable static StagedOrderSetShippingAddressCustomTypeAction deepCopy(@Nullable StagedOrderSetShippingAddressCustomTypeAction template) factory method to create a deep copy of StagedOrderSetShippingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetShippingAddressCustomTypeAction- Returns:
- builder
-
builder
static StagedOrderSetShippingAddressCustomTypeActionBuilder builder(StagedOrderSetShippingAddressCustomTypeAction template) create builder for StagedOrderSetShippingAddressCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetShippingAddressCustomTypeAction
default <T> T withStagedOrderSetShippingAddressCustomTypeAction(Function<StagedOrderSetShippingAddressCustomTypeAction, 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<StagedOrderSetShippingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-