Class PostIdentityVerificationBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostIdentityVerificationBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-05-09T20:02:13.967347Z[Etc/UTC]") public class PostIdentityVerificationBankModel extends Object
PostIdentityVerificationBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostIdentityVerificationBankModel.ExpectedBehavioursEnumGets or Sets expectedBehavioursstatic classPostIdentityVerificationBankModel.MethodEnumThe identity verification method.static classPostIdentityVerificationBankModel.TypeEnumThe type of identity verification.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_COUNTRY_CODEstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_DATE_OF_BIRTHstatic StringJSON_PROPERTY_EMAIL_ADDRESSstatic StringJSON_PROPERTY_EXPECTED_BEHAVIOURSstatic StringJSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUIDstatic StringJSON_PROPERTY_IDENTIFICATION_NUMBERSstatic StringJSON_PROPERTY_METHODstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PostIdentityVerificationBankModel()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METHOD
public static final String JSON_PROPERTY_METHOD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER_GUID
public static final String JSON_PROPERTY_CUSTOMER_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DATE_OF_BIRTH
public static final String JSON_PROPERTY_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE_NUMBER
public static final String JSON_PROPERTY_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EMAIL_ADDRESS
public static final String JSON_PROPERTY_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDENTIFICATION_NUMBERS
public static final String JSON_PROPERTY_IDENTIFICATION_NUMBERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
public static final String JSON_PROPERTY_EXTERNAL_BANK_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPECTED_BEHAVIOURS
public static final String JSON_PROPERTY_EXPECTED_BEHAVIOURS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PostIdentityVerificationBankModel type(PostIdentityVerificationBankModel.TypeEnum type)
-
getType
@Nonnull public PostIdentityVerificationBankModel.TypeEnum getType()
The type of identity verification.- Returns:
- type
-
setType
public void setType(PostIdentityVerificationBankModel.TypeEnum type)
-
method
public PostIdentityVerificationBankModel method(PostIdentityVerificationBankModel.MethodEnum method)
-
getMethod
@Nonnull public PostIdentityVerificationBankModel.MethodEnum getMethod()
The identity verification method.- Returns:
- method
-
setMethod
public void setMethod(PostIdentityVerificationBankModel.MethodEnum method)
-
customerGuid
public PostIdentityVerificationBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The customer's identifier.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
countryCode
public PostIdentityVerificationBankModel countryCode(String countryCode)
-
getCountryCode
@Nullable public String getCountryCode()
The ISO 3166 country 2-Alpha country the customer is being verified in; required when method is set to 'id_and_selfie'. If not present, will default to the Bank's configured country code.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
name
public PostIdentityVerificationBankModel name(PostIdentityVerificationNameBankModel name)
-
getName
@Nullable public PostIdentityVerificationNameBankModel getName()
Get name- Returns:
- name
-
setName
public void setName(PostIdentityVerificationNameBankModel name)
-
address
public PostIdentityVerificationBankModel address(PostIdentityVerificationAddressBankModel address)
-
getAddress
@Nullable public PostIdentityVerificationAddressBankModel getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(PostIdentityVerificationAddressBankModel address)
-
dateOfBirth
public PostIdentityVerificationBankModel dateOfBirth(LocalDate dateOfBirth)
-
getDateOfBirth
@Nullable public LocalDate getDateOfBirth()
The customer's date of birth; required when type is set to 'kyc' and method is set to 'attested'.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
phoneNumber
public PostIdentityVerificationBankModel phoneNumber(String phoneNumber)
-
getPhoneNumber
@Nullable public String getPhoneNumber()
The customer's phone number.- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
emailAddress
public PostIdentityVerificationBankModel emailAddress(String emailAddress)
-
getEmailAddress
@Nullable public String getEmailAddress()
The customer's email address.- Returns:
- emailAddress
-
setEmailAddress
public void setEmailAddress(String emailAddress)
-
identificationNumbers
public PostIdentityVerificationBankModel identificationNumbers(List<PostIdentificationNumberBankModel> identificationNumbers)
-
addIdentificationNumbersItem
public PostIdentityVerificationBankModel addIdentificationNumbersItem(PostIdentificationNumberBankModel identificationNumbersItem)
-
getIdentificationNumbers
@Nullable public List<PostIdentificationNumberBankModel> getIdentificationNumbers()
The customer's identification numbers; required when type is set to 'kyc' and method is set to 'attested'.- Returns:
- identificationNumbers
-
setIdentificationNumbers
public void setIdentificationNumbers(List<PostIdentificationNumberBankModel> identificationNumbers)
-
externalBankAccountGuid
public PostIdentityVerificationBankModel externalBankAccountGuid(String externalBankAccountGuid)
-
getExternalBankAccountGuid
@Nullable public String getExternalBankAccountGuid()
The external bank account's identifier. Required for 'bank_account' type.- Returns:
- externalBankAccountGuid
-
setExternalBankAccountGuid
public void setExternalBankAccountGuid(String externalBankAccountGuid)
-
expectedBehaviours
public PostIdentityVerificationBankModel expectedBehaviours(List<PostIdentityVerificationBankModel.ExpectedBehavioursEnum> expectedBehaviours)
-
addExpectedBehavioursItem
public PostIdentityVerificationBankModel addExpectedBehavioursItem(PostIdentityVerificationBankModel.ExpectedBehavioursEnum expectedBehavioursItem)
-
getExpectedBehaviours
@Nullable public List<PostIdentityVerificationBankModel.ExpectedBehavioursEnum> getExpectedBehaviours()
The optional expected behaviour to simulate.- Returns:
- expectedBehaviours
-
setExpectedBehaviours
public void setExpectedBehaviours(List<PostIdentityVerificationBankModel.ExpectedBehavioursEnum> expectedBehaviours)
-
-