diff --git a/Adyen/Model/BalancePlatform/Balance.cs b/Adyen/Model/BalancePlatform/Balance.cs index df621f47..e6ce1286 100644 --- a/Adyen/Model/BalancePlatform/Balance.cs +++ b/Adyen/Model/BalancePlatform/Balance.cs @@ -41,7 +41,7 @@ protected Balance() { } /// Initializes a new instance of the class. /// /// The balance available for use. (required). - /// The sum of transactions that have already been settled. (required). + /// The sum of the transactions that have already been settled. (required). /// The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. (required). /// The sum of the transactions that will be settled in the future.. /// The balance currently held in reserve. (required). @@ -62,9 +62,9 @@ protected Balance() { } public long? Available { get; set; } /// - /// The sum of transactions that have already been settled. + /// The sum of the transactions that have already been settled. /// - /// The sum of transactions that have already been settled. + /// The sum of the transactions that have already been settled. [DataMember(Name = "balance", IsRequired = false, EmitDefaultValue = false)] public long? _Balance { get; set; } diff --git a/Adyen/Model/BalancePlatform/PriorityRestriction.cs b/Adyen/Model/BalancePlatform/PriorityRestriction.cs new file mode 100644 index 00000000..f220d9b3 --- /dev/null +++ b/Adyen/Model/BalancePlatform/PriorityRestriction.cs @@ -0,0 +1,187 @@ +/* +* Configuration API +* +* +* The version of the OpenAPI document: 2 +* +* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). +* https://openapi-generator.tech +* Do not edit the class manually. +*/ + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Adyen.ApiSerialization.OpenAPIDateConverter; + +namespace Adyen.Model.BalancePlatform +{ + /// + /// PriorityRestriction + /// + [DataContract(Name = "PriorityRestriction")] + public partial class PriorityRestriction : IEquatable, IValidatableObject + { + /// + /// Defines Value + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum ValueEnum + { + /// + /// Enum CrossBorder for value: crossBorder + /// + [EnumMember(Value = "crossBorder")] + CrossBorder = 1, + + /// + /// Enum Fast for value: fast + /// + [EnumMember(Value = "fast")] + Fast = 2, + + /// + /// Enum Instant for value: instant + /// + [EnumMember(Value = "instant")] + Instant = 3, + + /// + /// Enum IntraBank for value: intraBank + /// + [EnumMember(Value = "intraBank")] + IntraBank = 4, + + /// + /// Enum Regular for value: regular + /// + [EnumMember(Value = "regular")] + Regular = 5 + + } + + + + /// + /// Gets or Sets Value + /// + [DataMember(Name = "value", EmitDefaultValue = false)] + public List Value { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected PriorityRestriction() { } + /// + /// Initializes a new instance of the class. + /// + /// Defines how the condition must be evaluated. (required). + /// value. + public PriorityRestriction(string operation = default(string), List value = default(List)) + { + this.Operation = operation; + this.Value = value; + } + + /// + /// Defines how the condition must be evaluated. + /// + /// Defines how the condition must be evaluated. + [DataMember(Name = "operation", IsRequired = false, EmitDefaultValue = false)] + public string Operation { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class PriorityRestriction {\n"); + sb.Append(" Operation: ").Append(Operation).Append("\n"); + sb.Append(" Value: ").Append(Value).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as PriorityRestriction); + } + + /// + /// Returns true if PriorityRestriction instances are equal + /// + /// Instance of PriorityRestriction to be compared + /// Boolean + public bool Equals(PriorityRestriction input) + { + if (input == null) + { + return false; + } + return + ( + this.Operation == input.Operation || + (this.Operation != null && + this.Operation.Equals(input.Operation)) + ) && + ( + this.Value == input.Value || + this.Value.SequenceEqual(input.Value) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Operation != null) + { + hashCode = (hashCode * 59) + this.Operation.GetHashCode(); + } + hashCode = (hashCode * 59) + this.Value.GetHashCode(); + return hashCode; + } + } + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.cs b/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.cs index 6f47d963..100b6dd8 100644 --- a/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.cs +++ b/Adyen/Model/BalancePlatform/TransactionRuleRestrictions.cs @@ -49,6 +49,7 @@ public partial class TransactionRuleRestrictions : IEquatablemccs. /// merchantNames. /// merchants. + /// priority. /// processingTypes. /// riskScores. /// sameAmountRestriction. @@ -56,7 +57,7 @@ public partial class TransactionRuleRestrictions : IEquatablesourceAccountTypes. /// timeOfDay. /// totalAmount. - public TransactionRuleRestrictions(ActiveNetworkTokensRestriction activeNetworkTokens = default(ActiveNetworkTokensRestriction), BrandVariantsRestriction brandVariants = default(BrandVariantsRestriction), CounterpartyBankRestriction counterpartyBank = default(CounterpartyBankRestriction), CounterpartyTypesRestriction counterpartyTypes = default(CounterpartyTypesRestriction), CountriesRestriction countries = default(CountriesRestriction), DayOfWeekRestriction dayOfWeek = default(DayOfWeekRestriction), DifferentCurrenciesRestriction differentCurrencies = default(DifferentCurrenciesRestriction), EntryModesRestriction entryModes = default(EntryModesRestriction), InternationalTransactionRestriction internationalTransaction = default(InternationalTransactionRestriction), MatchingTransactionsRestriction matchingTransactions = default(MatchingTransactionsRestriction), MatchingValuesRestriction matchingValues = default(MatchingValuesRestriction), MccsRestriction mccs = default(MccsRestriction), MerchantNamesRestriction merchantNames = default(MerchantNamesRestriction), MerchantsRestriction merchants = default(MerchantsRestriction), ProcessingTypesRestriction processingTypes = default(ProcessingTypesRestriction), RiskScoresRestriction riskScores = default(RiskScoresRestriction), SameAmountRestriction sameAmountRestriction = default(SameAmountRestriction), SameCounterpartyRestriction sameCounterpartyRestriction = default(SameCounterpartyRestriction), SourceAccountTypesRestriction sourceAccountTypes = default(SourceAccountTypesRestriction), TimeOfDayRestriction timeOfDay = default(TimeOfDayRestriction), TotalAmountRestriction totalAmount = default(TotalAmountRestriction)) + public TransactionRuleRestrictions(ActiveNetworkTokensRestriction activeNetworkTokens = default(ActiveNetworkTokensRestriction), BrandVariantsRestriction brandVariants = default(BrandVariantsRestriction), CounterpartyBankRestriction counterpartyBank = default(CounterpartyBankRestriction), CounterpartyTypesRestriction counterpartyTypes = default(CounterpartyTypesRestriction), CountriesRestriction countries = default(CountriesRestriction), DayOfWeekRestriction dayOfWeek = default(DayOfWeekRestriction), DifferentCurrenciesRestriction differentCurrencies = default(DifferentCurrenciesRestriction), EntryModesRestriction entryModes = default(EntryModesRestriction), InternationalTransactionRestriction internationalTransaction = default(InternationalTransactionRestriction), MatchingTransactionsRestriction matchingTransactions = default(MatchingTransactionsRestriction), MatchingValuesRestriction matchingValues = default(MatchingValuesRestriction), MccsRestriction mccs = default(MccsRestriction), MerchantNamesRestriction merchantNames = default(MerchantNamesRestriction), MerchantsRestriction merchants = default(MerchantsRestriction), PriorityRestriction priority = default(PriorityRestriction), ProcessingTypesRestriction processingTypes = default(ProcessingTypesRestriction), RiskScoresRestriction riskScores = default(RiskScoresRestriction), SameAmountRestriction sameAmountRestriction = default(SameAmountRestriction), SameCounterpartyRestriction sameCounterpartyRestriction = default(SameCounterpartyRestriction), SourceAccountTypesRestriction sourceAccountTypes = default(SourceAccountTypesRestriction), TimeOfDayRestriction timeOfDay = default(TimeOfDayRestriction), TotalAmountRestriction totalAmount = default(TotalAmountRestriction)) { this.ActiveNetworkTokens = activeNetworkTokens; this.BrandVariants = brandVariants; @@ -72,6 +73,7 @@ public partial class TransactionRuleRestrictions : IEquatable + /// Gets or Sets Priority + /// + [DataMember(Name = "priority", EmitDefaultValue = false)] + public PriorityRestriction Priority { get; set; } + /// /// Gets or Sets ProcessingTypes /// @@ -229,6 +237,7 @@ public override string ToString() sb.Append(" Mccs: ").Append(Mccs).Append("\n"); sb.Append(" MerchantNames: ").Append(MerchantNames).Append("\n"); sb.Append(" Merchants: ").Append(Merchants).Append("\n"); + sb.Append(" Priority: ").Append(Priority).Append("\n"); sb.Append(" ProcessingTypes: ").Append(ProcessingTypes).Append("\n"); sb.Append(" RiskScores: ").Append(RiskScores).Append("\n"); sb.Append(" SameAmountRestriction: ").Append(SameAmountRestriction).Append("\n"); @@ -341,6 +350,11 @@ public bool Equals(TransactionRuleRestrictions input) (this.Merchants != null && this.Merchants.Equals(input.Merchants)) ) && + ( + this.Priority == input.Priority || + (this.Priority != null && + this.Priority.Equals(input.Priority)) + ) && ( this.ProcessingTypes == input.ProcessingTypes || (this.ProcessingTypes != null && @@ -443,6 +457,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.Merchants.GetHashCode(); } + if (this.Priority != null) + { + hashCode = (hashCode * 59) + this.Priority.GetHashCode(); + } if (this.ProcessingTypes != null) { hashCode = (hashCode * 59) + this.ProcessingTypes.GetHashCode(); diff --git a/Adyen/Model/BalancePlatform/VerificationDeadline.cs b/Adyen/Model/BalancePlatform/VerificationDeadline.cs index 6760c955..e85e8d2e 100644 --- a/Adyen/Model/BalancePlatform/VerificationDeadline.cs +++ b/Adyen/Model/BalancePlatform/VerificationDeadline.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/BalancePlatform/VerificationError.cs b/Adyen/Model/BalancePlatform/VerificationError.cs index 4fa0edd1..64777db7 100644 --- a/Adyen/Model/BalancePlatform/VerificationError.cs +++ b/Adyen/Model/BalancePlatform/VerificationError.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/BalancePlatform/VerificationErrorRecursive.cs b/Adyen/Model/BalancePlatform/VerificationErrorRecursive.cs index 8c5bff47..eb372057 100644 --- a/Adyen/Model/BalancePlatform/VerificationErrorRecursive.cs +++ b/Adyen/Model/BalancePlatform/VerificationErrorRecursive.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/Checkout/PaymentRefundRequest.cs b/Adyen/Model/Checkout/PaymentRefundRequest.cs index 492517a9..646667bb 100644 --- a/Adyen/Model/Checkout/PaymentRefundRequest.cs +++ b/Adyen/Model/Checkout/PaymentRefundRequest.cs @@ -33,9 +33,9 @@ namespace Adyen.Model.Checkout public partial class PaymentRefundRequest : IEquatable, IValidatableObject { /// - /// Your reason for the refund request + /// The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER** /// - /// Your reason for the refund request + /// The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER** [JsonConverter(typeof(StringEnumConverter))] public enum MerchantRefundReasonEnum { @@ -73,9 +73,9 @@ public enum MerchantRefundReasonEnum /// - /// Your reason for the refund request + /// The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER** /// - /// Your reason for the refund request + /// The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER** [DataMember(Name = "merchantRefundReason", EmitDefaultValue = false)] public MerchantRefundReasonEnum? MerchantRefundReason { get; set; } /// @@ -90,7 +90,7 @@ protected PaymentRefundRequest() { } /// applicationInfo. /// Price and product information of the refunded items, required for [partial refunds](https://docs.adyen.com/online-payments/refund#refund-a-payment). > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.. /// The merchant account that is used to process the payment. (required). - /// Your reason for the refund request. + /// The reason for the refund request. Possible values: * **FRAUD** * **CUSTOMER REQUEST** * **RETURN** * **DUPLICATE** * **OTHER** . /// Your reference for the refund request. Maximum length: 80 characters.. /// An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for [marketplaces](https://docs.adyen.com/marketplaces/split-payments) or [platforms](https://docs.adyen.com/platforms/online-payments/split-payments/).. /// The online store or [physical store](https://docs.adyen.com/point-of-sale/design-your-integration/determine-account-structure/#create-stores) that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails.. diff --git a/Adyen/Model/ConfigurationWebhooks/Balance.cs b/Adyen/Model/ConfigurationWebhooks/Balance.cs index be8b7684..1a5a98fa 100644 --- a/Adyen/Model/ConfigurationWebhooks/Balance.cs +++ b/Adyen/Model/ConfigurationWebhooks/Balance.cs @@ -41,7 +41,7 @@ protected Balance() { } /// Initializes a new instance of the class. /// /// The balance available for use. (required). - /// The sum of transactions that have already been settled. (required). + /// The sum of the transactions that have already been settled. (required). /// The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes) of the balance. (required). /// The sum of the transactions that will be settled in the future.. /// The balance currently held in reserve. (required). @@ -62,9 +62,9 @@ protected Balance() { } public long? Available { get; set; } /// - /// The sum of transactions that have already been settled. + /// The sum of the transactions that have already been settled. /// - /// The sum of transactions that have already been settled. + /// The sum of the transactions that have already been settled. [DataMember(Name = "balance", IsRequired = false, EmitDefaultValue = false)] public long? _Balance { get; set; } diff --git a/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.cs b/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.cs index 2780dac3..0ac69e13 100644 --- a/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.cs +++ b/Adyen/Model/ConfigurationWebhooks/VerificationDeadline.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/ConfigurationWebhooks/VerificationError.cs b/Adyen/Model/ConfigurationWebhooks/VerificationError.cs index 1a869ea1..f53da305 100644 --- a/Adyen/Model/ConfigurationWebhooks/VerificationError.cs +++ b/Adyen/Model/ConfigurationWebhooks/VerificationError.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.cs b/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.cs index 939e857f..f7df3cfa 100644 --- a/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.cs +++ b/Adyen/Model/ConfigurationWebhooks/VerificationErrorRecursive.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.cs b/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.cs index a4b8fd4e..8c17977a 100644 --- a/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.cs +++ b/Adyen/Model/LegalEntityManagement/UnincorporatedPartnership.cs @@ -216,6 +216,15 @@ public enum TypeEnum /// Type of Partnership. Possible values: * **limitedPartnership** * **generalPartnership** * **familyPartnership** * **commercialPartnership** * **publicPartnership** * **otherPartnership** * **gbr** * **gmbh** * **kgaa** * **cv** * **vof** * **maatschap** * **privateFundLimitedPartnership** * **businessTrustEntity** * **businessPartnership** * **limitedLiabilityPartnership** * **eg** * **cooperative** * **vos** * **comunidadDeBienes** * **herenciaYacente** * **comunidadDePropietarios** * **sep** * **sca** * **bt** * **kkt** * **scs** * **snc** [DataMember(Name = "type", EmitDefaultValue = false)] public TypeEnum? Type { get; set; } + + /// + /// Returns false as Type should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeType() + { + return false; + } /// /// The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**. /// @@ -261,10 +270,9 @@ protected UnincorporatedPartnership() { } /// registeredAddress (required). /// The registration number.. /// The tax information of the entity.. - /// Type of Partnership. Possible values: * **limitedPartnership** * **generalPartnership** * **familyPartnership** * **commercialPartnership** * **publicPartnership** * **otherPartnership** * **gbr** * **gmbh** * **kgaa** * **cv** * **vof** * **maatschap** * **privateFundLimitedPartnership** * **businessTrustEntity** * **businessPartnership** * **limitedLiabilityPartnership** * **eg** * **cooperative** * **vos** * **comunidadDeBienes** * **herenciaYacente** * **comunidadDePropietarios** * **sep** * **sca** * **bt** * **kkt** * **scs** * **snc** . /// The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.. /// The VAT number.. - public UnincorporatedPartnership(string countryOfGoverningLaw = default(string), string dateOfIncorporation = default(string), string description = default(string), string doingBusinessAs = default(string), string name = default(string), Address principalPlaceOfBusiness = default(Address), Address registeredAddress = default(Address), string registrationNumber = default(string), List taxInformation = default(List), TypeEnum? type = default(TypeEnum?), VatAbsenceReasonEnum? vatAbsenceReason = default(VatAbsenceReasonEnum?), string vatNumber = default(string)) + public UnincorporatedPartnership(string countryOfGoverningLaw = default(string), string dateOfIncorporation = default(string), string description = default(string), string doingBusinessAs = default(string), string name = default(string), Address principalPlaceOfBusiness = default(Address), Address registeredAddress = default(Address), string registrationNumber = default(string), List taxInformation = default(List), VatAbsenceReasonEnum? vatAbsenceReason = default(VatAbsenceReasonEnum?), string vatNumber = default(string)) { this.CountryOfGoverningLaw = countryOfGoverningLaw; this.Name = name; @@ -275,7 +283,6 @@ protected UnincorporatedPartnership() { } this.PrincipalPlaceOfBusiness = principalPlaceOfBusiness; this.RegistrationNumber = registrationNumber; this.TaxInformation = taxInformation; - this.Type = type; this.VatAbsenceReason = vatAbsenceReason; this.VatNumber = vatNumber; } diff --git a/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs b/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs index ab3149f2..6ee6404c 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationDeadline.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/LegalEntityManagement/VerificationError.cs b/Adyen/Model/LegalEntityManagement/VerificationError.cs index 7f4fb603..6c0868b7 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationError.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationError.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs b/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs index 5eab463c..42a01484 100644 --- a/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs +++ b/Adyen/Model/LegalEntityManagement/VerificationErrorRecursive.cs @@ -164,185 +164,209 @@ public enum CapabilitiesEnum [EnumMember(Value = "issueCardConsumer")] IssueCardConsumer = 21, + /// + /// Enum IssueChargeCard for value: issueChargeCard + /// + [EnumMember(Value = "issueChargeCard")] + IssueChargeCard = 22, + + /// + /// Enum IssueChargeCardCommercial for value: issueChargeCardCommercial + /// + [EnumMember(Value = "issueChargeCardCommercial")] + IssueChargeCardCommercial = 23, + /// /// Enum IssueCreditLimit for value: issueCreditLimit /// [EnumMember(Value = "issueCreditLimit")] - IssueCreditLimit = 22, + IssueCreditLimit = 24, /// /// Enum LocalAcceptance for value: localAcceptance /// [EnumMember(Value = "localAcceptance")] - LocalAcceptance = 23, + LocalAcceptance = 25, /// /// Enum Payout for value: payout /// [EnumMember(Value = "payout")] - Payout = 24, + Payout = 26, /// /// Enum PayoutToTransferInstrument for value: payoutToTransferInstrument /// [EnumMember(Value = "payoutToTransferInstrument")] - PayoutToTransferInstrument = 25, + PayoutToTransferInstrument = 27, /// /// Enum Processing for value: processing /// [EnumMember(Value = "processing")] - Processing = 26, + Processing = 28, /// /// Enum ReceiveFromBalanceAccount for value: receiveFromBalanceAccount /// [EnumMember(Value = "receiveFromBalanceAccount")] - ReceiveFromBalanceAccount = 27, + ReceiveFromBalanceAccount = 29, /// /// Enum ReceiveFromPlatformPayments for value: receiveFromPlatformPayments /// [EnumMember(Value = "receiveFromPlatformPayments")] - ReceiveFromPlatformPayments = 28, + ReceiveFromPlatformPayments = 30, /// /// Enum ReceiveFromThirdParty for value: receiveFromThirdParty /// [EnumMember(Value = "receiveFromThirdParty")] - ReceiveFromThirdParty = 29, + ReceiveFromThirdParty = 31, /// /// Enum ReceiveFromTransferInstrument for value: receiveFromTransferInstrument /// [EnumMember(Value = "receiveFromTransferInstrument")] - ReceiveFromTransferInstrument = 30, + ReceiveFromTransferInstrument = 32, /// /// Enum ReceiveGrants for value: receiveGrants /// [EnumMember(Value = "receiveGrants")] - ReceiveGrants = 31, + ReceiveGrants = 33, /// /// Enum ReceivePayments for value: receivePayments /// [EnumMember(Value = "receivePayments")] - ReceivePayments = 32, + ReceivePayments = 34, /// /// Enum SendToBalanceAccount for value: sendToBalanceAccount /// [EnumMember(Value = "sendToBalanceAccount")] - SendToBalanceAccount = 33, + SendToBalanceAccount = 35, /// /// Enum SendToThirdParty for value: sendToThirdParty /// [EnumMember(Value = "sendToThirdParty")] - SendToThirdParty = 34, + SendToThirdParty = 36, /// /// Enum SendToTransferInstrument for value: sendToTransferInstrument /// [EnumMember(Value = "sendToTransferInstrument")] - SendToTransferInstrument = 35, + SendToTransferInstrument = 37, /// /// Enum ThirdPartyFunding for value: thirdPartyFunding /// [EnumMember(Value = "thirdPartyFunding")] - ThirdPartyFunding = 36, + ThirdPartyFunding = 38, /// /// Enum UseCard for value: useCard /// [EnumMember(Value = "useCard")] - UseCard = 37, + UseCard = 39, /// /// Enum UseCardCommercial for value: useCardCommercial /// [EnumMember(Value = "useCardCommercial")] - UseCardCommercial = 38, + UseCardCommercial = 40, /// /// Enum UseCardConsumer for value: useCardConsumer /// [EnumMember(Value = "useCardConsumer")] - UseCardConsumer = 39, + UseCardConsumer = 41, /// /// Enum UseCardInRestrictedCountries for value: useCardInRestrictedCountries /// [EnumMember(Value = "useCardInRestrictedCountries")] - UseCardInRestrictedCountries = 40, + UseCardInRestrictedCountries = 42, /// /// Enum UseCardInRestrictedCountriesCommercial for value: useCardInRestrictedCountriesCommercial /// [EnumMember(Value = "useCardInRestrictedCountriesCommercial")] - UseCardInRestrictedCountriesCommercial = 41, + UseCardInRestrictedCountriesCommercial = 43, /// /// Enum UseCardInRestrictedCountriesConsumer for value: useCardInRestrictedCountriesConsumer /// [EnumMember(Value = "useCardInRestrictedCountriesConsumer")] - UseCardInRestrictedCountriesConsumer = 42, + UseCardInRestrictedCountriesConsumer = 44, /// /// Enum UseCardInRestrictedIndustries for value: useCardInRestrictedIndustries /// [EnumMember(Value = "useCardInRestrictedIndustries")] - UseCardInRestrictedIndustries = 43, + UseCardInRestrictedIndustries = 45, /// /// Enum UseCardInRestrictedIndustriesCommercial for value: useCardInRestrictedIndustriesCommercial /// [EnumMember(Value = "useCardInRestrictedIndustriesCommercial")] - UseCardInRestrictedIndustriesCommercial = 44, + UseCardInRestrictedIndustriesCommercial = 46, /// /// Enum UseCardInRestrictedIndustriesConsumer for value: useCardInRestrictedIndustriesConsumer /// [EnumMember(Value = "useCardInRestrictedIndustriesConsumer")] - UseCardInRestrictedIndustriesConsumer = 45, + UseCardInRestrictedIndustriesConsumer = 47, + + /// + /// Enum UseChargeCard for value: useChargeCard + /// + [EnumMember(Value = "useChargeCard")] + UseChargeCard = 48, + + /// + /// Enum UseChargeCardCommercial for value: useChargeCardCommercial + /// + [EnumMember(Value = "useChargeCardCommercial")] + UseChargeCardCommercial = 49, /// /// Enum WithdrawFromAtm for value: withdrawFromAtm /// [EnumMember(Value = "withdrawFromAtm")] - WithdrawFromAtm = 46, + WithdrawFromAtm = 50, /// /// Enum WithdrawFromAtmCommercial for value: withdrawFromAtmCommercial /// [EnumMember(Value = "withdrawFromAtmCommercial")] - WithdrawFromAtmCommercial = 47, + WithdrawFromAtmCommercial = 51, /// /// Enum WithdrawFromAtmConsumer for value: withdrawFromAtmConsumer /// [EnumMember(Value = "withdrawFromAtmConsumer")] - WithdrawFromAtmConsumer = 48, + WithdrawFromAtmConsumer = 52, /// /// Enum WithdrawFromAtmInRestrictedCountries for value: withdrawFromAtmInRestrictedCountries /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountries")] - WithdrawFromAtmInRestrictedCountries = 49, + WithdrawFromAtmInRestrictedCountries = 53, /// /// Enum WithdrawFromAtmInRestrictedCountriesCommercial for value: withdrawFromAtmInRestrictedCountriesCommercial /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesCommercial")] - WithdrawFromAtmInRestrictedCountriesCommercial = 50, + WithdrawFromAtmInRestrictedCountriesCommercial = 54, /// /// Enum WithdrawFromAtmInRestrictedCountriesConsumer for value: withdrawFromAtmInRestrictedCountriesConsumer /// [EnumMember(Value = "withdrawFromAtmInRestrictedCountriesConsumer")] - WithdrawFromAtmInRestrictedCountriesConsumer = 51 + WithdrawFromAtmInRestrictedCountriesConsumer = 55 } diff --git a/Adyen/Model/ReportWebhooks/ReportNotificationData.cs b/Adyen/Model/ReportWebhooks/ReportNotificationData.cs index cec8e01f..6d06b19c 100644 --- a/Adyen/Model/ReportWebhooks/ReportNotificationData.cs +++ b/Adyen/Model/ReportWebhooks/ReportNotificationData.cs @@ -46,8 +46,9 @@ protected ReportNotificationData() { } /// The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.. /// The URL at which you can download the report. To download, you must authenticate your GET request with your [API credentials](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/overview). (required). /// The filename of the report. (required). + /// The ID of the resource.. /// The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` (required). - public ReportNotificationData(ResourceReference accountHolder = default(ResourceReference), ResourceReference balanceAccount = default(ResourceReference), string balancePlatform = default(string), DateTime creationDate = default(DateTime), string downloadUrl = default(string), string fileName = default(string), string reportType = default(string)) + public ReportNotificationData(ResourceReference accountHolder = default(ResourceReference), ResourceReference balanceAccount = default(ResourceReference), string balancePlatform = default(string), DateTime creationDate = default(DateTime), string downloadUrl = default(string), string fileName = default(string), string id = default(string), string reportType = default(string)) { this.DownloadUrl = downloadUrl; this.FileName = fileName; @@ -56,6 +57,7 @@ protected ReportNotificationData() { } this.BalanceAccount = balanceAccount; this.BalancePlatform = balancePlatform; this.CreationDate = creationDate; + this.Id = id; } /// @@ -98,6 +100,13 @@ protected ReportNotificationData() { } [DataMember(Name = "fileName", IsRequired = false, EmitDefaultValue = false)] public string FileName { get; set; } + /// + /// The ID of the resource. + /// + /// The ID of the resource. + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } + /// /// The type of report. Possible values: - `balanceplatform_accounting_interactive_report` - `balanceplatform_accounting_report` - `balanceplatform_balance_report` - `balanceplatform_fee_report` - `balanceplatform_payment_instrument_report` - `balanceplatform_payout_report` - `balanceplatform_statement_report` /// @@ -119,6 +128,7 @@ public override string ToString() sb.Append(" CreationDate: ").Append(CreationDate).Append("\n"); sb.Append(" DownloadUrl: ").Append(DownloadUrl).Append("\n"); sb.Append(" FileName: ").Append(FileName).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" ReportType: ").Append(ReportType).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -185,6 +195,11 @@ public bool Equals(ReportNotificationData input) (this.FileName != null && this.FileName.Equals(input.FileName)) ) && + ( + this.Id == input.Id || + (this.Id != null && + this.Id.Equals(input.Id)) + ) && ( this.ReportType == input.ReportType || (this.ReportType != null && @@ -225,6 +240,10 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.FileName.GetHashCode(); } + if (this.Id != null) + { + hashCode = (hashCode * 59) + this.Id.GetHashCode(); + } if (this.ReportType != null) { hashCode = (hashCode * 59) + this.ReportType.GetHashCode(); diff --git a/Adyen/Service/PosTerminalManagementService.cs b/Adyen/Service/PosTerminalManagementService.cs index 79003171..67df2e93 100644 --- a/Adyen/Service/PosTerminalManagementService.cs +++ b/Adyen/Service/PosTerminalManagementService.cs @@ -30,6 +30,7 @@ public interface IPosTerminalManagementService /// - /// - Additional request options. /// . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Model.PosTerminalManagement.AssignTerminalsResponse AssignTerminals(AssignTerminalsRequest assignTerminalsRequest = default, RequestOptions requestOptions = default); /// @@ -39,6 +40,7 @@ public interface IPosTerminalManagementService /// - Additional request options. /// A CancellationToken enables cooperative cancellation between threads, thread pool work items, or Task objects. /// Task of . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Task AssignTerminalsAsync(AssignTerminalsRequest assignTerminalsRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default); /// @@ -47,6 +49,7 @@ public interface IPosTerminalManagementService /// - /// - Additional request options. /// . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Model.PosTerminalManagement.FindTerminalResponse FindTerminal(FindTerminalRequest findTerminalRequest = default, RequestOptions requestOptions = default); /// @@ -56,6 +59,7 @@ public interface IPosTerminalManagementService /// - Additional request options. /// A CancellationToken enables cooperative cancellation between threads, thread pool work items, or Task objects. /// Task of . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Task FindTerminalAsync(FindTerminalRequest findTerminalRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default); /// @@ -64,6 +68,7 @@ public interface IPosTerminalManagementService /// - /// - Additional request options. /// . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Model.PosTerminalManagement.GetStoresUnderAccountResponse GetStoresUnderAccount(GetStoresUnderAccountRequest getStoresUnderAccountRequest = default, RequestOptions requestOptions = default); /// @@ -73,6 +78,7 @@ public interface IPosTerminalManagementService /// - Additional request options. /// A CancellationToken enables cooperative cancellation between threads, thread pool work items, or Task objects. /// Task of . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Task GetStoresUnderAccountAsync(GetStoresUnderAccountRequest getStoresUnderAccountRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default); /// @@ -81,6 +87,7 @@ public interface IPosTerminalManagementService /// - /// - Additional request options. /// . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Model.PosTerminalManagement.GetTerminalDetailsResponse GetTerminalDetails(GetTerminalDetailsRequest getTerminalDetailsRequest = default, RequestOptions requestOptions = default); /// @@ -90,6 +97,7 @@ public interface IPosTerminalManagementService /// - Additional request options. /// A CancellationToken enables cooperative cancellation between threads, thread pool work items, or Task objects. /// Task of . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Task GetTerminalDetailsAsync(GetTerminalDetailsRequest getTerminalDetailsRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default); /// @@ -98,6 +106,7 @@ public interface IPosTerminalManagementService /// - /// - Additional request options. /// . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Model.PosTerminalManagement.GetTerminalsUnderAccountResponse GetTerminalsUnderAccount(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest = default, RequestOptions requestOptions = default); /// @@ -107,6 +116,7 @@ public interface IPosTerminalManagementService /// - Additional request options. /// A CancellationToken enables cooperative cancellation between threads, thread pool work items, or Task objects. /// Task of . + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] Task GetTerminalsUnderAccountAsync(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default); } @@ -123,11 +133,13 @@ public PosTerminalManagementService(Client client) : base(client) _baseUrl = CreateBaseUrl("https://postfmapi-test.adyen.com/postfmapi/terminal/v1"); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public Model.PosTerminalManagement.AssignTerminalsResponse AssignTerminals(AssignTerminalsRequest assignTerminalsRequest = default, RequestOptions requestOptions = default) { return AssignTerminalsAsync(assignTerminalsRequest, requestOptions).ConfigureAwait(false).GetAwaiter().GetResult(); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public async Task AssignTerminalsAsync(AssignTerminalsRequest assignTerminalsRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default) { var endpoint = _baseUrl + "/assignTerminals"; @@ -135,11 +147,13 @@ public Model.PosTerminalManagement.AssignTerminalsResponse AssignTerminals(Assig return await resource.RequestAsync(assignTerminalsRequest.ToJson(), requestOptions, new HttpMethod("POST"), cancellationToken).ConfigureAwait(false); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public Model.PosTerminalManagement.FindTerminalResponse FindTerminal(FindTerminalRequest findTerminalRequest = default, RequestOptions requestOptions = default) { return FindTerminalAsync(findTerminalRequest, requestOptions).ConfigureAwait(false).GetAwaiter().GetResult(); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public async Task FindTerminalAsync(FindTerminalRequest findTerminalRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default) { var endpoint = _baseUrl + "/findTerminal"; @@ -147,11 +161,13 @@ public Model.PosTerminalManagement.FindTerminalResponse FindTerminal(FindTermina return await resource.RequestAsync(findTerminalRequest.ToJson(), requestOptions, new HttpMethod("POST"), cancellationToken).ConfigureAwait(false); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public Model.PosTerminalManagement.GetStoresUnderAccountResponse GetStoresUnderAccount(GetStoresUnderAccountRequest getStoresUnderAccountRequest = default, RequestOptions requestOptions = default) { return GetStoresUnderAccountAsync(getStoresUnderAccountRequest, requestOptions).ConfigureAwait(false).GetAwaiter().GetResult(); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public async Task GetStoresUnderAccountAsync(GetStoresUnderAccountRequest getStoresUnderAccountRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default) { var endpoint = _baseUrl + "/getStoresUnderAccount"; @@ -159,11 +175,13 @@ public Model.PosTerminalManagement.GetStoresUnderAccountResponse GetStoresUnderA return await resource.RequestAsync(getStoresUnderAccountRequest.ToJson(), requestOptions, new HttpMethod("POST"), cancellationToken).ConfigureAwait(false); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public Model.PosTerminalManagement.GetTerminalDetailsResponse GetTerminalDetails(GetTerminalDetailsRequest getTerminalDetailsRequest = default, RequestOptions requestOptions = default) { return GetTerminalDetailsAsync(getTerminalDetailsRequest, requestOptions).ConfigureAwait(false).GetAwaiter().GetResult(); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public async Task GetTerminalDetailsAsync(GetTerminalDetailsRequest getTerminalDetailsRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default) { var endpoint = _baseUrl + "/getTerminalDetails"; @@ -171,11 +189,13 @@ public Model.PosTerminalManagement.GetTerminalDetailsResponse GetTerminalDetails return await resource.RequestAsync(getTerminalDetailsRequest.ToJson(), requestOptions, new HttpMethod("POST"), cancellationToken).ConfigureAwait(false); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public Model.PosTerminalManagement.GetTerminalsUnderAccountResponse GetTerminalsUnderAccount(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest = default, RequestOptions requestOptions = default) { return GetTerminalsUnderAccountAsync(getTerminalsUnderAccountRequest, requestOptions).ConfigureAwait(false).GetAwaiter().GetResult(); } + [Obsolete("Deprecated since POS Terminal Management API v1. Use [Management API](https://docs.adyen.com/api-explorer/Management/latest/overview).")] public async Task GetTerminalsUnderAccountAsync(GetTerminalsUnderAccountRequest getTerminalsUnderAccountRequest = default, RequestOptions requestOptions = default, CancellationToken cancellationToken = default) { var endpoint = _baseUrl + "/getTerminalsUnderAccount";