/// <summary> /// Returns true if FinancingInterestRate instances are equal /// </summary> /// <param name="other">Instance of FinancingInterestRate to be compared</param> /// <returns>Boolean</returns> public bool Equals(FinancingInterestRate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Fees == other.Fees || Fees != null && Fees.SequenceEqual(other.Fees) ) && ( Applications == other.Applications || Applications != null && Applications.SequenceEqual(other.Applications) ) && ( MinimumRate == other.MinimumRate || MinimumRate != null && MinimumRate.Equals(other.MinimumRate) ) && ( MaximumRate == other.MaximumRate || MaximumRate != null && MaximumRate.Equals(other.MaximumRate) )); }
/// <summary> /// Returns true if InterestRate instances are equal /// </summary> /// <param name="other">Instance of InterestRate to be compared</param> /// <returns>Boolean</returns> public bool Equals(InterestRate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Fees == other.Fees || Fees != null && Fees.SequenceEqual(other.Fees) ) && ( Prices == other.Prices || Prices != null && Prices.SequenceEqual(other.Prices) ) && ( MinimumRate == other.MinimumRate || MinimumRate != null && MinimumRate.Equals(other.MinimumRate) ) && ( MaximumRate == other.MaximumRate || MaximumRate != null && MaximumRate.Equals(other.MaximumRate) )); }
/// <summary> /// Returns true if UnarrangedAccountOverdraftRate instances are equal /// </summary> /// <param name="other">Instance of UnarrangedAccountOverdraftRate to be compared</param> /// <returns>Boolean</returns> public bool Equals(UnarrangedAccountOverdraftRate other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Fees == other.Fees || Fees != null && Fees.SequenceEqual(other.Fees) ) && ( Applications == other.Applications || Applications != null && Applications.SequenceEqual(other.Applications) ) && ( MinimumRate == other.MinimumRate || MinimumRate != null && MinimumRate.Equals(other.MinimumRate) ) && ( MaximumRate == other.MaximumRate || MaximumRate != null && MaximumRate.Equals(other.MaximumRate) ) && ( Customers == other.Customers || Customers != null && Customers.SequenceEqual(other.Customers) )); }