/// <summary> /// Returns true if RedirectPaymentMethodSpecificInput instances are equal /// </summary> /// <param name="other">Instance of RedirectPaymentMethodSpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(RedirectPaymentMethodSpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( IsRecurring == other.IsRecurring || IsRecurring != null && IsRecurring.Equals(other.IsRecurring) ) && ( PaymentProduct840SpecificInput == other.PaymentProduct840SpecificInput || PaymentProduct840SpecificInput != null && PaymentProduct840SpecificInput.Equals(other.PaymentProduct840SpecificInput) ) && ( ReturnUrl == other.ReturnUrl || ReturnUrl != null && ReturnUrl.Equals(other.ReturnUrl) )); }
/// <summary> /// Returns true if CardPaymentMethodSpecificInput instances are equal /// </summary> /// <param name="other">Instance of CardPaymentMethodSpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(CardPaymentMethodSpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Card == other.Card || Card != null && Card.Equals(other.Card) ) && ( ExternalCardholderAuthenticationData == other.ExternalCardholderAuthenticationData || ExternalCardholderAuthenticationData != null && ExternalCardholderAuthenticationData.Equals(other.ExternalCardholderAuthenticationData) ) && ( IsRecurring == other.IsRecurring || IsRecurring != null && IsRecurring.Equals(other.IsRecurring) ) && ( ReturnUrl == other.ReturnUrl || ReturnUrl != null && ReturnUrl.Equals(other.ReturnUrl) )); }
/// <summary> /// Returns true if HostedCheckoutSpecificInput instances are equal /// </summary> /// <param name="other">Instance of HostedCheckoutSpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(HostedCheckoutSpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( IsRecurring == other.IsRecurring || IsRecurring != null && IsRecurring.Equals(other.IsRecurring) ) && ( Locale == other.Locale || Locale != null && Locale.Equals(other.Locale) ) && ( PaymentProductFilters == other.PaymentProductFilters || PaymentProductFilters != null && PaymentProductFilters.Equals(other.PaymentProductFilters) ) && ( ReturnCancelState == other.ReturnCancelState || ReturnCancelState != null && ReturnCancelState.Equals(other.ReturnCancelState) ) && ( ReturnUrl == other.ReturnUrl || ReturnUrl != null && ReturnUrl.Equals(other.ReturnUrl) ) && ( ShowResultPage == other.ShowResultPage || ShowResultPage != null && ShowResultPage.Equals(other.ShowResultPage) ) && ( Tokens == other.Tokens || Tokens != null && Tokens.Equals(other.Tokens) ) && ( ValidateShoppingCart == other.ValidateShoppingCart || ValidateShoppingCart != null && ValidateShoppingCart.Equals(other.ValidateShoppingCart) ) && ( Variant == other.Variant || Variant != null && Variant.Equals(other.Variant) )); }
/// <summary> /// Returns true if MandateSepaDirectDebit instances are equal /// </summary> /// <param name="other">Instance of MandateSepaDirectDebit to be compared</param> /// <returns>Boolean</returns> public bool Equals(MandateSepaDirectDebit other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Creditor == other.Creditor || Creditor != null && Creditor.Equals(other.Creditor) ) && ( MandateId == other.MandateId || MandateId != null && MandateId.Equals(other.MandateId) ) && ( BankAccountIban == other.BankAccountIban || BankAccountIban != null && BankAccountIban.Equals(other.BankAccountIban) ) && ( CustomerContractIdentifier == other.CustomerContractIdentifier || CustomerContractIdentifier != null && CustomerContractIdentifier.Equals(other.CustomerContractIdentifier) ) && ( Debtor == other.Debtor || Debtor != null && Debtor.Equals(other.Debtor) ) && ( IsRecurring == other.IsRecurring || IsRecurring != null && IsRecurring.Equals(other.IsRecurring) ) && ( MandateApproval == other.MandateApproval || MandateApproval != null && MandateApproval.Equals(other.MandateApproval) ) && ( PreNotification == other.PreNotification || PreNotification != null && PreNotification.Equals(other.PreNotification) )); }
/// <summary> /// Returns true if NonSepaDirectDebitPaymentMethodSpecificInput instances are equal /// </summary> /// <param name="other">Instance of NonSepaDirectDebitPaymentMethodSpecificInput to be compared</param> /// <returns>Boolean</returns> public bool Equals(NonSepaDirectDebitPaymentMethodSpecificInput other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( DateCollect == other.DateCollect || DateCollect != null && DateCollect.Equals(other.DateCollect) ) && ( DirectDebitText == other.DirectDebitText || DirectDebitText != null && DirectDebitText.Equals(other.DirectDebitText) ) && ( IsRecurring == other.IsRecurring || IsRecurring != null && IsRecurring.Equals(other.IsRecurring) ) && ( PaymentProduct705SpecificInput == other.PaymentProduct705SpecificInput || PaymentProduct705SpecificInput != null && PaymentProduct705SpecificInput.Equals(other.PaymentProduct705SpecificInput) ) && ( PaymentProduct730SpecificInput == other.PaymentProduct730SpecificInput || PaymentProduct730SpecificInput != null && PaymentProduct730SpecificInput.Equals(other.PaymentProduct730SpecificInput) ) && ( RecurringPaymentSequenceIndicator == other.RecurringPaymentSequenceIndicator || RecurringPaymentSequenceIndicator != null && RecurringPaymentSequenceIndicator.Equals(other.RecurringPaymentSequenceIndicator) ) && ( Token == other.Token || Token != null && Token.Equals(other.Token) ) && ( Tokenize == other.Tokenize || Tokenize != null && Tokenize.Equals(other.Tokenize) )); }