Package com.commercetools.api.models.me
Interface MyShoppingListChangeTextLineItemsOrderAction
- All Superinterfaces:
MyShoppingListUpdateAction
,ResourceUpdateAction<MyShoppingListUpdateAction>
MyShoppingListChangeTextLineItemsOrderAction
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()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for MyShoppingListChangeTextLineItemsOrderAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for MyShoppingListChangeTextLineItemsOrderActioncreate builder for MyShoppingListChangeTextLineItemsOrderAction instancefactory method to create a deep copy of MyShoppingListChangeTextLineItemsOrderActionAll existing TextLineItemid
s in the desired new order.of()
factory methodfactory method to create a shallow copy MyShoppingListChangeTextLineItemsOrderActionvoid
setTextLineItemOrder
(String... textLineItemOrder) All existing TextLineItemid
s in the desired new order.void
setTextLineItemOrder
(List<String> textLineItemOrder) All existing TextLineItemid
s in the desired new order.static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListChangeTextLineItemsOrderAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withMyShoppingListChangeTextLineItemsOrderAction
(Function<MyShoppingListChangeTextLineItemsOrderAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyShoppingListUpdateAction
getAction, withMyShoppingListUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_TEXT_LINE_ITEMS_ORDER
discriminator value for MyShoppingListChangeTextLineItemsOrderAction- See Also:
-
-
Method Details
-
getTextLineItemOrder
All existing TextLineItem
id
s in the desired new order.- Returns:
- textLineItemOrder
-
setTextLineItemOrder
All existing TextLineItem
id
s in the desired new order.- Parameters:
textLineItemOrder
- values to be set
-
setTextLineItemOrder
All existing TextLineItem
id
s in the desired new order.- Parameters:
textLineItemOrder
- values to be set
-
of
factory method- Returns:
- instance of MyShoppingListChangeTextLineItemsOrderAction
-
of
static MyShoppingListChangeTextLineItemsOrderAction of(MyShoppingListChangeTextLineItemsOrderAction template) factory method to create a shallow copy MyShoppingListChangeTextLineItemsOrderAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static MyShoppingListChangeTextLineItemsOrderAction deepCopy(@Nullable MyShoppingListChangeTextLineItemsOrderAction template) factory method to create a deep copy of MyShoppingListChangeTextLineItemsOrderAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for MyShoppingListChangeTextLineItemsOrderAction- Returns:
- builder
-
builder
static MyShoppingListChangeTextLineItemsOrderActionBuilder builder(MyShoppingListChangeTextLineItemsOrderAction template) create builder for MyShoppingListChangeTextLineItemsOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withMyShoppingListChangeTextLineItemsOrderAction
default <T> T withMyShoppingListChangeTextLineItemsOrderAction(Function<MyShoppingListChangeTextLineItemsOrderAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListChangeTextLineItemsOrderAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-