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 Stringdiscriminator value for StagedOrderSetBillingAddressCustomTypeAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StagedOrderSetBillingAddressCustomTypeActioncreate builder for StagedOrderSetBillingAddressCustomTypeAction instancecopyDeep()factory method to create a deep copy of StagedOrderSetBillingAddressCustomTypeAction@Valid FieldContainerSets the Custom Fields fields for thebillingAddress.@Valid TypeResourceIdentifiergetType()of()factory methodfactory method to create a shallow copy StagedOrderSetBillingAddressCustomTypeActionvoidsetFields(FieldContainer fields) Sets the Custom Fields fields for thebillingAddress.voidstatic com.fasterxml.jackson.core.type.TypeReference<StagedOrderSetBillingAddressCustomTypeAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStagedOrderSetBillingAddressCustomTypeAction(Function<StagedOrderSetBillingAddressCustomTypeAction, 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_BILLING_ADDRESS_CUSTOM_TYPE
discriminator value for StagedOrderSetBillingAddressCustomTypeAction- 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
Sets the Custom Fields fields for the
billingAddress.- 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
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
-
copyDeep
StagedOrderSetBillingAddressCustomTypeAction copyDeep()- Specified by:
copyDeepin interfaceStagedOrderUpdateAction
-
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
-