Class OrderSetItemShippingAddressCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<OrderSetItemShippingAddressCustomTypeAction>
Example to create an instance using the builder pattern
OrderSetItemShippingAddressCustomTypeAction orderSetItemShippingAddressCustomTypeAction = OrderSetItemShippingAddressCustomTypeAction.builder()
.addressKey("{addressKey}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddressKey
(String addressKey) key
of the Address initemShippingAddresses
.build()
builds OrderSetItemShippingAddressCustomTypeAction with checking for non-null required valuesbuilds OrderSetItemShippingAddressCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for theitemShippingAddress
.Sets the Custom Fields fields for theitemShippingAddress
.key
of the Address initemShippingAddresses
.Sets the Custom Fields fields for theitemShippingAddress
.getType()
Defines the Type that extends theitemShippingAddress
with Custom Fields.of()
factory method for an instance of OrderSetItemShippingAddressCustomTypeActionBuildercreate builder for OrderSetItemShippingAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends theitemShippingAddress
with Custom Fields.Defines the Type that extends theitemShippingAddress
with Custom Fields.Sets the Custom Fields fields for theitemShippingAddress
.Defines the Type that extends theitemShippingAddress
with Custom Fields.
-
Constructor Details
-
OrderSetItemShippingAddressCustomTypeActionBuilder
public OrderSetItemShippingAddressCustomTypeActionBuilder()
-
-
Method Details
-
addressKey
key
of the Address initemShippingAddresses
.- Parameters:
addressKey
- value to be set- Returns:
- Builder
-
type
public OrderSetItemShippingAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public OrderSetItemShippingAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
public OrderSetItemShippingAddressCustomTypeActionBuilder type(@Nullable TypeResourceIdentifier type) Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public OrderSetItemShippingAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the
itemShippingAddress
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public OrderSetItemShippingAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the
itemShippingAddress
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the
itemShippingAddress
.- Parameters:
fields
- value to be set- Returns:
- Builder
-
getAddressKey
key
of the Address initemShippingAddresses
.- Returns:
- addressKey
-
getType
Defines the Type that extends the
itemShippingAddress
with Custom Fields. If absent, any existing Type and Custom Fields are removed from theitemShippingAddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
itemShippingAddress
.- Returns:
- fields
-
build
builds OrderSetItemShippingAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<OrderSetItemShippingAddressCustomTypeAction>
- Returns:
- OrderSetItemShippingAddressCustomTypeAction
-
buildUnchecked
builds OrderSetItemShippingAddressCustomTypeAction without checking for non-null required values- Returns:
- OrderSetItemShippingAddressCustomTypeAction
-
of
factory method for an instance of OrderSetItemShippingAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static OrderSetItemShippingAddressCustomTypeActionBuilder of(OrderSetItemShippingAddressCustomTypeAction template) create builder for OrderSetItemShippingAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-