Documentation ¶
Overview ¶
Package transaction provides the /treasury/transactions APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryTransactionParams) (*stripe.TreasuryTransaction, error)
Retrieves the details of an existing Transaction.
Types ¶
type Client ¶
Client is used to invoke /treasury/transactions APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryTransactionParams) (*stripe.TreasuryTransaction, error)
Retrieves the details of an existing Transaction.
type Iter ¶
Iter is an iterator for treasury transactions.
func List ¶
func List(params *stripe.TreasuryTransactionListParams) *Iter
Retrieves a list of Transaction objects.
func (*Iter) TreasuryTransaction ¶
func (i *Iter) TreasuryTransaction() *stripe.TreasuryTransaction
TreasuryTransaction returns the treasury transaction which the iterator is currently pointing to.
func (*Iter) TreasuryTransactionList ¶
func (i *Iter) TreasuryTransactionList() *stripe.TreasuryTransactionList
TreasuryTransactionList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.
Click to show internal directories.
Click to hide internal directories.