countryspec

package
v76.25.0 Latest Latest
Warning

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

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

Documentation

Overview

Package countryspec provides the /country_specs APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a country spec.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /country_specs APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.CountrySpecParams) (*stripe.CountrySpec, error)

Get returns the details of a country spec.

func (Client) List

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

List returns a list of country specs.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for country specs.

func List

func List(params *stripe.CountrySpecListParams) *Iter

List returns a list of country specs.

func (*Iter) CountrySpec

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

CountrySpec returns the country spec which the iterator is currently pointing to.

func (*Iter) CountrySpecList

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

CountrySpecList 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