inboundtransfer

package
v72.119.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package inboundtransfer provides the /treasury/inbound_transfers APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

Cancel is the method for the `POST /v1/treasury/inbound_transfers/{inbound_transfer}/cancel` API.

func Get

Get returns the details of a treasury inbound transfer.

func New

New creates a new treasury inbound transfer.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/inbound_transfers APIs.

func (Client) Cancel

Cancel is the method for the `POST /v1/treasury/inbound_transfers/{inbound_transfer}/cancel` API.

func (Client) Get

Get returns the details of a treasury inbound transfer.

func (Client) List

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

List returns a list of treasury inbound transfers.

func (Client) New

New creates a new treasury inbound transfer.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury inbound transfers.

func List

List returns a list of treasury inbound transfers.

func (*Iter) TreasuryInboundTransfer

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

TreasuryInboundTransfer returns the treasury inbound transfer which the iterator is currently pointing to.

func (*Iter) TreasuryInboundTransferList

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

TreasuryInboundTransferList 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