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