customerbalancetransaction

package
v72.50.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 4 Imported by: 1

Documentation

Overview

Package customerbalancetransaction provides the /customers/{customer}/balance_transactions APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a customer balance transaction.

func New

New creates a new customer balance transaction.

func Update

Update updates a customer balance transaction's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /customers/{customer}/balance_transactions APIs.

func (Client) Get

Get returns the details of a customer balance transaction.

func (Client) List

List returns a list of customer balance transactions.

func (Client) New

New creates a new customer balance transaction.

func (Client) Update

Update updates a customer balance transaction's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for customer balance transactions.

func List

List returns a list of customer balance transactions.

func (*Iter) CustomerBalanceTransaction

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

CustomerBalanceTransaction returns the customer balance transaction which the iterator is currently pointing to.

func (*Iter) CustomerBalanceTransactionList

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

CustomerBalanceTransactionList 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