dwolla v1.0.1 Dwolla.FundingSource View Source
Functions for funding-sources
endpoint.
Link to this section Summary
Functions
Gets the balance of a funding source
Gets a funding source by id
Removes a funding source
Updates the name of a funding source
Link to this section Types
Link to this type
error()
View Source
error()
View Source
error() :: HTTPoison.Error.t() | Dwolla.Errors.t() | tuple()
error() :: HTTPoison.Error.t() | Dwolla.Errors.t() | tuple()
Link to this type
id()
View Source
id()
View Source
id() :: String.t()
id() :: String.t()
Link to this type
token()
View Source
token()
View Source
token() :: String.t()
token() :: String.t()
Link to this section Functions
Link to this function
balance(token, id)
View Source
balance(token, id)
View Source
balance(token(), id()) ::
{:ok, Dwolla.FundingSource.Balance.t()} | {:error, error()}
balance(token(), id()) :: {:ok, Dwolla.FundingSource.Balance.t()} | {:error, error()}
Gets the balance of a funding source.
Link to this function
get(token, id)
View Source
get(token, id)
View Source
get(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}
get(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}
Gets a funding source by id.
Link to this function
remove(token, id)
View Source
remove(token, id)
View Source
remove(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}
remove(token(), id()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}
Removes a funding source.
Link to this function
update_name(token, id, name)
View Source
update_name(token, id, name)
View Source
update_name(token(), id(), String.t()) ::
{:ok, Dwolla.FundingSource.t()} | {:error, error()}
update_name(token(), id(), String.t()) :: {:ok, Dwolla.FundingSource.t()} | {:error, error()}
Updates the name of a funding source.