/// <summary> /// Returns true if AbstractRedirectPaymentMethodSpecificInput instances are equal /// </summary> /// <param name="other">Instance of AbstractRedirectPaymentMethodSpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(AbstractRedirectPaymentMethodSpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ExpirationPeriod == other.ExpirationPeriod || ExpirationPeriod != null && ExpirationPeriod.Equals(other.ExpirationPeriod) ) && ( RecurringPaymentSequenceIndicator == other.RecurringPaymentSequenceIndicator || RecurringPaymentSequenceIndicator != null && RecurringPaymentSequenceIndicator.Equals(other.RecurringPaymentSequenceIndicator) ) && ( RequiresApproval == other.RequiresApproval || RequiresApproval != null && RequiresApproval.Equals(other.RequiresApproval) ) && ( Token == other.Token || Token != null && Token.Equals(other.Token) ) && ( Tokenize == other.Tokenize || Tokenize != null && Tokenize.Equals(other.Tokenize) )); }
/// <summary> /// Returns true if RedirectPaymentProduct809SpecificInput instances are equal /// </summary> /// <param name="other">Instance of RedirectPaymentProduct809SpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(RedirectPaymentProduct809SpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( ExpirationPeriod == other.ExpirationPeriod || ExpirationPeriod != null && ExpirationPeriod.Equals(other.ExpirationPeriod) ) && ( IssuerId == other.IssuerId || IssuerId != null && IssuerId.Equals(other.IssuerId) )); }