Class ShoppingListChangeLineItemsOrderActionImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListChangeLineItemsOrderActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListChangeLineItemsOrderAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListChangeLineItemsOrderActionImpl
extends Object
implements ShoppingListChangeLineItemsOrderAction, io.vrap.rmf.base.client.ModelBase
ShoppingListChangeLineItemsOrderAction
-
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.ShoppingListChangeLineItemsOrderAction
CHANGE_LINE_ITEMS_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
All existing ShoppingListLineItemid
s in the desired new order.int
hashCode()
void
setLineItemOrder
(String... lineItemOrder) All existing ShoppingListLineItemid
s in the desired new order.void
setLineItemOrder
(List<String> lineItemOrder) All existing ShoppingListLineItemid
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.ShoppingListChangeLineItemsOrderAction
withShoppingListChangeLineItemsOrderAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListChangeLineItemsOrderActionImpl
public ShoppingListChangeLineItemsOrderActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getLineItemOrder
All existing ShoppingListLineItem
id
s in the desired new order.- Specified by:
getLineItemOrder
in interfaceShoppingListChangeLineItemsOrderAction
- Returns:
- lineItemOrder
-
setLineItemOrder
Description copied from interface:ShoppingListChangeLineItemsOrderAction
All existing ShoppingListLineItem
id
s in the desired new order.- Specified by:
setLineItemOrder
in interfaceShoppingListChangeLineItemsOrderAction
- Parameters:
lineItemOrder
- values to be set
-
setLineItemOrder
Description copied from interface:ShoppingListChangeLineItemsOrderAction
All existing ShoppingListLineItem
id
s in the desired new order.- Specified by:
setLineItemOrder
in interfaceShoppingListChangeLineItemsOrderAction
- Parameters:
lineItemOrder
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-