Class CartSetDeliveryAddressCustomTypeActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CartSetDeliveryAddressCustomTypeAction>
Example to create an instance using the builder pattern
CartSetDeliveryAddressCustomTypeAction cartSetDeliveryAddressCustomTypeAction = CartSetDeliveryAddressCustomTypeAction.builder()
.deliveryId("{deliveryId}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CartSetDeliveryAddressCustomTypeAction with checking for non-null required valuesbuilds CartSetDeliveryAddressCustomTypeAction without checking for non-null required valuesdeliveryId
(String deliveryId) id
of the Delivery.fields
(FieldContainer fields) Sets the Custom Fields fields for the Deliveryaddress
.Sets the Custom Fields fields for the Deliveryaddress
.id
of the Delivery.Sets the Custom Fields fields for the Deliveryaddress
.getType()
Defines the Type that extends the Deliveryaddress
with Custom Fields.of()
factory method for an instance of CartSetDeliveryAddressCustomTypeActionBuilderof
(CartSetDeliveryAddressCustomTypeAction template) create builder for CartSetDeliveryAddressCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the Deliveryaddress
with Custom Fields.Defines the Type that extends the Deliveryaddress
with Custom Fields.Sets the Custom Fields fields for the Deliveryaddress
.Defines the Type that extends the Deliveryaddress
with Custom Fields.
-
Constructor Details
-
CartSetDeliveryAddressCustomTypeActionBuilder
-
-
Method Details
-
deliveryId
id
of the Delivery.- Parameters:
deliveryId
- value to be set- Returns:
- Builder
-
type
public CartSetDeliveryAddressCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public CartSetDeliveryAddressCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public CartSetDeliveryAddressCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the Delivery
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public CartSetDeliveryAddressCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the Delivery
address
.- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the Delivery
address
.- Parameters:
fields
- value to be set- Returns:
- Builder
-
getDeliveryId
id
of the Delivery.- Returns:
- deliveryId
-
getType
Defines the Type that extends the Delivery
address
with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Deliveryaddress
.- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Delivery
address
.- Returns:
- fields
-
build
builds CartSetDeliveryAddressCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<CartSetDeliveryAddressCustomTypeAction>
- Returns:
- CartSetDeliveryAddressCustomTypeAction
-
buildUnchecked
builds CartSetDeliveryAddressCustomTypeAction without checking for non-null required values- Returns:
- CartSetDeliveryAddressCustomTypeAction
-
of
factory method for an instance of CartSetDeliveryAddressCustomTypeActionBuilder- Returns:
- builder
-
of
public static CartSetDeliveryAddressCustomTypeActionBuilder of(CartSetDeliveryAddressCustomTypeAction template) create builder for CartSetDeliveryAddressCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-