Class CIPKYC
java.lang.Object
markets.alpaca.client.openapi.broker.model.CIPKYC
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CIPKYC
extends Object
implements Serializable
Represents Know Your Customer (KYC) info for a CIPInfo
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumApproval status of KYC checkstatic class -
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRiskCategoriesItem(String riskCategoriesItem) applicantName(String applicantName) approvalStatus(CIPKYC.ApprovalStatusEnum approvalStatus) approvedAt(OffsetDateTime approvedAt) approvedBy(String approvedBy) approvedReason(String approvedReason) checkCompletedAt(OffsetDateTime checkCompletedAt) checkInitiatedAt(OffsetDateTime checkInitiatedAt) countryOfResidency(String countryOfResidency) dateOfBirth(LocalDate dateOfBirth) emailAddress(String emailAddress) booleanstatic CIPKYCCreate an instance of CIPKYC given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Concatenated street address, city, state and country of applicantGiven and family name of applicantApproval status of KYC checkReason for approving this KYC checkIdentifier of who approved KYC checkDatetime that this KYC check was approvedcompletion datetime of KYC checkstart datetime of KYC checkcountry for `address` fieldDOB of applicantemail address of applicantgetId()Your internal ID of checkIP address of applicant at time of KYC checkDatetime that KYC check was completed atnationality of applicantpostal code for `address` fieldThe list of risk categories returned by the KYC provider or assessedOverall risk level returned by KYC provider or assessedOverall risk score returned by KYC provider or assessedinthashCode()kycCompletedAt(OffsetDateTime kycCompletedAt) nationality(String nationality) postalCode(String postalCode) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.riskCategories(List<String> riskCategories) voidsetAddress(String address) voidsetApplicantName(String applicantName) voidsetApprovalStatus(CIPKYC.ApprovalStatusEnum approvalStatus) voidsetApprovedAt(OffsetDateTime approvedAt) voidsetApprovedBy(String approvedBy) voidsetApprovedReason(String approvedReason) voidsetCheckCompletedAt(OffsetDateTime checkCompletedAt) voidsetCheckInitiatedAt(OffsetDateTime checkInitiatedAt) voidsetCountryOfResidency(String countryOfResidency) voidsetDateOfBirth(LocalDate dateOfBirth) voidsetEmailAddress(String emailAddress) voidvoidsetIpAddress(String ipAddress) voidsetKycCompletedAt(OffsetDateTime kycCompletedAt) voidsetNationality(String nationality) voidsetPostalCode(String postalCode) voidsetRiskCategories(List<String> riskCategories) voidsetRiskLevel(String riskLevel) voidsetRiskScore(Integer riskScore) toJson()Convert an instance of CIPKYC 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_ADDRESS
- See Also:
-
SERIALIZED_NAME_APPLICANT_NAME
- See Also:
-
SERIALIZED_NAME_APPROVAL_STATUS
- See Also:
-
SERIALIZED_NAME_APPROVED_AT
- See Also:
-
SERIALIZED_NAME_APPROVED_BY
- See Also:
-
SERIALIZED_NAME_APPROVED_REASON
- See Also:
-
SERIALIZED_NAME_CHECK_COMPLETED_AT
- See Also:
-
SERIALIZED_NAME_CHECK_INITIATED_AT
- See Also:
-
SERIALIZED_NAME_COUNTRY_OF_RESIDENCY
- See Also:
-
SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_EMAIL_ADDRESS
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IP_ADDRESS
- See Also:
-
SERIALIZED_NAME_KYC_COMPLETED_AT
- See Also:
-
SERIALIZED_NAME_NATIONALITY
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
SERIALIZED_NAME_RISK_CATEGORIES
- See Also:
-
SERIALIZED_NAME_RISK_LEVEL
- See Also:
-
SERIALIZED_NAME_RISK_SCORE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CIPKYC
public CIPKYC()
-
-
Method Details
-
address
-
getAddress
Concatenated street address, city, state and country of applicant- Returns:
- address
-
setAddress
-
applicantName
-
getApplicantName
Given and family name of applicant- Returns:
- applicantName
-
setApplicantName
-
approvalStatus
-
getApprovalStatus
Approval status of KYC check- Returns:
- approvalStatus
-
setApprovalStatus
-
approvedAt
-
getApprovedAt
Reason for approving this KYC check- Returns:
- approvedAt
-
setApprovedAt
-
approvedBy
-
getApprovedBy
Identifier of who approved KYC check- Returns:
- approvedBy
-
setApprovedBy
-
approvedReason
-
getApprovedReason
Datetime that this KYC check was approved- Returns:
- approvedReason
-
setApprovedReason
-
checkCompletedAt
-
getCheckCompletedAt
completion datetime of KYC check- Returns:
- checkCompletedAt
-
setCheckCompletedAt
-
checkInitiatedAt
-
getCheckInitiatedAt
start datetime of KYC check- Returns:
- checkInitiatedAt
-
setCheckInitiatedAt
-
countryOfResidency
-
getCountryOfResidency
country for `address` field- Returns:
- countryOfResidency
-
setCountryOfResidency
-
dateOfBirth
-
getDateOfBirth
DOB of applicant- Returns:
- dateOfBirth
-
setDateOfBirth
-
emailAddress
-
getEmailAddress
email address of applicant- Returns:
- emailAddress
-
setEmailAddress
-
id
-
getId
Your internal ID of check- Returns:
- id
-
setId
-
ipAddress
-
getIpAddress
IP address of applicant at time of KYC check- Returns:
- ipAddress
-
setIpAddress
-
kycCompletedAt
-
getKycCompletedAt
Datetime that KYC check was completed at- Returns:
- kycCompletedAt
-
setKycCompletedAt
-
nationality
-
getNationality
nationality of applicant- Returns:
- nationality
-
setNationality
-
postalCode
-
getPostalCode
postal code for `address` field- Returns:
- postalCode
-
setPostalCode
-
riskCategories
-
addRiskCategoriesItem
-
getRiskCategories
The list of risk categories returned by the KYC provider or assessed- Returns:
- riskCategories
-
setRiskCategories
-
riskLevel
-
getRiskLevel
Overall risk level returned by KYC provider or assessed- Returns:
- riskLevel
-
setRiskLevel
-
riskScore
-
getRiskScore
Overall risk score returned by KYC provider or assessed- Returns:
- riskScore
-
setRiskScore
-
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 CIPKYC 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 CIPKYC
-
fromJson
Create an instance of CIPKYC given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CIPKYC
- Throws:
IOException- if the JSON string is invalid with respect to CIPKYC
-
toJson
Convert an instance of CIPKYC to an JSON string- Returns:
- JSON string
-