PHP Class Dwolla\Account

Inheritance: extends RestClient
Afficher le fichier Open project: dwolla/dwolla-php

Méthodes publiques

Méthode Description
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.

Method Details

balance() public méthode

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.
Résultat integer Balance of account.

basic() public méthode

Returns basic account information for the account associated with the passed account ID.
public basic ( $id ) : String[]
Résultat String[] Array of basic account information.

disableAutoWithdrawal() public méthode

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.
Résultat string Either "Enabled" or "Disabled"

enableAutoWithdrawal() public méthode

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.
Résultat string Either "Enabled" or "Disabled"

full() public méthode

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.
Résultat String[] Array of full account information.

getAutoWithdrawalStatus() public méthode

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.
Résultat String[] Status (with funding id if applicable)

nearby() public méthode

Returns users and venues near a location.
public nearby ( $lat, $lon ) : String[]
$lat {String} Latitudinal coordinates.
$lon {String} Longitudinal coordinates.
Résultat String[] Array with users, venues, and relevant info.

toggleAutoWithdrawalStatus() public méthode

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.
Résultat string Either "Enabled" or "Disabled"