Documentation ¶
Overview ¶
Package countryspec provides the /country_specs APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(country string, params *stripe.CountrySpecParams) (*stripe.CountrySpec, error)
Get returns a Country Spec for a given country code.
Types ¶
type Client ¶
Client is used to invoke /country_specs and countryspec-related APIs.
func (Client) Get ¶
func (c Client) Get(country string, params *stripe.CountrySpecParams) (*stripe.CountrySpec, error)
Get returns a Country Spec for a given country code.
type Iter ¶
Iter is an iterator for Country Specs.
func List ¶
func List(params *stripe.CountrySpecListParams) *Iter
List lists available 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.
Click to show internal directories.
Click to hide internal directories.