Class MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<MyCartApplyDeltaToLineItemShippingDetailsTargetsAction>
Example to create an instance using the builder pattern
MyCartApplyDeltaToLineItemShippingDetailsTargetsAction myCartApplyDeltaToLineItemShippingDetailsTargetsAction = MyCartApplyDeltaToLineItemShippingDetailsTargetsAction.builder()
.lineItemId("{lineItemId}")
.plusTargetsDelta(targetsDeltaBuilder -> targetsDeltaBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUsing positive or negative quantities increases or decreases the number of items shipped to an address.build()
builds MyCartApplyDeltaToLineItemShippingDetailsTargetsAction with checking for non-null required valuesbuilds MyCartApplyDeltaToLineItemShippingDetailsTargetsAction without checking for non-null required valuesid
of the LineItem to update.Using positive or negative quantities increases or decreases the number of items shipped to an address.lineItemId
(String lineItemId) id
of the LineItem to update.of()
factory method for an instance of MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuildercreate builder for MyCartApplyDeltaToLineItemShippingDetailsTargetsAction instanceplusTargetsDelta
(ItemShippingTarget... targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.Using positive or negative quantities increases or decreases the number of items shipped to an address.Using positive or negative quantities increases or decreases the number of items shipped to an address.targetsDelta
(ItemShippingTarget... targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.targetsDelta
(List<ItemShippingTarget> targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.Using positive or negative quantities increases or decreases the number of items shipped to an address.
-
Constructor Details
-
MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder
-
-
Method Details
-
lineItemId
id
of the LineItem to update.- Parameters:
lineItemId
- value to be set- Returns:
- Builder
-
targetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder targetsDelta(ItemShippingTarget... targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
targetsDelta
- value to be set- Returns:
- Builder
-
targetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder targetsDelta(List<ItemShippingTarget> targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
targetsDelta
- value to be set- Returns:
- Builder
-
plusTargetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder plusTargetsDelta(ItemShippingTarget... targetsDelta) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
targetsDelta
- value to be set- Returns:
- Builder
-
plusTargetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder plusTargetsDelta(Function<ItemShippingTargetBuilder, ItemShippingTargetBuilder> builder) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
builder
- function to build the targetsDelta value- Returns:
- Builder
-
withTargetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder withTargetsDelta(Function<ItemShippingTargetBuilder, ItemShippingTargetBuilder> builder) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
builder
- function to build the targetsDelta value- Returns:
- Builder
-
addTargetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder addTargetsDelta(Function<ItemShippingTargetBuilder, ItemShippingTarget> builder) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
builder
- function to build the targetsDelta value- Returns:
- Builder
-
setTargetsDelta
public MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder setTargetsDelta(Function<ItemShippingTargetBuilder, ItemShippingTarget> builder) Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Parameters:
builder
- function to build the targetsDelta value- Returns:
- Builder
-
getLineItemId
id
of the LineItem to update.- Returns:
- lineItemId
-
getTargetsDelta
Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Returns:
- targetsDelta
-
build
builds MyCartApplyDeltaToLineItemShippingDetailsTargetsAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<MyCartApplyDeltaToLineItemShippingDetailsTargetsAction>
- Returns:
- MyCartApplyDeltaToLineItemShippingDetailsTargetsAction
-
buildUnchecked
builds MyCartApplyDeltaToLineItemShippingDetailsTargetsAction without checking for non-null required values- Returns:
- MyCartApplyDeltaToLineItemShippingDetailsTargetsAction
-
of
factory method for an instance of MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder- Returns:
- builder
-
of
public static MyCartApplyDeltaToLineItemShippingDetailsTargetsActionBuilder of(MyCartApplyDeltaToLineItemShippingDetailsTargetsAction template) create builder for MyCartApplyDeltaToLineItemShippingDetailsTargetsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-