Skip to content

Commit baa3d5a

Browse files
false[adyen-sdk-automation] automated change
1 parent d2ae127 commit baa3d5a

File tree

117 files changed

+2560
-681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+2560
-681
lines changed

Adyen/Model/BalancePlatform/AccountHolder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected AccountHolder() { }
116116
/// Gets or Sets ContactDetails
117117
/// </summary>
118118
[DataMember(Name = "contactDetails", EmitDefaultValue = false)]
119-
[Obsolete]
119+
[Obsolete("")]
120120
public ContactDetails ContactDetails { get; set; }
121121

122122
/// <summary>

Adyen/Model/BalancePlatform/AccountHolderInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected AccountHolderInfo() { }
7878
/// Gets or Sets ContactDetails
7979
/// </summary>
8080
[DataMember(Name = "contactDetails", EmitDefaultValue = false)]
81-
[Obsolete]
81+
[Obsolete("")]
8282
public ContactDetails ContactDetails { get; set; }
8383

8484
/// <summary>

Adyen/Model/BalancePlatform/AccountHolderUpdateRequest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public enum StatusEnum
109109
/// Gets or Sets ContactDetails
110110
/// </summary>
111111
[DataMember(Name = "contactDetails", EmitDefaultValue = false)]
112-
[Obsolete]
112+
[Obsolete("")]
113113
public ContactDetails ContactDetails { get; set; }
114114

115115
/// <summary>

Adyen/Model/BalancePlatform/BankAccountDetails.cs

+20-1
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,19 @@ protected BankAccountDetails() { }
4242
/// </summary>
4343
/// <param name="accountNumber">The bank account number, without separators or whitespace..</param>
4444
/// <param name="accountType">The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. (default to &quot;checking&quot;).</param>
45+
/// <param name="branchNumber">The bank account branch number, without separators or whitespace.</param>
4546
/// <param name="formFactor">Business accounts with a &#x60;formFactor&#x60; value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the &#x60;formFactor&#x60; value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL. (default to &quot;physical&quot;).</param>
4647
/// <param name="iban">The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard..</param>
4748
/// <param name="routingNumber">The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace..</param>
4849
/// <param name="sortCode">The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace..</param>
4950
/// <param name="type">**iban** or **usLocal** or **ukLocal** (required) (default to &quot;iban&quot;).</param>
50-
public BankAccountDetails(string accountNumber = default(string), string accountType = "checking", string formFactor = "physical", string iban = default(string), string routingNumber = default(string), string sortCode = default(string), string type = "iban")
51+
public BankAccountDetails(string accountNumber = default(string), string accountType = "checking", string branchNumber = default(string), string formFactor = "physical", string iban = default(string), string routingNumber = default(string), string sortCode = default(string), string type = "iban")
5152
{
5253
this.Type = type;
5354
this.AccountNumber = accountNumber;
5455
// use default value if no "accountType" provided
5556
this.AccountType = accountType ?? "checking";
57+
this.BranchNumber = branchNumber;
5658
// use default value if no "formFactor" provided
5759
this.FormFactor = formFactor ?? "physical";
5860
this.Iban = iban;
@@ -74,6 +76,13 @@ protected BankAccountDetails() { }
7476
[DataMember(Name = "accountType", EmitDefaultValue = false)]
7577
public string AccountType { get; set; }
7678

79+
/// <summary>
80+
/// The bank account branch number, without separators or whitespace
81+
/// </summary>
82+
/// <value>The bank account branch number, without separators or whitespace</value>
83+
[DataMember(Name = "branchNumber", EmitDefaultValue = false)]
84+
public string BranchNumber { get; set; }
85+
7786
/// <summary>
7887
/// Business accounts with a &#x60;formFactor&#x60; value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the &#x60;formFactor&#x60; value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
7988
/// </summary>
@@ -119,6 +128,7 @@ public override string ToString()
119128
sb.Append("class BankAccountDetails {\n");
120129
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
121130
sb.Append(" AccountType: ").Append(AccountType).Append("\n");
131+
sb.Append(" BranchNumber: ").Append(BranchNumber).Append("\n");
122132
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
123133
sb.Append(" Iban: ").Append(Iban).Append("\n");
124134
sb.Append(" RoutingNumber: ").Append(RoutingNumber).Append("\n");
@@ -169,6 +179,11 @@ public bool Equals(BankAccountDetails input)
169179
(this.AccountType != null &&
170180
this.AccountType.Equals(input.AccountType))
171181
) &&
182+
(
183+
this.BranchNumber == input.BranchNumber ||
184+
(this.BranchNumber != null &&
185+
this.BranchNumber.Equals(input.BranchNumber))
186+
) &&
172187
(
173188
this.FormFactor == input.FormFactor ||
174189
(this.FormFactor != null &&
@@ -213,6 +228,10 @@ public override int GetHashCode()
213228
{
214229
hashCode = (hashCode * 59) + this.AccountType.GetHashCode();
215230
}
231+
if (this.BranchNumber != null)
232+
{
233+
hashCode = (hashCode * 59) + this.BranchNumber.GetHashCode();
234+
}
216235
if (this.FormFactor != null)
217236
{
218237
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();

Adyen/Model/BalancePlatform/CreateSweepConfigurationV2.cs

+42-18
Original file line numberDiff line numberDiff line change
@@ -125,113 +125,137 @@ public enum PrioritiesEnum
125125
[JsonConverter(typeof(StringEnumConverter))]
126126
public enum ReasonEnum
127127
{
128+
/// <summary>
129+
/// Enum AccountHierarchyNotActive for value: accountHierarchyNotActive
130+
/// </summary>
131+
[EnumMember(Value = "accountHierarchyNotActive")]
132+
AccountHierarchyNotActive = 1,
133+
128134
/// <summary>
129135
/// Enum AmountLimitExceeded for value: amountLimitExceeded
130136
/// </summary>
131137
[EnumMember(Value = "amountLimitExceeded")]
132-
AmountLimitExceeded = 1,
138+
AmountLimitExceeded = 2,
133139

134140
/// <summary>
135141
/// Enum Approved for value: approved
136142
/// </summary>
137143
[EnumMember(Value = "approved")]
138-
Approved = 2,
144+
Approved = 3,
139145

140146
/// <summary>
141147
/// Enum BalanceAccountTemporarilyBlockedByTransactionRule for value: balanceAccountTemporarilyBlockedByTransactionRule
142148
/// </summary>
143149
[EnumMember(Value = "balanceAccountTemporarilyBlockedByTransactionRule")]
144-
BalanceAccountTemporarilyBlockedByTransactionRule = 3,
150+
BalanceAccountTemporarilyBlockedByTransactionRule = 4,
145151

146152
/// <summary>
147153
/// Enum CounterpartyAccountBlocked for value: counterpartyAccountBlocked
148154
/// </summary>
149155
[EnumMember(Value = "counterpartyAccountBlocked")]
150-
CounterpartyAccountBlocked = 4,
156+
CounterpartyAccountBlocked = 5,
151157

152158
/// <summary>
153159
/// Enum CounterpartyAccountClosed for value: counterpartyAccountClosed
154160
/// </summary>
155161
[EnumMember(Value = "counterpartyAccountClosed")]
156-
CounterpartyAccountClosed = 5,
162+
CounterpartyAccountClosed = 6,
157163

158164
/// <summary>
159165
/// Enum CounterpartyAccountNotFound for value: counterpartyAccountNotFound
160166
/// </summary>
161167
[EnumMember(Value = "counterpartyAccountNotFound")]
162-
CounterpartyAccountNotFound = 6,
168+
CounterpartyAccountNotFound = 7,
163169

164170
/// <summary>
165171
/// Enum CounterpartyAddressRequired for value: counterpartyAddressRequired
166172
/// </summary>
167173
[EnumMember(Value = "counterpartyAddressRequired")]
168-
CounterpartyAddressRequired = 7,
174+
CounterpartyAddressRequired = 8,
169175

170176
/// <summary>
171177
/// Enum CounterpartyBankTimedOut for value: counterpartyBankTimedOut
172178
/// </summary>
173179
[EnumMember(Value = "counterpartyBankTimedOut")]
174-
CounterpartyBankTimedOut = 8,
180+
CounterpartyBankTimedOut = 9,
175181

176182
/// <summary>
177183
/// Enum CounterpartyBankUnavailable for value: counterpartyBankUnavailable
178184
/// </summary>
179185
[EnumMember(Value = "counterpartyBankUnavailable")]
180-
CounterpartyBankUnavailable = 9,
186+
CounterpartyBankUnavailable = 10,
181187

182188
/// <summary>
183189
/// Enum Declined for value: declined
184190
/// </summary>
185191
[EnumMember(Value = "declined")]
186-
Declined = 10,
192+
Declined = 11,
187193

188194
/// <summary>
189195
/// Enum DeclinedByTransactionRule for value: declinedByTransactionRule
190196
/// </summary>
191197
[EnumMember(Value = "declinedByTransactionRule")]
192-
DeclinedByTransactionRule = 11,
198+
DeclinedByTransactionRule = 12,
199+
200+
/// <summary>
201+
/// Enum DirectDebitNotSupported for value: directDebitNotSupported
202+
/// </summary>
203+
[EnumMember(Value = "directDebitNotSupported")]
204+
DirectDebitNotSupported = 13,
193205

194206
/// <summary>
195207
/// Enum Error for value: error
196208
/// </summary>
197209
[EnumMember(Value = "error")]
198-
Error = 12,
210+
Error = 14,
199211

200212
/// <summary>
201213
/// Enum NotEnoughBalance for value: notEnoughBalance
202214
/// </summary>
203215
[EnumMember(Value = "notEnoughBalance")]
204-
NotEnoughBalance = 13,
216+
NotEnoughBalance = 15,
205217

206218
/// <summary>
207219
/// Enum PendingApproval for value: pendingApproval
208220
/// </summary>
209221
[EnumMember(Value = "pendingApproval")]
210-
PendingApproval = 14,
222+
PendingApproval = 16,
223+
224+
/// <summary>
225+
/// Enum PendingExecution for value: pendingExecution
226+
/// </summary>
227+
[EnumMember(Value = "pendingExecution")]
228+
PendingExecution = 17,
211229

212230
/// <summary>
213231
/// Enum RefusedByCounterpartyBank for value: refusedByCounterpartyBank
214232
/// </summary>
215233
[EnumMember(Value = "refusedByCounterpartyBank")]
216-
RefusedByCounterpartyBank = 15,
234+
RefusedByCounterpartyBank = 18,
217235

218236
/// <summary>
219237
/// Enum RouteNotFound for value: routeNotFound
220238
/// </summary>
221239
[EnumMember(Value = "routeNotFound")]
222-
RouteNotFound = 16,
240+
RouteNotFound = 19,
223241

224242
/// <summary>
225243
/// Enum ScaFailed for value: scaFailed
226244
/// </summary>
227245
[EnumMember(Value = "scaFailed")]
228-
ScaFailed = 17,
246+
ScaFailed = 20,
247+
248+
/// <summary>
249+
/// Enum TransferInstrumentDoesNotExist for value: transferInstrumentDoesNotExist
250+
/// </summary>
251+
[EnumMember(Value = "transferInstrumentDoesNotExist")]
252+
TransferInstrumentDoesNotExist = 21,
229253

230254
/// <summary>
231255
/// Enum Unknown for value: unknown
232256
/// </summary>
233257
[EnumMember(Value = "unknown")]
234-
Unknown = 18
258+
Unknown = 22
235259

236260
}
237261

Adyen/Model/BalancePlatform/PaymentInstrument.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ protected PaymentInstrument() { }
213213
/// </summary>
214214
/// <value>Contains optional, additional business account details. Returned when you create a payment instrument with &#x60;type&#x60; **bankAccount**.</value>
215215
[DataMember(Name = "additionalBankAccountIdentifications", EmitDefaultValue = false)]
216-
[Obsolete]
216+
[Obsolete("Deprecated since Configuration API v2. Please use `bankAccount` object instead")]
217217
public List<PaymentInstrumentAdditionalBankAccountIdentificationsInner> AdditionalBankAccountIdentifications { get; set; }
218218

219219
/// <summary>

Adyen/Model/BalancePlatform/PlatformPaymentConfiguration.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public partial class PlatformPaymentConfiguration : IEquatable<PlatformPaymentCo
3636
/// Initializes a new instance of the <see cref="PlatformPaymentConfiguration" /> class.
3737
/// </summary>
3838
/// <param name="salesDayClosingTime">Specifies at what time a [sales day](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#sales-day) ends for this account. Possible values: Time in **\&quot;HH:MM\&quot;** format. **HH** ranges from **00** to **07**. **MM** must be **00**. Default value: **\&quot;00:00\&quot;**..</param>
39-
/// <param name="settlementDelayDays">Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**..</param>
39+
/// <param name="settlementDelayDays">Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**..</param>
4040
public PlatformPaymentConfiguration(string salesDayClosingTime = default(string), int? settlementDelayDays = default(int?))
4141
{
4242
this.SalesDayClosingTime = salesDayClosingTime;
@@ -51,9 +51,9 @@ public partial class PlatformPaymentConfiguration : IEquatable<PlatformPaymentCo
5151
public string SalesDayClosingTime { get; set; }
5252

5353
/// <summary>
54-
/// Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.
54+
/// Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.
5555
/// </summary>
56-
/// <value>Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **0** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.</value>
56+
/// <value>Specifies after how many business days the funds in a [settlement batch](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement#settlement-batch) are made available in this balance account. Possible values: **1** to **10**, or **null**. * Setting this value to an integer enables Sales day settlement in this balance account. See how Sales day settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/sales-day-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/sales-day-settlement). * Setting this value to **null** enables Pass-through settlement in this balance account. See how Pass-through settlement works in your [marketplace](https://docs.adyen.com/marketplaces/settle-funds/pass-through-settlement) or [platform](https://docs.adyen.com/platforms/settle-funds/pass-through-settlement). Default value: **null**.</value>
5757
[DataMember(Name = "settlementDelayDays", EmitDefaultValue = false)]
5858
public int? SettlementDelayDays { get; set; }
5959

0 commit comments

Comments
 (0)