Class ShoppingListSetCustomerActionImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListSetCustomerActionImpl
- All Implemented Interfaces:
ResourceUpdateAction<ShoppingListUpdateAction>
,ShoppingListSetCustomerAction
,ShoppingListUpdateAction
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListSetCustomerActionImpl
extends Object
implements ShoppingListSetCustomerAction, io.vrap.rmf.base.client.ModelBase
ShoppingListSetCustomerAction
-
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.ShoppingListSetCustomerAction
SET_CUSTOMER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The Customer the ShoppingList should be associated to.int
hashCode()
void
setCustomer
(CustomerResourceIdentifier customer) The Customer the ShoppingList should be associated to.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
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.ShoppingListSetCustomerAction
withShoppingListSetCustomerAction
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListUpdateAction
withShoppingListUpdateAction
-
Constructor Details
-
ShoppingListSetCustomerActionImpl
public ShoppingListSetCustomerActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ShoppingListUpdateAction>
- Specified by:
getAction
in interfaceShoppingListUpdateAction
- Returns:
- action
-
getCustomer
The Customer the ShoppingList should be associated to. If empty, any existing value will be removed.
- Specified by:
getCustomer
in interfaceShoppingListSetCustomerAction
- Returns:
- customer
-
setCustomer
Description copied from interface:ShoppingListSetCustomerAction
The Customer the ShoppingList should be associated to. If empty, any existing value will be removed.
- Specified by:
setCustomer
in interfaceShoppingListSetCustomerAction
- Parameters:
customer
- value to be set
-
equals
-
hashCode
-