receivedcredit

package
v72.116.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package receivedcredit provides the /treasury/received_credits APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a treasury received credit.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/received_credits APIs.

func (Client) Get

Get returns the details of a treasury received credit.

func (Client) List

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

List returns a list of treasury received credits.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury received credits.

func List

List returns a list of treasury received credits.

func (*Iter) TreasuryReceivedCredit

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

TreasuryReceivedCredit returns the treasury received credit which the iterator is currently pointing to.

func (*Iter) TreasuryReceivedCreditList

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

TreasuryReceivedCreditList 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