Bank setting for FIO accounts. More...
Public Member Functions | |
can_import_statements () | |
Can be bank statements imported in this type of bank? | |
can_download_statements_automatically () | |
Can be bank statements automatically downloaded (using API) in this type of bank? | |
get_download_statement_type () | |
Gets download statement type (e.g. | |
get_download_base_url () | |
Gets base download URL (e.g. | |
get_download_statement_url () | |
Gets download URL for statement (e.g. | |
get_column_fields () | |
Gets fields array (key is a name of field and value contains a another array with fields type, name, help, rules, etc.) | |
Public Member Functions inherited from Bank_Account_Settings | |
get_column_data () | |
Gets settings data in JSON format. | |
load_column_data ($json) | |
Loads data settings from a given JSON data. | |
__isset ($column) | |
Checks if the column exists in the column data. | |
__get ($column) | |
Gets value from the column data. | |
__set ($column, $data) | |
Sets value from the column data. |
Public Attributes | |
const | API_TOKEN_LENGTH = 49 |
API token has defined length. | |
Public Attributes inherited from Bank_Account_Settings | |
const | DIR = 'bank_account_settings' |
Dir with driver classes. | |
const | FIELD_TYPE_INT = 'integer' |
Integer type. | |
const | FIELD_TYPE_BOOL = 'boolean' |
Integer type. | |
const | FIELD_TYPE_STRING = 'string' |
String type. | |
const | FIELD_TYPE_DROPDOWN = 'dropdown' |
Dropdown type. | |
const | FIELD_TYPE_DATESELECT = 'dateselect' |
Dateselect type. |
Additional Inherited Members | |
Static Public Member Functions inherited from Bank_Account_Settings | |
static | factory ($type) |
Creates bank account setting for bank account with given type. |
Bank setting for FIO accounts.
Fio_Bank_Account_Settings::can_download_statements_automatically | ( | ) |
Can be bank statements automatically downloaded (using API) in this type of bank?
Reimplemented from Bank_Account_Settings.
Fio_Bank_Account_Settings::can_import_statements | ( | ) |
Can be bank statements imported in this type of bank?
Reimplemented from Bank_Account_Settings.
Fio_Bank_Account_Settings::get_column_fields | ( | ) |
Gets fields array (key is a name of field and value contains a another array with fields type, name, help, rules, etc.)
Reimplemented from Bank_Account_Settings.
Fio_Bank_Account_Settings::get_download_base_url | ( | ) |
Gets base download URL (e.g.
http://mbank/) Valid only if download is enabled.
Override this method in order to support auto downloading of statements.
InvalidArgumentException | On invalid settings (e.g. API token) |
Reimplemented from Bank_Account_Settings.
Fio_Bank_Account_Settings::get_download_statement_type | ( | ) |
Gets download statement type (e.g.
csv, json). Valid only if download is enabled. Tells what file type is espected as result of download. This type is later use for detection of importer for statement.
Override this method in order to support auto downloading of statements.
Reimplemented from Bank_Account_Settings.
Fio_Bank_Account_Settings::get_download_statement_url | ( | ) |
Gets download URL for statement (e.g.
http://mbank/json/transactions) Valid only if download is enabled. The statment for the bank account is downloaded from this URL.
This method may use get_download_base_url() method for obtaining of base URL path.
Override this method in order to support auto downloading of statements.
InvalidArgumentException | On invalid settings (e.g. API token) |
Reimplemented from Bank_Account_Settings.