Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored May 30, 2024
1 parent 72ffaf7 commit effbfcd
Show file tree
Hide file tree
Showing 16 changed files with 715 additions and 57 deletions.
59 changes: 58 additions & 1 deletion Adyen/Model/Checkout/CardDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ public enum TypeEnum
/// <param name="number">The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide)..</param>
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="shopperNotificationReference">The &#x60;shopperNotificationReference&#x60; returned in the response when you requested to notify the shopper. Used only for recurring payments in India..</param>
/// <param name="srcCorrelationId">An identifier used for the Click to Pay transaction..</param>
/// <param name="srcScheme">The scheme that is being used for Click to Pay..</param>
/// <param name="srcTokenReference">The reference for the Click to Pay token..</param>
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="threeDS2SdkVersion">Required for mobile integrations. Version of the 3D Secure 2 mobile SDK..</param>
/// <param name="type">Default payment method details. Common for scheme payment methods, and for simple payment method details. (default to TypeEnum.Scheme).</param>
public CardDetails(string brand = default(string), string checkoutAttemptId = default(string), string cupsecureplusSmscode = default(string), string cvc = default(string), string encryptedCardNumber = default(string), string encryptedExpiryMonth = default(string), string encryptedExpiryYear = default(string), string encryptedSecurityCode = default(string), string expiryMonth = default(string), string expiryYear = default(string), FundingSourceEnum? fundingSource = default(FundingSourceEnum?), string holderName = default(string), string networkPaymentReference = default(string), string number = default(string), string recurringDetailReference = default(string), string shopperNotificationReference = default(string), string storedPaymentMethodId = default(string), string threeDS2SdkVersion = default(string), TypeEnum? type = TypeEnum.Scheme)
public CardDetails(string brand = default(string), string checkoutAttemptId = default(string), string cupsecureplusSmscode = default(string), string cvc = default(string), string encryptedCardNumber = default(string), string encryptedExpiryMonth = default(string), string encryptedExpiryYear = default(string), string encryptedSecurityCode = default(string), string expiryMonth = default(string), string expiryYear = default(string), FundingSourceEnum? fundingSource = default(FundingSourceEnum?), string holderName = default(string), string networkPaymentReference = default(string), string number = default(string), string recurringDetailReference = default(string), string shopperNotificationReference = default(string), string srcCorrelationId = default(string), string srcScheme = default(string), string srcTokenReference = default(string), string storedPaymentMethodId = default(string), string threeDS2SdkVersion = default(string), TypeEnum? type = TypeEnum.Scheme)
{
this.Brand = brand;
this.CheckoutAttemptId = checkoutAttemptId;
Expand All @@ -146,6 +149,9 @@ public enum TypeEnum
this.Number = number;
this.RecurringDetailReference = recurringDetailReference;
this.ShopperNotificationReference = shopperNotificationReference;
this.SrcCorrelationId = srcCorrelationId;
this.SrcScheme = srcScheme;
this.SrcTokenReference = srcTokenReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
this.ThreeDS2SdkVersion = threeDS2SdkVersion;
this.Type = type;
Expand Down Expand Up @@ -257,6 +263,27 @@ public enum TypeEnum
[DataMember(Name = "shopperNotificationReference", EmitDefaultValue = false)]
public string ShopperNotificationReference { get; set; }

/// <summary>
/// An identifier used for the Click to Pay transaction.
/// </summary>
/// <value>An identifier used for the Click to Pay transaction.</value>
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
public string SrcCorrelationId { get; set; }

/// <summary>
/// The scheme that is being used for Click to Pay.
/// </summary>
/// <value>The scheme that is being used for Click to Pay.</value>
[DataMember(Name = "srcScheme", EmitDefaultValue = false)]
public string SrcScheme { get; set; }

/// <summary>
/// The reference for the Click to Pay token.
/// </summary>
/// <value>The reference for the Click to Pay token.</value>
[DataMember(Name = "srcTokenReference", EmitDefaultValue = false)]
public string SrcTokenReference { get; set; }

/// <summary>
/// This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token.
/// </summary>
Expand Down Expand Up @@ -295,6 +322,9 @@ public override string ToString()
sb.Append(" Number: ").Append(Number).Append("\n");
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
sb.Append(" ThreeDS2SdkVersion: ").Append(ThreeDS2SdkVersion).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
Expand Down Expand Up @@ -412,6 +442,21 @@ public bool Equals(CardDetails input)
(this.ShopperNotificationReference != null &&
this.ShopperNotificationReference.Equals(input.ShopperNotificationReference))
) &&
(
this.SrcCorrelationId == input.SrcCorrelationId ||
(this.SrcCorrelationId != null &&
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
) &&
(
this.SrcScheme == input.SrcScheme ||
(this.SrcScheme != null &&
this.SrcScheme.Equals(input.SrcScheme))
) &&
(
this.SrcTokenReference == input.SrcTokenReference ||
(this.SrcTokenReference != null &&
this.SrcTokenReference.Equals(input.SrcTokenReference))
) &&
(
this.StoredPaymentMethodId == input.StoredPaymentMethodId ||
(this.StoredPaymentMethodId != null &&
Expand Down Expand Up @@ -498,6 +543,18 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.ShopperNotificationReference.GetHashCode();
}
if (this.SrcCorrelationId != null)
{
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
}
if (this.SrcScheme != null)
{
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
}
if (this.SrcTokenReference != null)
{
hashCode = (hashCode * 59) + this.SrcTokenReference.GetHashCode();
}
if (this.StoredPaymentMethodId != null)
{
hashCode = (hashCode * 59) + this.StoredPaymentMethodId.GetHashCode();
Expand Down
59 changes: 58 additions & 1 deletion Adyen/Model/Checkout/CardDonations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@ public enum TypeEnum
/// <param name="number">The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide)..</param>
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="shopperNotificationReference">The &#x60;shopperNotificationReference&#x60; returned in the response when you requested to notify the shopper. Used only for recurring payments in India..</param>
/// <param name="srcCorrelationId">An identifier used for the Click to Pay transaction..</param>
/// <param name="srcScheme">The scheme that is being used for Click to Pay..</param>
/// <param name="srcTokenReference">The reference for the Click to Pay token..</param>
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="threeDS2SdkVersion">Required for mobile integrations. Version of the 3D Secure 2 mobile SDK..</param>
/// <param name="type">Default payment method details. Common for scheme payment methods, and for simple payment method details. (default to TypeEnum.Scheme).</param>
public CardDonations(string brand = default(string), string checkoutAttemptId = default(string), string cupsecureplusSmscode = default(string), string cvc = default(string), string encryptedCardNumber = default(string), string encryptedExpiryMonth = default(string), string encryptedExpiryYear = default(string), string encryptedSecurityCode = default(string), string expiryMonth = default(string), string expiryYear = default(string), FundingSourceEnum? fundingSource = default(FundingSourceEnum?), string holderName = default(string), string networkPaymentReference = default(string), string number = default(string), string recurringDetailReference = default(string), string shopperNotificationReference = default(string), string storedPaymentMethodId = default(string), string threeDS2SdkVersion = default(string), TypeEnum? type = TypeEnum.Scheme)
public CardDonations(string brand = default(string), string checkoutAttemptId = default(string), string cupsecureplusSmscode = default(string), string cvc = default(string), string encryptedCardNumber = default(string), string encryptedExpiryMonth = default(string), string encryptedExpiryYear = default(string), string encryptedSecurityCode = default(string), string expiryMonth = default(string), string expiryYear = default(string), FundingSourceEnum? fundingSource = default(FundingSourceEnum?), string holderName = default(string), string networkPaymentReference = default(string), string number = default(string), string recurringDetailReference = default(string), string shopperNotificationReference = default(string), string srcCorrelationId = default(string), string srcScheme = default(string), string srcTokenReference = default(string), string storedPaymentMethodId = default(string), string threeDS2SdkVersion = default(string), TypeEnum? type = TypeEnum.Scheme)
{
this.Brand = brand;
this.CheckoutAttemptId = checkoutAttemptId;
Expand All @@ -146,6 +149,9 @@ public enum TypeEnum
this.Number = number;
this.RecurringDetailReference = recurringDetailReference;
this.ShopperNotificationReference = shopperNotificationReference;
this.SrcCorrelationId = srcCorrelationId;
this.SrcScheme = srcScheme;
this.SrcTokenReference = srcTokenReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
this.ThreeDS2SdkVersion = threeDS2SdkVersion;
this.Type = type;
Expand Down Expand Up @@ -257,6 +263,27 @@ public enum TypeEnum
[DataMember(Name = "shopperNotificationReference", EmitDefaultValue = false)]
public string ShopperNotificationReference { get; set; }

/// <summary>
/// An identifier used for the Click to Pay transaction.
/// </summary>
/// <value>An identifier used for the Click to Pay transaction.</value>
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
public string SrcCorrelationId { get; set; }

/// <summary>
/// The scheme that is being used for Click to Pay.
/// </summary>
/// <value>The scheme that is being used for Click to Pay.</value>
[DataMember(Name = "srcScheme", EmitDefaultValue = false)]
public string SrcScheme { get; set; }

/// <summary>
/// The reference for the Click to Pay token.
/// </summary>
/// <value>The reference for the Click to Pay token.</value>
[DataMember(Name = "srcTokenReference", EmitDefaultValue = false)]
public string SrcTokenReference { get; set; }

/// <summary>
/// This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token.
/// </summary>
Expand Down Expand Up @@ -295,6 +322,9 @@ public override string ToString()
sb.Append(" Number: ").Append(Number).Append("\n");
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
sb.Append(" ThreeDS2SdkVersion: ").Append(ThreeDS2SdkVersion).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
Expand Down Expand Up @@ -412,6 +442,21 @@ public bool Equals(CardDonations input)
(this.ShopperNotificationReference != null &&
this.ShopperNotificationReference.Equals(input.ShopperNotificationReference))
) &&
(
this.SrcCorrelationId == input.SrcCorrelationId ||
(this.SrcCorrelationId != null &&
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
) &&
(
this.SrcScheme == input.SrcScheme ||
(this.SrcScheme != null &&
this.SrcScheme.Equals(input.SrcScheme))
) &&
(
this.SrcTokenReference == input.SrcTokenReference ||
(this.SrcTokenReference != null &&
this.SrcTokenReference.Equals(input.SrcTokenReference))
) &&
(
this.StoredPaymentMethodId == input.StoredPaymentMethodId ||
(this.StoredPaymentMethodId != null &&
Expand Down Expand Up @@ -498,6 +543,18 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.ShopperNotificationReference.GetHashCode();
}
if (this.SrcCorrelationId != null)
{
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
}
if (this.SrcScheme != null)
{
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
}
if (this.SrcTokenReference != null)
{
hashCode = (hashCode * 59) + this.SrcTokenReference.GetHashCode();
}
if (this.StoredPaymentMethodId != null)
{
hashCode = (hashCode * 59) + this.StoredPaymentMethodId.GetHashCode();
Expand Down
Loading

0 comments on commit effbfcd

Please sign in to comment.