pinxs v0.1.1 PINXS.Transfers.Transfer View Source
Proived functions for creating and working with transfers
Link to this section Summary
Functions
Create a transfer
Gets a transfer
Gets a paginated list of transfers
Gets a specific pages of transfers
Link to this section Types
Link to this type
t()
View Source
t() :: %PINXS.Transfers.Transfer{ amount: integer(), bank_account: nil | PINXS.BankAccounts.BankAccount, created_at: nil | String.t(), currency: nil | String.t(), description: nil | String.t(), paid_at: nil | String.t(), recipient: String.t(), reference: String.t(), status: nil | String.t(), token: nil | String.t(), total_credits: nil | integer(), total_debits: nil | integer() }
Link to this section Functions
Link to this function
create(transfer)
View Source
create(PINXS.Transfers.Transfer.t()) :: {:ok, PINXS.Transfers.Transfer.t()} | {:error, PINXS.Error.t()}
Create a transfer
Link to this function
get(transfer_token)
View Source
get(String.t()) :: {:ok, PINXS.Transfers.Transfer.t()} | {:error, PINXS.Error.t()}
Gets a transfer
Link to this function
get_all()
View Source
get_all() :: {:ok, [PINXS.Transfers.Transfer.t()]} | {:error, PINXS.Error.t()}
Gets a paginated list of transfers
Link to this function
get_all(page)
View Source
get_all(non_neg_integer()) :: {:ok, [PINXS.Transfers.Transfer.t()]} | {:error, PINXS.Error.t()}
Gets a specific pages of transfers