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

            return
                ((
                     BillerCode == other.BillerCode ||
                     BillerCode != null &&
                     BillerCode.Equals(other.BillerCode)
                     ) &&
                 (
                     Crn == other.Crn ||
                     Crn != null &&
                     Crn.Equals(other.Crn)
                 ) &&
                 (
                     BillerName == other.BillerName ||
                     BillerName != null &&
                     BillerName.Equals(other.BillerName)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (BillerCode != null)
         {
             hashCode = hashCode * 59 + BillerCode.GetHashCode();
         }
         if (Crn != null)
         {
             hashCode = hashCode * 59 + Crn.GetHashCode();
         }
         if (BillerName != null)
         {
             hashCode = hashCode * 59 + BillerName.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (AccountId != null)
         {
             hashCode = hashCode * 59 + AccountId.GetHashCode();
         }
         if (TransactionId != null)
         {
             hashCode = hashCode * 59 + TransactionId.GetHashCode();
         }
         if (IsDetailAvailable != null)
         {
             hashCode = hashCode * 59 + IsDetailAvailable.GetHashCode();
         }
         if (Type != null)
         {
             hashCode = hashCode * 59 + Type.GetHashCode();
         }
         if (Status != null)
         {
             hashCode = hashCode * 59 + Status.GetHashCode();
         }
         if (Description != null)
         {
             hashCode = hashCode * 59 + Description.GetHashCode();
         }
         if (PostingDateTime != null)
         {
             hashCode = hashCode * 59 + PostingDateTime.GetHashCode();
         }
         if (ValueDateTime != null)
         {
             hashCode = hashCode * 59 + ValueDateTime.GetHashCode();
         }
         if (ExecutionDateTime != null)
         {
             hashCode = hashCode * 59 + ExecutionDateTime.GetHashCode();
         }
         if (Amount != null)
         {
             hashCode = hashCode * 59 + Amount.GetHashCode();
         }
         if (Currency != null)
         {
             hashCode = hashCode * 59 + Currency.GetHashCode();
         }
         if (Reference != null)
         {
             hashCode = hashCode * 59 + Reference.GetHashCode();
         }
         if (MerchantName != null)
         {
             hashCode = hashCode * 59 + MerchantName.GetHashCode();
         }
         if (MerchantCategoryCode != null)
         {
             hashCode = hashCode * 59 + MerchantCategoryCode.GetHashCode();
         }
         if (BillerCode != null)
         {
             hashCode = hashCode * 59 + BillerCode.GetHashCode();
         }
         if (BillerName != null)
         {
             hashCode = hashCode * 59 + BillerName.GetHashCode();
         }
         if (Crn != null)
         {
             hashCode = hashCode * 59 + Crn.GetHashCode();
         }
         if (ApcaNumber != null)
         {
             hashCode = hashCode * 59 + ApcaNumber.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if BankingTransaction instances are equal
        /// </summary>
        /// <param name="other">Instance of BankingTransaction to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(BankingTransaction other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     AccountId == other.AccountId ||
                     AccountId != null &&
                     AccountId.Equals(other.AccountId)
                     ) &&
                 (
                     TransactionId == other.TransactionId ||
                     TransactionId != null &&
                     TransactionId.Equals(other.TransactionId)
                 ) &&
                 (
                     IsDetailAvailable == other.IsDetailAvailable ||
                     IsDetailAvailable != null &&
                     IsDetailAvailable.Equals(other.IsDetailAvailable)
                 ) &&
                 (
                     Type == other.Type ||
                     Type != null &&
                     Type.Equals(other.Type)
                 ) &&
                 (
                     Status == other.Status ||
                     Status != null &&
                     Status.Equals(other.Status)
                 ) &&
                 (
                     Description == other.Description ||
                     Description != null &&
                     Description.Equals(other.Description)
                 ) &&
                 (
                     PostingDateTime == other.PostingDateTime ||
                     PostingDateTime != null &&
                     PostingDateTime.Equals(other.PostingDateTime)
                 ) &&
                 (
                     ValueDateTime == other.ValueDateTime ||
                     ValueDateTime != null &&
                     ValueDateTime.Equals(other.ValueDateTime)
                 ) &&
                 (
                     ExecutionDateTime == other.ExecutionDateTime ||
                     ExecutionDateTime != null &&
                     ExecutionDateTime.Equals(other.ExecutionDateTime)
                 ) &&
                 (
                     Amount == other.Amount ||
                     Amount != null &&
                     Amount.Equals(other.Amount)
                 ) &&
                 (
                     Currency == other.Currency ||
                     Currency != null &&
                     Currency.Equals(other.Currency)
                 ) &&
                 (
                     Reference == other.Reference ||
                     Reference != null &&
                     Reference.Equals(other.Reference)
                 ) &&
                 (
                     MerchantName == other.MerchantName ||
                     MerchantName != null &&
                     MerchantName.Equals(other.MerchantName)
                 ) &&
                 (
                     MerchantCategoryCode == other.MerchantCategoryCode ||
                     MerchantCategoryCode != null &&
                     MerchantCategoryCode.Equals(other.MerchantCategoryCode)
                 ) &&
                 (
                     BillerCode == other.BillerCode ||
                     BillerCode != null &&
                     BillerCode.Equals(other.BillerCode)
                 ) &&
                 (
                     BillerName == other.BillerName ||
                     BillerName != null &&
                     BillerName.Equals(other.BillerName)
                 ) &&
                 (
                     Crn == other.Crn ||
                     Crn != null &&
                     Crn.Equals(other.Crn)
                 ) &&
                 (
                     ApcaNumber == other.ApcaNumber ||
                     ApcaNumber != null &&
                     ApcaNumber.Equals(other.ApcaNumber)
                 ));
        }