Class CustodialAccountMinorIdentity

java.lang.Object
markets.alpaca.client.openapi.broker.model.CustodialAccountMinorIdentity
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class CustodialAccountMinorIdentity extends Object implements Serializable
Represents Identity information for a minor that an account of type \"custodial\" is for
See Also:
  • Field Details

  • Constructor Details

    • CustodialAccountMinorIdentity

      public CustodialAccountMinorIdentity()
  • Method Details

    • countryOfBirth

      public CustodialAccountMinorIdentity countryOfBirth(@Nullable String countryOfBirth)
    • getCountryOfBirth

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

      public void setCountryOfBirth(@Nullable String countryOfBirth)
    • countryOfCitizenship

      public CustodialAccountMinorIdentity countryOfCitizenship(@Nullable String countryOfCitizenship)
    • getCountryOfCitizenship

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

      public void setCountryOfCitizenship(@Nullable String countryOfCitizenship)
    • countryOfTaxResidence

      public CustodialAccountMinorIdentity countryOfTaxResidence(@Nonnull String countryOfTaxResidence)
    • getCountryOfTaxResidence

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

      public void setCountryOfTaxResidence(@Nonnull String countryOfTaxResidence)
    • dateOfBirth

      public CustodialAccountMinorIdentity dateOfBirth(@Nonnull LocalDate dateOfBirth)
    • getDateOfBirth

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

      public void setDateOfBirth(@Nonnull LocalDate dateOfBirth)
    • email

      public CustodialAccountMinorIdentity email(@Nonnull String email)
    • getEmail

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

      public void setEmail(@Nonnull String email)
    • familyName

      public CustodialAccountMinorIdentity familyName(@Nonnull String familyName)
    • getFamilyName

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

      public void setFamilyName(@Nonnull String familyName)
    • givenName

      public CustodialAccountMinorIdentity givenName(@Nonnull String givenName)
    • getGivenName

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

      public void setGivenName(@Nonnull String givenName)
    • state

      public CustodialAccountMinorIdentity state(@Nonnull String state)
    • getState

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

      public void setState(@Nonnull String state)
    • taxId

      public CustodialAccountMinorIdentity taxId(@Nullable String taxId)
    • getTaxId

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

      public void setTaxId(@Nullable String taxId)
    • taxIdType

      public CustodialAccountMinorIdentity taxIdType(@Nullable TaxIdType taxIdType)
    • getTaxIdType

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

      public void setTaxIdType(@Nullable TaxIdType taxIdType)
    • putAdditionalProperty

      public CustodialAccountMinorIdentity putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the CustodialAccountMinorIdentity instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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
      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 CustodialAccountMinorIdentity
    • 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