Class W8benDocument
java.lang.Object
markets.alpaca.client.openapi.broker.model.W8benDocument
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class W8benDocument
extends Object
implements Serializable
Use this property (instead of the content property) to upload W-8 BEN data in JSON format.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalConditions(String additionalConditions) countryCitizen(String countryCitizen) dateOfBirth(LocalDate dateOfBirth) booleanforeignTaxId(String foreignTaxId) static W8benDocumentCreate an instance of W8benDocument given an JSON stringftinNotRequired(Boolean ftinNotRequired) Any additional conditions to specifyReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The country that the applicant is a citizen ofgetDate()date signeddate of birth of applicantApplicant's tax id in their home countryRequired if foreign_tax_id and tax_id_ssn are empty.Full name of applicantIncome type of applicantIP address of applicant when signedMailing city/state of applicantMailing country for applicantMailing street address for applicantGet paragraphNumberGet percentRateWithholdingPermanent city/state of applicantPermanent country of residence of applicantPermanent street address of applicantGet referenceNumberCountry of residency of applicantRevision of the W8BEN formFull name of signing userTaxID/SSN of applicantTimestamp when form data was gatheredinthashCode()incomeType(String incomeType) mailingAddressCityState(String mailingAddressCityState) mailingAddressCountry(String mailingAddressCountry) mailingAddressStreet(String mailingAddressStreet) paragraphNumber(String paragraphNumber) percentRateWithholding(Integer percentRateWithholding) permanentAddressCityState(String permanentAddressCityState) permanentAddressCountry(String permanentAddressCountry) permanentAddressStreet(String permanentAddressStreet) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.referenceNumber(String referenceNumber) voidsetAdditionalConditions(String additionalConditions) voidsetCountryCitizen(String countryCitizen) voidvoidsetDateOfBirth(LocalDate dateOfBirth) voidsetForeignTaxId(String foreignTaxId) voidsetFtinNotRequired(Boolean ftinNotRequired) voidsetFullName(String fullName) voidsetIncomeType(String incomeType) voidsetIpAddress(String ipAddress) voidsetMailingAddressCityState(String mailingAddressCityState) voidsetMailingAddressCountry(String mailingAddressCountry) voidsetMailingAddressStreet(String mailingAddressStreet) voidsetParagraphNumber(String paragraphNumber) voidsetPercentRateWithholding(Integer percentRateWithholding) voidsetPermanentAddressCityState(String permanentAddressCityState) voidsetPermanentAddressCountry(String permanentAddressCountry) voidsetPermanentAddressStreet(String permanentAddressStreet) voidsetReferenceNumber(String referenceNumber) voidsetResidency(String residency) voidsetRevision(String revision) voidsetSignerFullName(String signerFullName) voidsetTaxIdSsn(String taxIdSsn) voidsetTimestamp(String timestamp) signerFullName(String signerFullName) toJson()Convert an instance of W8benDocument 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_ADDITIONAL_CONDITIONS
- See Also:
-
SERIALIZED_NAME_COUNTRY_CITIZEN
- See Also:
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_FOREIGN_TAX_ID
- See Also:
-
SERIALIZED_NAME_FTIN_NOT_REQUIRED
- See Also:
-
SERIALIZED_NAME_FULL_NAME
- See Also:
-
SERIALIZED_NAME_INCOME_TYPE
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_MAILING_ADDRESS_CITY_STATE
- See Also:
-
SERIALIZED_NAME_MAILING_ADDRESS_COUNTRY
- See Also:
-
SERIALIZED_NAME_MAILING_ADDRESS_STREET
- See Also:
-
SERIALIZED_NAME_PARAGRAPH_NUMBER
- See Also:
-
SERIALIZED_NAME_PERCENT_RATE_WITHHOLDING
- See Also:
-
SERIALIZED_NAME_PERMANENT_ADDRESS_CITY_STATE
- See Also:
-
SERIALIZED_NAME_PERMANENT_ADDRESS_COUNTRY
- See Also:
-
SERIALIZED_NAME_PERMANENT_ADDRESS_STREET
- See Also:
-
SERIALIZED_NAME_REFERENCE_NUMBER
- See Also:
-
SERIALIZED_NAME_RESIDENCY
- See Also:
-
SERIALIZED_NAME_REVISION
- See Also:
-
SERIALIZED_NAME_SIGNER_FULL_NAME
- See Also:
-
SERIALIZED_NAME_TAX_ID_SSN
- See Also:
-
SERIALIZED_NAME_TIMESTAMP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
W8benDocument
public W8benDocument()
-
-
Method Details
-
additionalConditions
-
getAdditionalConditions
Any additional conditions to specify- Returns:
- additionalConditions
-
setAdditionalConditions
-
countryCitizen
-
getCountryCitizen
The country that the applicant is a citizen of- Returns:
- countryCitizen
-
setCountryCitizen
-
date
-
getDate
date signed- Returns:
- date
-
setDate
-
dateOfBirth
-
getDateOfBirth
date of birth of applicant- Returns:
- dateOfBirth
-
setDateOfBirth
-
foreignTaxId
-
getForeignTaxId
Applicant's tax id in their home country- Returns:
- foreignTaxId
-
setForeignTaxId
-
ftinNotRequired
-
getFtinNotRequired
Required if foreign_tax_id and tax_id_ssn are empty.- Returns:
- ftinNotRequired
-
setFtinNotRequired
-
fullName
-
getFullName
Full name of applicant- Returns:
- fullName
-
setFullName
-
incomeType
-
getIncomeType
Income type of applicant- Returns:
- incomeType
-
setIncomeType
-
ipAddress
-
getIpAddress
IP address of applicant when signed- Returns:
- ipAddress
-
setIpAddress
-
mailingAddressCityState
-
getMailingAddressCityState
Mailing city/state of applicant- Returns:
- mailingAddressCityState
-
setMailingAddressCityState
-
mailingAddressCountry
-
getMailingAddressCountry
Mailing country for applicant- Returns:
- mailingAddressCountry
-
setMailingAddressCountry
-
mailingAddressStreet
-
getMailingAddressStreet
Mailing street address for applicant- Returns:
- mailingAddressStreet
-
setMailingAddressStreet
-
paragraphNumber
-
getParagraphNumber
Get paragraphNumber- Returns:
- paragraphNumber
-
setParagraphNumber
-
percentRateWithholding
-
getPercentRateWithholding
Get percentRateWithholding- Returns:
- percentRateWithholding
-
setPercentRateWithholding
-
permanentAddressCityState
-
getPermanentAddressCityState
Permanent city/state of applicant- Returns:
- permanentAddressCityState
-
setPermanentAddressCityState
-
permanentAddressCountry
-
getPermanentAddressCountry
Permanent country of residence of applicant- Returns:
- permanentAddressCountry
-
setPermanentAddressCountry
-
permanentAddressStreet
-
getPermanentAddressStreet
Permanent street address of applicant- Returns:
- permanentAddressStreet
-
setPermanentAddressStreet
-
referenceNumber
-
getReferenceNumber
Get referenceNumber- Returns:
- referenceNumber
-
setReferenceNumber
-
residency
-
getResidency
Country of residency of applicant- Returns:
- residency
-
setResidency
-
revision
-
getRevision
Revision of the W8BEN form- Returns:
- revision
-
setRevision
-
signerFullName
-
getSignerFullName
Full name of signing user- Returns:
- signerFullName
-
setSignerFullName
-
taxIdSsn
-
getTaxIdSsn
TaxID/SSN of applicant- Returns:
- taxIdSsn
-
setTaxIdSsn
-
timestamp
-
getTimestamp
Timestamp when form data was gathered- Returns:
- timestamp
-
setTimestamp
-
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 W8benDocument 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 W8benDocument
-
fromJson
Create an instance of W8benDocument given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of W8benDocument
- Throws:
IOException- if the JSON string is invalid with respect to W8benDocument
-
toJson
Convert an instance of W8benDocument to an JSON string- Returns:
- JSON string
-