receiveddebit

package
v79.8.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package receiveddebit provides the /treasury/received_debits APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/received_debits APIs.

func (Client) Get

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

func (Client) List

func (c Client) List(listParams *stripe.TreasuryReceivedDebitListParams) *Iter

Returns a list of ReceivedDebits.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury received debits.

func List

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.

Jump to

Keyboard shortcuts

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