@Override public boolean equals(final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } final BundleTimelineJson that = (BundleTimelineJson) o; if (bundle != null ? !bundle.equals(that.bundle) : that.bundle != null) { return false; } if (invoices != null ? !invoices.equals(that.invoices) : that.invoices != null) { return false; } if (payments != null ? !payments.equals(that.payments) : that.payments != null) { return false; } if (reasonForChange != null ? !reasonForChange.equals(that.reasonForChange) : that.reasonForChange != null) { return false; } if (viewId != null ? !viewId.equals(that.viewId) : that.viewId != null) { return false; } return true; }