Class KYCResults
java.lang.Object
markets.alpaca.client.openapi.broker.model.KYCResults
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.25.0")
public class KYCResults
extends Object
implements Serializable
Holds information about the result of KYC. `accept`, `indeterminate`, and `reject` are nullable sets represented as objects. Each property name is a KYC reason identifier, and every property value is always an empty object (`{}`) carrying no nested data. For example: ```json { \"IDENTITY_VERIFICATION\": {}, \"WATCHLIST_HIT\": {} } ``` Interpret each reason together with its enclosing result category and `additional_information`. Documented reason identifiers: - `IDENTITY_VERIFICATION`: A government-issued identity document is required to verify the account owner's identity. - `TAX_IDENTIFICATION`: A tax identification document is required to verify the account owner's tax identification number. - `ADDRESS_VERIFICATION`: Additional documentation, such as a government-issued ID or statement, may be required to verify the account owner's residential address. - `DATE_OF_BIRTH`: A government-issued identity document is required to verify the account owner's date of birth. - `SELFIE_VERIFICATION`: A live selfie of the account owner is required to verify identity. - `PEP`: The account owner disclosed politically exposed person status, and additional information may be required. - `FAMILY_MEMBER_PEP`: The account owner disclosed that an immediate family member is politically exposed, and additional information may be required. - `CONTROL_PERSON`: Additional company information may be required because the account owner disclosed a control position. - `AFFILIATED`: Additional firm information may be required because the account owner disclosed an affiliation with FINRA or an exchange. - `VISA_TYPE_OTHER`: The account owner's visa type and expiration date may be required because the submitted visa type was \"other.\" - `W8BEN_CORRECTION`: A new W-8BEN with corrected identifying information is required. - `COUNTRY_NOT_SUPPORTED`: The account owner's country of tax residence or legal residence is not supported for this account. - `WATCHLIST_HIT`: Watchlist screening returned a result that requires further review; no action is needed from the account owner unless separately requested. - `OTHER`: See `additional_information` for a custom message describing what is required from the account owner. - `OTHER_PARTNER`: See `additional_information` for a custom message intended for the Broker API partner. - `CITIZENSHIP_COUNTRY_NOT_SUPPORTED`: The account owner's country of citizenship is not supported for this account. - `DIFFERING_COUNTRY`: A submitted identity document was issued by a country different from the account owner's country of tax residence. - `WL_PEP_SCREENING`: Watchlist screening returned a result related to possible political exposure. - `WL_LEGAL_REGULATORY_WARNING`: Watchlist screening returned a legal or regulatory warning result. - `UNDER_MINIMUM_AGE`: The account owner does not meet the minimum age requirement for this account. - `PEP_FOREIGN`: The account owner disclosed foreign politically exposed person status, and additional information may be required. - `FAMILY_MEMBER_PEP_FOREIGN`: The account owner disclosed that an immediate family member has foreign politically exposed person status, and additional information may be required. - `DISCRETIONARY`: The account is designated for discretionary trading by a registered investment adviser and requires review. - `HIO`: Additional information and a declaration form may be required because the account owner disclosed being the head of an international organization. - `INTERNAL_CHECK`: A non-specific account-opening check contributed to the KYC outcome; no more specific reason is available. - `compromised_document`: The identity document check indicated that the document may be compromised. - `data_comparison`: Data extracted from the identity document did not pass comparison checks and requires review. - `image_integrity`: A document or selfie image did not pass image-integrity checks and requires review. The set of reason identifiers is extensible, so integrations must tolerate and preserve unrecognized values.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(String additionalInformation) booleanstatic KYCResultsCreate an instance of KYCResults given an JSON stringA nullable set of KYC reason identifiers represented as property names with empty object values.Used to display a custom message.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A nullable set of KYC reason identifiers represented as property names with empty object values.A nullable set of KYC reason identifiers represented as property names with empty object values.Either `pass` or `fail`.inthashCode()indeterminate(Map<String, Object> indeterminate) putAcceptItem(String key, Object acceptItem) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putIndeterminateItem(String key, Object indeterminateItem) putRejectItem(String key, Object rejectItem) voidvoidsetAdditionalInformation(String additionalInformation) voidsetIndeterminate(Map<String, Object> indeterminate) voidvoidsetSummary(String summary) toJson()Convert an instance of KYCResults to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCEPT
- See Also:
-
SERIALIZED_NAME_ADDITIONAL_INFORMATION
- See Also:
-
SERIALIZED_NAME_INDETERMINATE
- See Also:
-
SERIALIZED_NAME_REJECT
- See Also:
-
SERIALIZED_NAME_SUMMARY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
KYCResults
public KYCResults()
-
-
Method Details
-
accept
-
putAcceptItem
-
getAccept
A nullable set of KYC reason identifiers represented as property names with empty object values. See `KYCResults` for documented identifiers and interpretation guidance.- Returns:
- accept
-
setAccept
-
additionalInformation
-
getAdditionalInformation
Used to display a custom message.- Returns:
- additionalInformation
-
setAdditionalInformation
-
indeterminate
-
putIndeterminateItem
-
getIndeterminate
A nullable set of KYC reason identifiers represented as property names with empty object values. See `KYCResults` for documented identifiers and interpretation guidance.- Returns:
- indeterminate
-
setIndeterminate
-
reject
-
putRejectItem
-
getReject
A nullable set of KYC reason identifiers represented as property names with empty object values. See `KYCResults` for documented identifiers and interpretation guidance.- Returns:
- reject
-
setReject
-
summary
-
getSummary
Either `pass` or `fail`. Used to indicate if KYC has completed and passed or not. This field is used for internal purposes only.- Returns:
- summary
-
setSummary
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the KYCResults instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to KYCResults
-
fromJson
Create an instance of KYCResults given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of KYCResults
- Throws:
IOException- if the JSON string is invalid with respect to KYCResults
-
toJson
Convert an instance of KYCResults to an JSON string- Returns:
- JSON string
-