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