Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve account holder control person documentation #107

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down