Skip to content

Commit effbfcd

Browse files
false[adyen-sdk-automation] automated change (#1024)
1 parent 72ffaf7 commit effbfcd

16 files changed

+715
-57
lines changed

Adyen/Model/Checkout/CardDetails.cs

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,13 @@ public enum TypeEnum
125125
/// <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>
126126
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
127127
/// <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>
128+
/// <param name="srcCorrelationId">An identifier used for the Click to Pay transaction..</param>
129+
/// <param name="srcScheme">The scheme that is being used for Click to Pay..</param>
130+
/// <param name="srcTokenReference">The reference for the Click to Pay token..</param>
128131
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
129132
/// <param name="threeDS2SdkVersion">Required for mobile integrations. Version of the 3D Secure 2 mobile SDK..</param>
130133
/// <param name="type">Default payment method details. Common for scheme payment methods, and for simple payment method details. (default to TypeEnum.Scheme).</param>
131-
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)
134+
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)
132135
{
133136
this.Brand = brand;
134137
this.CheckoutAttemptId = checkoutAttemptId;
@@ -146,6 +149,9 @@ public enum TypeEnum
146149
this.Number = number;
147150
this.RecurringDetailReference = recurringDetailReference;
148151
this.ShopperNotificationReference = shopperNotificationReference;
152+
this.SrcCorrelationId = srcCorrelationId;
153+
this.SrcScheme = srcScheme;
154+
this.SrcTokenReference = srcTokenReference;
149155
this.StoredPaymentMethodId = storedPaymentMethodId;
150156
this.ThreeDS2SdkVersion = threeDS2SdkVersion;
151157
this.Type = type;
@@ -257,6 +263,27 @@ public enum TypeEnum
257263
[DataMember(Name = "shopperNotificationReference", EmitDefaultValue = false)]
258264
public string ShopperNotificationReference { get; set; }
259265

266+
/// <summary>
267+
/// An identifier used for the Click to Pay transaction.
268+
/// </summary>
269+
/// <value>An identifier used for the Click to Pay transaction.</value>
270+
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
271+
public string SrcCorrelationId { get; set; }
272+
273+
/// <summary>
274+
/// The scheme that is being used for Click to Pay.
275+
/// </summary>
276+
/// <value>The scheme that is being used for Click to Pay.</value>
277+
[DataMember(Name = "srcScheme", EmitDefaultValue = false)]
278+
public string SrcScheme { get; set; }
279+
280+
/// <summary>
281+
/// The reference for the Click to Pay token.
282+
/// </summary>
283+
/// <value>The reference for the Click to Pay token.</value>
284+
[DataMember(Name = "srcTokenReference", EmitDefaultValue = false)]
285+
public string SrcTokenReference { get; set; }
286+
260287
/// <summary>
261288
/// This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token.
262289
/// </summary>
@@ -295,6 +322,9 @@ public override string ToString()
295322
sb.Append(" Number: ").Append(Number).Append("\n");
296323
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
297324
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
325+
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
326+
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
327+
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
298328
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
299329
sb.Append(" ThreeDS2SdkVersion: ").Append(ThreeDS2SdkVersion).Append("\n");
300330
sb.Append(" Type: ").Append(Type).Append("\n");
@@ -412,6 +442,21 @@ public bool Equals(CardDetails input)
412442
(this.ShopperNotificationReference != null &&
413443
this.ShopperNotificationReference.Equals(input.ShopperNotificationReference))
414444
) &&
445+
(
446+
this.SrcCorrelationId == input.SrcCorrelationId ||
447+
(this.SrcCorrelationId != null &&
448+
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
449+
) &&
450+
(
451+
this.SrcScheme == input.SrcScheme ||
452+
(this.SrcScheme != null &&
453+
this.SrcScheme.Equals(input.SrcScheme))
454+
) &&
455+
(
456+
this.SrcTokenReference == input.SrcTokenReference ||
457+
(this.SrcTokenReference != null &&
458+
this.SrcTokenReference.Equals(input.SrcTokenReference))
459+
) &&
415460
(
416461
this.StoredPaymentMethodId == input.StoredPaymentMethodId ||
417462
(this.StoredPaymentMethodId != null &&
@@ -498,6 +543,18 @@ public override int GetHashCode()
498543
{
499544
hashCode = (hashCode * 59) + this.ShopperNotificationReference.GetHashCode();
500545
}
546+
if (this.SrcCorrelationId != null)
547+
{
548+
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
549+
}
550+
if (this.SrcScheme != null)
551+
{
552+
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
553+
}
554+
if (this.SrcTokenReference != null)
555+
{
556+
hashCode = (hashCode * 59) + this.SrcTokenReference.GetHashCode();
557+
}
501558
if (this.StoredPaymentMethodId != null)
502559
{
503560
hashCode = (hashCode * 59) + this.StoredPaymentMethodId.GetHashCode();

Adyen/Model/Checkout/CardDonations.cs

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,13 @@ public enum TypeEnum
125125
/// <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>
126126
/// <param name="recurringDetailReference">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
127127
/// <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>
128+
/// <param name="srcCorrelationId">An identifier used for the Click to Pay transaction..</param>
129+
/// <param name="srcScheme">The scheme that is being used for Click to Pay..</param>
130+
/// <param name="srcTokenReference">The reference for the Click to Pay token..</param>
128131
/// <param name="storedPaymentMethodId">This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token..</param>
129132
/// <param name="threeDS2SdkVersion">Required for mobile integrations. Version of the 3D Secure 2 mobile SDK..</param>
130133
/// <param name="type">Default payment method details. Common for scheme payment methods, and for simple payment method details. (default to TypeEnum.Scheme).</param>
131-
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)
134+
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)
132135
{
133136
this.Brand = brand;
134137
this.CheckoutAttemptId = checkoutAttemptId;
@@ -146,6 +149,9 @@ public enum TypeEnum
146149
this.Number = number;
147150
this.RecurringDetailReference = recurringDetailReference;
148151
this.ShopperNotificationReference = shopperNotificationReference;
152+
this.SrcCorrelationId = srcCorrelationId;
153+
this.SrcScheme = srcScheme;
154+
this.SrcTokenReference = srcTokenReference;
149155
this.StoredPaymentMethodId = storedPaymentMethodId;
150156
this.ThreeDS2SdkVersion = threeDS2SdkVersion;
151157
this.Type = type;
@@ -257,6 +263,27 @@ public enum TypeEnum
257263
[DataMember(Name = "shopperNotificationReference", EmitDefaultValue = false)]
258264
public string ShopperNotificationReference { get; set; }
259265

266+
/// <summary>
267+
/// An identifier used for the Click to Pay transaction.
268+
/// </summary>
269+
/// <value>An identifier used for the Click to Pay transaction.</value>
270+
[DataMember(Name = "srcCorrelationId", EmitDefaultValue = false)]
271+
public string SrcCorrelationId { get; set; }
272+
273+
/// <summary>
274+
/// The scheme that is being used for Click to Pay.
275+
/// </summary>
276+
/// <value>The scheme that is being used for Click to Pay.</value>
277+
[DataMember(Name = "srcScheme", EmitDefaultValue = false)]
278+
public string SrcScheme { get; set; }
279+
280+
/// <summary>
281+
/// The reference for the Click to Pay token.
282+
/// </summary>
283+
/// <value>The reference for the Click to Pay token.</value>
284+
[DataMember(Name = "srcTokenReference", EmitDefaultValue = false)]
285+
public string SrcTokenReference { get; set; }
286+
260287
/// <summary>
261288
/// This is the &#x60;recurringDetailReference&#x60; returned in the response when you created the token.
262289
/// </summary>
@@ -295,6 +322,9 @@ public override string ToString()
295322
sb.Append(" Number: ").Append(Number).Append("\n");
296323
sb.Append(" RecurringDetailReference: ").Append(RecurringDetailReference).Append("\n");
297324
sb.Append(" ShopperNotificationReference: ").Append(ShopperNotificationReference).Append("\n");
325+
sb.Append(" SrcCorrelationId: ").Append(SrcCorrelationId).Append("\n");
326+
sb.Append(" SrcScheme: ").Append(SrcScheme).Append("\n");
327+
sb.Append(" SrcTokenReference: ").Append(SrcTokenReference).Append("\n");
298328
sb.Append(" StoredPaymentMethodId: ").Append(StoredPaymentMethodId).Append("\n");
299329
sb.Append(" ThreeDS2SdkVersion: ").Append(ThreeDS2SdkVersion).Append("\n");
300330
sb.Append(" Type: ").Append(Type).Append("\n");
@@ -412,6 +442,21 @@ public bool Equals(CardDonations input)
412442
(this.ShopperNotificationReference != null &&
413443
this.ShopperNotificationReference.Equals(input.ShopperNotificationReference))
414444
) &&
445+
(
446+
this.SrcCorrelationId == input.SrcCorrelationId ||
447+
(this.SrcCorrelationId != null &&
448+
this.SrcCorrelationId.Equals(input.SrcCorrelationId))
449+
) &&
450+
(
451+
this.SrcScheme == input.SrcScheme ||
452+
(this.SrcScheme != null &&
453+
this.SrcScheme.Equals(input.SrcScheme))
454+
) &&
455+
(
456+
this.SrcTokenReference == input.SrcTokenReference ||
457+
(this.SrcTokenReference != null &&
458+
this.SrcTokenReference.Equals(input.SrcTokenReference))
459+
) &&
415460
(
416461
this.StoredPaymentMethodId == input.StoredPaymentMethodId ||
417462
(this.StoredPaymentMethodId != null &&
@@ -498,6 +543,18 @@ public override int GetHashCode()
498543
{
499544
hashCode = (hashCode * 59) + this.ShopperNotificationReference.GetHashCode();
500545
}
546+
if (this.SrcCorrelationId != null)
547+
{
548+
hashCode = (hashCode * 59) + this.SrcCorrelationId.GetHashCode();
549+
}
550+
if (this.SrcScheme != null)
551+
{
552+
hashCode = (hashCode * 59) + this.SrcScheme.GetHashCode();
553+
}
554+
if (this.SrcTokenReference != null)
555+
{
556+
hashCode = (hashCode * 59) + this.SrcTokenReference.GetHashCode();
557+
}
501558
if (this.StoredPaymentMethodId != null)
502559
{
503560
hashCode = (hashCode * 59) + this.StoredPaymentMethodId.GetHashCode();

0 commit comments

Comments
 (0)