Interface OrderSetShippingAddressCustomTypeAction
- All Superinterfaces:
OrderUpdateAction,ResourceUpdateAction<OrderUpdateAction>
OrderSetShippingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetShippingAddressCustomTypeAction orderSetShippingAddressCustomTypeAction = OrderSetShippingAddressCustomTypeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderSetShippingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderSetShippingAddressCustomTypeActioncreate builder for OrderSetShippingAddressCustomTypeAction instancecopyDeep()factory method to create a deep copy of OrderSetShippingAddressCustomTypeAction@Valid FieldContainerObject containing the Custom Fields fields for theshippingAddress.@Valid TypeResourceIdentifiergetType()of()factory methodof(OrderSetShippingAddressCustomTypeAction template) factory method to create a shallow copy OrderSetShippingAddressCustomTypeActionvoidsetFields(FieldContainer fields) Object containing the Custom Fields fields for theshippingAddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<OrderSetShippingAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithOrderSetShippingAddressCustomTypeAction(Function<OrderSetShippingAddressCustomTypeAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
getAction, withOrderUpdateActionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
SET_SHIPPING_ADDRESS_CUSTOM_TYPE
discriminator value for OrderSetShippingAddressCustomTypeAction- 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
Object containing the Custom Fields fields for the
shippingAddress.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- 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
Object containing the Custom Fields fields for the
shippingAddress.Required if at least one Custom Field is defined as required in the
fieldDefinitionsof the referenced Type.- Parameters:
fields- value to be set
-
of
factory method- Returns:
- instance of OrderSetShippingAddressCustomTypeAction
-
of
factory method to create a shallow copy OrderSetShippingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderSetShippingAddressCustomTypeAction copyDeep()- Specified by:
copyDeepin interfaceOrderUpdateAction
-
deepCopy
@Nullable static OrderSetShippingAddressCustomTypeAction deepCopy(@Nullable OrderSetShippingAddressCustomTypeAction template) factory method to create a deep copy of OrderSetShippingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetShippingAddressCustomTypeAction- Returns:
- builder
-
builder
static OrderSetShippingAddressCustomTypeActionBuilder builder(OrderSetShippingAddressCustomTypeAction template) create builder for OrderSetShippingAddressCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetShippingAddressCustomTypeAction
default <T> T withOrderSetShippingAddressCustomTypeAction(Function<OrderSetShippingAddressCustomTypeAction, 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<OrderSetShippingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-