Documentation ¶
Overview ¶
Package receiveddebit provides the /treasury/received_debits APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryReceivedDebitParams) (*stripe.TreasuryReceivedDebit, error)
Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list
Types ¶
type Client ¶
Client is used to invoke /treasury/received_debits APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryReceivedDebitParams) (*stripe.TreasuryReceivedDebit, error)
Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list
type Iter ¶
Iter is an iterator for treasury received debits.
func List ¶
func List(params *stripe.TreasuryReceivedDebitListParams) *Iter
Returns a list of ReceivedDebits.
func (*Iter) TreasuryReceivedDebit ¶
func (i *Iter) TreasuryReceivedDebit() *stripe.TreasuryReceivedDebit
TreasuryReceivedDebit returns the treasury received debit which the iterator is currently pointing to.
func (*Iter) TreasuryReceivedDebitList ¶
func (i *Iter) TreasuryReceivedDebitList() *stripe.TreasuryReceivedDebitList
TreasuryReceivedDebitList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.