Class PostCounterpartyBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostCounterpartyBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-05-31T19:01:23.291287Z[Etc/UTC]") public class PostCounterpartyBankModel extends Object
PostCounterpartyBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostCounterpartyBankModel.TypeEnumThe counterparty's type.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_DATE_OF_BIRTHstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PostCounterpartyBankModel()
-
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_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PostCounterpartyBankModel type(PostCounterpartyBankModel.TypeEnum type)
-
getType
@Nonnull public PostCounterpartyBankModel.TypeEnum getType()
The counterparty's type.- Returns:
- type
-
setType
public void setType(PostCounterpartyBankModel.TypeEnum type)
-
name
public PostCounterpartyBankModel name(PostCounterpartyNameBankModel name)
-
getName
@Nullable public PostCounterpartyNameBankModel getName()
Get name- Returns:
- name
-
setName
public void setName(PostCounterpartyNameBankModel name)
-
address
public PostCounterpartyBankModel address(PostCustomerAddressBankModel address)
-
getAddress
@Nullable public PostCustomerAddressBankModel getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(PostCustomerAddressBankModel address)
-
dateOfBirth
public PostCounterpartyBankModel dateOfBirth(LocalDate dateOfBirth)
-
getDateOfBirth
@Nullable public LocalDate getDateOfBirth()
The counterparty's date of birth.- Returns:
- dateOfBirth
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
labels
public PostCounterpartyBankModel labels(List<String> labels)
-
addLabelsItem
public PostCounterpartyBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the counterparty.- Returns:
- labels
-
-