Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Jun 8, 2023
1 parent 7164c5c commit 657de21
Show file tree
Hide file tree
Showing 721 changed files with 10,421 additions and 2,127 deletions.
2 changes: 1 addition & 1 deletion Adyen/Model/BalanceControl/AbstractOpenAPISchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 1
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalanceControl/Amount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 1
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalanceControl/BalanceTransferRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 1
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalanceControl/BalanceTransferResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 1
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalancePlatform/AbstractOpenAPISchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
24 changes: 22 additions & 2 deletions Adyen/Model/BalancePlatform/AccountHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down Expand Up @@ -86,17 +86,19 @@ protected AccountHolder() { }
/// <param name="contactDetails">contactDetails.</param>
/// <param name="description">Your description for the account holder, maximum 300 characters..</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 by the merchant. 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="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), string primaryBalanceAccount = default(string), string reference = default(string), StatusEnum? status = default(StatusEnum?), string timeZone = default(string))
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))
{
this.LegalEntityId = legalEntityId;
this.BalancePlatform = balancePlatform;
this.Capabilities = capabilities;
this.ContactDetails = contactDetails;
this.Description = description;
this.Metadata = metadata;
this.PrimaryBalanceAccount = primaryBalanceAccount;
this.Reference = reference;
this.Status = status;
Expand Down Expand Up @@ -144,6 +146,13 @@ protected AccountHolder() { }
[DataMember(Name = "legalEntityId", IsRequired = false, EmitDefaultValue = false)]
public string LegalEntityId { get; set; }

/// <summary>
/// A set of key and value pairs for general use by the merchant. 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.
/// </summary>
/// <value>A set of key and value pairs for general use by the merchant. 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.</value>
[DataMember(Name = "metadata", EmitDefaultValue = false)]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// 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.
/// </summary>
Expand Down Expand Up @@ -186,6 +195,7 @@ public override string ToString()
sb.Append(" Description: ").Append(Description).Append("\n");
sb.Append(" Id: ").Append(Id).Append("\n");
sb.Append(" LegalEntityId: ").Append(LegalEntityId).Append("\n");
sb.Append(" Metadata: ").Append(Metadata).Append("\n");
sb.Append(" PrimaryBalanceAccount: ").Append(PrimaryBalanceAccount).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" Status: ").Append(Status).Append("\n");
Expand Down Expand Up @@ -257,6 +267,12 @@ public bool Equals(AccountHolder input)
(this.LegalEntityId != null &&
this.LegalEntityId.Equals(input.LegalEntityId))
) &&
(
this.Metadata == input.Metadata ||
this.Metadata != null &&
input.Metadata != null &&
this.Metadata.SequenceEqual(input.Metadata)
) &&
(
this.PrimaryBalanceAccount == input.PrimaryBalanceAccount ||
(this.PrimaryBalanceAccount != null &&
Expand Down Expand Up @@ -317,6 +333,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.LegalEntityId.GetHashCode();
}
if (this.Metadata != null)
{
hashCode = (hashCode * 59) + this.Metadata.GetHashCode();
}
if (this.PrimaryBalanceAccount != null)
{
hashCode = (hashCode * 59) + this.PrimaryBalanceAccount.GetHashCode();
Expand Down
8 changes: 4 additions & 4 deletions Adyen/Model/BalancePlatform/AccountHolderCapability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down Expand Up @@ -180,7 +180,7 @@ public bool ShouldSerializeVerificationStatus()
/// <param name="requestedLevel">The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**..</param>
/// <param name="requestedSettings">requestedSettings.</param>
/// <param name="transferInstruments">Contains the status of the transfer instruments associated with this capability. .</param>
public AccountHolderCapability(JSONObject allowedSettings = default(JSONObject), bool enabled = default(bool), bool requested = default(bool), RequestedLevelEnum? requestedLevel = default(RequestedLevelEnum?), JSONObject requestedSettings = default(JSONObject), List<AccountSupportingEntityCapability> transferInstruments = default(List<AccountSupportingEntityCapability>))
public AccountHolderCapability(CapabilitySettings allowedSettings = default(CapabilitySettings), bool enabled = default(bool), bool requested = default(bool), RequestedLevelEnum? requestedLevel = default(RequestedLevelEnum?), CapabilitySettings requestedSettings = default(CapabilitySettings), List<AccountSupportingEntityCapability> transferInstruments = default(List<AccountSupportingEntityCapability>))
{
this.AllowedSettings = allowedSettings;
this.Enabled = enabled;
Expand All @@ -201,7 +201,7 @@ public bool ShouldSerializeVerificationStatus()
/// Gets or Sets AllowedSettings
/// </summary>
[DataMember(Name = "allowedSettings", EmitDefaultValue = false)]
public JSONObject AllowedSettings { get; set; }
public CapabilitySettings AllowedSettings { get; set; }

/// <summary>
/// Indicates whether the capability is enabled. If **false**, the capability is temporarily disabled for the account holder.
Expand All @@ -228,7 +228,7 @@ public bool ShouldSerializeVerificationStatus()
/// Gets or Sets RequestedSettings
/// </summary>
[DataMember(Name = "requestedSettings", EmitDefaultValue = false)]
public JSONObject RequestedSettings { get; set; }
public CapabilitySettings RequestedSettings { get; set; }

/// <summary>
/// Contains the status of the transfer instruments associated with this capability.
Expand Down
24 changes: 22 additions & 2 deletions Adyen/Model/BalancePlatform/AccountHolderInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down Expand Up @@ -46,15 +46,17 @@ protected AccountHolderInfo() { }
/// <param name="contactDetails">contactDetails.</param>
/// <param name="description">Your description for the account holder, maximum 300 characters..</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 by the merchant. 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="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), string reference = default(string), string timeZone = default(string))
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))
{
this.LegalEntityId = legalEntityId;
this.BalancePlatform = balancePlatform;
this.Capabilities = capabilities;
this.ContactDetails = contactDetails;
this.Description = description;
this.Metadata = metadata;
this.Reference = reference;
this.TimeZone = timeZone;
}
Expand Down Expand Up @@ -93,6 +95,13 @@ protected AccountHolderInfo() { }
[DataMember(Name = "legalEntityId", IsRequired = false, EmitDefaultValue = false)]
public string LegalEntityId { get; set; }

/// <summary>
/// A set of key and value pairs for general use by the merchant. 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.
/// </summary>
/// <value>A set of key and value pairs for general use by the merchant. 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.</value>
[DataMember(Name = "metadata", EmitDefaultValue = false)]
public Dictionary<string, string> Metadata { get; set; }

/// <summary>
/// Your reference for the account holder, maximum 150 characters.
/// </summary>
Expand Down Expand Up @@ -120,6 +129,7 @@ public override string ToString()
sb.Append(" ContactDetails: ").Append(ContactDetails).Append("\n");
sb.Append(" Description: ").Append(Description).Append("\n");
sb.Append(" LegalEntityId: ").Append(LegalEntityId).Append("\n");
sb.Append(" Metadata: ").Append(Metadata).Append("\n");
sb.Append(" Reference: ").Append(Reference).Append("\n");
sb.Append(" TimeZone: ").Append(TimeZone).Append("\n");
sb.Append("}\n");
Expand Down Expand Up @@ -183,6 +193,12 @@ public bool Equals(AccountHolderInfo input)
(this.LegalEntityId != null &&
this.LegalEntityId.Equals(input.LegalEntityId))
) &&
(
this.Metadata == input.Metadata ||
this.Metadata != null &&
input.Metadata != null &&
this.Metadata.SequenceEqual(input.Metadata)
) &&
(
this.Reference == input.Reference ||
(this.Reference != null &&
Expand Down Expand Up @@ -224,6 +240,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.LegalEntityId.GetHashCode();
}
if (this.Metadata != null)
{
hashCode = (hashCode * 59) + this.Metadata.GetHashCode();
}
if (this.Reference != null)
{
hashCode = (hashCode * 59) + this.Reference.GetHashCode();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalancePlatform/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalancePlatform/Amount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalancePlatform/Authentication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
2 changes: 1 addition & 1 deletion Adyen/Model/BalancePlatform/Balance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
*
* The version of the OpenAPI document: 2
* Contact: developer-experience@adyen.com
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
Expand Down
Loading

0 comments on commit 657de21

Please sign in to comment.