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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for MyShoppingListChangeTextLineItemsOrderAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for MyShoppingListChangeTextLineItemsOrderActioncreate builder for MyShoppingListChangeTextLineItemsOrderAction instancecopyDeep()factory method to create a deep copy of MyShoppingListChangeTextLineItemsOrderActionAll existing TextLineItemids in the desired new order.of()factory methodfactory method to create a shallow copy MyShoppingListChangeTextLineItemsOrderActionvoidsetTextLineItemOrder(String... textLineItemOrder) All existing TextLineItemids in the desired new order.voidsetTextLineItemOrder(List<String> textLineItemOrder) All existing TextLineItemids in the desired new order.static com.fasterxml.jackson.core.type.TypeReference<MyShoppingListChangeTextLineItemsOrderAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithMyShoppingListChangeTextLineItemsOrderAction(Function<MyShoppingListChangeTextLineItemsOrderAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.me.MyShoppingListUpdateAction
getAction, withMyShoppingListUpdateActionMethods 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
ids in the desired new order.- Returns:
- textLineItemOrder
-
setTextLineItemOrder
All existing TextLineItem
ids in the desired new order.- Parameters:
textLineItemOrder- values to be set
-
setTextLineItemOrder
All existing TextLineItem
ids 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
-
copyDeep
MyShoppingListChangeTextLineItemsOrderAction copyDeep()- Specified by:
copyDeepin interfaceMyShoppingListUpdateAction
-
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
-