Class ShoppingListChangeTextLineItemsOrderActionImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListChangeTextLineItemsOrderActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListChangeTextLineItemsOrderAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListChangeTextLineItemsOrderActionImpl
extends Object
implements ShoppingListChangeTextLineItemsOrderAction, io.vrap.rmf.base.client.ModelBase
ShoppingListChangeTextLineItemsOrderAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.shopping_list.ShoppingListChangeTextLineItemsOrderAction
CHANGE_TEXT_LINE_ITEMS_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Must contain all existing TextLineItemid
s in the desired new order.int
hashCode()
void
setTextLineItemOrder
(String... textLineItemOrder) Must contain all existing TextLineItemid
s in the desired new order.void
setTextLineItemOrder
(List<String> textLineItemOrder) Must contain all existing TextLineItemid
s in the desired new order.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListChangeTextLineItemsOrderAction
withShoppingListChangeTextLineItemsOrderAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListChangeTextLineItemsOrderActionImpl
public ShoppingListChangeTextLineItemsOrderActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getTextLineItemOrder
Must contain all existing TextLineItem
id
s in the desired new order.- Specified by:
getTextLineItemOrder
in interfaceShoppingListChangeTextLineItemsOrderAction
- Returns:
- textLineItemOrder
-
setTextLineItemOrder
Description copied from interface:ShoppingListChangeTextLineItemsOrderAction
Must contain all existing TextLineItem
id
s in the desired new order.- Specified by:
setTextLineItemOrder
in interfaceShoppingListChangeTextLineItemsOrderAction
- Parameters:
textLineItemOrder
- values to be set
-
setTextLineItemOrder
Description copied from interface:ShoppingListChangeTextLineItemsOrderAction
Must contain all existing TextLineItem
id
s in the desired new order.- Specified by:
setTextLineItemOrder
in interfaceShoppingListChangeTextLineItemsOrderAction
- Parameters:
textLineItemOrder
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-