Interface OrderSetBillingAddressCustomTypeAction
- All Superinterfaces:
OrderUpdateAction,ResourceUpdateAction<OrderUpdateAction>
OrderSetBillingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSetBillingAddressCustomTypeAction orderSetBillingAddressCustomTypeAction = OrderSetBillingAddressCustomTypeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for OrderSetBillingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderSetBillingAddressCustomTypeActioncreate builder for OrderSetBillingAddressCustomTypeAction instancecopyDeep()factory method to create a deep copy of OrderSetBillingAddressCustomTypeAction@Valid FieldContainerObject containing the Custom Fields fields for thebillingAddress.@Valid TypeResourceIdentifiergetType()of()factory methodof(OrderSetBillingAddressCustomTypeAction template) factory method to create a shallow copy OrderSetBillingAddressCustomTypeActionvoidsetFields(FieldContainer fields) Object containing the Custom Fields fields for thebillingAddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<OrderSetBillingAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithOrderSetBillingAddressCustomTypeAction(Function<OrderSetBillingAddressCustomTypeAction, 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_BILLING_ADDRESS_CUSTOM_TYPE
discriminator value for OrderSetBillingAddressCustomTypeAction- See Also:
-
-
Method Details
-
getType
Defines the Type that extends the
billingAddresswith Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress.- Returns:
- type
-
getFields
Object containing the Custom Fields fields for the
billingAddress.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
billingAddresswith Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress.- Parameters:
type- value to be set
-
setFields
Object containing the Custom Fields fields for the
billingAddress.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 OrderSetBillingAddressCustomTypeAction
-
of
factory method to create a shallow copy OrderSetBillingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderSetBillingAddressCustomTypeAction copyDeep()- Specified by:
copyDeepin interfaceOrderUpdateAction
-
deepCopy
@Nullable static OrderSetBillingAddressCustomTypeAction deepCopy(@Nullable OrderSetBillingAddressCustomTypeAction template) factory method to create a deep copy of OrderSetBillingAddressCustomTypeAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSetBillingAddressCustomTypeAction- Returns:
- builder
-
builder
static OrderSetBillingAddressCustomTypeActionBuilder builder(OrderSetBillingAddressCustomTypeAction template) create builder for OrderSetBillingAddressCustomTypeAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSetBillingAddressCustomTypeAction
default <T> T withOrderSetBillingAddressCustomTypeAction(Function<OrderSetBillingAddressCustomTypeAction, 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<OrderSetBillingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-