Class PostCustomerBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostCustomerBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-21T21:00:09.538922Z[Etc/UTC]") public class PostCustomerBankModel extends Object
Request body for customer creation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostCustomerBankModel.TypeEnumThe type of customer.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_ALIASESstatic StringJSON_PROPERTY_DATE_OF_BIRTHstatic StringJSON_PROPERTY_EMAIL_ADDRESSstatic StringJSON_PROPERTY_IDENTIFICATION_NUMBERSstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_WEBSITE
-
Constructor Summary
Constructors Constructor Description PostCustomerBankModel()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- 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_NAME
public static final String JSON_PROPERTY_NAME
- 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_ALIASES
public static final String JSON_PROPERTY_ALIASES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEBSITE
public static final String JSON_PROPERTY_WEBSITE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PostCustomerBankModel type(PostCustomerBankModel.TypeEnum type)
-
getType
@Nonnull public PostCustomerBankModel.TypeEnum getType()
The type of customer.- Returns:
- type
-
setType
public void setType(PostCustomerBankModel.TypeEnum type)
-
address
public PostCustomerBankModel address(PostCustomerAddressBankModel address)
-
getAddress
@Nullable public PostCustomerAddressBankModel getAddress()
Get address- Returns:
- address
-
getAddress_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<PostCustomerAddressBankModel> getAddress_JsonNullable()
-
setAddress_JsonNullable
public void setAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<PostCustomerAddressBankModel> address)
-
setAddress
public void setAddress(PostCustomerAddressBankModel address)
-
phoneNumber
public PostCustomerBankModel phoneNumber(String phoneNumber)
-
getPhoneNumber
@Nullable public String getPhoneNumber()
The customer's phone number.- Returns:
- phoneNumber
-
getPhoneNumber_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getPhoneNumber_JsonNullable()
-
setPhoneNumber_JsonNullable
public void setPhoneNumber_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> phoneNumber)
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
emailAddress
public PostCustomerBankModel emailAddress(String emailAddress)
-
getEmailAddress
@Nullable public String getEmailAddress()
The customer's email address.- Returns:
- emailAddress
-
getEmailAddress_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getEmailAddress_JsonNullable()
-
setEmailAddress_JsonNullable
public void setEmailAddress_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> emailAddress)
-
setEmailAddress
public void setEmailAddress(String emailAddress)
-
identificationNumbers
public PostCustomerBankModel identificationNumbers(List<PostIdentificationNumberBankModel> identificationNumbers)
-
addIdentificationNumbersItem
public PostCustomerBankModel addIdentificationNumbersItem(PostIdentificationNumberBankModel identificationNumbersItem)
-
getIdentificationNumbers
@Nullable public List<PostIdentificationNumberBankModel> getIdentificationNumbers()
The customer's identification numbers.- Returns:
- identificationNumbers
-
getIdentificationNumbers_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<PostIdentificationNumberBankModel>> getIdentificationNumbers_JsonNullable()
-
setIdentificationNumbers_JsonNullable
public void setIdentificationNumbers_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<PostIdentificationNumberBankModel>> identificationNumbers)
-
setIdentificationNumbers
public void setIdentificationNumbers(List<PostIdentificationNumberBankModel> identificationNumbers)
-
name
public PostCustomerBankModel name(PostCustomerNameBankModel name)
-
getName
@Nullable public PostCustomerNameBankModel getName()
Get name- Returns:
- name
-
getName_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<PostCustomerNameBankModel> getName_JsonNullable()
-
setName_JsonNullable
public void setName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<PostCustomerNameBankModel> name)
-
setName
public void setName(PostCustomerNameBankModel name)
-
dateOfBirth
public PostCustomerBankModel dateOfBirth(LocalDate dateOfBirth)
-
getDateOfBirth
@Nullable public LocalDate getDateOfBirth()
The customer's date of birth. Optional when type is individual.- Returns:
- dateOfBirth
-
getDateOfBirth_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<LocalDate> getDateOfBirth_JsonNullable()
-
setDateOfBirth_JsonNullable
public void setDateOfBirth_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<LocalDate> dateOfBirth)
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
aliases
public PostCustomerBankModel aliases(List<PostCustomerAliasesInnerBankModel> aliases)
-
addAliasesItem
public PostCustomerBankModel addAliasesItem(PostCustomerAliasesInnerBankModel aliasesItem)
-
getAliases
@Nullable public List<PostCustomerAliasesInnerBankModel> getAliases()
The aliases of the customer. Optional when type is business.- Returns:
- aliases
-
getAliases_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<PostCustomerAliasesInnerBankModel>> getAliases_JsonNullable()
-
setAliases_JsonNullable
public void setAliases_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<PostCustomerAliasesInnerBankModel>> aliases)
-
setAliases
public void setAliases(List<PostCustomerAliasesInnerBankModel> aliases)
-
website
public PostCustomerBankModel website(String website)
-
getWebsite
@Nullable public String getWebsite()
The customer's website. Optional when type is business.- Returns:
- website
-
getWebsite_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getWebsite_JsonNullable()
-
setWebsite_JsonNullable
public void setWebsite_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> website)
-
setWebsite
public void setWebsite(String website)
-
labels
public PostCustomerBankModel labels(List<String> labels)
-
addLabelsItem
public PostCustomerBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the customer.- Returns:
- labels
-
getLabels_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<String>> getLabels_JsonNullable()
-
setLabels_JsonNullable
public void setLabels_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> labels)
-
-