Ejemplo n.º 1
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Card != null)
         {
             hashCode = hashCode * 59 + Card.GetHashCode();
         }
         if (ExternalCardholderAuthenticationData != null)
         {
             hashCode = hashCode * 59 + ExternalCardholderAuthenticationData.GetHashCode();
         }
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (ReturnUrl != null)
         {
             hashCode = hashCode * 59 + ReturnUrl.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (Locale != null)
         {
             hashCode = hashCode * 59 + Locale.GetHashCode();
         }
         if (PaymentProductFilters != null)
         {
             hashCode = hashCode * 59 + PaymentProductFilters.GetHashCode();
         }
         if (ReturnCancelState != null)
         {
             hashCode = hashCode * 59 + ReturnCancelState.GetHashCode();
         }
         if (ReturnUrl != null)
         {
             hashCode = hashCode * 59 + ReturnUrl.GetHashCode();
         }
         if (ShowResultPage != null)
         {
             hashCode = hashCode * 59 + ShowResultPage.GetHashCode();
         }
         if (Tokens != null)
         {
             hashCode = hashCode * 59 + Tokens.GetHashCode();
         }
         if (ValidateShoppingCart != null)
         {
             hashCode = hashCode * 59 + ValidateShoppingCart.GetHashCode();
         }
         if (Variant != null)
         {
             hashCode = hashCode * 59 + Variant.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Creditor != null)
         {
             hashCode = hashCode * 59 + Creditor.GetHashCode();
         }
         if (MandateId != null)
         {
             hashCode = hashCode * 59 + MandateId.GetHashCode();
         }
         if (BankAccountIban != null)
         {
             hashCode = hashCode * 59 + BankAccountIban.GetHashCode();
         }
         if (CustomerContractIdentifier != null)
         {
             hashCode = hashCode * 59 + CustomerContractIdentifier.GetHashCode();
         }
         if (Debtor != null)
         {
             hashCode = hashCode * 59 + Debtor.GetHashCode();
         }
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (MandateApproval != null)
         {
             hashCode = hashCode * 59 + MandateApproval.GetHashCode();
         }
         if (PreNotification != null)
         {
             hashCode = hashCode * 59 + PreNotification.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (DateCollect != null)
         {
             hashCode = hashCode * 59 + DateCollect.GetHashCode();
         }
         if (DirectDebitText != null)
         {
             hashCode = hashCode * 59 + DirectDebitText.GetHashCode();
         }
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (PaymentProduct705SpecificInput != null)
         {
             hashCode = hashCode * 59 + PaymentProduct705SpecificInput.GetHashCode();
         }
         if (PaymentProduct730SpecificInput != null)
         {
             hashCode = hashCode * 59 + PaymentProduct730SpecificInput.GetHashCode();
         }
         if (RecurringPaymentSequenceIndicator != null)
         {
             hashCode = hashCode * 59 + RecurringPaymentSequenceIndicator.GetHashCode();
         }
         if (Token != null)
         {
             hashCode = hashCode * 59 + Token.GetHashCode();
         }
         if (Tokenize != null)
         {
             hashCode = hashCode * 59 + Tokenize.GetHashCode();
         }
         return(hashCode);
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (IsRecurring != null)
         {
             hashCode = hashCode * 59 + IsRecurring.GetHashCode();
         }
         if (PaymentProduct840SpecificInput != null)
         {
             hashCode = hashCode * 59 + PaymentProduct840SpecificInput.GetHashCode();
         }
         if (ReturnUrl != null)
         {
             hashCode = hashCode * 59 + ReturnUrl.GetHashCode();
         }
         return(hashCode);
     }
 }