/// <summary> /// Returns true if PaymentProductFiltersHostedCheckout instances are equal /// </summary> /// <param name="other">Instance of PaymentProductFiltersHostedCheckout to be compared</param> /// <returns>Boolean</returns> public bool Equals(PaymentProductFiltersHostedCheckout other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Exclude == other.Exclude || Exclude != null && Exclude.Equals(other.Exclude) ) && ( RestrictTo == other.RestrictTo || RestrictTo != null && RestrictTo.Equals(other.RestrictTo) ) && ( TokensOnly == other.TokensOnly || TokensOnly != null && TokensOnly.Equals(other.TokensOnly) )); }
/// <summary> /// Returns true if PaymentProductFiltersClientSession instances are equal /// </summary> /// <param name="other">Instance of PaymentProductFiltersClientSession to be compared</param> /// <returns>Boolean</returns> public bool Equals(PaymentProductFiltersClientSession other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Exclude == other.Exclude || Exclude != null && Exclude.Equals(other.Exclude) ) && ( RestrictTo == other.RestrictTo || RestrictTo != null && RestrictTo.Equals(other.RestrictTo) )); }
protected bool Equals(VersioningConfiguration other) { return(string.Equals(Id, other.Id) && MaxRevisions == other.MaxRevisions && Exclude.Equals(other.Exclude)); }