Class OrderSetDeliveryAddressCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderSetDeliveryAddressCustomTypeAction>
Example to create an instance using the builder pattern
OrderSetDeliveryAddressCustomTypeAction orderSetDeliveryAddressCustomTypeAction = OrderSetDeliveryAddressCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetDeliveryAddressCustomTypeAction with checking for non-null required valuesbuilds OrderSetDeliveryAddressCustomTypeAction without checking for non-null required valuesdeliveryId
(String deliveryId) EitherdeliveryId
ordeliveryKey
is required for this update action.deliveryKey
(String deliveryKey) EitherdeliveryId
ordeliveryKey
is required for this update action.fields
(FieldContainer fields) Sets the Custom Fields fields for theaddress
in a Delivery.Sets the Custom Fields fields for theaddress
in a Delivery.EitherdeliveryId
ordeliveryKey
is required for this update action.EitherdeliveryId
ordeliveryKey
is required for this update action.Sets the Custom Fields fields for theaddress
in a Delivery.getType()
Defines the Type that extends theaddress
in a Delivery with Custom Fields.of()
factory method for an instance of OrderSetDeliveryAddressCustomTypeActionBuilderof
(OrderSetDeliveryAddressCustomTypeAction template) create builder for OrderSetDeliveryAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends theaddress
in a Delivery with Custom Fields.Defines the Type that extends theaddress
in a Delivery with Custom Fields.Sets the Custom Fields fields for theaddress
in a Delivery.Defines the Type that extends theaddress
in a Delivery with Custom Fields.
-
Constructor Details
-
OrderSetDeliveryAddressCustomTypeActionBuilder
-
-
Method Details
-
deliveryId
Either
deliveryId
ordeliveryKey
is required for this update action.- Parameters:
deliveryId
- value to be set- Returns:
- Builder
-
deliveryKey
Either
deliveryId
ordeliveryKey
is required for this update action.- Parameters:
deliveryKey
- value to be set- Returns:
- Builder
-
type
public OrderSetDeliveryAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public OrderSetDeliveryAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public OrderSetDeliveryAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the
address
in a Delivery.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public OrderSetDeliveryAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the
address
in a Delivery.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the
address
in a Delivery.- Parameters:
fields
- value to be set- Returns:
- Builder
-
getDeliveryId
Either
deliveryId
ordeliveryKey
is required for this update action.- Returns:
- deliveryId
-
getDeliveryKey
Either
deliveryId
ordeliveryKey
is required for this update action.- Returns:
- deliveryKey
-
getType
Defines the Type that extends the
address
in a Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from theaddress
in a Delivery.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the
address
in a Delivery.- Returns:
- fields
-
build
builds OrderSetDeliveryAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderSetDeliveryAddressCustomTypeAction>
- Returns:
- OrderSetDeliveryAddressCustomTypeAction
-
buildUnchecked
builds OrderSetDeliveryAddressCustomTypeAction without checking for non-null required values- Returns:
- OrderSetDeliveryAddressCustomTypeAction
-
of
factory method for an instance of OrderSetDeliveryAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static OrderSetDeliveryAddressCustomTypeActionBuilder of(OrderSetDeliveryAddressCustomTypeAction template) create builder for OrderSetDeliveryAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-