Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot authored May 2, 2024
1 parent 25de384 commit ec5fe76
Show file tree
Hide file tree
Showing 105 changed files with 3,083 additions and 1,904 deletions.
22 changes: 1 addition & 21 deletions Adyen/Model/BalancePlatform/AULocalAccountIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,12 @@ 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 the account. Possible values: **physical**, **virtual**. Default value: **physical**. (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), string formFactor = "physical", TypeEnum type = TypeEnum.AuLocal)
public AULocalAccountIdentification(string accountNumber = default(string), string bsbCode = default(string), 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 @@ -89,13 +86,6 @@ protected AULocalAccountIdentification() { }
[DataMember(Name = "bsbCode", IsRequired = false, EmitDefaultValue = false)]
public string BsbCode { get; set; }

/// <summary>
/// The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.
/// </summary>
/// <value>The form factor of the account. Possible values: **physical**, **virtual**. Default value: **physical**.</value>
[DataMember(Name = "formFactor", EmitDefaultValue = false)]
public string FormFactor { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -106,7 +96,6 @@ 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 @@ -153,11 +142,6 @@ 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 @@ -181,10 +165,6 @@ 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
30 changes: 12 additions & 18 deletions Adyen/Model/BalancePlatform/AccountHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ namespace Adyen.Model.BalancePlatform
public partial class AccountHolder : IEquatable<AccountHolder>, IValidatableObject
{
/// <summary>
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
/// </summary>
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum StatusEnum
{
Expand All @@ -51,25 +51,19 @@ public enum StatusEnum
[EnumMember(Value = "closed")]
Closed = 2,

/// <summary>
/// Enum Inactive for value: inactive
/// </summary>
[EnumMember(Value = "inactive")]
Inactive = 3,

/// <summary>
/// Enum Suspended for value: suspended
/// </summary>
[EnumMember(Value = "suspended")]
Suspended = 4
Suspended = 3

}


/// <summary>
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
/// The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.
/// </summary>
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
/// <value>The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone.</value>
[DataMember(Name = "status", EmitDefaultValue = false)]
public StatusEnum? Status { get; set; }
/// <summary>
Expand All @@ -83,12 +77,12 @@ protected AccountHolder() { }
/// <param name="balancePlatform">The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms..</param>
/// <param name="capabilities">Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability..</param>
/// <param name="contactDetails">contactDetails.</param>
/// <param name="description">Your description for the account holder, maximum 300 characters..</param>
/// <param name="description">Your description for the account holder..</param>
/// <param name="legalEntityId">The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. (required).</param>
/// <param name="metadata">A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. &gt; Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs..</param>
/// <param name="primaryBalanceAccount">The ID of the account holder&#39;s primary balance account. By default, this is set to the first balance account that you create for the account holder. To assign a different balance account, send a PATCH request..</param>
/// <param name="reference">Your reference for the account holder, maximum 150 characters..</param>
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **inactive (Deprecated)**: The account holder is temporarily inactive due to missing KYC details. You can set the account back to active by providing the missing KYC details. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone..</param>
/// <param name="reference">Your reference for the account holder..</param>
/// <param name="status">The status of the account holder. Possible values: * **active**: The account holder is active. This is the default status when creating an account holder. * **suspended**: The account holder is permanently deactivated by Adyen. This action cannot be undone. * **closed**: The account holder is permanently deactivated by you. This action cannot be undone..</param>
/// <param name="timeZone">The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)..</param>
public AccountHolder(string balancePlatform = default(string), Dictionary<string, AccountHolderCapability> capabilities = default(Dictionary<string, AccountHolderCapability>), ContactDetails contactDetails = default(ContactDetails), string description = default(string), string legalEntityId = default(string), Dictionary<string, string> metadata = default(Dictionary<string, string>), string primaryBalanceAccount = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), string timeZone = default(string))
{
Expand Down Expand Up @@ -125,9 +119,9 @@ protected AccountHolder() { }
public ContactDetails ContactDetails { get; set; }

/// <summary>
/// Your description for the account holder, maximum 300 characters.
/// Your description for the account holder.
/// </summary>
/// <value>Your description for the account holder, maximum 300 characters.</value>
/// <value>Your description for the account holder.</value>
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

Expand Down Expand Up @@ -167,9 +161,9 @@ protected AccountHolder() { }
public string PrimaryBalanceAccount { get; set; }

/// <summary>
/// Your reference for the account holder, maximum 150 characters.
/// Your reference for the account holder.
/// </summary>
/// <value>Your reference for the account holder, maximum 150 characters.</value>
/// <value>Your reference for the account holder.</value>
[DataMember(Name = "reference", EmitDefaultValue = false)]
public string Reference { get; set; }

Expand Down
12 changes: 6 additions & 6 deletions Adyen/Model/BalancePlatform/AccountHolderInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ protected AccountHolderInfo() { }
/// <param name="balancePlatform">The unique identifier of the [balance platform](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balancePlatforms/{id}__queryParam_id) to which the account holder belongs. Required in the request if your API credentials can be used for multiple balance platforms..</param>
/// <param name="capabilities">Contains key-value pairs that specify the actions that an account holder can do in your platform. The key is a capability required for your integration. For example, **issueCard** for Issuing. The value is an object containing the settings for the capability..</param>
/// <param name="contactDetails">contactDetails.</param>
/// <param name="description">Your description for the account holder, maximum 300 characters..</param>
/// <param name="description">Your description for the account holder..</param>
/// <param name="legalEntityId">The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id) associated with the account holder. Adyen performs a verification process against the legal entity of the account holder. (required).</param>
/// <param name="metadata">A set of key and value pairs for general use. The keys do not have specific names and may be used for storing miscellaneous data as desired. &gt; Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs..</param>
/// <param name="reference">Your reference for the account holder, maximum 150 characters..</param>
/// <param name="reference">Your reference for the account holder..</param>
/// <param name="timeZone">The time zone of the account holder. For example, **Europe/Amsterdam**. Defaults to the time zone of the balance platform if no time zone is set. For possible values, see the [list of time zone codes](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)..</param>
public AccountHolderInfo(string balancePlatform = default(string), Dictionary<string, AccountHolderCapability> capabilities = default(Dictionary<string, AccountHolderCapability>), ContactDetails contactDetails = default(ContactDetails), string description = default(string), string legalEntityId = default(string), Dictionary<string, string> metadata = default(Dictionary<string, string>), string reference = default(string), string timeZone = default(string))
{
Expand Down Expand Up @@ -81,9 +81,9 @@ protected AccountHolderInfo() { }
public ContactDetails ContactDetails { get; set; }

/// <summary>
/// Your description for the account holder, maximum 300 characters.
/// Your description for the account holder.
/// </summary>
/// <value>Your description for the account holder, maximum 300 characters.</value>
/// <value>Your description for the account holder.</value>
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }

Expand All @@ -109,9 +109,9 @@ protected AccountHolderInfo() { }
public string MigratedAccountHolderCode { get; private set; }

/// <summary>
/// Your reference for the account holder, maximum 150 characters.
/// Your reference for the account holder.
/// </summary>
/// <value>Your reference for the account holder, maximum 150 characters.</value>
/// <value>Your reference for the account holder.</value>
[DataMember(Name = "reference", EmitDefaultValue = false)]
public string Reference { get; set; }

Expand Down
Loading

0 comments on commit ec5fe76

Please sign in to comment.