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