Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Jul 18, 2024
1 parent 13705b1 commit 5b3f041
Show file tree
Hide file tree
Showing 18 changed files with 558 additions and 298 deletions.
21 changes: 20 additions & 1 deletion Adyen/Model/Checkout/CardDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,13 @@ public enum TypeEnum
/// <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="srcDigitalCardId">The SRC reference for the Click to Pay token..</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 srcCorrelationId = default(string), string srcScheme = default(string), string srcTokenReference = 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 srcDigitalCardId = 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 @@ -150,6 +151,7 @@ public enum TypeEnum
this.RecurringDetailReference = recurringDetailReference;
this.ShopperNotificationReference = shopperNotificationReference;
this.SrcCorrelationId = srcCorrelationId;
this.SrcDigitalCardId = srcDigitalCardId;
this.SrcScheme = srcScheme;
this.SrcTokenReference = srcTokenReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
Expand Down Expand Up @@ -270,6 +272,13 @@ public enum TypeEnum
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
public string SrcCorrelationId { get; set; }

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

/// <summary>
/// The scheme that is being used for Click to Pay.
/// </summary>
Expand Down Expand Up @@ -323,6 +332,7 @@ public override string ToString()
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
sb.Append(" SrcDigitalCardId: ").Append(SrcDigitalCardId).Append("\n");
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
Expand Down Expand Up @@ -447,6 +457,11 @@ public bool Equals(CardDetails input)
(this.SrcCorrelationId != null &&
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
) &&
(
this.SrcDigitalCardId == input.SrcDigitalCardId ||
(this.SrcDigitalCardId != null &&
this.SrcDigitalCardId.Equals(input.SrcDigitalCardId))
) &&
(
this.SrcScheme == input.SrcScheme ||
(this.SrcScheme != null &&
Expand Down Expand Up @@ -547,6 +562,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
}
if (this.SrcDigitalCardId != null)
{
hashCode = (hashCode * 59) + this.SrcDigitalCardId.GetHashCode();
}
if (this.SrcScheme != null)
{
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
Expand Down
21 changes: 20 additions & 1 deletion Adyen/Model/Checkout/CardDonations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,13 @@ public enum TypeEnum
/// <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="srcDigitalCardId">The SRC reference for the Click to Pay token..</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 srcCorrelationId = default(string), string srcScheme = default(string), string srcTokenReference = 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 srcDigitalCardId = 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 @@ -150,6 +151,7 @@ public enum TypeEnum
this.RecurringDetailReference = recurringDetailReference;
this.ShopperNotificationReference = shopperNotificationReference;
this.SrcCorrelationId = srcCorrelationId;
this.SrcDigitalCardId = srcDigitalCardId;
this.SrcScheme = srcScheme;
this.SrcTokenReference = srcTokenReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
Expand Down Expand Up @@ -270,6 +272,13 @@ public enum TypeEnum
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
public string SrcCorrelationId { get; set; }

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

/// <summary>
/// The scheme that is being used for Click to Pay.
/// </summary>
Expand Down Expand Up @@ -323,6 +332,7 @@ public override string ToString()
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
sb.Append(" SrcDigitalCardId: ").Append(SrcDigitalCardId).Append("\n");
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
Expand Down Expand Up @@ -447,6 +457,11 @@ public bool Equals(CardDonations input)
(this.SrcCorrelationId != null &&
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
) &&
(
this.SrcDigitalCardId == input.SrcDigitalCardId ||
(this.SrcDigitalCardId != null &&
this.SrcDigitalCardId.Equals(input.SrcDigitalCardId))
) &&
(
this.SrcScheme == input.SrcScheme ||
(this.SrcScheme != null &&
Expand Down Expand Up @@ -547,6 +562,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
}
if (this.SrcDigitalCardId != null)
{
hashCode = (hashCode * 59) + this.SrcDigitalCardId.GetHashCode();
}
if (this.SrcScheme != null)
{
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
Expand Down
11 changes: 3 additions & 8 deletions Adyen/Model/Checkout/IdealDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,15 @@ public enum TypeEnum
/// <summary>
/// Initializes a new instance of the <see cref="IdealDetails" /> class.
/// </summary>
[JsonConstructorAttribute]
protected IdealDetails() { }
/// <summary>
/// Initializes a new instance of the <see cref="IdealDetails" /> class.
/// </summary>
/// <param name="checkoutAttemptId">The checkout attempt identifier..</param>
/// <param name="issuer">The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it. (required).</param>
/// <param name="issuer">The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it..</param>
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="type">**ideal** (default to TypeEnum.Ideal).</param>
public IdealDetails(string checkoutAttemptId = default(string), string issuer = default(string), string recurringDetailReference = default(string), string storedPaymentMethodId = default(string), TypeEnum? type = TypeEnum.Ideal)
{
this.Issuer = issuer;
this.CheckoutAttemptId = checkoutAttemptId;
this.Issuer = issuer;
this.RecurringDetailReference = recurringDetailReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
this.Type = type;
Expand All @@ -87,7 +82,7 @@ protected IdealDetails() { }
/// The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
/// </summary>
/// <value>The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.</value>
[DataMember(Name = "issuer", IsRequired = false, EmitDefaultValue = false)]
[DataMember(Name = "issuer", EmitDefaultValue = false)]
public string Issuer { get; set; }

/// <summary>
Expand Down
11 changes: 3 additions & 8 deletions Adyen/Model/Checkout/IdealDonations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,15 @@ public enum TypeEnum
/// <summary>
/// Initializes a new instance of the <see cref="IdealDonations" /> class.
/// </summary>
[JsonConstructorAttribute]
protected IdealDonations() { }
/// <summary>
/// Initializes a new instance of the <see cref="IdealDonations" /> class.
/// </summary>
/// <param name="checkoutAttemptId">The checkout attempt identifier..</param>
/// <param name="issuer">The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it. (required).</param>
/// <param name="issuer">The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it..</param>
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
/// <param name="type">**ideal** (default to TypeEnum.Ideal).</param>
public IdealDonations(string checkoutAttemptId = default(string), string issuer = default(string), string recurringDetailReference = default(string), string storedPaymentMethodId = default(string), TypeEnum? type = TypeEnum.Ideal)
{
this.Issuer = issuer;
this.CheckoutAttemptId = checkoutAttemptId;
this.Issuer = issuer;
this.RecurringDetailReference = recurringDetailReference;
this.StoredPaymentMethodId = storedPaymentMethodId;
this.Type = type;
Expand All @@ -87,7 +82,7 @@ protected IdealDonations() { }
/// The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.
/// </summary>
/// <value>The iDEAL issuer value of the shopper&#39;s selected bank. Set this to an **id** of an iDEAL issuer to preselect it.</value>
[DataMember(Name = "issuer", IsRequired = false, EmitDefaultValue = false)]
[DataMember(Name = "issuer", EmitDefaultValue = false)]
public string Issuer { get; set; }

/// <summary>
Expand Down
Loading

0 comments on commit 5b3f041

Please sign in to comment.