public class BankDetailsLookup
extends java.lang.Object
Represents a bank details lookup resource returned from the API.
Look up the name and reachability of a bank account.
Modifier and Type | Class and Description |
---|---|
static class |
BankDetailsLookup.AvailableDebitScheme |
Modifier and Type | Method and Description |
---|---|
java.util.List<BankDetailsLookup.AvailableDebitScheme> |
getAvailableDebitSchemes()
Array of schemes supported for this bank account.
|
java.lang.String |
getBankName()
The name of the bank with which the account is held (if available).
|
java.lang.String |
getBic()
ISO 9362 SWIFT BIC of the bank with which the account is held.
|
public java.util.List<BankDetailsLookup.AvailableDebitScheme> getAvailableDebitSchemes()
Array of schemes supported for this bank account. This will be an empty array if the bank account is not reachable by any schemes.
public java.lang.String getBankName()
The name of the bank with which the account is held (if available).
public java.lang.String getBic()
ISO 9362 SWIFT BIC of the bank with which the account is held.
Even if no BIC is returned for an account, GoCardless may still be able to collect payments from it - you should refer to the available_debit_schemes
attribute to determine reachability.