Class StagedOrderSetDeliveryAddressCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<StagedOrderSetDeliveryAddressCustomTypeAction>
Example to create an instance using the builder pattern
StagedOrderSetDeliveryAddressCustomTypeAction stagedOrderSetDeliveryAddressCustomTypeAction = StagedOrderSetDeliveryAddressCustomTypeAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StagedOrderSetDeliveryAddressCustomTypeAction with checking for non-null required valuesbuilds StagedOrderSetDeliveryAddressCustomTypeAction 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 StagedOrderSetDeliveryAddressCustomTypeActionBuildercreate builder for StagedOrderSetDeliveryAddressCustomTypeAction 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
-
StagedOrderSetDeliveryAddressCustomTypeActionBuilder
-
-
Method Details
-
deliveryId
Either
deliveryId
ordeliveryKey
is required for this update action.- Parameters:
deliveryId
- value to be set- Returns:
- Builder
-
deliveryKey
public StagedOrderSetDeliveryAddressCustomTypeActionBuilder deliveryKey(@Nullable String deliveryKey) Either
deliveryId
ordeliveryKey
is required for this update action.- Parameters:
deliveryKey
- value to be set- Returns:
- Builder
-
type
public StagedOrderSetDeliveryAddressCustomTypeActionBuilder 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 StagedOrderSetDeliveryAddressCustomTypeActionBuilder 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
public StagedOrderSetDeliveryAddressCustomTypeActionBuilder type(@Nullable TypeResourceIdentifier 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 StagedOrderSetDeliveryAddressCustomTypeActionBuilder 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 StagedOrderSetDeliveryAddressCustomTypeActionBuilder 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 StagedOrderSetDeliveryAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<StagedOrderSetDeliveryAddressCustomTypeAction>
- Returns:
- StagedOrderSetDeliveryAddressCustomTypeAction
-
buildUnchecked
builds StagedOrderSetDeliveryAddressCustomTypeAction without checking for non-null required values- Returns:
- StagedOrderSetDeliveryAddressCustomTypeAction
-
of
factory method for an instance of StagedOrderSetDeliveryAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static StagedOrderSetDeliveryAddressCustomTypeActionBuilder of(StagedOrderSetDeliveryAddressCustomTypeAction template) create builder for StagedOrderSetDeliveryAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-