Interface StagedOrderSetBillingAddressCustomTypeAction
- All Superinterfaces:
ResourceUpdateAction<StagedOrderUpdateAction>
,StagedOrderUpdateAction
StagedOrderSetBillingAddressCustomTypeAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StagedOrderSetBillingAddressCustomTypeAction stagedOrderSetBillingAddressCustomTypeAction = StagedOrderSetBillingAddressCustomTypeAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
discriminator value for StagedOrderSetBillingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StagedOrderSetBillingAddressCustomTypeActioncreate builder for StagedOrderSetBillingAddressCustomTypeAction instancefactory method to create a deep copy of StagedOrderSetBillingAddressCustomTypeAction@Valid FieldContainer
Sets the Custom Fields fields for thebillingAddress
.@Valid TypeResourceIdentifier
getType()
Defines the Type that extends thebillingAddress
with Custom Fields.of()
factory methodfactory method to create a shallow copy StagedOrderSetBillingAddressCustomTypeActionvoid
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<StagedOrderSetBillingAddressCustomTypeAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withStagedOrderSetBillingAddressCustomTypeAction
(Function<StagedOrderSetBillingAddressCustomTypeAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
getAction, withStagedOrderUpdateAction
-
Field Details
-
SET_BILLING_ADDRESS_CUSTOM_TYPE
discriminator value for StagedOrderSetBillingAddressCustomTypeAction- 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 StagedOrderSetBillingAddressCustomTypeAction
-
of
static StagedOrderSetBillingAddressCustomTypeAction of(StagedOrderSetBillingAddressCustomTypeAction template) factory method to create a shallow copy StagedOrderSetBillingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static StagedOrderSetBillingAddressCustomTypeAction deepCopy(@Nullable StagedOrderSetBillingAddressCustomTypeAction template) factory method to create a deep copy of StagedOrderSetBillingAddressCustomTypeAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StagedOrderSetBillingAddressCustomTypeAction- Returns:
- builder
-
builder
static StagedOrderSetBillingAddressCustomTypeActionBuilder builder(StagedOrderSetBillingAddressCustomTypeAction template) create builder for StagedOrderSetBillingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStagedOrderSetBillingAddressCustomTypeAction
default <T> T withStagedOrderSetBillingAddressCustomTypeAction(Function<StagedOrderSetBillingAddressCustomTypeAction, 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<StagedOrderSetBillingAddressCustomTypeAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-