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 String
discriminator value for OrderSetBillingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for OrderSetBillingAddressCustomTypeActioncreate builder for OrderSetBillingAddressCustomTypeAction instancefactory method to create a deep copy of OrderSetBillingAddressCustomTypeAction@Valid FieldContainer
Sets the Custom Fields fields for thebillingAddress
.@Valid TypeResourceIdentifier
getType()
Defines the Type that extends thebillingAddress
with Custom Fields.of()
factory methodof
(OrderSetBillingAddressCustomTypeAction template) factory method to create a shallow copy OrderSetBillingAddressCustomTypeActionvoid
setFields
(FieldContainer fields) Sets the Custom Fields fields for thebillingAddress
.void
Defines the Type that extends thebillingAddress
with Custom Fields.static com.fasterxml.jackson.core.type.TypeReference<OrderSetBillingAddressCustomTypeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withOrderSetBillingAddressCustomTypeAction
(Function<OrderSetBillingAddressCustomTypeAction, 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_BILLING_ADDRESS_CUSTOM_TYPE
discriminator value for OrderSetBillingAddressCustomTypeAction- See Also:
-
-
Method Details
-
getType
Defines the Type that extends the
billingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
billingAddress
.- Returns:
- fields
-
setType
Defines the Type that extends the
billingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress
.- Parameters:
type
- value to be set
-
setFields
Sets the Custom Fields fields for the
billingAddress
.- 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
-
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
-