outboundtransfer

package
v79.2.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package outboundtransfer provides the /treasury/outbound_transfers APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

An OutboundTransfer can be canceled if the funds have not yet been paid out.

func Get

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

func New

Creates an OutboundTransfer.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/outbound_transfers APIs.

func (Client) Cancel

An OutboundTransfer can be canceled if the funds have not yet been paid out.

func (Client) Get

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

func (Client) List

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

func (Client) New

Creates an OutboundTransfer.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury outbound transfers.

func List

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

func (*Iter) TreasuryOutboundTransfer

func (i *Iter) TreasuryOutboundTransfer() *stripe.TreasuryOutboundTransfer

TreasuryOutboundTransfer returns the treasury outbound transfer which the iterator is currently pointing to.

func (*Iter) TreasuryOutboundTransferList

func (i *Iter) TreasuryOutboundTransferList() *stripe.TreasuryOutboundTransferList

TreasuryOutboundTransferList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL