PHP Класс Dwolla\Account

Наследование: extends RestClient
Показать файл Открыть проект

Открытые методы

Метод Описание
balance ( string $alternate_token = false ) : integer Returns balance of the account associated with the current OAuth token.
basic ( $id ) : String[] Returns basic account information for the account associated with the passed account ID.
disableAutoWithdrawal ( string $alternate_token = false ) : string Disables auto-withdrawal status of the account associated with the current OAuth token.
enableAutoWithdrawal ( string $fundingId, string $alternate_token = false ) : string Enables auto-withdrawal status of the account associated with the current OAuth token under the specified funding ID.
full ( string $alternate_token = false ) : String[] Returns full account information for the account associated with the current OAuth token.
getAutoWithdrawalStatus ( string $alternate_token = false ) : String[] Gets auto-withdrawal status of the account associated with the current OAuth token.
nearby ( $lat, $lon ) : String[] Returns users and venues near a location.
toggleAutoWithdrawalStatus ( boolean $status, string $fundingId, string $alternate_token = false ) : string Sets auto-withdrawal status of the account associated with the current OAuth token under the specified funding ID.

Описание методов

balance() публичный Метод

Returns balance of the account associated with the current OAuth token.
public balance ( string $alternate_token = false ) : integer
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат integer Balance of account.

basic() публичный Метод

Returns basic account information for the account associated with the passed account ID.
public basic ( $id ) : String[]
Результат String[] Array of basic account information.

disableAutoWithdrawal() публичный Метод

Disables auto-withdrawal status of the account associated with the current OAuth token.
public disableAutoWithdrawal ( string $alternate_token = false ) : string
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат string Either "Enabled" or "Disabled"

enableAutoWithdrawal() публичный Метод

Enables auto-withdrawal status of the account associated with the current OAuth token under the specified funding ID.
public enableAutoWithdrawal ( string $fundingId, string $alternate_token = false ) : string
$fundingId string Funding ID of target account.
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат string Either "Enabled" or "Disabled"

full() публичный Метод

Returns full account information for the account associated with the current OAuth token.
public full ( string $alternate_token = false ) : String[]
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат String[] Array of full account information.

getAutoWithdrawalStatus() публичный Метод

Gets auto-withdrawal status of the account associated with the current OAuth token.
public getAutoWithdrawalStatus ( string $alternate_token = false ) : String[]
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат String[] Status (with funding id if applicable)

nearby() публичный Метод

Returns users and venues near a location.
public nearby ( $lat, $lon ) : String[]
$lat {String} Latitudinal coordinates.
$lon {String} Longitudinal coordinates.
Результат String[] Array with users, venues, and relevant info.

toggleAutoWithdrawalStatus() публичный Метод

Sets auto-withdrawal status of the account associated with the current OAuth token under the specified funding ID.
public toggleAutoWithdrawalStatus ( boolean $status, string $fundingId, string $alternate_token = false ) : string
$status boolean Auto-withdrawal boolean.
$fundingId string Funding ID of target account.
$alternate_token string OAuth token value to be used instead of the current setting in the Settings class.
Результат string Either "Enabled" or "Disabled"