financialaccount

package
v72.109.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 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

Get returns the details of a treasury financial account.

func New

New creates a new treasury financial account.

func RetrieveFeatures

RetrieveFeatures is the method for the `GET /v1/treasury/financial_accounts/{financial_account}/features` API.

func Update

Update updates a treasury financial account's properties.

func UpdateFeatures

UpdateFeatures is the method for the `POST /v1/treasury/financial_accounts/{financial_account}/features` API.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /treasury/financial_accounts APIs.

func (Client) Get

Get returns the details of a treasury financial account.

func (Client) List

List returns a list of treasury financial accounts.

func (Client) New

New creates a new treasury financial account.

func (Client) RetrieveFeatures

RetrieveFeatures is the method for the `GET /v1/treasury/financial_accounts/{financial_account}/features` API.

func (Client) Update

Update updates a treasury financial account's properties.

func (Client) UpdateFeatures

UpdateFeatures is the method for the `POST /v1/treasury/financial_accounts/{financial_account}/features` API.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for treasury financial accounts.

func List

List returns a list of treasury financial accounts.

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