registration

package
v76.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package registration provides the /tax/registrations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get added in v76.11.0

Get returns the details of a tax registration.

func New

New creates a new tax registration.

func Update

Update updates a tax registration's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /tax/registrations APIs.

func (Client) Get added in v76.11.0

Get returns the details of a tax registration.

func (Client) List

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

List returns a list of tax registrations.

func (Client) New

New creates a new tax registration.

func (Client) Update

Update updates a tax registration's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for tax registrations.

func List

func List(params *stripe.TaxRegistrationListParams) *Iter

List returns a list of tax registrations.

func (*Iter) TaxRegistration

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

TaxRegistration returns the tax registration which the iterator is currently pointing to.

func (*Iter) TaxRegistrationList

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

TaxRegistrationList 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