Class StagedOrderSetBillingAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<StagedOrderSetBillingAddressCustomTypeAction>
Example to create an instance using the builder pattern
StagedOrderSetBillingAddressCustomTypeAction stagedOrderSetBillingAddressCustomTypeAction = StagedOrderSetBillingAddressCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetBillingAddressCustomTypeAction with checking for non-null required valuesbuilds StagedOrderSetBillingAddressCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for thebillingAddress
.Sets the Custom Fields fields for thebillingAddress
.Sets the Custom Fields fields for thebillingAddress
.getType()
Defines the Type that extends thebillingAddress
with Custom Fields.of()
factory method for an instance of StagedOrderSetBillingAddressCustomTypeActionBuildercreate builder for StagedOrderSetBillingAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends thebillingAddress
with Custom Fields.Defines the Type that extends thebillingAddress
with Custom Fields.Sets the Custom Fields fields for thebillingAddress
.Defines the Type that extends thebillingAddress
with Custom Fields.
-
Constructor Details
-
StagedOrderSetBillingAddressCustomTypeActionBuilder
public StagedOrderSetBillingAddressCustomTypeActionBuilder()
-
-
Method Details
-
type
public StagedOrderSetBillingAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
billingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public StagedOrderSetBillingAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
billingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from thebillingAddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
public StagedOrderSetBillingAddressCustomTypeActionBuilder type(@Nullable TypeResourceIdentifier type) 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- Returns:
- Builder
-
fields
public StagedOrderSetBillingAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the
billingAddress
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public StagedOrderSetBillingAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the
billingAddress
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the
billingAddress
.- Parameters:
fields
- value to be set- Returns:
- Builder
-
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
-
build
builds StagedOrderSetBillingAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StagedOrderSetBillingAddressCustomTypeAction>
- Returns:
- StagedOrderSetBillingAddressCustomTypeAction
-
buildUnchecked
builds StagedOrderSetBillingAddressCustomTypeAction without checking for non-null required values- Returns:
- StagedOrderSetBillingAddressCustomTypeAction
-
of
factory method for an instance of StagedOrderSetBillingAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static StagedOrderSetBillingAddressCustomTypeActionBuilder of(StagedOrderSetBillingAddressCustomTypeAction template) create builder for StagedOrderSetBillingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-