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