Class MyCustomerSigninImpl
java.lang.Object
com.commercetools.api.models.customer.MyCustomerSigninImpl
- All Implemented Interfaces:
MyCustomerSignin
,io.vrap.rmf.base.client.ModelBase
public class MyCustomerSigninImpl
extends Object
implements MyCustomerSignin, io.vrap.rmf.base.client.ModelBase
MyCustomerSignin
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
IfMergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. IfUseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.getEmail()
Email address of the Customer treated as case-insensitive.Password of the Customer.Iftrue
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. Iffalse
, only the prices, discounts, and tax rates are updated.int
hashCode()
void
setActiveCartSignInMode
(AnonymousCartSignInMode activeCartSignInMode) IfMergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. IfUseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.void
Email address of the Customer treated as case-insensitive.void
setPassword
(String password) Password of the Customer.void
setUpdateProductData
(Boolean updateProductData) Iftrue
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. Iffalse
, only the prices, discounts, and tax rates are updated.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.customer.MyCustomerSignin
withMyCustomerSignin
-
Constructor Details
-
MyCustomerSigninImpl
public MyCustomerSigninImpl()create empty instance
-
-
Method Details
-
getEmail
Email address of the Customer treated as case-insensitive.
- Specified by:
getEmail
in interfaceMyCustomerSignin
- Returns:
-
getPassword
Password of the Customer.
- Specified by:
getPassword
in interfaceMyCustomerSignin
- Returns:
- password
-
getActiveCartSignInMode
- If
MergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. - If
UseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.
- Specified by:
getActiveCartSignInMode
in interfaceMyCustomerSignin
- Returns:
- activeCartSignInMode
- If
-
getUpdateProductData
- If
true
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. - If
false
, only the prices, discounts, and tax rates are updated.
- Specified by:
getUpdateProductData
in interfaceMyCustomerSignin
- Returns:
- updateProductData
- If
-
setEmail
Description copied from interface:MyCustomerSignin
Email address of the Customer treated as case-insensitive.
- Specified by:
setEmail
in interfaceMyCustomerSignin
- Parameters:
email
- value to be set
-
setPassword
Description copied from interface:MyCustomerSignin
Password of the Customer.
- Specified by:
setPassword
in interfaceMyCustomerSignin
- Parameters:
password
- value to be set
-
setActiveCartSignInMode
Description copied from interface:MyCustomerSignin
- If
MergeWithExistingCustomerCart
, LineItems of the anonymous Cart are merged with the recently modified active Customer Cart. - If
UseAsNewActiveCustomerCart
, the anonymous Cart is used as the new active Customer Cart, and no LineItems are merged.
- Specified by:
setActiveCartSignInMode
in interfaceMyCustomerSignin
- Parameters:
activeCartSignInMode
- value to be set
- If
-
setUpdateProductData
Description copied from interface:MyCustomerSignin
- If
true
, the LineItem Product data (name
,variant
, andproductType
) of the returned Cart is updated. - If
false
, only the prices, discounts, and tax rates are updated.
- Specified by:
setUpdateProductData
in interfaceMyCustomerSignin
- Parameters:
updateProductData
- value to be set
- If
-
equals
-
hashCode
public int hashCode()
-