Documentation ¶
Overview ¶
Package exchangerate provides the /exchange_rates APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(currency string, params *stripe.ExchangeRateParams) (*stripe.ExchangeRate, error)
Get returns an ExchangeRate for a given currency
Types ¶
type Client ¶
Client is used to invoke /exchange_rates and exchangerates-related APIs.
func (Client) Get ¶
func (c Client) Get(currency string, params *stripe.ExchangeRateParams) (*stripe.ExchangeRate, error)
type Iter ¶
Iter is an iterator for lists of ExchangeRates. The embedded Iter carries methods with it; see its documentation for details.
func List ¶
func List(params *stripe.ExchangeRateListParams) *Iter
List lists available ExchangeRates.
func (*Iter) ExchangeRate ¶
func (i *Iter) ExchangeRate() *stripe.ExchangeRate
ExchangeRate returns the most recent ExchangeRate visited by a call to Next.
Click to show internal directories.
Click to hide internal directories.