diff --git a/Adyen/Model/Checkout/FundRecipient.cs b/Adyen/Model/Checkout/FundRecipient.cs index b269ad1f5..488f311f3 100644 --- a/Adyen/Model/Checkout/FundRecipient.cs +++ b/Adyen/Model/Checkout/FundRecipient.cs @@ -45,7 +45,7 @@ public partial class FundRecipient : IEquatable, IValidatableObje /// subMerchant. /// The telephone number of the shopper.. /// Indicates where the money is going.. - /// Indicates the tax identifier of the fund recepient. + /// Indicates the tax identifier of the fund recipient. public FundRecipient(string iBAN = default(string), Address billingAddress = default(Address), CardDetails paymentMethod = default(CardDetails), string shopperEmail = default(string), Name shopperName = default(Name), string shopperReference = default(string), string storedPaymentMethodId = default(string), SubMerchant subMerchant = default(SubMerchant), string telephoneNumber = default(string), string walletIdentifier = default(string), string walletOwnerTaxId = default(string)) { this.IBAN = iBAN; @@ -128,9 +128,9 @@ public partial class FundRecipient : IEquatable, IValidatableObje public string WalletIdentifier { get; set; } /// - /// Indicates the tax identifier of the fund recepient + /// Indicates the tax identifier of the fund recipient /// - /// Indicates the tax identifier of the fund recepient + /// Indicates the tax identifier of the fund recipient [DataMember(Name = "walletOwnerTaxId", EmitDefaultValue = false)] public string WalletOwnerTaxId { get; set; } diff --git a/Adyen/Model/Checkout/Mandate.cs b/Adyen/Model/Checkout/Mandate.cs index 6e74be7ac..591a22b13 100644 --- a/Adyen/Model/Checkout/Mandate.cs +++ b/Adyen/Model/Checkout/Mandate.cs @@ -170,11 +170,12 @@ protected Mandate() { } /// The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. . /// The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. . /// The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`.. + /// The number of transactions that can be performed within the given frequency.. /// End date of the billing plan, in YYYY-MM-DD format. (required). /// The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. (required). /// The message shown by UPI to the shopper on the approval screen.. /// Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.. - public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string)) + public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string count = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string)) { this.Amount = amount; this.EndsAt = endsAt; @@ -182,6 +183,7 @@ protected Mandate() { } this.AmountRule = amountRule; this.BillingAttemptsRule = billingAttemptsRule; this.BillingDay = billingDay; + this.Count = count; this.Remarks = remarks; this.StartsAt = startsAt; } @@ -200,6 +202,13 @@ protected Mandate() { } [DataMember(Name = "billingDay", EmitDefaultValue = false)] public string BillingDay { get; set; } + /// + /// The number of transactions that can be performed within the given frequency. + /// + /// The number of transactions that can be performed within the given frequency. + [DataMember(Name = "count", EmitDefaultValue = false)] + public string Count { get; set; } + /// /// End date of the billing plan, in YYYY-MM-DD format. /// @@ -233,6 +242,7 @@ public override string ToString() sb.Append(" AmountRule: ").Append(AmountRule).Append("\n"); sb.Append(" BillingAttemptsRule: ").Append(BillingAttemptsRule).Append("\n"); sb.Append(" BillingDay: ").Append(BillingDay).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); sb.Append(" EndsAt: ").Append(EndsAt).Append("\n"); sb.Append(" Frequency: ").Append(Frequency).Append("\n"); sb.Append(" Remarks: ").Append(Remarks).Append("\n"); @@ -290,6 +300,11 @@ public bool Equals(Mandate input) (this.BillingDay != null && this.BillingDay.Equals(input.BillingDay)) ) && + ( + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) + ) && ( this.EndsAt == input.EndsAt || (this.EndsAt != null && @@ -330,6 +345,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.BillingDay.GetHashCode(); } + if (this.Count != null) + { + hashCode = (hashCode * 59) + this.Count.GetHashCode(); + } if (this.EndsAt != null) { hashCode = (hashCode * 59) + this.EndsAt.GetHashCode(); diff --git a/Adyen/Model/Checkout/PaymentDetails.cs b/Adyen/Model/Checkout/PaymentDetails.cs index e38e7b45c..2c10bdafe 100644 --- a/Adyen/Model/Checkout/PaymentDetails.cs +++ b/Adyen/Model/Checkout/PaymentDetails.cs @@ -249,335 +249,341 @@ public enum TypeEnum [EnumMember(Value = "pix")] Pix = 35, + /// + /// Enum Bizum for value: bizum + /// + [EnumMember(Value = "bizum")] + Bizum = 36, + /// /// Enum Walley for value: walley /// [EnumMember(Value = "walley")] - Walley = 36, + Walley = 37, /// /// Enum WalleyB2b for value: walley_b2b /// [EnumMember(Value = "walley_b2b")] - WalleyB2b = 37, + WalleyB2b = 38, /// /// Enum Alma for value: alma /// [EnumMember(Value = "alma")] - Alma = 38, + Alma = 39, /// /// Enum Paypo for value: paypo /// [EnumMember(Value = "paypo")] - Paypo = 39, + Paypo = 40, /// /// Enum Scalapay for value: scalapay /// [EnumMember(Value = "scalapay")] - Scalapay = 40, + Scalapay = 41, /// /// Enum Scalapay3x for value: scalapay_3x /// [EnumMember(Value = "scalapay_3x")] - Scalapay3x = 41, + Scalapay3x = 42, /// /// Enum Scalapay4x for value: scalapay_4x /// [EnumMember(Value = "scalapay_4x")] - Scalapay4x = 42, + Scalapay4x = 43, /// /// Enum MolpayFpx for value: molpay_fpx /// [EnumMember(Value = "molpay_fpx")] - MolpayFpx = 43, + MolpayFpx = 44, /// /// Enum Konbini for value: konbini /// [EnumMember(Value = "konbini")] - Konbini = 44, + Konbini = 45, /// /// Enum DirectEbanking for value: directEbanking /// [EnumMember(Value = "directEbanking")] - DirectEbanking = 45, + DirectEbanking = 46, /// /// Enum Boletobancario for value: boletobancario /// [EnumMember(Value = "boletobancario")] - Boletobancario = 46, + Boletobancario = 47, /// /// Enum Neteller for value: neteller /// [EnumMember(Value = "neteller")] - Neteller = 47, + Neteller = 48, /// /// Enum Paysafecard for value: paysafecard /// [EnumMember(Value = "paysafecard")] - Paysafecard = 48, + Paysafecard = 49, /// /// Enum Cashticket for value: cashticket /// [EnumMember(Value = "cashticket")] - Cashticket = 49, + Cashticket = 50, /// /// Enum Ikano for value: ikano /// [EnumMember(Value = "ikano")] - Ikano = 50, + Ikano = 51, /// /// Enum Karenmillen for value: karenmillen /// [EnumMember(Value = "karenmillen")] - Karenmillen = 51, + Karenmillen = 52, /// /// Enum Oasis for value: oasis /// [EnumMember(Value = "oasis")] - Oasis = 52, + Oasis = 53, /// /// Enum Warehouse for value: warehouse /// [EnumMember(Value = "warehouse")] - Warehouse = 53, + Warehouse = 54, /// /// Enum PrimeiropayBoleto for value: primeiropay_boleto /// [EnumMember(Value = "primeiropay_boleto")] - PrimeiropayBoleto = 54, + PrimeiropayBoleto = 55, /// /// Enum Mada for value: mada /// [EnumMember(Value = "mada")] - Mada = 55, + Mada = 56, /// /// Enum Benefit for value: benefit /// [EnumMember(Value = "benefit")] - Benefit = 56, + Benefit = 57, /// /// Enum Knet for value: knet /// [EnumMember(Value = "knet")] - Knet = 57, + Knet = 58, /// /// Enum Omannet for value: omannet /// [EnumMember(Value = "omannet")] - Omannet = 58, + Omannet = 59, /// /// Enum GopayWallet for value: gopay_wallet /// [EnumMember(Value = "gopay_wallet")] - GopayWallet = 59, + GopayWallet = 60, /// /// Enum KcpNaverpay for value: kcp_naverpay /// [EnumMember(Value = "kcp_naverpay")] - KcpNaverpay = 60, + KcpNaverpay = 61, /// /// Enum OnlinebankingIN for value: onlinebanking_IN /// [EnumMember(Value = "onlinebanking_IN")] - OnlinebankingIN = 61, + OnlinebankingIN = 62, /// /// Enum Fawry for value: fawry /// [EnumMember(Value = "fawry")] - Fawry = 62, + Fawry = 63, /// /// Enum Atome for value: atome /// [EnumMember(Value = "atome")] - Atome = 63, + Atome = 64, /// /// Enum Moneybookers for value: moneybookers /// [EnumMember(Value = "moneybookers")] - Moneybookers = 64, + Moneybookers = 65, /// /// Enum Naps for value: naps /// [EnumMember(Value = "naps")] - Naps = 65, + Naps = 66, /// /// Enum Nordea for value: nordea /// [EnumMember(Value = "nordea")] - Nordea = 66, + Nordea = 67, /// /// Enum BoletobancarioBradesco for value: boletobancario_bradesco /// [EnumMember(Value = "boletobancario_bradesco")] - BoletobancarioBradesco = 67, + BoletobancarioBradesco = 68, /// /// Enum BoletobancarioItau for value: boletobancario_itau /// [EnumMember(Value = "boletobancario_itau")] - BoletobancarioItau = 68, + BoletobancarioItau = 69, /// /// Enum BoletobancarioSantander for value: boletobancario_santander /// [EnumMember(Value = "boletobancario_santander")] - BoletobancarioSantander = 69, + BoletobancarioSantander = 70, /// /// Enum BoletobancarioBancodobrasil for value: boletobancario_bancodobrasil /// [EnumMember(Value = "boletobancario_bancodobrasil")] - BoletobancarioBancodobrasil = 70, + BoletobancarioBancodobrasil = 71, /// /// Enum BoletobancarioHsbc for value: boletobancario_hsbc /// [EnumMember(Value = "boletobancario_hsbc")] - BoletobancarioHsbc = 71, + BoletobancarioHsbc = 72, /// /// Enum MolpayMaybank2u for value: molpay_maybank2u /// [EnumMember(Value = "molpay_maybank2u")] - MolpayMaybank2u = 72, + MolpayMaybank2u = 73, /// /// Enum MolpayCimb for value: molpay_cimb /// [EnumMember(Value = "molpay_cimb")] - MolpayCimb = 73, + MolpayCimb = 74, /// /// Enum MolpayRhb for value: molpay_rhb /// [EnumMember(Value = "molpay_rhb")] - MolpayRhb = 74, + MolpayRhb = 75, /// /// Enum MolpayAmb for value: molpay_amb /// [EnumMember(Value = "molpay_amb")] - MolpayAmb = 75, + MolpayAmb = 76, /// /// Enum MolpayHlb for value: molpay_hlb /// [EnumMember(Value = "molpay_hlb")] - MolpayHlb = 76, + MolpayHlb = 77, /// /// Enum MolpayAffinEpg for value: molpay_affin_epg /// [EnumMember(Value = "molpay_affin_epg")] - MolpayAffinEpg = 77, + MolpayAffinEpg = 78, /// /// Enum MolpayBankislam for value: molpay_bankislam /// [EnumMember(Value = "molpay_bankislam")] - MolpayBankislam = 78, + MolpayBankislam = 79, /// /// Enum MolpayPublicbank for value: molpay_publicbank /// [EnumMember(Value = "molpay_publicbank")] - MolpayPublicbank = 79, + MolpayPublicbank = 80, /// /// Enum FpxAgrobank for value: fpx_agrobank /// [EnumMember(Value = "fpx_agrobank")] - FpxAgrobank = 80, + FpxAgrobank = 81, /// /// Enum Touchngo for value: touchngo /// [EnumMember(Value = "touchngo")] - Touchngo = 81, + Touchngo = 82, /// /// Enum Maybank2uMae for value: maybank2u_mae /// [EnumMember(Value = "maybank2u_mae")] - Maybank2uMae = 82, + Maybank2uMae = 83, /// /// Enum Duitnow for value: duitnow /// [EnumMember(Value = "duitnow")] - Duitnow = 83, + Duitnow = 84, /// /// Enum Promptpay for value: promptpay /// [EnumMember(Value = "promptpay")] - Promptpay = 84, + Promptpay = 85, /// /// Enum TwintPos for value: twint_pos /// [EnumMember(Value = "twint_pos")] - TwintPos = 85, + TwintPos = 86, /// /// Enum AlipayHk for value: alipay_hk /// [EnumMember(Value = "alipay_hk")] - AlipayHk = 86, + AlipayHk = 87, /// /// Enum AlipayHkWeb for value: alipay_hk_web /// [EnumMember(Value = "alipay_hk_web")] - AlipayHkWeb = 87, + AlipayHkWeb = 88, /// /// Enum AlipayHkWap for value: alipay_hk_wap /// [EnumMember(Value = "alipay_hk_wap")] - AlipayHkWap = 88, + AlipayHkWap = 89, /// /// Enum AlipayWap for value: alipay_wap /// [EnumMember(Value = "alipay_wap")] - AlipayWap = 89, + AlipayWap = 90, /// /// Enum Balanceplatform for value: balanceplatform /// [EnumMember(Value = "balanceplatform")] - Balanceplatform = 90 + Balanceplatform = 91 } diff --git a/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.cs b/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.cs index 91de9c57d..faa9408d1 100644 --- a/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.cs +++ b/Adyen/Model/LegalEntityManagement/AcceptTermsOfServiceRequest.cs @@ -40,7 +40,7 @@ protected AcceptTermsOfServiceRequest() { } /// /// Initializes a new instance of the class. /// - /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. (required). + /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. (required). /// The IP address of the user accepting the Terms of Service.. public AcceptTermsOfServiceRequest(string acceptedBy = default(string), string ipAddress = default(string)) { @@ -49,9 +49,9 @@ protected AcceptTermsOfServiceRequest() { } } /// - /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. + /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. /// - /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. + /// The legal entity ID of the user accepting the Terms of Service. For organizations, this must be the individual legal entity ID of an authorized signatory for the organization. For sole proprietorships, this must be the individual legal entity ID of the owner. For individuals, this must be the individual legal entity id of either the individual, parent, or guardian. [DataMember(Name = "acceptedBy", IsRequired = false, EmitDefaultValue = false)] public string AcceptedBy { get; set; } diff --git a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs index 759a3a7a6..5e5bcb2a6 100644 --- a/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs +++ b/Adyen/Model/LegalEntityManagement/GetTermsOfServiceDocumentRequest.cs @@ -105,7 +105,7 @@ protected GetTermsOfServiceDocumentRequest() { } /// Initializes a new instance of the class. /// /// 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 or PDF.. + /// 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** (required). public GetTermsOfServiceDocumentRequest(string language = default(string), string termsOfServiceDocumentFormat = default(string), TypeEnum type = default(TypeEnum)) { @@ -122,9 +122,9 @@ protected GetTermsOfServiceDocumentRequest() { } public string Language { get; set; } /// - /// The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF. + /// The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. /// - /// The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF. + /// The requested format for the Terms of Service document. Default value: JSON. Possible values: **JSON**, **PDF**, or **TXT**. [DataMember(Name = "termsOfServiceDocumentFormat", EmitDefaultValue = false)] public string TermsOfServiceDocumentFormat { get; set; } diff --git a/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs b/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs index 995edf311..0a156f08e 100644 --- a/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs +++ b/Adyen/Model/LegalEntityManagement/OnboardingLinkSettings.cs @@ -37,6 +37,7 @@ 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.. @@ -50,10 +51,11 @@ 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? 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? 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?)) { this.AcceptedCountries = acceptedCountries; this.AllowBankAccountFormatSelection = allowBankAccountFormatSelection; + this.AllowDebugUi = allowDebugUi; this.AllowIntraRegionCrossBorderPayout = allowIntraRegionCrossBorderPayout; this.ChangeLegalEntityType = changeLegalEntityType; this.EditPrefilledCountry = editPrefilledCountry; @@ -83,6 +85,13 @@ 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. /// @@ -184,6 +193,7 @@ 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"); @@ -242,6 +252,10 @@ 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) @@ -310,6 +324,7 @@ 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/VerificationDeadline.cs b/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs index 9db8dc16d..ab3149f2c 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs @@ -164,179 +164,185 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueCreditLimit for value: issueCreditLimit + /// + [EnumMember(Value = "issueCreditLimit")] + IssueCreditLimit = 22, + /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 22, + LocalAcceptance = 23, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 23, + Payout = 24, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 24, + PayoutToTransferInstrument = 25, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 25, + Processing = 26, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 26, + ReceiveFromBalanceAccount = 27, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 27, + ReceiveFromPlatformPayments = 28, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 28, + ReceiveFromThirdParty = 29, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 29, + ReceiveFromTransferInstrument = 30, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 30, + ReceiveGrants = 31, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 31, + ReceivePayments = 32, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 32, + SendToBalanceAccount = 33, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 33, + SendToThirdParty = 34, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 34, + SendToTransferInstrument = 35, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 35, + ThirdPartyFunding = 36, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 36, + UseCard = 37, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 37, + UseCardCommercial = 38, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 38, + UseCardConsumer = 39, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 39, + UseCardInRestrictedCountries = 40, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 40, + UseCardInRestrictedCountriesCommercial = 41, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 41, + UseCardInRestrictedCountriesConsumer = 42, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 42, + UseCardInRestrictedIndustries = 43, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 43, + UseCardInRestrictedIndustriesCommercial = 44, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 44, + UseCardInRestrictedIndustriesConsumer = 45, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 45, + WithdrawFromAtm = 46, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 46, + WithdrawFromAtmCommercial = 47, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 47, + WithdrawFromAtmConsumer = 48, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 48, + WithdrawFromAtmInRestrictedCountries = 49, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 49, + WithdrawFromAtmInRestrictedCountriesCommercial = 50, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 50 + WithdrawFromAtmInRestrictedCountriesConsumer = 51 } diff --git a/Adyen/Model/LegalEntityManagement/VerificationError.cs b/Adyen/Model/LegalEntityManagement/VerificationError.cs index d906970a0..7f4fb6032 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationError.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationError.cs @@ -164,179 +164,185 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueCreditLimit for value: issueCreditLimit + /// + [EnumMember(Value = "issueCreditLimit")] + IssueCreditLimit = 22, + /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 22, + LocalAcceptance = 23, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 23, + Payout = 24, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 24, + PayoutToTransferInstrument = 25, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 25, + Processing = 26, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 26, + ReceiveFromBalanceAccount = 27, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 27, + ReceiveFromPlatformPayments = 28, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 28, + ReceiveFromThirdParty = 29, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 29, + ReceiveFromTransferInstrument = 30, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 30, + ReceiveGrants = 31, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 31, + ReceivePayments = 32, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 32, + SendToBalanceAccount = 33, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 33, + SendToThirdParty = 34, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 34, + SendToTransferInstrument = 35, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 35, + ThirdPartyFunding = 36, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 36, + UseCard = 37, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 37, + UseCardCommercial = 38, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 38, + UseCardConsumer = 39, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 39, + UseCardInRestrictedCountries = 40, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 40, + UseCardInRestrictedCountriesCommercial = 41, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 41, + UseCardInRestrictedCountriesConsumer = 42, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 42, + UseCardInRestrictedIndustries = 43, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 43, + UseCardInRestrictedIndustriesCommercial = 44, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 44, + UseCardInRestrictedIndustriesConsumer = 45, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 45, + WithdrawFromAtm = 46, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 46, + WithdrawFromAtmCommercial = 47, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 47, + WithdrawFromAtmConsumer = 48, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 48, + WithdrawFromAtmInRestrictedCountries = 49, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 49, + WithdrawFromAtmInRestrictedCountriesCommercial = 50, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 50 + WithdrawFromAtmInRestrictedCountriesConsumer = 51 } diff --git a/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs b/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs index ebdcb18a6..5eab463c1 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs @@ -164,179 +164,185 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueCreditLimit for value: issueCreditLimit + /// + [EnumMember(Value = "issueCreditLimit")] + IssueCreditLimit = 22, + /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 22, + LocalAcceptance = 23, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 23, + Payout = 24, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 24, + PayoutToTransferInstrument = 25, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 25, + Processing = 26, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 26, + ReceiveFromBalanceAccount = 27, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 27, + ReceiveFromPlatformPayments = 28, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 28, + ReceiveFromThirdParty = 29, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 29, + ReceiveFromTransferInstrument = 30, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 30, + ReceiveGrants = 31, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 31, + ReceivePayments = 32, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 32, + SendToBalanceAccount = 33, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 33, + SendToThirdParty = 34, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 34, + SendToTransferInstrument = 35, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 35, + ThirdPartyFunding = 36, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 36, + UseCard = 37, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 37, + UseCardCommercial = 38, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 38, + UseCardConsumer = 39, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 39, + UseCardInRestrictedCountries = 40, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 40, + UseCardInRestrictedCountriesCommercial = 41, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 41, + UseCardInRestrictedCountriesConsumer = 42, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 42, + UseCardInRestrictedIndustries = 43, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 43, + UseCardInRestrictedIndustriesCommercial = 44, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 44, + UseCardInRestrictedIndustriesConsumer = 45, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 45, + WithdrawFromAtm = 46, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 46, + WithdrawFromAtmCommercial = 47, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 47, + WithdrawFromAtmConsumer = 48, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 48, + WithdrawFromAtmInRestrictedCountries = 49, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 49, + WithdrawFromAtmInRestrictedCountriesCommercial = 50, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 50 + WithdrawFromAtmInRestrictedCountriesConsumer = 51 } diff --git a/Adyen/Model/Management/AdditionalSettings.cs b/Adyen/Model/Management/AdditionalSettings.cs index b6ee3a1fd..db50a57e7 100644 --- a/Adyen/Model/Management/AdditionalSettings.cs +++ b/Adyen/Model/Management/AdditionalSettings.cs @@ -35,7 +35,7 @@ public partial class AdditionalSettings : IEquatable, IValid /// /// Initializes a new instance of the class. /// - /// Object containing list of event codes for which the notifcation will be sent. . + /// Object containing list of event codes for which the notification will be sent. . /// Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.. public AdditionalSettings(List includeEventCodes = default(List), Dictionary properties = default(Dictionary)) { @@ -44,9 +44,9 @@ public partial class AdditionalSettings : IEquatable, IValid } /// - /// Object containing list of event codes for which the notifcation will be sent. + /// Object containing list of event codes for which the notification will be sent. /// - /// Object containing list of event codes for which the notifcation will be sent. + /// Object containing list of event codes for which the notification will be sent. [DataMember(Name = "includeEventCodes", EmitDefaultValue = false)] public List IncludeEventCodes { get; set; } diff --git a/Adyen/Model/Management/AdditionalSettingsResponse.cs b/Adyen/Model/Management/AdditionalSettingsResponse.cs index 0d494181a..bd0b56450 100644 --- a/Adyen/Model/Management/AdditionalSettingsResponse.cs +++ b/Adyen/Model/Management/AdditionalSettingsResponse.cs @@ -35,8 +35,8 @@ public partial class AdditionalSettingsResponse : IEquatable /// Initializes a new instance of the class. /// - /// Object containing list of event codes for which the notifcation will not be sent. . - /// Object containing list of event codes for which the notifcation will be sent. . + /// Object containing list of event codes for which the notification will not be sent. . + /// Object containing list of event codes for which the notification will be sent. . /// Object containing boolean key-value pairs. The key can be any [standard webhook additional setting](https://docs.adyen.com/development-resources/webhooks/additional-settings), and the value indicates if the setting is enabled. For example, `captureDelayHours`: **true** means the standard notifications you get will contain the number of hours remaining until the payment will be captured.. public AdditionalSettingsResponse(List excludeEventCodes = default(List), List includeEventCodes = default(List), Dictionary properties = default(Dictionary)) { @@ -46,16 +46,16 @@ public partial class AdditionalSettingsResponse : IEquatable - /// Object containing list of event codes for which the notifcation will not be sent. + /// Object containing list of event codes for which the notification will not be sent. /// - /// Object containing list of event codes for which the notifcation will not be sent. + /// Object containing list of event codes for which the notification will not be sent. [DataMember(Name = "excludeEventCodes", EmitDefaultValue = false)] public List ExcludeEventCodes { get; set; } /// - /// Object containing list of event codes for which the notifcation will be sent. + /// Object containing list of event codes for which the notification will be sent. /// - /// Object containing list of event codes for which the notifcation will be sent. + /// Object containing list of event codes for which the notification will be sent. [DataMember(Name = "includeEventCodes", EmitDefaultValue = false)] public List IncludeEventCodes { get; set; } diff --git a/Adyen/Model/Payment/Mandate.cs b/Adyen/Model/Payment/Mandate.cs index 8f14276d1..46e4918f6 100644 --- a/Adyen/Model/Payment/Mandate.cs +++ b/Adyen/Model/Payment/Mandate.cs @@ -170,11 +170,12 @@ protected Mandate() { } /// The limitation rule of the billing amount. Possible values: * **max**: The transaction amount can not exceed the `amount`. * **exact**: The transaction amount should be the same as the `amount`. . /// The rule to specify the period, within which the recurring debit can happen, relative to the mandate recurring date. Possible values: * **on**: On a specific date. * **before**: Before and on a specific date. * **after**: On and after a specific date. . /// The number of the day, on which the recurring debit can happen. Should be within the same calendar month as the mandate recurring date. Possible values: 1-31 based on the `frequency`.. + /// The number of transactions that can be performed within the given frequency.. /// End date of the billing plan, in YYYY-MM-DD format. (required). /// The frequency with which a shopper should be charged. Possible values: **daily**, **weekly**, **biWeekly**, **monthly**, **quarterly**, **halfYearly**, **yearly**. (required). /// The message shown by UPI to the shopper on the approval screen.. /// Start date of the billing plan, in YYYY-MM-DD format. By default, the transaction date.. - public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string)) + public Mandate(string amount = default(string), AmountRuleEnum? amountRule = default(AmountRuleEnum?), BillingAttemptsRuleEnum? billingAttemptsRule = default(BillingAttemptsRuleEnum?), string billingDay = default(string), string count = default(string), string endsAt = default(string), FrequencyEnum frequency = default(FrequencyEnum), string remarks = default(string), string startsAt = default(string)) { this.Amount = amount; this.EndsAt = endsAt; @@ -182,6 +183,7 @@ protected Mandate() { } this.AmountRule = amountRule; this.BillingAttemptsRule = billingAttemptsRule; this.BillingDay = billingDay; + this.Count = count; this.Remarks = remarks; this.StartsAt = startsAt; } @@ -200,6 +202,13 @@ protected Mandate() { } [DataMember(Name = "billingDay", EmitDefaultValue = false)] public string BillingDay { get; set; } + /// + /// The number of transactions that can be performed within the given frequency. + /// + /// The number of transactions that can be performed within the given frequency. + [DataMember(Name = "count", EmitDefaultValue = false)] + public string Count { get; set; } + /// /// End date of the billing plan, in YYYY-MM-DD format. /// @@ -233,6 +242,7 @@ public override string ToString() sb.Append(" AmountRule: ").Append(AmountRule).Append("\n"); sb.Append(" BillingAttemptsRule: ").Append(BillingAttemptsRule).Append("\n"); sb.Append(" BillingDay: ").Append(BillingDay).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); sb.Append(" EndsAt: ").Append(EndsAt).Append("\n"); sb.Append(" Frequency: ").Append(Frequency).Append("\n"); sb.Append(" Remarks: ").Append(Remarks).Append("\n"); @@ -290,6 +300,11 @@ public bool Equals(Mandate input) (this.BillingDay != null && this.BillingDay.Equals(input.BillingDay)) ) && + ( + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) + ) && ( this.EndsAt == input.EndsAt || (this.EndsAt != null && @@ -330,6 +345,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.BillingDay.GetHashCode(); } + if (this.Count != null) + { + hashCode = (hashCode * 59) + this.Count.GetHashCode(); + } if (this.EndsAt != null) { hashCode = (hashCode * 59) + this.EndsAt.GetHashCode(); diff --git a/Adyen/Service/LegalEntityManagement/TermsOfServiceService.cs b/Adyen/Service/LegalEntityManagement/TermsOfServiceService.cs index 35ecf4774..050246a86 100644 --- a/Adyen/Service/LegalEntityManagement/TermsOfServiceService.cs +++ b/Adyen/Service/LegalEntityManagement/TermsOfServiceService.cs @@ -27,7 +27,7 @@ public interface ITermsOfServiceService /// /// Accept Terms of Service /// - /// - The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. + /// - The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. For legal representatives of individuals, this is the ID of the individual. /// - The unique identifier of the Terms of Service document. /// - /// - Additional request options. @@ -37,7 +37,7 @@ public interface ITermsOfServiceService /// /// Accept Terms of Service /// - /// - The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. + /// - The unique identifier of the legal entity. For sole proprietorships, this is the individual legal entity ID of the owner. For organizations, this is the ID of the organization. For legal representatives of individuals, this is the ID of the individual. /// - The unique identifier of the Terms of Service document. /// - /// - Additional request options.