diff --git a/Adyen/Model/BalancePlatform/AccountHolder.cs b/Adyen/Model/BalancePlatform/AccountHolder.cs index 004481e90..d2fa6e613 100644 --- a/Adyen/Model/BalancePlatform/AccountHolder.cs +++ b/Adyen/Model/BalancePlatform/AccountHolder.cs @@ -116,7 +116,7 @@ protected AccountHolder() { } /// Gets or Sets ContactDetails /// [DataMember(Name = "contactDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration API v - ")] public ContactDetails ContactDetails { get; set; } /// diff --git a/Adyen/Model/BalancePlatform/AccountHolderInfo.cs b/Adyen/Model/BalancePlatform/AccountHolderInfo.cs index 389893684..f2955b4fe 100644 --- a/Adyen/Model/BalancePlatform/AccountHolderInfo.cs +++ b/Adyen/Model/BalancePlatform/AccountHolderInfo.cs @@ -78,7 +78,7 @@ protected AccountHolderInfo() { } /// Gets or Sets ContactDetails /// [DataMember(Name = "contactDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration API v - ")] public ContactDetails ContactDetails { get; set; } /// diff --git a/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs b/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs index 21ac1461b..51258111e 100644 --- a/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs +++ b/Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs @@ -109,7 +109,7 @@ public enum StatusEnum /// Gets or Sets ContactDetails /// [DataMember(Name = "contactDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration API v - ")] public ContactDetails ContactDetails { get; set; } /// diff --git a/Adyen/Model/BalancePlatform/PaymentInstrument.cs b/Adyen/Model/BalancePlatform/PaymentInstrument.cs index 4752e8997..80e957876 100644 --- a/Adyen/Model/BalancePlatform/PaymentInstrument.cs +++ b/Adyen/Model/BalancePlatform/PaymentInstrument.cs @@ -213,7 +213,7 @@ protected PaymentInstrument() { } /// /// Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. [DataMember(Name = "additionalBankAccountIdentifications", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration API v2 - Please use `bankAccount` object instead")] public List AdditionalBankAccountIdentifications { get; set; } /// diff --git a/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.cs b/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.cs index 480c82a76..d80e78490 100644 --- a/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.cs +++ b/Adyen/Model/BalancePlatform/UpdatePaymentInstrument.cs @@ -213,7 +213,7 @@ protected UpdatePaymentInstrument() { } /// /// Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. [DataMember(Name = "additionalBankAccountIdentifications", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration API v2 - Please use `bankAccount` object instead")] public List AdditionalBankAccountIdentifications { get; set; } /// diff --git a/Adyen/Model/Checkout/AccountInfo.cs b/Adyen/Model/Checkout/AccountInfo.cs index 54a751187..d0050fa01 100644 --- a/Adyen/Model/Checkout/AccountInfo.cs +++ b/Adyen/Model/Checkout/AccountInfo.cs @@ -362,7 +362,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's home phone number (including the country code). [DataMember(Name = "homePhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `ThreeDS2RequestData.homePhone` instead.")] public string HomePhone { get; set; } /// @@ -370,7 +370,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's mobile phone number (including the country code). [DataMember(Name = "mobilePhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `ThreeDS2RequestData.mobilePhone` instead.")] public string MobilePhone { get; set; } /// @@ -420,7 +420,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's work phone number (including the country code). [DataMember(Name = "workPhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `ThreeDS2RequestData.workPhone` instead.")] public string WorkPhone { get; set; } /// diff --git a/Adyen/Model/Checkout/AchDetails.cs b/Adyen/Model/Checkout/AchDetails.cs index b02e9a220..b8a401762 100644 --- a/Adyen/Model/Checkout/AchDetails.cs +++ b/Adyen/Model/Checkout/AchDetails.cs @@ -194,7 +194,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/AdditionalData3DSecure.cs b/Adyen/Model/Checkout/AdditionalData3DSecure.cs index f1faeaf8a..4e6e6f7ae 100644 --- a/Adyen/Model/Checkout/AdditionalData3DSecure.cs +++ b/Adyen/Model/Checkout/AdditionalData3DSecure.cs @@ -102,7 +102,7 @@ public enum ChallengeWindowSizeEnum /// /// Indicates if you are able to process 3D Secure 2 transactions natively on your payment page. Send this parameter when you are using `/payments` endpoint with any of our [native 3D Secure 2 solutions](https://docs.adyen.com/online-payments/3d-secure/native-3ds2). > This parameter only indicates readiness to support native 3D Secure 2 authentication. To specify if you _want_ to perform 3D Secure, use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) or send the `executeThreeD` parameter. Possible values: * **true** - Ready to support native 3D Secure 2 authentication. Setting this to true does not mean always applying 3D Secure 2. Adyen selects redirect or native authentication based on your configuration to optimize authorization rates and improve the shopper's experience. * **false** – Not ready to support native 3D Secure 2 authentication. Adyen offers redirect 3D Secure 2 authentication instead, based on your configuration. [DataMember(Name = "allow3DS2", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.threeDSRequestData.nativeThreeDS` instead.")] public string Allow3DS2 { get; set; } /// @@ -110,7 +110,7 @@ public enum ChallengeWindowSizeEnum /// /// Indicates if you want to perform 3D Secure authentication on a transaction. > Alternatively, you can use [Dynamic 3D Secure](/risk-management/dynamic-3d-secure) to configure rules for applying 3D Secure. Possible values: * **true** – Perform 3D Secure authentication. * **false** – Don't perform 3D Secure authentication. Note that this setting results in refusals if the issuer mandates 3D Secure because of the PSD2 directive or other, national regulations. [DataMember(Name = "executeThreeD", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use [`authenticationData.attemptAuthentication`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments?target=_blank#request-authenticationData-attemptAuthentication) instead")] public string ExecuteThreeD { get; set; } /// diff --git a/Adyen/Model/Checkout/AfterpayDetails.cs b/Adyen/Model/Checkout/AfterpayDetails.cs index 27c9f3eb2..161cbbea2 100644 --- a/Adyen/Model/Checkout/AfterpayDetails.cs +++ b/Adyen/Model/Checkout/AfterpayDetails.cs @@ -131,7 +131,7 @@ protected AfterpayDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/AncvDetails.cs b/Adyen/Model/Checkout/AncvDetails.cs index a76033b4c..27927582f 100644 --- a/Adyen/Model/Checkout/AncvDetails.cs +++ b/Adyen/Model/Checkout/AncvDetails.cs @@ -90,7 +90,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/ApplePayDetails.cs b/Adyen/Model/Checkout/ApplePayDetails.cs index a12b79baf..42a94c36a 100644 --- a/Adyen/Model/Checkout/ApplePayDetails.cs +++ b/Adyen/Model/Checkout/ApplePayDetails.cs @@ -125,7 +125,7 @@ protected ApplePayDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/ApplePayDonations.cs b/Adyen/Model/Checkout/ApplePayDonations.cs index 5ba542981..3a911315d 100644 --- a/Adyen/Model/Checkout/ApplePayDonations.cs +++ b/Adyen/Model/Checkout/ApplePayDonations.cs @@ -125,7 +125,7 @@ protected ApplePayDonations() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/BacsDirectDebitDetails.cs b/Adyen/Model/Checkout/BacsDirectDebitDetails.cs index e02285d27..6df2e748a 100644 --- a/Adyen/Model/Checkout/BacsDirectDebitDetails.cs +++ b/Adyen/Model/Checkout/BacsDirectDebitDetails.cs @@ -110,7 +110,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/BalanceCheckRequest.cs b/Adyen/Model/Checkout/BalanceCheckRequest.cs index 0f4f088c4..aa05f4219 100644 --- a/Adyen/Model/Checkout/BalanceCheckRequest.cs +++ b/Adyen/Model/Checkout/BalanceCheckRequest.cs @@ -472,7 +472,7 @@ protected BalanceCheckRequest() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/BlikDetails.cs b/Adyen/Model/Checkout/BlikDetails.cs index 24f1a66ae..73a02755b 100644 --- a/Adyen/Model/Checkout/BlikDetails.cs +++ b/Adyen/Model/Checkout/BlikDetails.cs @@ -90,7 +90,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/CardDetails.cs b/Adyen/Model/Checkout/CardDetails.cs index 751db840a..4772b39ec 100644 --- a/Adyen/Model/Checkout/CardDetails.cs +++ b/Adyen/Model/Checkout/CardDetails.cs @@ -177,7 +177,7 @@ public enum TypeEnum /// Gets or Sets CupsecureplusSmscode /// [DataMember(Name = "cupsecureplus.smscode", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public string CupsecureplusSmscode { get; set; } /// @@ -255,7 +255,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/CardDonations.cs b/Adyen/Model/Checkout/CardDonations.cs index 384926b5f..ec8a0b3cf 100644 --- a/Adyen/Model/Checkout/CardDonations.cs +++ b/Adyen/Model/Checkout/CardDonations.cs @@ -177,7 +177,7 @@ public enum TypeEnum /// Gets or Sets CupsecureplusSmscode /// [DataMember(Name = "cupsecureplus.smscode", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public string CupsecureplusSmscode { get; set; } /// @@ -255,7 +255,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/CashAppDetails.cs b/Adyen/Model/Checkout/CashAppDetails.cs index 410f97ff5..8c5803f3c 100644 --- a/Adyen/Model/Checkout/CashAppDetails.cs +++ b/Adyen/Model/Checkout/CashAppDetails.cs @@ -121,7 +121,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/CreateCheckoutSessionRequest.cs b/Adyen/Model/Checkout/CreateCheckoutSessionRequest.cs index 6f81c8106..ec0d7b818 100644 --- a/Adyen/Model/Checkout/CreateCheckoutSessionRequest.cs +++ b/Adyen/Model/Checkout/CreateCheckoutSessionRequest.cs @@ -731,7 +731,7 @@ protected CreateCheckoutSessionRequest() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/CreateCheckoutSessionResponse.cs b/Adyen/Model/Checkout/CreateCheckoutSessionResponse.cs index 957855202..0cfb9656f 100644 --- a/Adyen/Model/Checkout/CreateCheckoutSessionResponse.cs +++ b/Adyen/Model/Checkout/CreateCheckoutSessionResponse.cs @@ -748,7 +748,7 @@ protected CreateCheckoutSessionResponse() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/DonationPaymentRequest.cs b/Adyen/Model/Checkout/DonationPaymentRequest.cs index a4d05e7a0..8d83b6fba 100644 --- a/Adyen/Model/Checkout/DonationPaymentRequest.cs +++ b/Adyen/Model/Checkout/DonationPaymentRequest.cs @@ -291,7 +291,7 @@ protected DonationPaymentRequest() { } /// /// Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. [DataMember(Name = "conversionId", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `checkoutAttemptId` instead")] public string ConversionId { get; set; } /// @@ -496,7 +496,7 @@ protected DonationPaymentRequest() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/EftDetails.cs b/Adyen/Model/Checkout/EftDetails.cs index 705c04a4e..87785a13b 100644 --- a/Adyen/Model/Checkout/EftDetails.cs +++ b/Adyen/Model/Checkout/EftDetails.cs @@ -117,7 +117,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.cs b/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.cs index 61a0d91bd..6b93d4547 100644 --- a/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.cs +++ b/Adyen/Model/Checkout/GenericIssuerPaymentMethodDetails.cs @@ -113,7 +113,7 @@ protected GenericIssuerPaymentMethodDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/GiropayDetails.cs b/Adyen/Model/Checkout/GiropayDetails.cs index 5bafef873..96d89970e 100644 --- a/Adyen/Model/Checkout/GiropayDetails.cs +++ b/Adyen/Model/Checkout/GiropayDetails.cs @@ -81,7 +81,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/GooglePayDetails.cs b/Adyen/Model/Checkout/GooglePayDetails.cs index 0060da307..74d35d781 100644 --- a/Adyen/Model/Checkout/GooglePayDetails.cs +++ b/Adyen/Model/Checkout/GooglePayDetails.cs @@ -136,7 +136,7 @@ protected GooglePayDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/GooglePayDonations.cs b/Adyen/Model/Checkout/GooglePayDonations.cs index 31efd3f70..ba27090e8 100644 --- a/Adyen/Model/Checkout/GooglePayDonations.cs +++ b/Adyen/Model/Checkout/GooglePayDonations.cs @@ -136,7 +136,7 @@ protected GooglePayDonations() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/IdealDetails.cs b/Adyen/Model/Checkout/IdealDetails.cs index 760020dc8..ca4076a29 100644 --- a/Adyen/Model/Checkout/IdealDetails.cs +++ b/Adyen/Model/Checkout/IdealDetails.cs @@ -90,7 +90,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/IdealDonations.cs b/Adyen/Model/Checkout/IdealDonations.cs index 9a1347b38..042d467db 100644 --- a/Adyen/Model/Checkout/IdealDonations.cs +++ b/Adyen/Model/Checkout/IdealDonations.cs @@ -90,7 +90,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/InputDetail.cs b/Adyen/Model/Checkout/InputDetail.cs index 76e3bee2e..5cec859ae 100644 --- a/Adyen/Model/Checkout/InputDetail.cs +++ b/Adyen/Model/Checkout/InputDetail.cs @@ -76,7 +76,7 @@ public partial class InputDetail : IEquatable, IValidatableObject /// /// Input details can also be provided recursively (deprecated). [DataMember(Name = "inputDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public List InputDetails { get; set; } /// diff --git a/Adyen/Model/Checkout/KlarnaDetails.cs b/Adyen/Model/Checkout/KlarnaDetails.cs index 0c9d72e57..c25d2bc5d 100644 --- a/Adyen/Model/Checkout/KlarnaDetails.cs +++ b/Adyen/Model/Checkout/KlarnaDetails.cs @@ -151,7 +151,7 @@ protected KlarnaDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/MerchantRiskIndicator.cs b/Adyen/Model/Checkout/MerchantRiskIndicator.cs index 53e0af054..8dbf68ec1 100644 --- a/Adyen/Model/Checkout/MerchantRiskIndicator.cs +++ b/Adyen/Model/Checkout/MerchantRiskIndicator.cs @@ -177,7 +177,7 @@ public enum DeliveryTimeframeEnum /// /// The delivery email address (for digital goods). [DataMember(Name = "deliveryEmail", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `deliveryEmailAddress` instead.")] public string DeliveryEmail { get; set; } /// diff --git a/Adyen/Model/Checkout/OpenInvoiceDetails.cs b/Adyen/Model/Checkout/OpenInvoiceDetails.cs index 5e8a50f94..b86870177 100644 --- a/Adyen/Model/Checkout/OpenInvoiceDetails.cs +++ b/Adyen/Model/Checkout/OpenInvoiceDetails.cs @@ -120,7 +120,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PayPalDetails.cs b/Adyen/Model/Checkout/PayPalDetails.cs index 5b6f587af..f7c95de55 100644 --- a/Adyen/Model/Checkout/PayPalDetails.cs +++ b/Adyen/Model/Checkout/PayPalDetails.cs @@ -158,7 +158,7 @@ protected PayPalDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PayToDetails.cs b/Adyen/Model/Checkout/PayToDetails.cs index 079048da5..61f8e9f22 100644 --- a/Adyen/Model/Checkout/PayToDetails.cs +++ b/Adyen/Model/Checkout/PayToDetails.cs @@ -83,7 +83,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PayUUpiDetails.cs b/Adyen/Model/Checkout/PayUUpiDetails.cs index d4178136e..95747dedf 100644 --- a/Adyen/Model/Checkout/PayUUpiDetails.cs +++ b/Adyen/Model/Checkout/PayUUpiDetails.cs @@ -90,7 +90,7 @@ protected PayUUpiDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PayWithGoogleDetails.cs b/Adyen/Model/Checkout/PayWithGoogleDetails.cs index 4823e92e8..9f7c6a7de 100644 --- a/Adyen/Model/Checkout/PayWithGoogleDetails.cs +++ b/Adyen/Model/Checkout/PayWithGoogleDetails.cs @@ -127,7 +127,7 @@ protected PayWithGoogleDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PayWithGoogleDonations.cs b/Adyen/Model/Checkout/PayWithGoogleDonations.cs index 017c88aa5..147a4484b 100644 --- a/Adyen/Model/Checkout/PayWithGoogleDonations.cs +++ b/Adyen/Model/Checkout/PayWithGoogleDonations.cs @@ -127,7 +127,7 @@ protected PayWithGoogleDonations() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/PaymentDetailsRequest.cs b/Adyen/Model/Checkout/PaymentDetailsRequest.cs index a78ece1a8..bff74d4d7 100644 --- a/Adyen/Model/Checkout/PaymentDetailsRequest.cs +++ b/Adyen/Model/Checkout/PaymentDetailsRequest.cs @@ -76,7 +76,7 @@ protected PaymentDetailsRequest() { } /// /// Change the `authenticationOnly` indicator originally set in the `/payments` request. Only needs to be set if you want to modify the value set previously. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/PaymentMethod.cs b/Adyen/Model/Checkout/PaymentMethod.cs index 4238320e4..9acf87539 100644 --- a/Adyen/Model/Checkout/PaymentMethod.cs +++ b/Adyen/Model/Checkout/PaymentMethod.cs @@ -126,7 +126,7 @@ public enum FundingSourceEnum /// /// All input details to be provided to complete the payment with this payment method. [DataMember(Name = "inputDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public List InputDetails { get; set; } /// diff --git a/Adyen/Model/Checkout/PaymentRequest.cs b/Adyen/Model/Checkout/PaymentRequest.cs index 2cfc9762d..f28fc38ee 100644 --- a/Adyen/Model/Checkout/PaymentRequest.cs +++ b/Adyen/Model/Checkout/PaymentRequest.cs @@ -424,7 +424,7 @@ protected PaymentRequest() { } /// /// Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. [DataMember(Name = "conversionId", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `checkoutAttemptId` instead")] public string ConversionId { get; set; } /// @@ -465,7 +465,7 @@ protected PaymentRequest() { } /// /// The date and time the purchased goods should be delivered. Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): YYYY-MM-DDThh:mm:ss.sssTZD Example: 2017-07-17T13:42:40.428+01:00 [DataMember(Name = "deliveryDate", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v70 - Use `deliverAt` instead.")] public DateTime DeliveryDate { get; set; } /// @@ -762,7 +762,7 @@ protected PaymentRequest() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/PaymentSetupRequest.cs b/Adyen/Model/Checkout/PaymentSetupRequest.cs index 3073a0781..534736cc7 100644 --- a/Adyen/Model/Checkout/PaymentSetupRequest.cs +++ b/Adyen/Model/Checkout/PaymentSetupRequest.cs @@ -336,7 +336,7 @@ protected PaymentSetupRequest() { } /// /// Conversion ID that corresponds to the Id generated by the client SDK for tracking user payment journey. [DataMember(Name = "conversionId", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `checkoutAttemptId` instead")] public string ConversionId { get; set; } /// @@ -610,7 +610,7 @@ protected PaymentSetupRequest() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "threeDSAuthenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v69 - Use `authenticationData.authenticationOnly` instead.")] public bool? ThreeDSAuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/PaymentSetupResponse.cs b/Adyen/Model/Checkout/PaymentSetupResponse.cs index d4ee44732..5cab24485 100644 --- a/Adyen/Model/Checkout/PaymentSetupResponse.cs +++ b/Adyen/Model/Checkout/PaymentSetupResponse.cs @@ -55,7 +55,7 @@ public partial class PaymentSetupResponse : IEquatable, IV /// /// The detailed list of stored payment details required to generate payment forms. Will be empty if oneClick is set to false in the request. [DataMember(Name = "recurringDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public List RecurringDetails { get; set; } /// diff --git a/Adyen/Model/Checkout/RatepayDetails.cs b/Adyen/Model/Checkout/RatepayDetails.cs index 90eca67ff..d9b2f6a15 100644 --- a/Adyen/Model/Checkout/RatepayDetails.cs +++ b/Adyen/Model/Checkout/RatepayDetails.cs @@ -119,7 +119,7 @@ protected RatepayDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/RecurringDetail.cs b/Adyen/Model/Checkout/RecurringDetail.cs index ce84832f5..598937db9 100644 --- a/Adyen/Model/Checkout/RecurringDetail.cs +++ b/Adyen/Model/Checkout/RecurringDetail.cs @@ -130,7 +130,7 @@ public enum FundingSourceEnum /// /// All input details to be provided to complete the payment with this payment method. [DataMember(Name = "inputDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v - ")] public List InputDetails { get; set; } /// diff --git a/Adyen/Model/Checkout/SamsungPayDetails.cs b/Adyen/Model/Checkout/SamsungPayDetails.cs index 947f90d23..29bdb792c 100644 --- a/Adyen/Model/Checkout/SamsungPayDetails.cs +++ b/Adyen/Model/Checkout/SamsungPayDetails.cs @@ -118,7 +118,7 @@ protected SamsungPayDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/SepaDirectDebitDetails.cs b/Adyen/Model/Checkout/SepaDirectDebitDetails.cs index 7b234b850..702e5b84e 100644 --- a/Adyen/Model/Checkout/SepaDirectDebitDetails.cs +++ b/Adyen/Model/Checkout/SepaDirectDebitDetails.cs @@ -112,7 +112,7 @@ protected SepaDirectDebitDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/StoredPaymentMethodDetails.cs b/Adyen/Model/Checkout/StoredPaymentMethodDetails.cs index 2427f1fe0..ede83067b 100644 --- a/Adyen/Model/Checkout/StoredPaymentMethodDetails.cs +++ b/Adyen/Model/Checkout/StoredPaymentMethodDetails.cs @@ -183,7 +183,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/ThreeDS2RequestData.cs b/Adyen/Model/Checkout/ThreeDS2RequestData.cs index 4d437fbac..6ec7cdb4e 100644 --- a/Adyen/Model/Checkout/ThreeDS2RequestData.cs +++ b/Adyen/Model/Checkout/ThreeDS2RequestData.cs @@ -133,7 +133,7 @@ public enum ChallengeIndicatorEnum /// /// Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` [DataMember(Name = "challengeIndicator", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `threeDSRequestorChallengeInd` instead.")] public ChallengeIndicatorEnum? ChallengeIndicator { get; set; } /// /// Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only @@ -394,7 +394,7 @@ protected ThreeDS2RequestData() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "authenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v50 - Use `threeDSAuthenticationOnly` instead.")] public bool? AuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/ThreeDS2RequestFields.cs b/Adyen/Model/Checkout/ThreeDS2RequestFields.cs index 898210df6..3c86afbbb 100644 --- a/Adyen/Model/Checkout/ThreeDS2RequestFields.cs +++ b/Adyen/Model/Checkout/ThreeDS2RequestFields.cs @@ -133,7 +133,7 @@ public enum ChallengeIndicatorEnum /// /// Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` [DataMember(Name = "challengeIndicator", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v68 - Use `threeDSRequestorChallengeInd` instead.")] public ChallengeIndicatorEnum? ChallengeIndicator { get; set; } /// /// Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only @@ -383,7 +383,7 @@ public enum TransactionTypeEnum /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "authenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v50 - Use `threeDSAuthenticationOnly` instead.")] public bool? AuthenticationOnly { get; set; } /// diff --git a/Adyen/Model/Checkout/UpiCollectDetails.cs b/Adyen/Model/Checkout/UpiCollectDetails.cs index 063f5af47..c4bcc4923 100644 --- a/Adyen/Model/Checkout/UpiCollectDetails.cs +++ b/Adyen/Model/Checkout/UpiCollectDetails.cs @@ -99,7 +99,7 @@ protected UpiCollectDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/UpiIntentDetails.cs b/Adyen/Model/Checkout/UpiIntentDetails.cs index fb6000f9d..e20fcc375 100644 --- a/Adyen/Model/Checkout/UpiIntentDetails.cs +++ b/Adyen/Model/Checkout/UpiIntentDetails.cs @@ -97,7 +97,7 @@ protected UpiIntentDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/VippsDetails.cs b/Adyen/Model/Checkout/VippsDetails.cs index 94eaf6e07..9db6925a7 100644 --- a/Adyen/Model/Checkout/VippsDetails.cs +++ b/Adyen/Model/Checkout/VippsDetails.cs @@ -88,7 +88,7 @@ protected VippsDetails() { } /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/Checkout/ZipDetails.cs b/Adyen/Model/Checkout/ZipDetails.cs index feb361658..96f220194 100644 --- a/Adyen/Model/Checkout/ZipDetails.cs +++ b/Adyen/Model/Checkout/ZipDetails.cs @@ -96,7 +96,7 @@ public enum TypeEnum /// /// This is the `recurringDetailReference` returned in the response when you created the token. [DataMember(Name = "recurringDetailReference", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Checkout API v49 - Use `storedPaymentMethodId` instead.")] public string RecurringDetailReference { get; set; } /// diff --git a/Adyen/Model/ConfigurationWebhooks/AccountHolder.cs b/Adyen/Model/ConfigurationWebhooks/AccountHolder.cs index cf1c70d19..95d23eec8 100644 --- a/Adyen/Model/ConfigurationWebhooks/AccountHolder.cs +++ b/Adyen/Model/ConfigurationWebhooks/AccountHolder.cs @@ -122,7 +122,7 @@ protected AccountHolder() { } /// Gets or Sets ContactDetails /// [DataMember(Name = "contactDetails", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration webhooks v - ")] public ContactDetails ContactDetails { get; set; } /// diff --git a/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.cs b/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.cs index 78da768cd..4245e25fd 100644 --- a/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.cs +++ b/Adyen/Model/ConfigurationWebhooks/PaymentInstrument.cs @@ -213,7 +213,7 @@ protected PaymentInstrument() { } /// /// Contains optional, additional business account details. Returned when you create a payment instrument with `type` **bankAccount**. [DataMember(Name = "additionalBankAccountIdentifications", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Configuration webhooks v2 - Please use `bankAccount` object instead")] public List AdditionalBankAccountIdentifications { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs b/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs index 43914f22e..19f8c9e5e 100644 --- a/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs +++ b/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceResponse.cs @@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement public partial class AcceptTermsOfServiceResponse : IEquatable, IValidatableObject { /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [JsonConverter(typeof(StringEnumConverter))] public enum TypeEnum { @@ -57,49 +57,43 @@ public enum TypeEnum [EnumMember(Value = "adyenCard")] AdyenCard = 3, - /// - /// Enum AdyenChargeCard for value: adyenChargeCard - /// - [EnumMember(Value = "adyenChargeCard")] - AdyenChargeCard = 4, - /// /// Enum AdyenForPlatformsAdvanced for value: adyenForPlatformsAdvanced /// [EnumMember(Value = "adyenForPlatformsAdvanced")] - AdyenForPlatformsAdvanced = 5, + AdyenForPlatformsAdvanced = 4, /// /// Enum AdyenForPlatformsManage for value: adyenForPlatformsManage /// [EnumMember(Value = "adyenForPlatformsManage")] - AdyenForPlatformsManage = 6, + AdyenForPlatformsManage = 5, /// /// Enum AdyenFranchisee for value: adyenFranchisee /// [EnumMember(Value = "adyenFranchisee")] - AdyenFranchisee = 7, + AdyenFranchisee = 6, /// /// Enum AdyenIssuing for value: adyenIssuing /// [EnumMember(Value = "adyenIssuing")] - AdyenIssuing = 8, + AdyenIssuing = 7, /// /// Enum AdyenPccr for value: adyenPccr /// [EnumMember(Value = "adyenPccr")] - AdyenPccr = 9 + AdyenPccr = 8 } /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [DataMember(Name = "type", EmitDefaultValue = false)] public TypeEnum? Type { get; set; } /// @@ -110,7 +104,7 @@ public enum TypeEnum /// The IP address of the user that accepted the Terms of Service.. /// The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.. /// The unique identifier of the Terms of Service document.. - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** . + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** . public AcceptTermsOfServiceResponse(string acceptedBy = default(string), string id = default(string), string ipAddress = default(string), string language = default(string), string termsOfServiceDocumentId = default(string), TypeEnum? type = default(TypeEnum?)) { this.AcceptedBy = acceptedBy; diff --git a/Adyen/Model/LegalEntityManagement/Attachment.cs b/Adyen/Model/LegalEntityManagement/Attachment.cs index c4a3bfab6..b555235c6 100644 --- a/Adyen/Model/LegalEntityManagement/Attachment.cs +++ b/Adyen/Model/LegalEntityManagement/Attachment.cs @@ -66,7 +66,7 @@ protected Attachment() { } /// /// The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. [DataMember(Name = "contentType", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string ContentType { get; set; } /// @@ -74,7 +74,7 @@ protected Attachment() { } /// /// The name of the file including the file extension. [DataMember(Name = "filename", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string Filename { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/BankAccountInfo.cs b/Adyen/Model/LegalEntityManagement/BankAccountInfo.cs index f847450d4..8f3cfe6a6 100644 --- a/Adyen/Model/LegalEntityManagement/BankAccountInfo.cs +++ b/Adyen/Model/LegalEntityManagement/BankAccountInfo.cs @@ -58,7 +58,7 @@ public partial class BankAccountInfo : IEquatable, IValidatable /// /// The type of bank account. [DataMember(Name = "accountType", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v2 - ")] public string AccountType { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/BusinessLine.cs b/Adyen/Model/LegalEntityManagement/BusinessLine.cs index ea7b70f97..bfa11cd61 100644 --- a/Adyen/Model/LegalEntityManagement/BusinessLine.cs +++ b/Adyen/Model/LegalEntityManagement/BusinessLine.cs @@ -65,7 +65,7 @@ public enum CapabilityEnum /// /// The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** [DataMember(Name = "capability", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v3 - Use `service` instead.")] public CapabilityEnum? Capability { get; set; } /// /// The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** diff --git a/Adyen/Model/LegalEntityManagement/BusinessLineInfo.cs b/Adyen/Model/LegalEntityManagement/BusinessLineInfo.cs index 0737f773a..0b827ee69 100644 --- a/Adyen/Model/LegalEntityManagement/BusinessLineInfo.cs +++ b/Adyen/Model/LegalEntityManagement/BusinessLineInfo.cs @@ -65,7 +65,7 @@ public enum CapabilityEnum /// /// The capability for which you are creating the business line. Possible values: **receivePayments**, **receiveFromPlatformPayments**, **issueBankAccount** [DataMember(Name = "capability", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v3 - Use `service` instead.")] public CapabilityEnum? Capability { get; set; } /// /// The service for which you are creating the business line. Possible values: * **paymentProcessing** * **banking** diff --git a/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.cs b/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.cs index 4cffb8946..fa7ec7c06 100644 --- a/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.cs +++ b/Adyen/Model/LegalEntityManagement/CalculateTermsOfServiceStatusResponse.cs @@ -56,41 +56,35 @@ public enum TermsOfServiceTypesEnum [EnumMember(Value = "adyenCard")] AdyenCard = 3, - /// - /// Enum AdyenChargeCard for value: adyenChargeCard - /// - [EnumMember(Value = "adyenChargeCard")] - AdyenChargeCard = 4, - /// /// Enum AdyenForPlatformsAdvanced for value: adyenForPlatformsAdvanced /// [EnumMember(Value = "adyenForPlatformsAdvanced")] - AdyenForPlatformsAdvanced = 5, + AdyenForPlatformsAdvanced = 4, /// /// Enum AdyenForPlatformsManage for value: adyenForPlatformsManage /// [EnumMember(Value = "adyenForPlatformsManage")] - AdyenForPlatformsManage = 6, + AdyenForPlatformsManage = 5, /// /// Enum AdyenFranchisee for value: adyenFranchisee /// [EnumMember(Value = "adyenFranchisee")] - AdyenFranchisee = 7, + AdyenFranchisee = 6, /// /// Enum AdyenIssuing for value: adyenIssuing /// [EnumMember(Value = "adyenIssuing")] - AdyenIssuing = 8, + AdyenIssuing = 7, /// /// Enum AdyenPccr for value: adyenPccr /// [EnumMember(Value = "adyenPccr")] - AdyenPccr = 9 + AdyenPccr = 8 } diff --git a/Adyen/Model/LegalEntityManagement/Document.cs b/Adyen/Model/LegalEntityManagement/Document.cs index 0a14d3276..9dd6c08b5 100644 --- a/Adyen/Model/LegalEntityManagement/Document.cs +++ b/Adyen/Model/LegalEntityManagement/Document.cs @@ -226,7 +226,7 @@ protected Document() { } /// /// The expiry date of the document, in YYYY-MM-DD format. [DataMember(Name = "expiryDate", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string ExpiryDate { get; set; } /// @@ -248,7 +248,7 @@ protected Document() { } /// /// The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. [DataMember(Name = "issuerCountry", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string IssuerCountry { get; set; } /// @@ -256,7 +256,7 @@ protected Document() { } /// /// The state or province where the document was issued (AU only). [DataMember(Name = "issuerState", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string IssuerState { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs index ea43ec103..5e5bcb2a6 100644 --- a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs +++ b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs @@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement public partial class GetTermsOfServiceDocumentRequest : IEquatable, IValidatableObject { /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [JsonConverter(typeof(StringEnumConverter))] public enum TypeEnum { @@ -57,49 +57,43 @@ public enum TypeEnum [EnumMember(Value = "adyenCard")] AdyenCard = 3, - /// - /// Enum AdyenChargeCard for value: adyenChargeCard - /// - [EnumMember(Value = "adyenChargeCard")] - AdyenChargeCard = 4, - /// /// Enum AdyenForPlatformsAdvanced for value: adyenForPlatformsAdvanced /// [EnumMember(Value = "adyenForPlatformsAdvanced")] - AdyenForPlatformsAdvanced = 5, + AdyenForPlatformsAdvanced = 4, /// /// Enum AdyenForPlatformsManage for value: adyenForPlatformsManage /// [EnumMember(Value = "adyenForPlatformsManage")] - AdyenForPlatformsManage = 6, + AdyenForPlatformsManage = 5, /// /// Enum AdyenFranchisee for value: adyenFranchisee /// [EnumMember(Value = "adyenFranchisee")] - AdyenFranchisee = 7, + AdyenFranchisee = 6, /// /// Enum AdyenIssuing for value: adyenIssuing /// [EnumMember(Value = "adyenIssuing")] - AdyenIssuing = 8, + AdyenIssuing = 7, /// /// Enum AdyenPccr for value: adyenPccr /// [EnumMember(Value = "adyenPccr")] - AdyenPccr = 9 + AdyenPccr = 8 } /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [DataMember(Name = "type", IsRequired = false, EmitDefaultValue = false)] public TypeEnum Type { get; set; } /// @@ -112,7 +106,7 @@ protected GetTermsOfServiceDocumentRequest() { } /// /// The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. (required). /// The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**.. - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** (required). + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** (required). public GetTermsOfServiceDocumentRequest(string language = default(string), string termsOfServiceDocumentFormat = default(string), TypeEnum type = default(TypeEnum)) { this.Language = language; diff --git a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.cs b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.cs index 356ad6924..aa7f9d7aa 100644 --- a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.cs +++ b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentResponse.cs @@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement public partial class GetTermsOfServiceDocumentResponse : IEquatable, IValidatableObject { /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [JsonConverter(typeof(StringEnumConverter))] public enum TypeEnum { @@ -57,49 +57,43 @@ public enum TypeEnum [EnumMember(Value = "adyenCard")] AdyenCard = 3, - /// - /// Enum AdyenChargeCard for value: adyenChargeCard - /// - [EnumMember(Value = "adyenChargeCard")] - AdyenChargeCard = 4, - /// /// Enum AdyenForPlatformsAdvanced for value: adyenForPlatformsAdvanced /// [EnumMember(Value = "adyenForPlatformsAdvanced")] - AdyenForPlatformsAdvanced = 5, + AdyenForPlatformsAdvanced = 4, /// /// Enum AdyenForPlatformsManage for value: adyenForPlatformsManage /// [EnumMember(Value = "adyenForPlatformsManage")] - AdyenForPlatformsManage = 6, + AdyenForPlatformsManage = 5, /// /// Enum AdyenFranchisee for value: adyenFranchisee /// [EnumMember(Value = "adyenFranchisee")] - AdyenFranchisee = 7, + AdyenFranchisee = 6, /// /// Enum AdyenIssuing for value: adyenIssuing /// [EnumMember(Value = "adyenIssuing")] - AdyenIssuing = 8, + AdyenIssuing = 7, /// /// Enum AdyenPccr for value: adyenPccr /// [EnumMember(Value = "adyenPccr")] - AdyenPccr = 9 + AdyenPccr = 8 } /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [DataMember(Name = "type", EmitDefaultValue = false)] public TypeEnum? Type { get; set; } /// @@ -110,7 +104,7 @@ public enum TypeEnum /// The language used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English.. /// The format of the Terms of Service document.. /// The unique identifier of the Terms of Service document.. - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** . + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** . public GetTermsOfServiceDocumentResponse(byte[] document = default(byte[]), string id = default(string), string language = default(string), string termsOfServiceDocumentFormat = default(string), string termsOfServiceDocumentId = default(string), TypeEnum? type = default(TypeEnum?)) { this.Document = document; diff --git a/Adyen/Model/LegalEntityManagement/IdentificationData.cs b/Adyen/Model/LegalEntityManagement/IdentificationData.cs index 99155e004..33c41ff0e 100644 --- a/Adyen/Model/LegalEntityManagement/IdentificationData.cs +++ b/Adyen/Model/LegalEntityManagement/IdentificationData.cs @@ -117,7 +117,7 @@ protected IdentificationData() { } /// /// The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the document was issued. For example, **US**. [DataMember(Name = "issuerCountry", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - ")] public string IssuerCountry { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/LegalEntity.cs b/Adyen/Model/LegalEntityManagement/LegalEntity.cs index 3ece2bf91..990491d0c 100644 --- a/Adyen/Model/LegalEntityManagement/LegalEntity.cs +++ b/Adyen/Model/LegalEntityManagement/LegalEntity.cs @@ -131,7 +131,7 @@ protected LegalEntity() { } /// /// List of documents uploaded for the legal entity. [DataMember(Name = "documents", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v1 - Use the `documentDetails` array instead.")] public List Documents { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs b/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs index 0a156f08e..995edf311 100644 --- a/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs +++ b/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs @@ -37,7 +37,6 @@ public partial class OnboardingLinkSettings : IEquatable /// /// The list of countries the user can choose from in hosted onboarding when `editPrefilledCountry` is allowed. The value must be in the two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code format. The array is empty by default, allowing all [countries and regions supported by hosted onboarding](https://docs.adyen.com/platforms/onboard-users/#hosted-onboarding).. /// Default value: **false** Indicates if the user can select the format for their payout account (if applicable).. - /// Default value: **true** Indicates if the user may press a hidden key combination to open the HO debugging UI.. /// Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity.. /// Default value: **true** Indicates if the user can change their legal entity type.. /// Default value: **true** Indicates if the user can change the country of their legal entity's address, for example the registered address of an organization.. @@ -51,11 +50,10 @@ public partial class OnboardingLinkSettings : IEquatable /// Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **pos** sales channel type.. /// Default value: **false** Indicates if the user is required to sign a PCI questionnaires for the **posMoto** sales channel type.. /// The maximum number of transfer instruments the user can create.. - public OnboardingLinkSettings(List acceptedCountries = default(List), bool? allowBankAccountFormatSelection = default(bool?), bool? allowDebugUi = default(bool?), bool? allowIntraRegionCrossBorderPayout = default(bool?), bool? changeLegalEntityType = default(bool?), bool? editPrefilledCountry = default(bool?), bool? hideOnboardingIntroductionIndividual = default(bool?), bool? hideOnboardingIntroductionOrganization = default(bool?), bool? hideOnboardingIntroductionSoleProprietor = default(bool?), bool? hideOnboardingIntroductionTrust = default(bool?), bool? instantBankVerification = default(bool?), bool? requirePciSignEcomMoto = default(bool?), bool? requirePciSignEcommerce = default(bool?), bool? requirePciSignPos = default(bool?), bool? requirePciSignPosMoto = default(bool?), int? transferInstrumentLimit = default(int?)) + public OnboardingLinkSettings(List acceptedCountries = default(List), bool? allowBankAccountFormatSelection = default(bool?), bool? allowIntraRegionCrossBorderPayout = default(bool?), bool? changeLegalEntityType = default(bool?), bool? editPrefilledCountry = default(bool?), bool? hideOnboardingIntroductionIndividual = default(bool?), bool? hideOnboardingIntroductionOrganization = default(bool?), bool? hideOnboardingIntroductionSoleProprietor = default(bool?), bool? hideOnboardingIntroductionTrust = default(bool?), bool? instantBankVerification = default(bool?), bool? requirePciSignEcomMoto = default(bool?), bool? requirePciSignEcommerce = default(bool?), bool? requirePciSignPos = default(bool?), bool? requirePciSignPosMoto = default(bool?), int? transferInstrumentLimit = default(int?)) { this.AcceptedCountries = acceptedCountries; this.AllowBankAccountFormatSelection = allowBankAccountFormatSelection; - this.AllowDebugUi = allowDebugUi; this.AllowIntraRegionCrossBorderPayout = allowIntraRegionCrossBorderPayout; this.ChangeLegalEntityType = changeLegalEntityType; this.EditPrefilledCountry = editPrefilledCountry; @@ -85,13 +83,6 @@ public partial class OnboardingLinkSettings : IEquatable [DataMember(Name = "allowBankAccountFormatSelection", EmitDefaultValue = false)] public bool? AllowBankAccountFormatSelection { get; set; } - /// - /// Default value: **true** Indicates if the user may press a hidden key combination to open the HO debugging UI. - /// - /// Default value: **true** Indicates if the user may press a hidden key combination to open the HO debugging UI. - [DataMember(Name = "allowDebugUi", EmitDefaultValue = false)] - public bool? AllowDebugUi { get; set; } - /// /// Default value: **false** Indicates if the user can select a payout account in a different EU/EEA location (including Switzerland and the UK) than the location of their legal entity. /// @@ -193,7 +184,6 @@ public override string ToString() sb.Append("class OnboardingLinkSettings {\n"); sb.Append(" AcceptedCountries: ").Append(AcceptedCountries).Append("\n"); sb.Append(" AllowBankAccountFormatSelection: ").Append(AllowBankAccountFormatSelection).Append("\n"); - sb.Append(" AllowDebugUi: ").Append(AllowDebugUi).Append("\n"); sb.Append(" AllowIntraRegionCrossBorderPayout: ").Append(AllowIntraRegionCrossBorderPayout).Append("\n"); sb.Append(" ChangeLegalEntityType: ").Append(ChangeLegalEntityType).Append("\n"); sb.Append(" EditPrefilledCountry: ").Append(EditPrefilledCountry).Append("\n"); @@ -252,10 +242,6 @@ public bool Equals(OnboardingLinkSettings input) this.AllowBankAccountFormatSelection == input.AllowBankAccountFormatSelection || this.AllowBankAccountFormatSelection.Equals(input.AllowBankAccountFormatSelection) ) && - ( - this.AllowDebugUi == input.AllowDebugUi || - this.AllowDebugUi.Equals(input.AllowDebugUi) - ) && ( this.AllowIntraRegionCrossBorderPayout == input.AllowIntraRegionCrossBorderPayout || this.AllowIntraRegionCrossBorderPayout.Equals(input.AllowIntraRegionCrossBorderPayout) @@ -324,7 +310,6 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.AcceptedCountries.GetHashCode(); } hashCode = (hashCode * 59) + this.AllowBankAccountFormatSelection.GetHashCode(); - hashCode = (hashCode * 59) + this.AllowDebugUi.GetHashCode(); hashCode = (hashCode * 59) + this.AllowIntraRegionCrossBorderPayout.GetHashCode(); hashCode = (hashCode * 59) + this.ChangeLegalEntityType.GetHashCode(); hashCode = (hashCode * 59) + this.EditPrefilledCountry.GetHashCode(); diff --git a/Adyen/Model/LegalEntityManagement/SourceOfFunds.cs b/Adyen/Model/LegalEntityManagement/SourceOfFunds.cs index fecaad0a3..a77f946eb 100644 --- a/Adyen/Model/LegalEntityManagement/SourceOfFunds.cs +++ b/Adyen/Model/LegalEntityManagement/SourceOfFunds.cs @@ -74,7 +74,7 @@ public enum TypeEnum /// /// The unique identifier of the business line that will be the source of funds.This must be a business line for a **receivePayments** or **receiveFromPlatformPayments** capability. [DataMember(Name = "acquiringBusinessLineId", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Legal Entity Management API v3 - This field will be removed in v4.")] public string AcquiringBusinessLineId { get; set; } /// diff --git a/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.cs b/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.cs index 31ce5de46..9211731e6 100644 --- a/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.cs +++ b/Adyen/Model/LegalEntityManagement/TermsOfServiceAcceptanceInfo.cs @@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement public partial class TermsOfServiceAcceptanceInfo : IEquatable, IValidatableObject { /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [JsonConverter(typeof(StringEnumConverter))] public enum TypeEnum { @@ -57,49 +57,43 @@ public enum TypeEnum [EnumMember(Value = "adyenCard")] AdyenCard = 3, - /// - /// Enum AdyenChargeCard for value: adyenChargeCard - /// - [EnumMember(Value = "adyenChargeCard")] - AdyenChargeCard = 4, - /// /// Enum AdyenForPlatformsAdvanced for value: adyenForPlatformsAdvanced /// [EnumMember(Value = "adyenForPlatformsAdvanced")] - AdyenForPlatformsAdvanced = 5, + AdyenForPlatformsAdvanced = 4, /// /// Enum AdyenForPlatformsManage for value: adyenForPlatformsManage /// [EnumMember(Value = "adyenForPlatformsManage")] - AdyenForPlatformsManage = 6, + AdyenForPlatformsManage = 5, /// /// Enum AdyenFranchisee for value: adyenFranchisee /// [EnumMember(Value = "adyenFranchisee")] - AdyenFranchisee = 7, + AdyenFranchisee = 6, /// /// Enum AdyenIssuing for value: adyenIssuing /// [EnumMember(Value = "adyenIssuing")] - AdyenIssuing = 8, + AdyenIssuing = 7, /// /// Enum AdyenPccr for value: adyenPccr /// [EnumMember(Value = "adyenPccr")] - AdyenPccr = 9 + AdyenPccr = 8 } /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** /// - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** [DataMember(Name = "type", EmitDefaultValue = false)] public TypeEnum? Type { get; set; } /// @@ -109,7 +103,7 @@ public enum TypeEnum /// The unique identifier of the legal entity for which the Terms of Service are accepted.. /// The date when the Terms of Service were accepted.. /// An Adyen-generated reference for the accepted Terms of Service.. - /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** * **adyenChargeCard** . + /// The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** . public TermsOfServiceAcceptanceInfo(string acceptedBy = default(string), string acceptedFor = default(string), DateTime createdAt = default(DateTime), string id = default(string), TypeEnum? type = default(TypeEnum?)) { this.AcceptedBy = acceptedBy; diff --git a/Adyen/Model/Management/AndroidApp.cs b/Adyen/Model/Management/AndroidApp.cs index d87808fe0..a4aad3cdb 100644 --- a/Adyen/Model/Management/AndroidApp.cs +++ b/Adyen/Model/Management/AndroidApp.cs @@ -74,7 +74,7 @@ protected AndroidApp() { } /// /// The error code of the Android app with the `status` of either **error** or **invalid**. [DataMember(Name = "errorCode", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Management API v3 - Use `errors` instead.")] public string ErrorCode { get; set; } /// diff --git a/Adyen/Model/Management/Nexo.cs b/Adyen/Model/Management/Nexo.cs index 2bd4f2568..8f41d0229 100644 --- a/Adyen/Model/Management/Nexo.cs +++ b/Adyen/Model/Management/Nexo.cs @@ -72,7 +72,7 @@ public partial class Nexo : IEquatable, IValidatableObject /// /// One or more URLs to send event messages to when using Terminal API. [DataMember(Name = "nexoEventUrls", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Management API v1 - Use `eventUrls` instead.")] public List NexoEventUrls { get; set; } /// diff --git a/Adyen/Model/Payment/AccountInfo.cs b/Adyen/Model/Payment/AccountInfo.cs index 74baac9cb..f9574fd60 100644 --- a/Adyen/Model/Payment/AccountInfo.cs +++ b/Adyen/Model/Payment/AccountInfo.cs @@ -362,7 +362,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's home phone number (including the country code). [DataMember(Name = "homePhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v68 - Use `ThreeDS2RequestData.homePhone` instead.")] public string HomePhone { get; set; } /// @@ -370,7 +370,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's mobile phone number (including the country code). [DataMember(Name = "mobilePhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v68 - Use `ThreeDS2RequestData.mobilePhone` instead.")] public string MobilePhone { get; set; } /// @@ -420,7 +420,7 @@ public enum PaymentAccountIndicatorEnum /// /// Shopper's work phone number (including the country code). [DataMember(Name = "workPhone", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v68 - Use `ThreeDS2RequestData.workPhone` instead.")] public string WorkPhone { get; set; } /// diff --git a/Adyen/Model/Payment/MerchantRiskIndicator.cs b/Adyen/Model/Payment/MerchantRiskIndicator.cs index 64f3c3989..f3a490347 100644 --- a/Adyen/Model/Payment/MerchantRiskIndicator.cs +++ b/Adyen/Model/Payment/MerchantRiskIndicator.cs @@ -177,7 +177,7 @@ public enum DeliveryTimeframeEnum /// /// The delivery email address (for digital goods). [DataMember(Name = "deliveryEmail", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v68 - Use `deliveryEmailAddress` instead.")] public string DeliveryEmail { get; set; } /// diff --git a/Adyen/Model/Payment/ThreeDS2RequestData.cs b/Adyen/Model/Payment/ThreeDS2RequestData.cs index 08b877930..b0fab9035 100644 --- a/Adyen/Model/Payment/ThreeDS2RequestData.cs +++ b/Adyen/Model/Payment/ThreeDS2RequestData.cs @@ -133,7 +133,7 @@ public enum ChallengeIndicatorEnum /// /// Possibility to specify a preference for receiving a challenge from the issuer. Allowed values: * `noPreference` * `requestNoChallenge` * `requestChallenge` * `requestChallengeAsMandate` [DataMember(Name = "challengeIndicator", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v68 - Use `threeDSRequestorChallengeInd` instead.")] public ChallengeIndicatorEnum? ChallengeIndicator { get; set; } /// /// Indicates whether a challenge is requested for this transaction. Possible values: * **01** — No preference * **02** — No challenge requested * **03** — Challenge requested (3DS Requestor preference) * **04** — Challenge requested (Mandate) * **05** — No challenge (transactional risk analysis is already performed) * **06** — Data Only @@ -394,7 +394,7 @@ protected ThreeDS2RequestData() { } /// /// If set to true, you will only perform the [3D Secure 2 authentication](https://docs.adyen.com/online-payments/3d-secure/other-3ds-flows/authentication-only), and not the payment authorisation. [DataMember(Name = "authenticationOnly", EmitDefaultValue = false)] - [Obsolete] + [Obsolete("Deprecated since Adyen Payment API v50 - Use `threeDSAuthenticationOnly` instead.")] public bool? AuthenticationOnly { get; set; } ///