@Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final SubscriptionNotes that = (SubscriptionNotes) o; if (termsAndConditions != null ? !termsAndConditions.equals(that.termsAndConditions) : that.termsAndConditions != null) { return false; } if (customerNotes != null ? !customerNotes.equals(that.customerNotes) : that.customerNotes != null) { return false; } if (customFields != null ? !customFields.equals(that.customFields) : that.customFields != null) { return false; } if (vatReverseChargeNotes != null ? !vatReverseChargeNotes.equals(that.vatReverseChargeNotes) : that.vatReverseChargeNotes != null) { return false; } if (gatewayCode != null ? !gatewayCode.equals(that.gatewayCode) : that.gatewayCode != null) { return false; } return true; }
@Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final SubscriptionUpdate that = (SubscriptionUpdate) o; if (collectionMethod != null ? !collectionMethod.equals(that.collectionMethod) : that.collectionMethod != null) { return false; } if (timeframe != that.timeframe) { return false; } if (couponCode != null ? !couponCode.equals(that.couponCode) : that.couponCode != null) { return false; } if (shippingAddress != null ? !shippingAddress.equals(that.shippingAddress) : that.shippingAddress != null) { return false; } if (shippingAddressId != null ? !shippingAddressId.equals(that.shippingAddressId) : that.shippingAddressId != null) { return false; } if (customFields != null ? !customFields.equals(that.customFields) : that.customFields != null) { return false; } return true; }
return false; if (customFields != null ? !customFields.equals(account.customFields) : account.customFields != null) { return false;
return false; if (customFields != null ? !customFields.equals(that.customFields) : that.customFields != null) { return false;