Class PostCustomerBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostCustomerBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-31T23:03:46.333357Z[Etc/UTC]") public class PostCustomerBankModel extends Object
PostCustomerBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostCustomerBankModel.TypeEnumThe customer's type.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_DATE_OF_BIRTHstatic StringJSON_PROPERTY_EMAIL_ADDRESSstatic StringJSON_PROPERTY_IDENTIFICATION_NUMBERSstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_TYPE
-
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_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
-
-
Method Detail
-
type
public PostCustomerBankModel type(PostCustomerBankModel.TypeEnum type)
-
getType
@Nonnull public PostCustomerBankModel.TypeEnum getType()
The customer's type.- Returns:
- type
-
setType
public void setType(PostCustomerBankModel.TypeEnum type)
-
name
public PostCustomerBankModel name(PostCustomerNameBankModel name)
-
getName
@Nullable public PostCustomerNameBankModel getName()
Get name- Returns:
- name
-
setName
public void setName(PostCustomerNameBankModel name)
-
address
public PostCustomerBankModel address(PostCustomerAddressBankModel address)
-
getAddress
@Nullable public PostCustomerAddressBankModel getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(PostCustomerAddressBankModel address)
-
dateOfBirth
public PostCustomerBankModel dateOfBirth(LocalDate dateOfBirth)
-
getDateOfBirth
@Nullable public LocalDate getDateOfBirth()
The customer's date of birth.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
phoneNumber
public PostCustomerBankModel phoneNumber(String phoneNumber)
-
getPhoneNumber
@Nullable public String getPhoneNumber()
The customer's phone number.- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(String phoneNumber)
-
emailAddress
public PostCustomerBankModel emailAddress(String emailAddress)
-
getEmailAddress
@Nullable public String getEmailAddress()
The customer's phone number.- Returns:
- 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
-
setIdentificationNumbers
public void setIdentificationNumbers(List<PostIdentificationNumberBankModel> identificationNumbers)
-
-