Interface MyCustomerSignin


public interface MyCustomerSignin
MyCustomerSignin
Example to create an instance using the builder pattern

     MyCustomerSignin myCustomerSignin = MyCustomerSignin.builder()
             .email("{email}")
             .password("{password}")
             .build()
 
  • Method Details

    • getEmail

      @NotNull @NotNull String getEmail()

      Email address of the Customer treated as case-insensitive.

      Returns:
      email
    • getPassword

      @NotNull @NotNull String getPassword()

      Password of the Customer.

      Returns:
      password
    • getActiveCartSignInMode

      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.
      Returns:
      activeCartSignInMode
    • getUpdateProductData

      Boolean getUpdateProductData()

      Whether 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.

      Returns:
      updateProductData
    • setEmail

      void setEmail(String email)

      Email address of the Customer treated as case-insensitive.

      Parameters:
      email - value to be set
    • setPassword

      void setPassword(String password)

      Password of the Customer.

      Parameters:
      password - value to be set
    • setActiveCartSignInMode

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

      void setUpdateProductData(Boolean updateProductData)

      Whether 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.

      Parameters:
      updateProductData - value to be set
    • of

      static MyCustomerSignin of()
      factory method
      Returns:
      instance of MyCustomerSignin
    • of

      static MyCustomerSignin of(MyCustomerSignin template)
      factory method to create a shallow copy MyCustomerSignin
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      MyCustomerSignin copyDeep()
    • deepCopy

      @Nullable static MyCustomerSignin deepCopy(@Nullable MyCustomerSignin template)
      factory method to create a deep copy of MyCustomerSignin
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static MyCustomerSigninBuilder builder()
      builder factory method for MyCustomerSignin
      Returns:
      builder
    • builder

      static MyCustomerSigninBuilder builder(MyCustomerSignin template)
      create builder for MyCustomerSignin instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withMyCustomerSignin

      default <T> T withMyCustomerSignin(Function<MyCustomerSignin,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static tools.jackson.core.type.TypeReference<MyCustomerSignin> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference