public bool Equals(DestinyVendorActionDefinition input) { if (input == null) { return(false); } return (( Description == input.Description || (Description != null && Description.Equals(input.Description)) ) && ( ExecuteSeconds == input.ExecuteSeconds || (ExecuteSeconds.Equals(input.ExecuteSeconds)) ) && ( Icon == input.Icon || (Icon != null && Icon.Equals(input.Icon)) ) && ( Name == input.Name || (Name != null && Name.Equals(input.Name)) ) && ( Verb == input.Verb || (Verb != null && Verb.Equals(input.Verb)) ) && ( IsPositive == input.IsPositive || (IsPositive != null && IsPositive.Equals(input.IsPositive)) ) && ( ActionId == input.ActionId || (ActionId != null && ActionId.Equals(input.ActionId)) ) && ( ActionHash == input.ActionHash || (ActionHash.Equals(input.ActionHash)) ) && ( AutoPerformAction == input.AutoPerformAction || (AutoPerformAction != null && AutoPerformAction.Equals(input.AutoPerformAction)) )); }
/// <summary> /// Returns true if PaymentResponse instances are equal /// </summary> /// <param name="other">Instance of PaymentResponse to be compared</param> /// <returns>Boolean</returns> public bool Equals(PaymentResponse other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( ActionId == other.ActionId || ActionId != null && ActionId.Equals(other.ActionId) ) && ( Amount == other.Amount || Amount != null && Amount.Equals(other.Amount) ) && ( Currency == other.Currency || Currency != null && Currency.Equals(other.Currency) ) && ( Approved == other.Approved || Approved != null && Approved.Equals(other.Approved) ) && ( Status == other.Status || Status != null && Status.Equals(other.Status) ) && ( AuthCode == other.AuthCode || AuthCode != null && AuthCode.Equals(other.AuthCode) ) && ( ResponseCode == other.ResponseCode || ResponseCode != null && ResponseCode.Equals(other.ResponseCode) ) && ( ResponseSummary == other.ResponseSummary || ResponseSummary != null && ResponseSummary.Equals(other.ResponseSummary) ) && ( ThreeDS == other.ThreeDS || ThreeDS != null && ThreeDS.Equals(other.ThreeDS) ) && ( Risk == other.Risk || Risk != null && Risk.Equals(other.Risk) ) && ( Source == other.Source || Source != null && Source.Equals(other.Source) ) && ( Customer == other.Customer || Customer != null && Customer.Equals(other.Customer) ) && ( ProcessedOn == other.ProcessedOn || ProcessedOn != null && ProcessedOn.Equals(other.ProcessedOn) ) && ( Reference == other.Reference || Reference != null && Reference.Equals(other.Reference) ) && ( Eci == other.Eci || Eci != null && Eci.Equals(other.Eci) ) && ( SchemeId == other.SchemeId || SchemeId != null && SchemeId.Equals(other.SchemeId) ) && ( Links == other.Links || Links != null && Links.Equals(other.Links) )); }