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