Package com.commercetools.api.models.me
Class MyShoppingListChangeTextLineItemsOrderActionBuilder
java.lang.Object
com.commercetools.api.models.me.MyShoppingListChangeTextLineItemsOrderActionBuilder
- All Implemented Interfaces:
Builder<MyShoppingListChangeTextLineItemsOrderAction>
public class MyShoppingListChangeTextLineItemsOrderActionBuilder
extends Object
implements Builder<MyShoppingListChangeTextLineItemsOrderAction>
MyShoppingListChangeTextLineItemsOrderActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
MyShoppingListChangeTextLineItemsOrderAction myShoppingListChangeTextLineItemsOrderAction = MyShoppingListChangeTextLineItemsOrderAction.builder()
.plusTextLineItemOrder(textLineItemOrderBuilder -> textLineItemOrderBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds MyShoppingListChangeTextLineItemsOrderAction with checking for non-null required valuesbuilds MyShoppingListChangeTextLineItemsOrderAction without checking for non-null required valuesAll existing TextLineItemid
s in the desired new order.of()
factory method for an instance of MyShoppingListChangeTextLineItemsOrderActionBuildercreate builder for MyShoppingListChangeTextLineItemsOrderAction instanceplusTextLineItemOrder
(String... textLineItemOrder) All existing TextLineItemid
s in the desired new order.textLineItemOrder
(String... textLineItemOrder) All existing TextLineItemid
s in the desired new order.textLineItemOrder
(List<String> textLineItemOrder) All existing TextLineItemid
s in the desired new order.
-
Constructor Details
-
MyShoppingListChangeTextLineItemsOrderActionBuilder
public MyShoppingListChangeTextLineItemsOrderActionBuilder()
-
-
Method Details
-
textLineItemOrder
public MyShoppingListChangeTextLineItemsOrderActionBuilder textLineItemOrder(String... textLineItemOrder) All existing TextLineItem
id
s in the desired new order.- Parameters:
textLineItemOrder
- value to be set- Returns:
- Builder
-
textLineItemOrder
public MyShoppingListChangeTextLineItemsOrderActionBuilder textLineItemOrder(List<String> textLineItemOrder) All existing TextLineItem
id
s in the desired new order.- Parameters:
textLineItemOrder
- value to be set- Returns:
- Builder
-
plusTextLineItemOrder
public MyShoppingListChangeTextLineItemsOrderActionBuilder plusTextLineItemOrder(String... textLineItemOrder) All existing TextLineItem
id
s in the desired new order.- Parameters:
textLineItemOrder
- value to be set- Returns:
- Builder
-
getTextLineItemOrder
All existing TextLineItem
id
s in the desired new order.- Returns:
- textLineItemOrder
-
build
builds MyShoppingListChangeTextLineItemsOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<MyShoppingListChangeTextLineItemsOrderAction>
- Returns:
- MyShoppingListChangeTextLineItemsOrderAction
-
buildUnchecked
builds MyShoppingListChangeTextLineItemsOrderAction without checking for non-null required values- Returns:
- MyShoppingListChangeTextLineItemsOrderAction
-
of
factory method for an instance of MyShoppingListChangeTextLineItemsOrderActionBuilder- Returns:
- builder
-
of
public static MyShoppingListChangeTextLineItemsOrderActionBuilder of(MyShoppingListChangeTextLineItemsOrderAction template) create builder for MyShoppingListChangeTextLineItemsOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-