From 6abbe9116ed45ad72a72734e394967c7179d999e Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Fri, 3 Nov 2023 22:07:02 +0000 Subject: [PATCH] docs: improve account holder control person documentation --- .../com/lithic/api/models/AccountHolder.kt | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt index 369d7235..c7706e43 100644 --- a/lithic-kotlin-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt +++ b/lithic-kotlin-core/src/main/kotlin/com/lithic/api/models/AccountHolder.kt @@ -111,8 +111,12 @@ private constructor( beneficialOwnerIndividuals.getNullable("beneficial_owner_individuals") /** - * Information about an individual associated with an account holder. A subset of the - * information provided via KYC. For example, we do not return the government id. + * Only present when user_type == "BUSINESS". An individual with significant responsibility for + * managing the legal entity (e.g., a Chief Executive Officer, Chief Financial Officer, Chief + * Operating Officer, Managing Member, General Partner, President, Vice President, or + * Treasurer). This can be an executive, or someone who will have program-wide access to the + * cards that Lithic will provide. In some cases, this individual could also be a beneficial + * owner listed above. */ fun controlPerson(): AccountHolderIndividualResponse? = controlPerson.getNullable("control_person") @@ -220,8 +224,12 @@ private constructor( fun _beneficialOwnerIndividuals() = beneficialOwnerIndividuals /** - * Information about an individual associated with an account holder. A subset of the - * information provided via KYC. For example, we do not return the government id. + * Only present when user_type == "BUSINESS". An individual with significant responsibility for + * managing the legal entity (e.g., a Chief Executive Officer, Chief Financial Officer, Chief + * Operating Officer, Managing Member, General Partner, President, Vice President, or + * Treasurer). This can be an executive, or someone who will have program-wide access to the + * cards that Lithic will provide. In some cases, this individual could also be a beneficial + * owner listed above. */ @JsonProperty("control_person") @ExcludeMissing fun _controlPerson() = controlPerson @@ -572,15 +580,23 @@ private constructor( ) = apply { this.beneficialOwnerIndividuals = beneficialOwnerIndividuals } /** - * Information about an individual associated with an account holder. A subset of the - * information provided via KYC. For example, we do not return the government id. + * Only present when user_type == "BUSINESS". An individual with significant responsibility + * for managing the legal entity (e.g., a Chief Executive Officer, Chief Financial Officer, + * Chief Operating Officer, Managing Member, General Partner, President, Vice President, or + * Treasurer). This can be an executive, or someone who will have program-wide access to the + * cards that Lithic will provide. In some cases, this individual could also be a beneficial + * owner listed above. */ fun controlPerson(controlPerson: AccountHolderIndividualResponse) = controlPerson(JsonField.of(controlPerson)) /** - * Information about an individual associated with an account holder. A subset of the - * information provided via KYC. For example, we do not return the government id. + * Only present when user_type == "BUSINESS". An individual with significant responsibility + * for managing the legal entity (e.g., a Chief Executive Officer, Chief Financial Officer, + * Chief Operating Officer, Managing Member, General Partner, President, Vice President, or + * Treasurer). This can be an executive, or someone who will have program-wide access to the + * cards that Lithic will provide. In some cases, this individual could also be a beneficial + * owner listed above. */ @JsonProperty("control_person") @ExcludeMissing