taxid

package
v72.35.0-capchase.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package taxid provides the /customers/cus_1 APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

func Del(id string, params *stripe.TaxIDParams) (*stripe.TaxID, error)

Del removes a tax id.

func Get

func Get(id string, params *stripe.TaxIDParams) (*stripe.TaxID, error)

Get returns the details of a tax id.

func New

func New(params *stripe.TaxIDParams) (*stripe.TaxID, error)

New creates a new tax id.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /tax_ids APIs.

func (Client) Del

func (c Client) Del(id string, params *stripe.TaxIDParams) (*stripe.TaxID, error)

Del removes a tax id.

func (Client) Get

func (c Client) Get(id string, params *stripe.TaxIDParams) (*stripe.TaxID, error)

Get returns the details of a tax id.

func (Client) List

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

List returns a list of tax ids.

func (Client) New

func (c Client) New(params *stripe.TaxIDParams) (*stripe.TaxID, error)

New creates a new tax id.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for tax ids.

func List

func List(params *stripe.TaxIDListParams) *Iter

List returns a list of tax ids.

func (*Iter) TaxID

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

TaxID returns the tax id which the iterator is currently pointing to.

func (*Iter) TaxIDList

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

TaxIDList 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