account

package
v76.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package account provides the /financial_connections/accounts APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disconnect

Disconnect is the method for the `POST /v1/financial_connections/accounts/{account}/disconnect` API.

func GetByID

GetByID returns the details of a financial connections account.

func Refresh

Refresh is the method for the `POST /v1/financial_connections/accounts/{account}/refresh` API.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /financial_connections/accounts APIs.

func (Client) Disconnect

Disconnect is the method for the `POST /v1/financial_connections/accounts/{account}/disconnect` API.

func (Client) GetByID

GetByID returns the details of a financial connections account.

func (Client) List

List returns a list of financial connections accounts.

func (Client) ListOwners

ListOwners is the method for the `GET /v1/financial_connections/accounts/{account}/owners` API.

func (Client) Refresh

Refresh is the method for the `POST /v1/financial_connections/accounts/{account}/refresh` API.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for financial connections accounts.

func List

List returns a list of financial connections accounts.

func (*Iter) FinancialConnectionsAccount

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

FinancialConnectionsAccount returns the financial connections account which the iterator is currently pointing to.

func (*Iter) FinancialConnectionsAccountList

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

FinancialConnectionsAccountList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.

type OwnerIter

type OwnerIter struct {
	*stripe.Iter
}

OwnerIter is an iterator for financial connections account owners.

func ListOwners

ListOwners is the method for the `GET /v1/financial_connections/accounts/{account}/owners` API.

func (*OwnerIter) FinancialConnectionsAccountOwner

func (i *OwnerIter) FinancialConnectionsAccountOwner() *stripe.FinancialConnectionsAccountOwner

FinancialConnectionsAccountOwner returns the financial connections account owner which the iterator is currently pointing to.

func (*OwnerIter) FinancialConnectionsAccountOwnerList

func (i *OwnerIter) FinancialConnectionsAccountOwnerList() *stripe.FinancialConnectionsAccountOwnerList

FinancialConnectionsAccountOwnerList 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