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

            return
                ((
                     CustomerUType == other.CustomerUType ||
                     CustomerUType != null &&
                     CustomerUType.Equals(other.CustomerUType)
                     ) &&
                 (
                     Person == other.Person ||
                     Person != null &&
                     Person.Equals(other.Person)
                 ) &&
                 (
                     Organisation == other.Organisation ||
                     Organisation != null &&
                     Organisation.Equals(other.Organisation)
                 ));
        }
 /// <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 (CustomerUType != null)
         {
             hashCode = hashCode * 59 + CustomerUType.GetHashCode();
         }
         if (Person != null)
         {
             hashCode = hashCode * 59 + Person.GetHashCode();
         }
         if (Organisation != null)
         {
             hashCode = hashCode * 59 + Organisation.GetHashCode();
         }
         return(hashCode);
     }
 }