outboundpayment

package
v76.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package outboundpayment provides the /treasury/outbound_payments APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

Cancel is the method for the `POST /v1/treasury/outbound_payments/{id}/cancel` API.

func Get

Get returns the details of a treasury outbound payment.

func New

New creates a new treasury outbound payment.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/outbound_payments APIs.

func (Client) Cancel

Cancel is the method for the `POST /v1/treasury/outbound_payments/{id}/cancel` API.

func (Client) Get

Get returns the details of a treasury outbound payment.

func (Client) List

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

List returns a list of treasury outbound payments.

func (Client) New

New creates a new treasury outbound payment.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury outbound payments.

func List

List returns a list of treasury outbound payments.

func (*Iter) TreasuryOutboundPayment

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

TreasuryOutboundPayment returns the treasury outbound payment which the iterator is currently pointing to.

func (*Iter) TreasuryOutboundPaymentList

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

TreasuryOutboundPaymentList 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