balance

package
v72.122.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Overview

Package balance provides the /balance APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(params *stripe.BalanceParams) (*stripe.Balance, error)

Get returns the details of a balance.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /balance APIs.

func (Client) Get

func (c Client) Get(params *stripe.BalanceParams) (*stripe.Balance, error)

Get returns the details of a balance.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for balance transactions.

func (*Iter) BalanceTransaction

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

BalanceTransaction returns the balance transaction 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