Class CustodialAccountMinorIdentity
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.CustodialAccountMinorIdentity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class CustodialAccountMinorIdentity
extends Object
Represents Identity information for a minor that an account of type \"custodial\" is for
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryOfBirth
(String countryOfBirth) countryOfCitizenship
(String countryOfCitizenship) countryOfTaxResidence
(String countryOfTaxResidence) dateOfBirth
(LocalDate dateOfBirth) boolean
familyName
(String familyName) Create an instance of CustodialAccountMinorIdentity given an JSON stringGet countryOfBirthGet countryOfCitizenshipGet countryOfTaxResidenceGet dateOfBirthgetEmail()
Get emailGet familyNameGet givenNamegetState()
Get stategetTaxId()
Get taxIdGet taxIdTypeint
hashCode()
void
setCountryOfBirth
(String countryOfBirth) void
setCountryOfCitizenship
(String countryOfCitizenship) void
setCountryOfTaxResidence
(String countryOfTaxResidence) void
setDateOfBirth
(LocalDate dateOfBirth) void
void
setFamilyName
(String familyName) void
setGivenName
(String givenName) void
void
void
setTaxIdType
(TaxIdType taxIdType) toJson()
Convert an instance of CustodialAccountMinorIdentity to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_GIVEN_NAME
- See Also:
-
SERIALIZED_NAME_FAMILY_NAME
- See Also:
-
SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_TAX_ID
- See Also:
-
SERIALIZED_NAME_TAX_ID_TYPE
- See Also:
-
SERIALIZED_NAME_COUNTRY_OF_CITIZENSHIP
- See Also:
-
SERIALIZED_NAME_COUNTRY_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_COUNTRY_OF_TAX_RESIDENCE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
CustodialAccountMinorIdentity
public CustodialAccountMinorIdentity()
-
-
Method Details
-
givenName
-
getGivenName
Get givenName- Returns:
- givenName
-
setGivenName
-
familyName
-
getFamilyName
Get familyName- Returns:
- familyName
-
setFamilyName
-
dateOfBirth
-
getDateOfBirth
Get dateOfBirth- Returns:
- dateOfBirth
-
setDateOfBirth
-
taxId
-
getTaxId
Get taxId- Returns:
- taxId
-
setTaxId
-
taxIdType
-
getTaxIdType
Get taxIdType- Returns:
- taxIdType
-
setTaxIdType
-
countryOfCitizenship
-
getCountryOfCitizenship
Get countryOfCitizenship- Returns:
- countryOfCitizenship
-
setCountryOfCitizenship
-
countryOfBirth
-
getCountryOfBirth
Get countryOfBirth- Returns:
- countryOfBirth
-
setCountryOfBirth
-
countryOfTaxResidence
-
getCountryOfTaxResidence
Get countryOfTaxResidence- Returns:
- countryOfTaxResidence
-
setCountryOfTaxResidence
-
state
-
getState
Get state- Returns:
- state
-
setState
-
email
-
getEmail
Get email- Returns:
-
setEmail
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of CustodialAccountMinorIdentity given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CustodialAccountMinorIdentity
- Throws:
IOException
- if the JSON string is invalid with respect to CustodialAccountMinorIdentity
-
toJson
Convert an instance of CustodialAccountMinorIdentity to an JSON string- Returns:
- JSON string
-