sourcetransaction

package
v35.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package sourcetransaction provides the /source/transactions 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

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for lists of SourceTransactions. The embedded Iter carries methods with it; see its documentation for details.

func List

List returns a list of source transactions. For more details see https://stripe.com/docs/api#retrieve_source.

func (*Iter) SourceTransaction

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

SourceTransaction returns the most recent SourceTransaction visited by a call to Next.

Jump to

Keyboard shortcuts

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