Class PostDepositBankAccountBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostDepositBankAccountBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-11-05T16:45:10.687565Z[Etc/UTC]") public class PostDepositBankAccountBankModel extends Object
Request body for deposit bank account creation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostDepositBankAccountBankModel.TypeEnumThe account type.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_GUIDstatic StringJSON_PROPERTY_CUSTOMER_GUIDstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_PARENT_DEPOSIT_BANK_ACCOUNT_GUIDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PostDepositBankAccountBankModel()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_GUID
public static final String JSON_PROPERTY_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOMER_GUID
public static final String JSON_PROPERTY_CUSTOMER_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARENT_DEPOSIT_BANK_ACCOUNT_GUID
public static final String JSON_PROPERTY_PARENT_DEPOSIT_BANK_ACCOUNT_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PostDepositBankAccountBankModel type(PostDepositBankAccountBankModel.TypeEnum type)
-
getType
@Nonnull public PostDepositBankAccountBankModel.TypeEnum getType()
The account type. To generate deposit bank accounts with their own unique account number set this to \"main\". To generate deposit bank accounts with the same account number as the parent deposit bank account set this to \"sub_account\". This setting will only generate a unique identifier for the deposit bank and will not result in a unique account number being generated. \"sub_account\" is only available for customer-level deposit bank accounts.- Returns:
- type
-
setType
public void setType(PostDepositBankAccountBankModel.TypeEnum type)
-
accountGuid
public PostDepositBankAccountBankModel accountGuid(String accountGuid)
-
setAccountGuid
public void setAccountGuid(String accountGuid)
-
customerGuid
public PostDepositBankAccountBankModel customerGuid(String customerGuid)
-
getCustomerGuid
@Nullable public String getCustomerGuid()
The unique identifier for the customer.- Returns:
- customerGuid
-
setCustomerGuid
public void setCustomerGuid(String customerGuid)
-
parentDepositBankAccountGuid
public PostDepositBankAccountBankModel parentDepositBankAccountGuid(String parentDepositBankAccountGuid)
-
getParentDepositBankAccountGuid
@Nullable public String getParentDepositBankAccountGuid()
The unique identifier for the bank-level deposit bank account. This is only required for sub-accounts. Required when type is sub_account.- Returns:
- parentDepositBankAccountGuid
-
setParentDepositBankAccountGuid
public void setParentDepositBankAccountGuid(String parentDepositBankAccountGuid)
-
labels
public PostDepositBankAccountBankModel labels(List<String> labels)
-
addLabelsItem
public PostDepositBankAccountBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the bank account.- Returns:
- labels
-
-