Class ShoppingListSetLineItemCustomTypeActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListSetLineItemCustomTypeAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
-
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.ShoppingListSetLineItemCustomTypeAction
SET_LINE_ITEM_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the ShoppingListLineItem.Theid
of the ShoppingListLineItem to update.Thekey
of the ShoppingListLineItem to update.getType()
Defines the Type that extends the ShoppingListLineItem with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the ShoppingListLineItem.void
setLineItemId
(String lineItemId) Theid
of the ShoppingListLineItem to update.void
setLineItemKey
(String lineItemKey) Thekey
of the ShoppingListLineItem to update.void
Defines the Type that extends the ShoppingListLineItem with Custom Fields.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.ShoppingListSetLineItemCustomTypeAction
withShoppingListSetLineItemCustomTypeAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListSetLineItemCustomTypeActionImpl
public ShoppingListSetLineItemCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getLineItemId
The
id
of the ShoppingListLineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemId
in interfaceShoppingListSetLineItemCustomTypeAction
- Returns:
- lineItemId
-
getLineItemKey
The
key
of the ShoppingListLineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemKey
in interfaceShoppingListSetLineItemCustomTypeAction
- Returns:
- lineItemKey
-
getType
Defines the Type that extends the ShoppingListLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingListLineItem.
- Specified by:
getType
in interfaceShoppingListSetLineItemCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the ShoppingListLineItem.
- Specified by:
getFields
in interfaceShoppingListSetLineItemCustomTypeAction
- Returns:
- fields
-
setLineItemId
Description copied from interface:ShoppingListSetLineItemCustomTypeAction
The
id
of the ShoppingListLineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemId
in interfaceShoppingListSetLineItemCustomTypeAction
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:ShoppingListSetLineItemCustomTypeAction
The
key
of the ShoppingListLineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemKey
in interfaceShoppingListSetLineItemCustomTypeAction
- Parameters:
lineItemKey
- value to be set
-
setType
Description copied from interface:ShoppingListSetLineItemCustomTypeAction
Defines the Type that extends the ShoppingListLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingListLineItem.
- Specified by:
setType
in interfaceShoppingListSetLineItemCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:ShoppingListSetLineItemCustomTypeAction
Sets the Custom Fields fields for the ShoppingListLineItem.
- Specified by:
setFields
in interfaceShoppingListSetLineItemCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-