Class CustomerSignInResultImpl

java.lang.Object
com.commercetools.api.models.customer.CustomerSignInResultImpl
All Implemented Interfaces:
CustomerSignInResult, io.vrap.rmf.base.client.ModelBase

public class CustomerSignInResultImpl extends Object implements CustomerSignInResult, io.vrap.rmf.base.client.ModelBase
CustomerSignInResult
  • 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
     
    Cart associated with the Customer.
    Customer signed up or signed in after authentication.
    int
     
    void
    setCart(Cart cart)
    Cart associated with the Customer.
    void
    Customer signed up or signed in after authentication.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.customer.CustomerSignInResult

    withCustomerSignInResult

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • CustomerSignInResultImpl

      public CustomerSignInResultImpl()
      create empty instance
  • Method Details

    • getCustomer

      public Customer getCustomer()

      Customer signed up or signed in after authentication.

      Specified by:
      getCustomer in interface CustomerSignInResult
      Returns:
      customer
    • getCart

      public Cart getCart()

      Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

      Specified by:
      getCart in interface CustomerSignInResult
      Returns:
      cart
    • setCustomer

      public void setCustomer(Customer customer)
      Description copied from interface: CustomerSignInResult

      Customer signed up or signed in after authentication.

      Specified by:
      setCustomer in interface CustomerSignInResult
      Parameters:
      customer - value to be set
    • setCart

      public void setCart(Cart cart)
      Description copied from interface: CustomerSignInResult

      Cart associated with the Customer. If empty, the Customer does not have a Cart assigned.

      Specified by:
      setCart in interface CustomerSignInResult
      Parameters:
      cart - value to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object