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

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

            return
                ((
                     Cavv == other.Cavv ||
                     Cavv != null &&
                     Cavv.Equals(other.Cavv)
                     ) &&
                 (
                     CavvAlgorithm == other.CavvAlgorithm ||
                     CavvAlgorithm != null &&
                     CavvAlgorithm.Equals(other.CavvAlgorithm)
                 ) &&
                 (
                     Eci == other.Eci ||
                     Eci != null &&
                     Eci.Equals(other.Eci)
                 ) &&
                 (
                     ValidationResult == other.ValidationResult ||
                     ValidationResult != null &&
                     ValidationResult.Equals(other.ValidationResult)
                 ) &&
                 (
                     Xid == other.Xid ||
                     Xid != null &&
                     Xid.Equals(other.Xid)
                 ));
        }