Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

Include Page
payment_preference_identifier
payment_preference_identifier

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:

Include Page
presentment_preference_identifier
presentment_preference_identifier

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:

Include Page
bank_identifier
bank_identifier

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:

Include Page
bank_identifier
bank_identifier

 

 

 

        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");

        if (bank_branch_identifier!=null)