Class OrderSetBillingAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<OrderSetBillingAddressCustomTypeAction>
Example to create an instance using the builder pattern
OrderSetBillingAddressCustomTypeAction orderSetBillingAddressCustomTypeAction = OrderSetBillingAddressCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetBillingAddressCustomTypeAction with checking for non-null required valuesbuilds OrderSetBillingAddressCustomTypeAction 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 OrderSetBillingAddressCustomTypeActionBuilderof
(OrderSetBillingAddressCustomTypeAction template) create builder for OrderSetBillingAddressCustomTypeAction 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
-
OrderSetBillingAddressCustomTypeActionBuilder
public OrderSetBillingAddressCustomTypeActionBuilder()
-
-
Method Details
-
type
public OrderSetBillingAddressCustomTypeActionBuilder 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 OrderSetBillingAddressCustomTypeActionBuilder 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
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 OrderSetBillingAddressCustomTypeActionBuilder 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 OrderSetBillingAddressCustomTypeActionBuilder 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 OrderSetBillingAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSetBillingAddressCustomTypeAction>
- Returns:
- OrderSetBillingAddressCustomTypeAction
-
buildUnchecked
builds OrderSetBillingAddressCustomTypeAction without checking for non-null required values- Returns:
- OrderSetBillingAddressCustomTypeAction
-
of
factory method for an instance of OrderSetBillingAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static OrderSetBillingAddressCustomTypeActionBuilder of(OrderSetBillingAddressCustomTypeAction template) create builder for OrderSetBillingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-