Documentation ¶
Overview ¶
package transfer provides the /transfers APIs
Index ¶
- func Cancel(id string, params *TransferParams) (*Transfer, error)
- func Create(params *TransferParams) (*Transfer, error)
- func Get(id string, params *TransferParams) (*Transfer, error)
- func List(params *TransferListParams) *TransferIter
- func Update(id string, params *TransferParams) (*Transfer, error)
- type Client
- func (c Client) Cancel(id string, params *TransferParams) (*Transfer, error)
- func (c Client) Create(params *TransferParams) (*Transfer, error)
- func (c Client) Get(id string, params *TransferParams) (*Transfer, error)
- func (c Client) List(params *TransferListParams) *TransferIter
- func (c Client) Update(id string, params *TransferParams) (*Transfer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
Cancel cancels a pending transfer. For more details see https://stripe.com/docs/api#cancel_transfer.
func Create ¶
func Create(params *TransferParams) (*Transfer, error)
Create POSTs a new transfer. For more details see https://stripe.com/docs/api#create_transfer.
func Get ¶
Get returns the details of a transfer. For more details see https://stripe.com/docs/api#retrieve_transfer.
func List ¶
func List(params *TransferListParams) *TransferIter
List returns a list of transfers. For more details see https://stripe.com/docs/api#list_transfers.
func Update ¶
Update updates a transfer's properties. For more details see https://stripe.com/docs/api#update_transfer.
Types ¶
Click to show internal directories.
Click to hide internal directories.