Class ShoppingListSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListSetCustomTypeActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListSetCustomTypeAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListSetCustomTypeActionImpl
extends Object
implements ShoppingListSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
ShoppingListSetCustomTypeAction
-
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.ShoppingListSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the ShoppingList.getType()
Defines the Type that extends the ShoppingList with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the ShoppingList.void
Defines the Type that extends the ShoppingList 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.ShoppingListSetCustomTypeAction
withShoppingListSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListSetCustomTypeActionImpl
public ShoppingListSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getType
Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Specified by:
getType
in interfaceShoppingListSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the ShoppingList.
- Specified by:
getFields
in interfaceShoppingListSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:ShoppingListSetCustomTypeAction
Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Specified by:
setType
in interfaceShoppingListSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:ShoppingListSetCustomTypeAction
Sets the Custom Fields fields for the ShoppingList.
- Specified by:
setFields
in interfaceShoppingListSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-