Class CIPIdentity

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.28.0") public class CIPIdentity extends Object implements Serializable
CIPIdentity
See Also:
  • Field Details

  • Constructor Details

    • CIPIdentity

      public CIPIdentity()
  • Method Details

    • address

      public CIPIdentity address(@Nullable CIPResult address)
    • getAddress

      @Nullable public CIPResult getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(@Nullable CIPResult address)
    • addressBreakdown

      public CIPIdentity addressBreakdown(@Nullable String addressBreakdown)
    • getAddressBreakdown

      @Nullable public String getAddressBreakdown()
      a json object representing the breakdown of the `address` field. For example: {\"credit_agencies\": {\"result\": \"clear\",\"properties\":{\"number_of_matches\":\"1\"}}
      Returns:
      addressBreakdown
    • setAddressBreakdown

      public void setAddressBreakdown(@Nullable String addressBreakdown)
    • createdAt

      public CIPIdentity createdAt(@Nullable String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      datetime when identity check happened
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable String createdAt)
    • dateOfBirth

      public CIPIdentity dateOfBirth(@Nullable CIPResult dateOfBirth)
    • getDateOfBirth

      @Nullable public CIPResult getDateOfBirth()
      Get dateOfBirth
      Returns:
      dateOfBirth
    • setDateOfBirth

      public void setDateOfBirth(@Nullable CIPResult dateOfBirth)
    • dateOfBirthBreakdown

      public CIPIdentity dateOfBirthBreakdown(@Nullable String dateOfBirthBreakdown)
    • getDateOfBirthBreakdown

      @Nullable public String getDateOfBirthBreakdown()
      a json object representing the breakdown of the `date_of_birth` field. For example: example: {\"credit_agencies\":{\"result\": \"clear\",\"properties\": {\"number_of_matches\": \"1\"}}
      Returns:
      dateOfBirthBreakdown
    • setDateOfBirthBreakdown

      public void setDateOfBirthBreakdown(@Nullable String dateOfBirthBreakdown)
    • id

      public CIPIdentity id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Your internal ID of check
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • matchedAddress

      public CIPIdentity matchedAddress(@Nullable CIPResult matchedAddress)
    • getMatchedAddress

      @Nullable public CIPResult getMatchedAddress()
      Get matchedAddress
      Returns:
      matchedAddress
    • setMatchedAddress

      public void setMatchedAddress(@Nullable CIPResult matchedAddress)
    • matchedAddresses

      public CIPIdentity matchedAddresses(@Nullable String matchedAddresses)
    • getMatchedAddresses

      @Nullable public String getMatchedAddresses()
      datetime when identity check happened
      Returns:
      matchedAddresses
    • setMatchedAddresses

      public void setMatchedAddresses(@Nullable String matchedAddresses)
    • result

      public CIPIdentity result(@Nullable CIPResult result)
    • getResult

      @Nullable public CIPResult getResult()
      Get result
      Returns:
      result
    • setResult

      public void setResult(@Nullable CIPResult result)
    • sources

      public CIPIdentity sources(@Nullable CIPResult sources)
    • getSources

      @Nullable public CIPResult getSources()
      Get sources
      Returns:
      sources
    • setSources

      public void setSources(@Nullable CIPResult sources)
    • sourcesBreakdown

      public CIPIdentity sourcesBreakdown(@Nullable String sourcesBreakdown)
    • getSourcesBreakdown

      @Nullable public String getSourcesBreakdown()
      a json object representing the breakdown of `sources` field. For example: {\"total_sources\": {\"result\": \"clear\",\"properties\": {\"total_number_of_sources\": \"3\"}}}
      Returns:
      sourcesBreakdown
    • setSourcesBreakdown

      public void setSourcesBreakdown(@Nullable String sourcesBreakdown)
    • status

      public CIPIdentity status(@Nullable CIPStatus status)
    • getStatus

      @Nullable public CIPStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(@Nullable CIPStatus status)
    • taxId

      public CIPIdentity taxId(@Nullable CIPResult taxId)
    • getTaxId

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

      public void setTaxId(@Nullable CIPResult taxId)
    • taxIdBreakdown

      public CIPIdentity taxIdBreakdown(@Nullable String taxIdBreakdown)
    • getTaxIdBreakdown

      @Nullable public String getTaxIdBreakdown()
      a json object representing the breakdown of the `tax_id` field
      Returns:
      taxIdBreakdown
    • setTaxIdBreakdown

      public void setTaxIdBreakdown(@Nullable String taxIdBreakdown)
    • putAdditionalProperty

      public CIPIdentity 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 CIPIdentity 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 CIPIdentity
    • fromJson

      public static CIPIdentity fromJson(String jsonString) throws IOException
      Create an instance of CIPIdentity given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of CIPIdentity
      Throws:
      IOException - if the JSON string is invalid with respect to CIPIdentity
    • toJson

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