financialaccount

package
v79.0.0-...-280c9b4 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package financialaccount provides the /treasury/financial_accounts APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves the details of a FinancialAccount.

func New

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

func RetrieveFeatures

Retrieves Features information associated with the FinancialAccount.

func Update

Updates the details of a FinancialAccount.

func UpdateFeatures

Updates the Features associated with a FinancialAccount.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/financial_accounts APIs.

func (Client) Get

Retrieves the details of a FinancialAccount.

func (Client) List

Returns a list of FinancialAccounts.

func (Client) New

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

func (Client) RetrieveFeatures

Retrieves Features information associated with the FinancialAccount.

func (Client) Update

Updates the details of a FinancialAccount.

func (Client) UpdateFeatures

Updates the Features associated with a FinancialAccount.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury financial accounts.

func List

Returns a list of FinancialAccounts.

func (*Iter) TreasuryFinancialAccount

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

TreasuryFinancialAccount returns the treasury financial account which the iterator is currently pointing to.

func (*Iter) TreasuryFinancialAccountList

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

TreasuryFinancialAccountList 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