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
  • Field Details

  • Constructor Details

    • CustodialAccountMinorIdentity

      public CustodialAccountMinorIdentity()
  • Method Details

    • givenName

      public CustodialAccountMinorIdentity givenName(String givenName)
    • getGivenName

      @Nonnull public String getGivenName()
      Get givenName
      Returns:
      givenName
    • setGivenName

      public void setGivenName(String givenName)
    • familyName

      public CustodialAccountMinorIdentity familyName(String familyName)
    • getFamilyName

      @Nonnull public String getFamilyName()
      Get familyName
      Returns:
      familyName
    • setFamilyName

      public void setFamilyName(String familyName)
    • dateOfBirth

      public CustodialAccountMinorIdentity dateOfBirth(LocalDate dateOfBirth)
    • getDateOfBirth

      @Nonnull public LocalDate getDateOfBirth()
      Get dateOfBirth
      Returns:
      dateOfBirth
    • setDateOfBirth

      public void setDateOfBirth(LocalDate dateOfBirth)
    • taxId

      public CustodialAccountMinorIdentity taxId(String taxId)
    • getTaxId

      @Nullable public String getTaxId()
      Get taxId
      Returns:
      taxId
    • setTaxId

      public void setTaxId(String taxId)
    • taxIdType

      public CustodialAccountMinorIdentity taxIdType(TaxIdType taxIdType)
    • getTaxIdType

      @Nullable public TaxIdType getTaxIdType()
      Get taxIdType
      Returns:
      taxIdType
    • setTaxIdType

      public void setTaxIdType(TaxIdType taxIdType)
    • countryOfCitizenship

      public CustodialAccountMinorIdentity countryOfCitizenship(String countryOfCitizenship)
    • getCountryOfCitizenship

      @Nullable public String getCountryOfCitizenship()
      Get countryOfCitizenship
      Returns:
      countryOfCitizenship
    • setCountryOfCitizenship

      public void setCountryOfCitizenship(String countryOfCitizenship)
    • countryOfBirth

      public CustodialAccountMinorIdentity countryOfBirth(String countryOfBirth)
    • getCountryOfBirth

      @Nullable public String getCountryOfBirth()
      Get countryOfBirth
      Returns:
      countryOfBirth
    • setCountryOfBirth

      public void setCountryOfBirth(String countryOfBirth)
    • countryOfTaxResidence

      public CustodialAccountMinorIdentity countryOfTaxResidence(String countryOfTaxResidence)
    • getCountryOfTaxResidence

      @Nonnull public String getCountryOfTaxResidence()
      Get countryOfTaxResidence
      Returns:
      countryOfTaxResidence
    • setCountryOfTaxResidence

      public void setCountryOfTaxResidence(String countryOfTaxResidence)
    • state

      public CustodialAccountMinorIdentity state(String state)
    • getState

      @Nonnull public String getState()
      Get state
      Returns:
      state
    • setState

      public void setState(String state)
    • email

      public CustodialAccountMinorIdentity email(String email)
    • getEmail

      @Nonnull public String getEmail()
      Get email
      Returns:
      email
    • setEmail

      public void setEmail(String email)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException
    • fromJson

      public static CustodialAccountMinorIdentity fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of CustodialAccountMinorIdentity to an JSON string
      Returns:
      JSON string