Skip to content

Commit

Permalink
false[adyen-sdk-automation] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
AdyenAutomationBot committed Jul 31, 2024
1 parent 5402e3a commit 9fa2728
Show file tree
Hide file tree
Showing 21 changed files with 1,857 additions and 449 deletions.
18 changes: 12 additions & 6 deletions Adyen/Model/LegalEntityManagement/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ namespace Adyen.Model.LegalEntityManagement
public partial class Document : IEquatable<Document>, IValidatableObject
{
/// <summary>
/// Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
/// Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
/// </summary>
/// <value>Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).</value>
/// <value>Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum TypeEnum
{
Expand Down Expand Up @@ -145,15 +145,21 @@ public enum TypeEnum
/// Enum ProofOfFundingOrWealthSource for value: proofOfFundingOrWealthSource
/// </summary>
[EnumMember(Value = "proofOfFundingOrWealthSource")]
ProofOfFundingOrWealthSource = 18
ProofOfFundingOrWealthSource = 18,

/// <summary>
/// Enum ProofOfRelationship for value: proofOfRelationship
/// </summary>
[EnumMember(Value = "proofOfRelationship")]
ProofOfRelationship = 19

}


/// <summary>
/// Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
/// Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
/// </summary>
/// <value>Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).</value>
/// <value>Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).</value>
[DataMember(Name = "type", IsRequired = false, EmitDefaultValue = false)]
public TypeEnum Type { get; set; }
/// <summary>
Expand All @@ -173,7 +179,7 @@ protected Document() { }
/// <param name="issuerState">The state or province where the document was issued (AU only)..</param>
/// <param name="number">The number in the document..</param>
/// <param name="owner">owner.</param>
/// <param name="type">Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). (required).</param>
/// <param name="type">Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the &#x60;type&#x60; values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the &#x60;type&#x60; values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the &#x60;type&#x60; values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the &#x60;type&#x60; value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id). (required).</param>
public Document(Attachment attachment = default(Attachment), List<Attachment> attachments = default(List<Attachment>), string description = default(string), string expiryDate = default(string), string fileName = default(string), string issuerCountry = default(string), string issuerState = default(string), string number = default(string), OwnerEntity owner = default(OwnerEntity), TypeEnum type = default(TypeEnum))
{
this.Description = description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,13 @@ protected GetTermsOfServiceDocumentRequest() { }
/// Initializes a new instance of the <see cref="GetTermsOfServiceDocumentRequest" /> class.
/// </summary>
/// <param name="language">The language to be used for the Terms of Service document, specified by the two-letter [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Possible value: **en** for English. (required).</param>
/// <param name="termsOfServiceDocumentFormat">The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF..</param>
/// <param name="type">The type of Terms of Service. Possible values: * **adyenForPlatformsManage** * **adyenIssuing** * **adyenForPlatformsAdvanced** * **adyenCapital** * **adyenAccount** * **adyenCard** * **adyenFranchisee** * **adyenPccr** (required).</param>
public GetTermsOfServiceDocumentRequest(string language = default(string), TypeEnum type = default(TypeEnum))
public GetTermsOfServiceDocumentRequest(string language = default(string), string termsOfServiceDocumentFormat = default(string), TypeEnum type = default(TypeEnum))
{
this.Language = language;
this.Type = type;
this.TermsOfServiceDocumentFormat = termsOfServiceDocumentFormat;
}

/// <summary>
Expand All @@ -119,6 +121,13 @@ protected GetTermsOfServiceDocumentRequest() { }
[DataMember(Name = "language", IsRequired = false, EmitDefaultValue = false)]
public string Language { get; set; }

/// <summary>
/// The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF.
/// </summary>
/// <value>The requested format for the Terms of Service document. Default value: JSON. Possible values: JSON or PDF.</value>
[DataMember(Name = "termsOfServiceDocumentFormat", EmitDefaultValue = false)]
public string TermsOfServiceDocumentFormat { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -128,6 +137,7 @@ public override string ToString()
StringBuilder sb = new StringBuilder();
sb.Append("class GetTermsOfServiceDocumentRequest {\n");
sb.Append(" Language: ").Append(Language).Append("\n");
sb.Append(" TermsOfServiceDocumentFormat: ").Append(TermsOfServiceDocumentFormat).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append("}\n");
return sb.ToString();
Expand Down Expand Up @@ -169,6 +179,11 @@ public bool Equals(GetTermsOfServiceDocumentRequest input)
(this.Language != null &&
this.Language.Equals(input.Language))
) &&
(
this.TermsOfServiceDocumentFormat == input.TermsOfServiceDocumentFormat ||
(this.TermsOfServiceDocumentFormat != null &&
this.TermsOfServiceDocumentFormat.Equals(input.TermsOfServiceDocumentFormat))
) &&
(
this.Type == input.Type ||
this.Type.Equals(input.Type)
Expand All @@ -188,6 +203,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Language.GetHashCode();
}
if (this.TermsOfServiceDocumentFormat != null)
{
hashCode = (hashCode * 59) + this.TermsOfServiceDocumentFormat.GetHashCode();
}
hashCode = (hashCode * 59) + this.Type.GetHashCode();
return hashCode;
}
Expand Down
Loading

0 comments on commit 9fa2728

Please sign in to comment.