Class CustomerAccount

java.lang.Object
com.broadleafcommerce.auth.resource.domain.CustomerAccount
All Implemented Interfaces:
Serializable

public class CustomerAccount extends Object implements Serializable
Links an account id to its parent account id.
Author:
Cade Rea (cade-rea)
See Also:
  • Constructor Details

    • CustomerAccount

      public CustomerAccount()
  • Method Details

    • getId

      public String getId()
      The unique identifier for this account.
    • getParentAccountId

      @Nullable public String getParentAccountId()
      The parent account id for this account. If this account does not have a parent, this value will be null.
    • isActive

      public boolean isActive()
      Whether this account is active.
    • getAccountNumber

      public String getAccountNumber()
      The account number associated with this account.
      Since:
      Authentication Services 2.3.0, Release Train 2.3.0
    • setId

      public void setId(String id)
      The unique identifier for this account.
    • setParentAccountId

      public void setParentAccountId(@Nullable String parentAccountId)
      The parent account id for this account. If this account does not have a parent, this value will be null.
    • setActive

      public void setActive(boolean active)
      Whether this account is active.
    • setAccountNumber

      public void setAccountNumber(String accountNumber)
      The account number associated with this account.
      Since:
      Authentication Services 2.3.0, Release Train 2.3.0
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object