Class CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction>
Example to create an instance using the builder pattern
CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction cartApplyDeltaToCustomLineItemShippingDetailsTargetsAction = CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction.builder()
.customLineItemId("{customLineItemId}")
.plusTargetsDelta(targetsDeltaBuilder -> targetsDeltaBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsing positive or negative quantities increases or decreases the number of items shipped to an address.build()
builds CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction with checking for non-null required valuesbuilds CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction without checking for non-null required valuescustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.id
of the CustomLineItem to update.Using positive or negative quantities increases or decreases the number of items shipped to an address.of()
factory method for an instance of CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuildercreate builder for CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction 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
-
CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder
-
-
Method Details
-
customLineItemId
public CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder customLineItemId(String customLineItemId) id
of the CustomLineItem to update.- Parameters:
customLineItemId
- value to be set- Returns:
- Builder
-
targetsDelta
public CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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 CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder 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
-
getCustomLineItemId
id
of the CustomLineItem to update.- Returns:
- customLineItemId
-
getTargetsDelta
Using positive or negative quantities increases or decreases the number of items shipped to an address.
- Returns:
- targetsDelta
-
build
builds CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction>
- Returns:
- CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
-
buildUnchecked
builds CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction without checking for non-null required values- Returns:
- CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
-
of
factory method for an instance of CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder- Returns:
- builder
-
of
public static CartApplyDeltaToCustomLineItemShippingDetailsTargetsActionBuilder of(CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction template) create builder for CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-