Class UsKycCheckData.UsImmigrationInfo
-
- All Implemented Interfaces:
public final class UsKycCheckData.UsImmigrationInfoUS immigration information for this individual. Required if the individual is not a US citizen.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsKycCheckData.UsImmigrationInfo.BuilderA builder for UsImmigrationInfo.
public final classUsKycCheckData.UsImmigrationInfo.VisaTypeType of visa the individual holds. Required if not a permanent resident.
-
Method Summary
-
-
Method Detail
-
countryOfBirth
final String countryOfBirth()
Country where the individual was born.
-
isPermanentResident
final Boolean isPermanentResident()
Whether the individual is a US permanent resident (green card holder).
-
departureFromUsDate
final Optional<LocalDate> departureFromUsDate()
Date the individual is scheduled to leave the US. Required for B1 and B2 visas.
-
visaExpirationDate
final Optional<LocalDate> visaExpirationDate()
Expiration date of the visa. Required if visa_type is provided.
-
visaType
final Optional<UsKycCheckData.UsImmigrationInfo.VisaType> visaType()
Type of visa the individual holds. Required if not a permanent resident.
-
_countryOfBirth
final JsonField<String> _countryOfBirth()
Returns the raw JSON value of countryOfBirth.
Unlike countryOfBirth, this method doesn't throw if the JSON field has an unexpected type.
-
_isPermanentResident
final JsonField<Boolean> _isPermanentResident()
Returns the raw JSON value of isPermanentResident.
Unlike isPermanentResident, this method doesn't throw if the JSON field has an unexpected type.
-
_departureFromUsDate
final JsonField<LocalDate> _departureFromUsDate()
Returns the raw JSON value of departureFromUsDate.
Unlike departureFromUsDate, this method doesn't throw if the JSON field has an unexpected type.
-
_visaExpirationDate
final JsonField<LocalDate> _visaExpirationDate()
Returns the raw JSON value of visaExpirationDate.
Unlike visaExpirationDate, this method doesn't throw if the JSON field has an unexpected type.
-
_visaType
final JsonField<UsKycCheckData.UsImmigrationInfo.VisaType> _visaType()
Returns the raw JSON value of visaType.
Unlike visaType, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsKycCheckData.UsImmigrationInfo.Builder toBuilder()
-
validate
final UsKycCheckData.UsImmigrationInfo validate()
-
builder
final static UsKycCheckData.UsImmigrationInfo.Builder builder()
Returns a mutable builder for constructing an instance of UsImmigrationInfo.
The following fields are required:
.countryOfBirth() .isPermanentResident()
-
-
-
-