Documentation ¶
Overview ¶
Package registration provides the /tax/registrations APIs
Index ¶
- func Get(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- func New(params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- func Update(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- type Client
- func (c Client) Get(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- func (c Client) List(listParams *stripe.TaxRegistrationListParams) *Iter
- func (c Client) New(params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- func (c Client) Update(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶ added in v76.11.0
func Get(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
Get returns the details of a tax registration.
func New ¶
func New(params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
New creates a new tax registration.
func Update ¶
func Update(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
Update updates a tax registration's properties.
Types ¶
type Client ¶
Client is used to invoke /tax/registrations APIs.
func (Client) Get ¶ added in v76.11.0
func (c Client) Get(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
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 ¶
func (c Client) New(params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
New creates a new tax registration.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TaxRegistrationParams) (*stripe.TaxRegistration, error)
Update updates a tax registration's properties.
type 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.