/// <summary>
        /// Returns true if BankingAccountDiscountEligibility instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingAccountDiscountEligibility to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingAccountDiscountEligibility other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     DiscountEligibilityType == other.DiscountEligibilityType ||
                     DiscountEligibilityType != null &&
                     DiscountEligibilityType.Equals(other.DiscountEligibilityType)
                     ) &&
                 (
                     AdditionalValue == other.AdditionalValue ||
                     AdditionalValue != null &&
                     AdditionalValue.Equals(other.AdditionalValue)
                 ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ));
        }
        /// <summary>
        /// Returns true if ElectronicChannelIdentification instances are equal
        /// </summary>
        /// <param name="other">Instance of ElectronicChannelIdentification to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ElectronicChannelIdentification other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                     ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     Urls == other.Urls ||
                     Urls != null &&
                     Urls.SequenceEqual(other.Urls)
                 ));
        }
Example #3
0
        /// <summary>
        /// Returns true if CreditCardTermsConditions instances are equal
        /// </summary>
        /// <param name="other">Instance of CreditCardTermsConditions to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(CreditCardTermsConditions other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     MinimumFeeRate == other.MinimumFeeRate ||
                     MinimumFeeRate != null &&
                     MinimumFeeRate.Equals(other.MinimumFeeRate)
                     ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     ElegibilityCriteriaInfo == other.ElegibilityCriteriaInfo ||
                     ElegibilityCriteriaInfo != null &&
                     ElegibilityCriteriaInfo.Equals(other.ElegibilityCriteriaInfo)
                 ) &&
                 (
                     ClosingProcessInfo == other.ClosingProcessInfo ||
                     ClosingProcessInfo != null &&
                     ClosingProcessInfo.Equals(other.ClosingProcessInfo)
                 ));
        }
Example #4
0
        /// <summary>
        /// Returns true if PhoneChannelIdentification instances are equal
        /// </summary>
        /// <param name="other">Instance of PhoneChannelIdentification to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(PhoneChannelIdentification other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                     ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     Phones == other.Phones ||
                     Phones != null &&
                     Phones.SequenceEqual(other.Phones)
                 ));
        }
Example #5
0
        /// <summary>
        /// Returns true if BankingProductLendingRate instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingProductLendingRate to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingProductLendingRate other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     LendingRateType == other.LendingRateType ||
                     LendingRateType != null &&
                     LendingRateType.Equals(other.LendingRateType)
                     ) &&
                 (
                     Rate == other.Rate ||
                     Rate != null &&
                     Rate.Equals(other.Rate)
                 ) &&
                 (
                     CalculationFrequency == other.CalculationFrequency ||
                     CalculationFrequency != null &&
                     CalculationFrequency.Equals(other.CalculationFrequency)
                 ) &&
                 (
                     ApplicationFrequency == other.ApplicationFrequency ||
                     ApplicationFrequency != null &&
                     ApplicationFrequency.Equals(other.ApplicationFrequency)
                 ) &&
                 (
                     PaymentStructureType == other.PaymentStructureType ||
                     PaymentStructureType != null &&
                     PaymentStructureType.Equals(other.PaymentStructureType)
                 ) &&
                 (
                     Tier == other.Tier ||
                     Tier != null &&
                     Tier.Equals(other.Tier)
                 ) &&
                 (
                     AdditionalValue == other.AdditionalValue ||
                     AdditionalValue != null &&
                     AdditionalValue.Equals(other.AdditionalValue)
                 ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ));
        }
        /// <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)
                 ));
        }
Example #7
0
        /// <summary>
        /// Returns true if Address instances are equal
        /// </summary>
        /// <param name="other">Instance of Address to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(Address other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                     ) &&
                 (
                     City == other.City ||
                     City != null &&
                     City.Equals(other.City)
                 ) &&
                 (
                     CountryCode == other.CountryCode ||
                     CountryCode != null &&
                     CountryCode.Equals(other.CountryCode)
                 ) &&
                 (
                     HouseNumber == other.HouseNumber ||
                     HouseNumber != null &&
                     HouseNumber.Equals(other.HouseNumber)
                 ) &&
                 (
                     State == other.State ||
                     State != null &&
                     State.Equals(other.State)
                 ) &&
                 (
                     StateCode == other.StateCode ||
                     StateCode != null &&
                     StateCode.Equals(other.StateCode)
                 ) &&
                 (
                     Street == other.Street ||
                     Street != null &&
                     Street.Equals(other.Street)
                 ) &&
                 (
                     Zip == other.Zip ||
                     Zip != null &&
                     Zip.Equals(other.Zip)
                 ));
        }
        /// <summary>
        /// Returns true if BankingAccountDepositRate instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingAccountDepositRate to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingAccountDepositRate other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     DepositRateType == other.DepositRateType ||
                     DepositRateType != null &&
                     DepositRateType.Equals(other.DepositRateType)
                     ) &&
                 (
                     Rate == other.Rate ||
                     Rate != null &&
                     Rate.Equals(other.Rate)
                 ) &&
                 (
                     CalculationFrequency == other.CalculationFrequency ||
                     CalculationFrequency != null &&
                     CalculationFrequency.Equals(other.CalculationFrequency)
                 ) &&
                 (
                     ApplicationFrequency == other.ApplicationFrequency ||
                     ApplicationFrequency != null &&
                     ApplicationFrequency.Equals(other.ApplicationFrequency)
                 ) &&
                 (
                     AdditionalValue == other.AdditionalValue ||
                     AdditionalValue != null &&
                     AdditionalValue.Equals(other.AdditionalValue)
                 ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ));
        }
        /// <summary>
        /// Returns true if BankingProductRateCondition instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingProductRateCondition to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingProductRateCondition other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                     ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ));
        }
        /// <summary>
        /// Returns true if SharedAutomatedTellerMachinesPostalAddress instances are equal
        /// </summary>
        /// <param name="other">Instance of SharedAutomatedTellerMachinesPostalAddress to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(SharedAutomatedTellerMachinesPostalAddress other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Address == other.Address ||
                     Address != null &&
                     Address.Equals(other.Address)
                     ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     DistrictName == other.DistrictName ||
                     DistrictName != null &&
                     DistrictName.Equals(other.DistrictName)
                 ) &&
                 (
                     TownName == other.TownName ||
                     TownName != null &&
                     TownName.Equals(other.TownName)
                 ) &&
                 (
                     IbgeCode == other.IbgeCode ||
                     IbgeCode != null &&
                     IbgeCode.Equals(other.IbgeCode)
                 ) &&
                 (
                     CountrySubDivision == other.CountrySubDivision ||
                     CountrySubDivision != null &&
                     CountrySubDivision.Equals(other.CountrySubDivision)
                 ) &&
                 (
                     PostCode == other.PostCode ||
                     PostCode != null &&
                     PostCode.Equals(other.PostCode)
                 ) &&
                 (
                     Country == other.Country ||
                     Country != null &&
                     Country.Equals(other.Country)
                 ) &&
                 (
                     CountryCode == other.CountryCode ||
                     CountryCode != null &&
                     CountryCode.Equals(other.CountryCode)
                 ) &&
                 (
                     GeographicCoordinates == other.GeographicCoordinates ||
                     GeographicCoordinates != null &&
                     GeographicCoordinates.Equals(other.GeographicCoordinates)
                 ));
        }
        /// <summary>
        /// Returns true if BankingProductFee instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingProductFee to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingProductFee other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                     ) &&
                 (
                     FeeType == other.FeeType ||
                     FeeType != null &&
                     FeeType.Equals(other.FeeType)
                 ) &&
                 (
                     Amount == other.Amount ||
                     Amount != null &&
                     Amount.Equals(other.Amount)
                 ) &&
                 (
                     BalanceRate == other.BalanceRate ||
                     BalanceRate != null &&
                     BalanceRate.Equals(other.BalanceRate)
                 ) &&
                 (
                     TransactionRate == other.TransactionRate ||
                     TransactionRate != null &&
                     TransactionRate.Equals(other.TransactionRate)
                 ) &&
                 (
                     AccruedRate == other.AccruedRate ||
                     AccruedRate != null &&
                     AccruedRate.Equals(other.AccruedRate)
                 ) &&
                 (
                     AccrualFrequency == other.AccrualFrequency ||
                     AccrualFrequency != null &&
                     AccrualFrequency.Equals(other.AccrualFrequency)
                 ) &&
                 (
                     Currency == other.Currency ||
                     Currency != null &&
                     Currency.Equals(other.Currency)
                 ) &&
                 (
                     AdditionalValue == other.AdditionalValue ||
                     AdditionalValue != null &&
                     AdditionalValue.Equals(other.AdditionalValue)
                 ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ) &&
                 (
                     Discounts == other.Discounts ||
                     Discounts != null &&
                     Discounts.SequenceEqual(other.Discounts)
                 ));
        }
        /// <summary>
        /// Returns true if BankingAccountDiscount instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingAccountDiscount to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingAccountDiscount other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Description == other.Description ||
                     Description != null &&
                     Description.Equals(other.Description)
                     ) &&
                 (
                     DiscountType == other.DiscountType ||
                     DiscountType != null &&
                     DiscountType.Equals(other.DiscountType)
                 ) &&
                 (
                     Amount == other.Amount ||
                     Amount != null &&
                     Amount.Equals(other.Amount)
                 ) &&
                 (
                     BalanceRate == other.BalanceRate ||
                     BalanceRate != null &&
                     BalanceRate.Equals(other.BalanceRate)
                 ) &&
                 (
                     TransactionRate == other.TransactionRate ||
                     TransactionRate != null &&
                     TransactionRate.Equals(other.TransactionRate)
                 ) &&
                 (
                     AccruedRate == other.AccruedRate ||
                     AccruedRate != null &&
                     AccruedRate.Equals(other.AccruedRate)
                 ) &&
                 (
                     AdditionalValue == other.AdditionalValue ||
                     AdditionalValue != null &&
                     AdditionalValue.Equals(other.AdditionalValue)
                 ) &&
                 (
                     Eligibility == other.Eligibility ||
                     Eligibility != null &&
                     Eligibility.SequenceEqual(other.Eligibility)
                 ) &&
                 (
                     AdditionalInfo == other.AdditionalInfo ||
                     AdditionalInfo != null &&
                     AdditionalInfo.Equals(other.AdditionalInfo)
                 ) &&
                 (
                     AdditionalInfoUri == other.AdditionalInfoUri ||
                     AdditionalInfoUri != null &&
                     AdditionalInfoUri.Equals(other.AdditionalInfoUri)
                 ));
        }