in api/src/main/java/org/apache/fineract/cn/portfolio/api/v1/domain/PaymentCycle.java [106:115]
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PaymentCycle that = (PaymentCycle) o;
return temporalUnit == that.temporalUnit &&
Objects.equals(period, that.period) &&
Objects.equals(alignmentDay, that.alignmentDay) &&
Objects.equals(alignmentWeek, that.alignmentWeek) &&
Objects.equals(alignmentMonth, that.alignmentMonth);
}