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

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    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.
    Email address of the Customer treated as case-insensitive.
    Password of the Customer.
    If true, the LineItem Product data (name, variant, and productType) of the returned Cart is updated. If false, only the prices, discounts, and tax rates are updated.
    int
     
    void
    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.
    void
    Email address of the Customer treated as case-insensitive.
    void
    setPassword(String password)
    Password of the Customer.
    void
    setUpdateProductData(Boolean updateProductData)
    If true, the LineItem Product data (name, variant, and productType) of the returned Cart is updated. If false, 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

      public String getEmail()

      Email address of the Customer treated as case-insensitive.

      Specified by:
      getEmail in interface MyCustomerSignin
      Returns:
      email
    • getPassword

      public String getPassword()

      Password of the Customer.

      Specified by:
      getPassword in interface MyCustomerSignin
      Returns:
      password
    • getActiveCartSignInMode

      public AnonymousCartSignInMode 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 interface MyCustomerSignin
      Returns:
      activeCartSignInMode
    • getUpdateProductData

      public Boolean getUpdateProductData()
      • If true, the LineItem Product data (name, variant, and productType) of the returned Cart is updated.
      • If false, only the prices, discounts, and tax rates are updated.
      Specified by:
      getUpdateProductData in interface MyCustomerSignin
      Returns:
      updateProductData
    • setEmail

      public void setEmail(String email)
      Description copied from interface: MyCustomerSignin

      Email address of the Customer treated as case-insensitive.

      Specified by:
      setEmail in interface MyCustomerSignin
      Parameters:
      email - value to be set
    • setPassword

      public void setPassword(String password)
      Description copied from interface: MyCustomerSignin

      Password of the Customer.

      Specified by:
      setPassword in interface MyCustomerSignin
      Parameters:
      password - value to be set
    • setActiveCartSignInMode

      public void setActiveCartSignInMode(AnonymousCartSignInMode activeCartSignInMode)
      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 interface MyCustomerSignin
      Parameters:
      activeCartSignInMode - value to be set
    • setUpdateProductData

      public void setUpdateProductData(Boolean updateProductData)
      Description copied from interface: MyCustomerSignin
      • If true, the LineItem Product data (name, variant, and productType) of the returned Cart is updated.
      • If false, only the prices, discounts, and tax rates are updated.
      Specified by:
      setUpdateProductData in interface MyCustomerSignin
      Parameters:
      updateProductData - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object