taxcode

package
v76.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package taxcode provides the /tax_codes APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.TaxCodeParams) (*stripe.TaxCode, error)

Get returns the details of a tax code.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /tax_codes APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.TaxCodeParams) (*stripe.TaxCode, error)

Get returns the details of a tax code.

func (Client) List

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

List returns a list of tax codes.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for tax codes.

func List

func List(params *stripe.TaxCodeListParams) *Iter

List returns a list of tax codes.

func (*Iter) TaxCode

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

TaxCode returns the tax code which the iterator is currently pointing to.

func (*Iter) TaxCodeList

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

TaxCodeList 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