Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored Feb 29, 2024
1 parent 7a44720 commit 48bcfc5
Show file tree
Hide file tree
Showing 39 changed files with 1,073 additions and 138 deletions.
22 changes: 21 additions & 1 deletion Adyen/Model/BalancePlatform/AULocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,15 @@ protected AULocalAccountIdentification() { }
/// </summary>
/// <param name="accountNumber">The bank account number, without separators or whitespace. (required).</param>
/// <param name="bsbCode">The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace. (required).</param>
/// <param name="formFactor">The form factor of bank account. (default to &quot;physical&quot;).</param>
/// <param name="type">**auLocal** (required) (default to TypeEnum.AuLocal).</param>
public AULocalAccountIdentification(string accountNumber = default(string), string bsbCode = default(string), TypeEnum type = TypeEnum.AuLocal)
public AULocalAccountIdentification(string accountNumber = default(string), string bsbCode = default(string), string formFactor = "physical", TypeEnum type = TypeEnum.AuLocal)
{
this.AccountNumber = accountNumber;
this.BsbCode = bsbCode;
this.Type = type;
// use default value if no "formFactor" provided
this.FormFactor = formFactor ?? "physical";
}

/// <summary>
Expand All @@ -86,6 +89,13 @@ protected AULocalAccountIdentification() { }
[DataMember(Name = "bsbCode", IsRequired = false, EmitDefaultValue = false)]
public string BsbCode { get; set; }

/// <summary>
/// The form factor of bank account.
/// </summary>
/// <value>The form factor of bank account.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -96,6 +106,7 @@ public override string ToString()
sb.Append("class AULocalAccountIdentification {\n");
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
sb.Append(" BsbCode: ").Append(BsbCode).Append("\n");
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -142,6 +153,11 @@ public bool Equals(AULocalAccountIdentification input)
(this.BsbCode != null &&
this.BsbCode.Equals(input.BsbCode))
) &&
(
this.FormFactor == input.FormFactor ||
(this.FormFactor != null &&
this.FormFactor.Equals(input.FormFactor))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
Expand All @@ -165,6 +181,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.BsbCode.GetHashCode();
}
if (this.FormFactor != null)
{
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();
}
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
22 changes: 21 additions & 1 deletion Adyen/Model/BalancePlatform/BRLocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ protected BRLocalAccountIdentification() { }
/// <param name="accountNumber">The bank account number, without separators or whitespace. (required).</param>
/// <param name="bankCode">The 3-digit bank code, with leading zeros. (required).</param>
/// <param name="branchNumber">The bank account branch number, without separators or whitespace. (required).</param>
/// <param name="formFactor">The form factor of bank account. (default to &quot;physical&quot;).</param>
/// <param name="type">**brLocal** (required) (default to TypeEnum.BrLocal).</param>
public BRLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), string branchNumber = default(string), TypeEnum type = TypeEnum.BrLocal)
public BRLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), string branchNumber = default(string), string formFactor = "physical", TypeEnum type = TypeEnum.BrLocal)
{
this.AccountNumber = accountNumber;
this.BankCode = bankCode;
this.BranchNumber = branchNumber;
this.Type = type;
// use default value if no "formFactor" provided
this.FormFactor = formFactor ?? "physical";
}

/// <summary>
Expand All @@ -95,6 +98,13 @@ protected BRLocalAccountIdentification() { }
[DataMember(Name = "branchNumber", IsRequired = false, EmitDefaultValue = false)]
public string BranchNumber { get; set; }

/// <summary>
/// The form factor of bank account.
/// </summary>
/// <value>The form factor of bank account.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -106,6 +116,7 @@ public override string ToString()
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
sb.Append(" BankCode: ").Append(BankCode).Append("\n");
sb.Append(" BranchNumber: ").Append(BranchNumber).Append("\n");
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -157,6 +168,11 @@ public bool Equals(BRLocalAccountIdentification input)
(this.BranchNumber != null &&
this.BranchNumber.Equals(input.BranchNumber))
) &&
(
this.FormFactor == input.FormFactor ||
(this.FormFactor != null &&
this.FormFactor.Equals(input.FormFactor))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
Expand Down Expand Up @@ -184,6 +200,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.BranchNumber.GetHashCode();
}
if (this.FormFactor != null)
{
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();
}
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
18 changes: 11 additions & 7 deletions Adyen/Model/BalancePlatform/BankIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ namespace Adyen.Model.BalancePlatform
public partial class BankIdentification : IEquatable<BankIdentification>, IValidatableObject
{
/// <summary>
/// Defines IdentificationType
/// The type of the identification. Possible values: **iban**, **routingNumber**.
/// </summary>
/// <value>The type of the identification. Possible values: **iban**, **routingNumber**.</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum IdentificationTypeEnum
{
Expand All @@ -54,16 +55,17 @@ public enum IdentificationTypeEnum


/// <summary>
/// Gets or Sets IdentificationType
/// The type of the identification. Possible values: **iban**, **routingNumber**.
/// </summary>
/// <value>The type of the identification. Possible values: **iban**, **routingNumber**.</value>
[DataMember(Name = "identificationType", EmitDefaultValue = false)]
public IdentificationTypeEnum? IdentificationType { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="BankIdentification" /> class.
/// </summary>
/// <param name="country">country.</param>
/// <param name="identification">identification.</param>
/// <param name="identificationType">identificationType.</param>
/// <param name="country">Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code..</param>
/// <param name="identification">The bank identification code..</param>
/// <param name="identificationType">The type of the identification. Possible values: **iban**, **routingNumber**..</param>
public BankIdentification(string country = default(string), string identification = default(string), IdentificationTypeEnum? identificationType = default(IdentificationTypeEnum?))
{
this.Country = country;
Expand All @@ -72,14 +74,16 @@ public enum IdentificationTypeEnum
}

/// <summary>
/// Gets or Sets Country
/// Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
/// </summary>
/// <value>Two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.</value>
[DataMember(Name = "country", EmitDefaultValue = false)]
public string Country { get; set; }

/// <summary>
/// Gets or Sets Identification
/// The bank identification code.
/// </summary>
/// <value>The bank identification code.</value>
[DataMember(Name = "identification", EmitDefaultValue = false)]
public string Identification { get; set; }

Expand Down
22 changes: 21 additions & 1 deletion Adyen/Model/BalancePlatform/CALocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,19 @@ protected CALocalAccountIdentification() { }
/// </summary>
/// <param name="accountNumber">The 5- to 12-digit bank account number, without separators or whitespace. (required).</param>
/// <param name="accountType">The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**. (default to AccountTypeEnum.Checking).</param>
/// <param name="formFactor">The form factor of bank account. (default to &quot;physical&quot;).</param>
/// <param name="institutionNumber">The 3-digit institution number, without separators or whitespace. (required).</param>
/// <param name="transitNumber">The 5-digit transit number, without separators or whitespace. (required).</param>
/// <param name="type">**caLocal** (required) (default to TypeEnum.CaLocal).</param>
public CALocalAccountIdentification(string accountNumber = default(string), AccountTypeEnum? accountType = AccountTypeEnum.Checking, string institutionNumber = default(string), string transitNumber = default(string), TypeEnum type = TypeEnum.CaLocal)
public CALocalAccountIdentification(string accountNumber = default(string), AccountTypeEnum? accountType = AccountTypeEnum.Checking, string formFactor = "physical", string institutionNumber = default(string), string transitNumber = default(string), TypeEnum type = TypeEnum.CaLocal)
{
this.AccountNumber = accountNumber;
this.InstitutionNumber = institutionNumber;
this.TransitNumber = transitNumber;
this.Type = type;
this.AccountType = accountType;
// use default value if no "formFactor" provided
this.FormFactor = formFactor ?? "physical";
}

/// <summary>
Expand All @@ -111,6 +114,13 @@ protected CALocalAccountIdentification() { }
[DataMember(Name = "accountNumber", IsRequired = false, EmitDefaultValue = false)]
public string AccountNumber { get; set; }

/// <summary>
/// The form factor of bank account.
/// </summary>
/// <value>The form factor of bank account.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// The 3-digit institution number, without separators or whitespace.
/// </summary>
Expand All @@ -135,6 +145,7 @@ public override string ToString()
sb.Append("class CALocalAccountIdentification {\n");
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
sb.Append(" AccountType: ").Append(AccountType).Append("\n");
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
sb.Append(" InstitutionNumber: ").Append(InstitutionNumber).Append("\n");
sb.Append(" TransitNumber: ").Append(TransitNumber).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
Expand Down Expand Up @@ -182,6 +193,11 @@ public bool Equals(CALocalAccountIdentification input)
this.AccountType == input.AccountType ||
this.AccountType.Equals(input.AccountType)
) &&
(
this.FormFactor == input.FormFactor ||
(this.FormFactor != null &&
this.FormFactor.Equals(input.FormFactor))
) &&
(
this.InstitutionNumber == input.InstitutionNumber ||
(this.InstitutionNumber != null &&
Expand Down Expand Up @@ -212,6 +228,10 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + this.AccountNumber.GetHashCode();
}
hashCode = (hashCode * 59) + this.AccountType.GetHashCode();
if (this.FormFactor != null)
{
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();
}
if (this.InstitutionNumber != null)
{
hashCode = (hashCode * 59) + this.InstitutionNumber.GetHashCode();
Expand Down
22 changes: 21 additions & 1 deletion Adyen/Model/BalancePlatform/CZLocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,15 @@ protected CZLocalAccountIdentification() { }
/// </summary>
/// <param name="accountNumber">The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized) (required).</param>
/// <param name="bankCode">The 4-digit bank code (Kód banky), without separators or whitespace. (required).</param>
/// <param name="formFactor">The form factor of bank account. (default to &quot;physical&quot;).</param>
/// <param name="type">**czLocal** (required) (default to TypeEnum.CzLocal).</param>
public CZLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), TypeEnum type = TypeEnum.CzLocal)
public CZLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), string formFactor = "physical", TypeEnum type = TypeEnum.CzLocal)
{
this.AccountNumber = accountNumber;
this.BankCode = bankCode;
this.Type = type;
// use default value if no "formFactor" provided
this.FormFactor = formFactor ?? "physical";
}

/// <summary>
Expand All @@ -86,6 +89,13 @@ protected CZLocalAccountIdentification() { }
[DataMember(Name = "bankCode", IsRequired = false, EmitDefaultValue = false)]
public string BankCode { get; set; }

/// <summary>
/// The form factor of bank account.
/// </summary>
/// <value>The form factor of bank account.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -96,6 +106,7 @@ public override string ToString()
sb.Append("class CZLocalAccountIdentification {\n");
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
sb.Append(" BankCode: ").Append(BankCode).Append("\n");
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -142,6 +153,11 @@ public bool Equals(CZLocalAccountIdentification input)
(this.BankCode != null &&
this.BankCode.Equals(input.BankCode))
) &&
(
this.FormFactor == input.FormFactor ||
(this.FormFactor != null &&
this.FormFactor.Equals(input.FormFactor))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
Expand All @@ -165,6 +181,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.BankCode.GetHashCode();
}
if (this.FormFactor != null)
{
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();
}
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
22 changes: 21 additions & 1 deletion Adyen/Model/BalancePlatform/DKLocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,15 @@ protected DKLocalAccountIdentification() { }
/// </summary>
/// <param name="accountNumber">The 4-10 digits bank account number (Kontonummer) (without separators or whitespace). (required).</param>
/// <param name="bankCode">The 4-digit bank code (Registreringsnummer) (without separators or whitespace). (required).</param>
/// <param name="formFactor">The form factor of bank account. (default to &quot;physical&quot;).</param>
/// <param name="type">**dkLocal** (required) (default to TypeEnum.DkLocal).</param>
public DKLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), TypeEnum type = TypeEnum.DkLocal)
public DKLocalAccountIdentification(string accountNumber = default(string), string bankCode = default(string), string formFactor = "physical", TypeEnum type = TypeEnum.DkLocal)
{
this.AccountNumber = accountNumber;
this.BankCode = bankCode;
this.Type = type;
// use default value if no "formFactor" provided
this.FormFactor = formFactor ?? "physical";
}

/// <summary>
Expand All @@ -86,6 +89,13 @@ protected DKLocalAccountIdentification() { }
[DataMember(Name = "bankCode", IsRequired = false, EmitDefaultValue = false)]
public string BankCode { get; set; }

/// <summary>
/// The form factor of bank account.
/// </summary>
/// <value>The form factor of bank account.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -96,6 +106,7 @@ public override string ToString()
sb.Append("class DKLocalAccountIdentification {\n");
sb.Append(" AccountNumber: ").Append(AccountNumber).Append("\n");
sb.Append(" BankCode: ").Append(BankCode).Append("\n");
sb.Append(" FormFactor: ").Append(FormFactor).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -142,6 +153,11 @@ public bool Equals(DKLocalAccountIdentification input)
(this.BankCode != null &&
this.BankCode.Equals(input.BankCode))
) &&
(
this.FormFactor == input.FormFactor ||
(this.FormFactor != null &&
this.FormFactor.Equals(input.FormFactor))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
Expand All @@ -165,6 +181,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.BankCode.GetHashCode();
}
if (this.FormFactor != null)
{
hashCode = (hashCode * 59) + this.FormFactor.GetHashCode();
}
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
Loading

0 comments on commit 48bcfc5

Please sign in to comment.