Class CustomerSetAuthenticationModeActionImpl
java.lang.Object
com.commercetools.api.models.customer.CustomerSetAuthenticationModeActionImpl
- All Implemented Interfaces:
CustomerSetAuthenticationModeAction
,CustomerUpdateAction
,ResourceUpdateAction<CustomerUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CustomerSetAuthenticationModeActionImpl
extends Object
implements CustomerSetAuthenticationModeAction, io.vrap.rmf.base.client.ModelBase
CustomerSetAuthenticationModeAction
-
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.CustomerSetAuthenticationModeAction
SET_AUTHENTICATION_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.Required whenauthMode
isPassword
.int
hashCode()
void
setAuthMode
(AuthenticationMode authMode) Value to set.void
setPassword
(String password) Required whenauthMode
isPassword
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.customer.CustomerSetAuthenticationModeAction
withCustomerSetAuthenticationModeAction
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
-
CustomerSetAuthenticationModeActionImpl
public CustomerSetAuthenticationModeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCustomerUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CustomerUpdateAction>
- Returns:
- action
-
getAuthMode
Value to set. Changing a Customer's
authMode
fromPassword
toExternalAuth
deletes the Customer's password.- Specified by:
getAuthMode
in interfaceCustomerSetAuthenticationModeAction
- Returns:
- authMode
-
getPassword
Required when
authMode
isPassword
.- Specified by:
getPassword
in interfaceCustomerSetAuthenticationModeAction
- Returns:
- password
-
setAuthMode
Description copied from interface:CustomerSetAuthenticationModeAction
Value to set. Changing a Customer's
authMode
fromPassword
toExternalAuth
deletes the Customer's password.- Specified by:
setAuthMode
in interfaceCustomerSetAuthenticationModeAction
- Parameters:
authMode
- value to be set
-
setPassword
Description copied from interface:CustomerSetAuthenticationModeAction
Required when
authMode
isPassword
.- Specified by:
setPassword
in interfaceCustomerSetAuthenticationModeAction
- Parameters:
password
- value to be set
-
equals
-
hashCode
public int hashCode()
-