registration

package
v79.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package registration provides the /tax/registrations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Returns a Tax Registration object.

func New

Creates a new Tax Registration object.

func Update

Updates an existing Tax Registration object.

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /tax/registrations APIs.

func (Client) Get

Returns a Tax Registration object.

func (Client) List

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

Returns a list of Tax Registration objects.

func (Client) New

Creates a new Tax Registration object.

func (Client) Update

Updates an existing Tax Registration object.

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for tax registrations.

func List

func List(params *stripe.TaxRegistrationListParams) *Iter

Returns a list of Tax Registration objects.

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