Class CustomerSetStoresActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerSetStoresActionImpl
- All Implemented Interfaces:
CustomerSetStoresAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerSetStoresActionImpl
extends Object
implements CustomerSetStoresAction, io.vrap.rmf.base.client.ModelBase
Sets the Stores the Customer account is associated with. If no Stores are specified, the Customer becomes a global Customer.
-
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.customer.CustomerSetStoresAction
SET_STORES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
ResourceIdentifier of the Stores to set.int
hashCode()
void
setStores
(StoreResourceIdentifier... stores) ResourceIdentifier of the Stores to set.void
setStores
(List<StoreResourceIdentifier> stores) ResourceIdentifier of the Stores to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerSetStoresAction
withCustomerSetStoresAction
Methods inherited from interface com.commercetools.api.models.customer.CustomerUpdateAction
withCustomerUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CustomerSetStoresActionImpl
public CustomerSetStoresActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getStores
ResourceIdentifier of the Stores to set.
- Specified by:
getStores
in interfaceCustomerSetStoresAction
- Returns:
- stores
-
setStores
Description copied from interface:CustomerSetStoresAction
ResourceIdentifier of the Stores to set.
- Specified by:
setStores
in interfaceCustomerSetStoresAction
- Parameters:
stores
- values to be set
-
setStores
Description copied from interface:CustomerSetStoresAction
ResourceIdentifier of the Stores to set.
- Specified by:
setStores
in interfaceCustomerSetStoresAction
- Parameters:
stores
- values to be set
-
equals
-
hashCode
-