Class OrderSetDeliveryCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<OrderSetDeliveryCustomTypeAction>
Example to create an instance using the builder pattern
OrderSetDeliveryCustomTypeAction orderSetDeliveryCustomTypeAction = OrderSetDeliveryCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds OrderSetDeliveryCustomTypeAction with checking for non-null required valuesbuilds OrderSetDeliveryCustomTypeAction 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 the Delivery.Sets the Custom Fields fields for the Delivery.EitherdeliveryId
ordeliveryKey
is required for this update action.EitherdeliveryId
ordeliveryKey
is required for this update action.Sets the Custom Fields fields for the Delivery.getType()
Defines the Type that extends the Delivery with Custom Fields.of()
factory method for an instance of OrderSetDeliveryCustomTypeActionBuilderof
(OrderSetDeliveryCustomTypeAction template) create builder for OrderSetDeliveryCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the Delivery with Custom Fields.Defines the Type that extends the Delivery with Custom Fields.Sets the Custom Fields fields for the Delivery.Defines the Type that extends the Delivery with Custom Fields.
-
Constructor Details
-
OrderSetDeliveryCustomTypeActionBuilder
-
-
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 OrderSetDeliveryCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public OrderSetDeliveryCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public OrderSetDeliveryCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the Delivery.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public OrderSetDeliveryCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the Delivery.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the 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 Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Delivery.
- Returns:
- fields
-
build
builds OrderSetDeliveryCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<OrderSetDeliveryCustomTypeAction>
- Returns:
- OrderSetDeliveryCustomTypeAction
-
buildUnchecked
builds OrderSetDeliveryCustomTypeAction without checking for non-null required values- Returns:
- OrderSetDeliveryCustomTypeAction
-
of
factory method for an instance of OrderSetDeliveryCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for OrderSetDeliveryCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-