public boolean equals()

in api/src/main/java/org/apache/fineract/cn/accounting/api/v1/domain/Creditor.java [60:66]


  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    Creditor creditor = (Creditor) o;
    return Objects.equals(accountNumber, creditor.accountNumber) &&
            Objects.equals(amount, creditor.amount);
  }