Class Disclosures
java.lang.Object
markets.alpaca.client.openapi.broker.model.Disclosures
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class Disclosures
extends Object
implements Serializable
Disclosures fields denote if the account owner falls under each category defined by FINRA rule. The client has to ask questions for the end user and the values should reflect their answers. If one of the answers is true (yes), the account goes into ACTION_REQUIRED status.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe industry sector of employment.static enumOne of the following: `employed`, `unemployed`, `retired`, or `student`. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContextItem(DisclosureContextAnnotation contextItem) context(List<DisclosureContextAnnotation> context) employerAddress(String employerAddress) employerName(String employerName) employmentPosition(String employmentPosition) employmentSector(Disclosures.EmploymentSectorEnum employmentSector) employmentStatus(Disclosures.EmploymentStatusEnum employmentStatus) booleanstatic DisclosuresCreate an instance of Disclosures given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Array of annotations describing the rationale for marking `is_control_person`, `is_affiliated_exchange_or_finra`, and/or `immediate_family_exposed` as trueThe employer's address if the user is employed.The name of the employer if the user is employed.The user's position if they are employed.The industry sector of employment.One of the following: `employed`, `unemployed`, `retired`, or `student`.If your user's immediate family member (sibling, husband/wife, child, parent) is either politically exposed or holds a control position.Whether user is affiliated with any exchanges or FINRA.Whether user holds a controlling position in a publicly traded company, member of the board of directors or has policy making abilities in a publicly traded company.Whether the user is politically exposed.inthashCode()immediateFamilyExposed(Boolean immediateFamilyExposed) isAffiliatedExchangeOrFinra(Boolean isAffiliatedExchangeOrFinra) isControlPerson(Boolean isControlPerson) isPoliticallyExposed(Boolean isPoliticallyExposed) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContext(List<DisclosureContextAnnotation> context) voidsetEmployerAddress(String employerAddress) voidsetEmployerName(String employerName) voidsetEmploymentPosition(String employmentPosition) voidsetEmploymentSector(Disclosures.EmploymentSectorEnum employmentSector) voidsetEmploymentStatus(Disclosures.EmploymentStatusEnum employmentStatus) voidsetImmediateFamilyExposed(Boolean immediateFamilyExposed) voidsetIsAffiliatedExchangeOrFinra(Boolean isAffiliatedExchangeOrFinra) voidsetIsControlPerson(Boolean isControlPerson) voidsetIsPoliticallyExposed(Boolean isPoliticallyExposed) toJson()Convert an instance of Disclosures 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_CONTEXT
- See Also:
-
SERIALIZED_NAME_EMPLOYER_ADDRESS
- See Also:
-
SERIALIZED_NAME_EMPLOYER_NAME
- See Also:
-
SERIALIZED_NAME_EMPLOYMENT_POSITION
- See Also:
-
SERIALIZED_NAME_EMPLOYMENT_SECTOR
- See Also:
-
SERIALIZED_NAME_EMPLOYMENT_STATUS
- See Also:
-
SERIALIZED_NAME_IMMEDIATE_FAMILY_EXPOSED
- See Also:
-
SERIALIZED_NAME_IS_AFFILIATED_EXCHANGE_OR_FINRA
- See Also:
-
SERIALIZED_NAME_IS_CONTROL_PERSON
- See Also:
-
SERIALIZED_NAME_IS_POLITICALLY_EXPOSED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Disclosures
public Disclosures()
-
-
Method Details
-
context
-
addContextItem
-
getContext
Array of annotations describing the rationale for marking `is_control_person`, `is_affiliated_exchange_or_finra`, and/or `immediate_family_exposed` as true- Returns:
- context
-
setContext
-
employerAddress
-
getEmployerAddress
The employer's address if the user is employed.- Returns:
- employerAddress
-
setEmployerAddress
-
employerName
-
getEmployerName
The name of the employer if the user is employed.- Returns:
- employerName
-
setEmployerName
-
employmentPosition
-
getEmploymentPosition
The user's position if they are employed.- Returns:
- employmentPosition
-
setEmploymentPosition
-
employmentSector
-
getEmploymentSector
The industry sector of employment. If the `employment_status` is `unemployed` or `student`, set this property to `not_employed`. If the `employment_status` is `retired`, set this to `self_employed`.- Returns:
- employmentSector
-
setEmploymentSector
-
employmentStatus
-
getEmploymentStatus
One of the following: `employed`, `unemployed`, `retired`, or `student`.- Returns:
- employmentStatus
-
setEmploymentStatus
-
immediateFamilyExposed
-
getImmediateFamilyExposed
If your user's immediate family member (sibling, husband/wife, child, parent) is either politically exposed or holds a control position.- Returns:
- immediateFamilyExposed
-
setImmediateFamilyExposed
-
isAffiliatedExchangeOrFinra
-
getIsAffiliatedExchangeOrFinra
Whether user is affiliated with any exchanges or FINRA.- Returns:
- isAffiliatedExchangeOrFinra
-
setIsAffiliatedExchangeOrFinra
-
isControlPerson
-
getIsControlPerson
Whether user holds a controlling position in a publicly traded company, member of the board of directors or has policy making abilities in a publicly traded company.- Returns:
- isControlPerson
-
setIsControlPerson
-
isPoliticallyExposed
-
getIsPoliticallyExposed
Whether the user is politically exposed.- Returns:
- isPoliticallyExposed
-
setIsPoliticallyExposed
-
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 Disclosures 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 Disclosures
-
fromJson
Create an instance of Disclosures given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Disclosures
- Throws:
IOException- if the JSON string is invalid with respect to Disclosures
-
toJson
Convert an instance of Disclosures to an JSON string- Returns:
- JSON string
-