/// <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 (PaymentProduct705SpecificData != null)
         {
             hashCode = hashCode * 59 + PaymentProduct705SpecificData.GetHashCode();
         }
         if (PaymentProduct730SpecificData != null)
         {
             hashCode = hashCode * 59 + PaymentProduct730SpecificData.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if MandateNonSepaDirectDebit instances are equal
        /// </summary>
        /// <param name="other">Instance of MandateNonSepaDirectDebit to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(MandateNonSepaDirectDebit other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     PaymentProduct705SpecificData == other.PaymentProduct705SpecificData ||
                     PaymentProduct705SpecificData != null &&
                     PaymentProduct705SpecificData.Equals(other.PaymentProduct705SpecificData)
                     ) &&
                 (
                     PaymentProduct730SpecificData == other.PaymentProduct730SpecificData ||
                     PaymentProduct730SpecificData != null &&
                     PaymentProduct730SpecificData.Equals(other.PaymentProduct730SpecificData)
                 ));
        }