outboundpayment

package
v80.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 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 an OutboundPayment.

func Get

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

func New

Creates an OutboundPayment.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/outbound_payments APIs.

func (Client) Cancel

Cancel an OutboundPayment.

func (Client) Get

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

func (Client) List

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

Returns a list of OutboundPayments sent from the specified FinancialAccount.

func (Client) New

Creates an OutboundPayment.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury outbound payments.

func List

Returns a list of OutboundPayments sent from the specified FinancialAccount.

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