Documentation ¶
Overview ¶
Package debitreversal provides the /treasury/debit_reversals APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TreasuryDebitReversalParams) (*stripe.TreasuryDebitReversal, error)
Retrieves a DebitReversal object.
func New ¶
func New(params *stripe.TreasuryDebitReversalParams) (*stripe.TreasuryDebitReversal, error)
Reverses a ReceivedDebit and creates a DebitReversal object.
Types ¶
type Client ¶
Client is used to invoke /treasury/debit_reversals APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TreasuryDebitReversalParams) (*stripe.TreasuryDebitReversal, error)
Retrieves a DebitReversal object.
func (Client) List ¶
func (c Client) List(listParams *stripe.TreasuryDebitReversalListParams) *Iter
Returns a list of DebitReversals.
func (Client) New ¶
func (c Client) New(params *stripe.TreasuryDebitReversalParams) (*stripe.TreasuryDebitReversal, error)
Reverses a ReceivedDebit and creates a DebitReversal object.
type Iter ¶
Iter is an iterator for treasury debit reversals.
func List ¶
func List(params *stripe.TreasuryDebitReversalListParams) *Iter
Returns a list of DebitReversals.
func (*Iter) TreasuryDebitReversal ¶
func (i *Iter) TreasuryDebitReversal() *stripe.TreasuryDebitReversal
TreasuryDebitReversal returns the treasury debit reversal which the iterator is currently pointing to.
func (*Iter) TreasuryDebitReversalList ¶
func (i *Iter) TreasuryDebitReversalList() *stripe.TreasuryDebitReversalList
TreasuryDebitReversalList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.