bankaccount

package
v57.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package bankaccount provides the /bank_accounts APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes a bank account.

func Get

Get returns the details of a bank account.

func New

New creates a new bank account.

func Update

func Update(id string, params *stripe.BankAccountParams) (*stripe.BankAccount, error)

Update updates a bank account.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /bank_accounts APIs.

func (Client) Del

func (c Client) Del(id string, params *stripe.BankAccountParams) (*stripe.BankAccount, error)

Del removes a bank account.

func (Client) Get

func (c Client) Get(id string, params *stripe.BankAccountParams) (*stripe.BankAccount, error)

Get returns the details of a bank account.

func (Client) List

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

List returns a list of bank accounts.

func (Client) New

New creates a new bank account.

func (Client) Update

func (c Client) Update(id string, params *stripe.BankAccountParams) (*stripe.BankAccount, error)

Update updates a bank account.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for bank accounts.

func List

func List(params *stripe.BankAccountListParams) *Iter

List returns a list of bank accounts.

func (*Iter) BankAccount

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

BankAccount returns the bank account which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL