PHP 클래스 Dwolla\Account

상속: extends RestClient
파일 보기 프로젝트 열기: dwolla/dwolla-php

공개 메소드들

메소드 설명
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"