public boolean equals()

in api/src/main/java/org/apache/fineract/cn/accounting/api/v1/domain/Account.java [178:191]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    Account account = (Account) o;
    return type == account.type &&
            Objects.equals(identifier, account.identifier) &&
            Objects.equals(name, account.name) &&
            Objects.equals(holders, account.holders) &&
            Objects.equals(signatureAuthorities, account.signatureAuthorities) &&
            Objects.equals(balance, account.balance) &&
            Objects.equals(referenceAccount, account.referenceAccount) &&
            Objects.equals(ledger, account.ledger) &&
            state == account.state;
  }