Package com.commercetools.api.models.me
Class MyCartChangeLineItemsOrderActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyCartChangeLineItemsOrderActionBuilder
- All Implemented Interfaces:
Builder<MyCartChangeLineItemsOrderAction>
public class MyCartChangeLineItemsOrderActionBuilder
extends Object
implements Builder<MyCartChangeLineItemsOrderAction>
MyCartChangeLineItemsOrderActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyCartChangeLineItemsOrderAction myCartChangeLineItemsOrderAction = MyCartChangeLineItemsOrderAction.builder()
.plusLineItemOrder(lineItemOrderBuilder -> lineItemOrderBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyCartChangeLineItemsOrderAction with checking for non-null required valuesbuilds MyCartChangeLineItemsOrderAction without checking for non-null required valuesAll existing LineItemid
s of the Cart in the desired new order.lineItemOrder
(String... lineItemOrder) All existing LineItemid
s of the Cart in the desired new order.lineItemOrder
(List<String> lineItemOrder) All existing LineItemid
s of the Cart in the desired new order.of()
factory method for an instance of MyCartChangeLineItemsOrderActionBuilderof
(MyCartChangeLineItemsOrderAction template) create builder for MyCartChangeLineItemsOrderAction instanceplusLineItemOrder
(String... lineItemOrder) All existing LineItemid
s of the Cart in the desired new order.
-
Constructor Details
-
MyCartChangeLineItemsOrderActionBuilder
public MyCartChangeLineItemsOrderActionBuilder()
-
-
Method Details
-
lineItemOrder
All existing LineItem
id
s of the Cart in the desired new order.- Parameters:
lineItemOrder
- value to be set- Returns:
- Builder
-
lineItemOrder
All existing LineItem
id
s of the Cart in the desired new order.- Parameters:
lineItemOrder
- value to be set- Returns:
- Builder
-
plusLineItemOrder
All existing LineItem
id
s of the Cart in the desired new order.- Parameters:
lineItemOrder
- value to be set- Returns:
- Builder
-
getLineItemOrder
All existing LineItem
id
s of the Cart in the desired new order.- Returns:
- lineItemOrder
-
build
builds MyCartChangeLineItemsOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyCartChangeLineItemsOrderAction>
- Returns:
- MyCartChangeLineItemsOrderAction
-
buildUnchecked
builds MyCartChangeLineItemsOrderAction without checking for non-null required values- Returns:
- MyCartChangeLineItemsOrderAction
-
of
factory method for an instance of MyCartChangeLineItemsOrderActionBuilder- Returns:
- builder
-
of
create builder for MyCartChangeLineItemsOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-