Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
account_holder | String | The account holder of the retrieved payment preference | ||||||
bank_account_number | String | The bank account number of the retrieved payment preference | ||||||
verified | Boolean | Indicates if the retrieved payment preference is verified or not | ||||||
default | Boolean | Indicates if the retrieved payment preference is the default for the related accounts receivable | ||||||
payment_preference_identifier (mandatory) | Identifier | The identifier of the payment preference to be added on account payment preference object. The allowed payment preference identifier fields are the following:
| ||||||
bank_account_type_identifier (optional) | Identifier | The identifier of the bank account type to be added on account payment preference object. The allowed bank account type identifier fields are the following:
| ||||||
bank_identifier (optional) | Identifier | The identifier of the bank to be added on account payment preference object. The allowed bank identifier fields are the following:
| ||||||
bank_branch_identifier (optional) | Identifier | The identifier of the bank branch to be added on account payment preference object. The allowed bank branch identifier fields are the following:
|
String account_holder = getStringParameter(request, "account_holder");
if (account_holder!=null)
accountPaymentPreference.setBankAccountHolder(account_holder);
String bank_account_number = getStringParameter(request, "bank_account_number");
if (bank_account_number!=null)
accountPaymentPreference.setBankAccountNum(bank_account_number);
String payment_preference_identifier = getStringParameter(request, "payment_preference_identifier");
if (payment_preference_identifier!=null)
accountPaymentPreference.setPaymentPreference(loadPaymentPreferenceIdentifier(payment_preference_identifier));
String bank_account_type_identifier = getStringParameter(request, "bank_account_type_identifier");
if (bank_account_type_identifier!=null)
accountPaymentPreference.setBankAccountType(loadBankAccountTypeIdentifier(bank_account_type_identifier));
String bank_identifier = getStringParameter(request, "bank_identifier");
if (bank_identifier!=null)
accountPaymentPreference.setBank(loadBankIdentifier(bank_identifier));
String bank_branch_identifier = getStringParameter(request, "bank_branch_identifier");
...