transferreversal

package
v73.0.0-...-5525a96 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package transferreversal provides the /transfers/{id}/reversals APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a transfer reversal.

func New

New creates a new transfer reversal.

func Update

Update updates a transfer reversal's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /transfers/{id}/reversals APIs.

func (Client) Get

Get returns the details of a transfer reversal.

func (Client) List

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

List returns a list of transfer reversals.

func (Client) New

New creates a new transfer reversal.

func (Client) Update

Update updates a transfer reversal's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for transfer reversals.

func List

func List(params *stripe.TransferReversalListParams) *Iter

List returns a list of transfer reversals.

func (*Iter) TransferReversal

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

TransferReversal returns the transfer reversal which the iterator is currently pointing to.

func (*Iter) TransferReversalList

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

TransferReversalList 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