/// <summary> /// Returns true if PersonalUnarrangedAccountOverdraft instances are equal /// </summary> /// <param name="other">Instance of PersonalUnarrangedAccountOverdraft to be compared</param> /// <returns>Boolean</returns> public bool Equals(PersonalUnarrangedAccountOverdraft other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Fees == other.Fees || Fees != null && Fees.Equals(other.Fees) ) && ( InterestRate == other.InterestRate || InterestRate != null && InterestRate.Equals(other.InterestRate) ) && ( TermsConditions == other.TermsConditions || TermsConditions != null && TermsConditions.Equals(other.TermsConditions) )); }
/// <summary> /// Returns true if PersonalAccount instances are equal /// </summary> /// <param name="other">Instance of PersonalAccount to be compared</param> /// <returns>Boolean</returns> public bool Equals(PersonalAccount other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( Fees == other.Fees || Fees != null && Fees.Equals(other.Fees) ) && ( ServiceBundles == other.ServiceBundles || ServiceBundles != null && ServiceBundles.SequenceEqual(other.ServiceBundles) ) && ( OpeningClosingChannels == other.OpeningClosingChannels || OpeningClosingChannels != null && OpeningClosingChannels.SequenceEqual(other.OpeningClosingChannels) ) && ( AdditionalInfo == other.AdditionalInfo || AdditionalInfo != null && AdditionalInfo.Equals(other.AdditionalInfo) ) && ( TransactionMethods == other.TransactionMethods || TransactionMethods != null && TransactionMethods.SequenceEqual(other.TransactionMethods) ) && ( TermsConditions == other.TermsConditions || TermsConditions != null && TermsConditions.Equals(other.TermsConditions) ) && ( IncomeRate == other.IncomeRate || IncomeRate != null && IncomeRate.Equals(other.IncomeRate) )); }
/// <summary> /// Returns true if CreditCard instances are equal /// </summary> /// <param name="other">Instance of CreditCard to be compared</param> /// <returns>Boolean</returns> public bool Equals(CreditCard other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Identification == other.Identification || Identification != null && Identification.Equals(other.Identification) ) && ( RewardsProgram == other.RewardsProgram || RewardsProgram != null && RewardsProgram.Equals(other.RewardsProgram) ) && ( Fees == other.Fees || Fees != null && Fees.Equals(other.Fees) ) && ( Interest == other.Interest || Interest != null && Interest.Equals(other.Interest) ) && ( TermsConditions == other.TermsConditions || TermsConditions != null && TermsConditions.Equals(other.TermsConditions) )); }
/// <summary> /// Returns true if BusinessInvoiceFinancings instances are equal /// </summary> /// <param name="other">Instance of BusinessInvoiceFinancings to be compared</param> /// <returns>Boolean</returns> public bool Equals(BusinessInvoiceFinancings other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( Fees == other.Fees || Fees != null && Fees.Equals(other.Fees) ) && ( InterestRate == other.InterestRate || InterestRate != null && InterestRate.Equals(other.InterestRate) ) && ( RequiredWarranties == other.RequiredWarranties || RequiredWarranties != null && RequiredWarranties.SequenceEqual(other.RequiredWarranties) ) && ( TermsConditions == other.TermsConditions || TermsConditions != null && TermsConditions.Equals(other.TermsConditions) )); }