sourcetransaction

package
v76.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package sourcetransaction provides the sourcetransaction related APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /sources/:source_id/transactions APIs.

func (Client) List

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

List returns a list of source transactions.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for source transactions.

func List

List returns a list of source transactions.

func (*Iter) SourceTransaction

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

SourceTransaction returns the source transaction which the iterator is currently pointing to.

func (*Iter) SourceTransactionList

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

SourceTransactionList 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