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 the exchante rate 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)
Get returns the exchante rate for a given currency.
type Iter ¶
Iter is an iterator for exchange rates.
func List ¶
func List(params *stripe.ExchangeRateListParams) *Iter
List lists available exchange rates.
func (*Iter) ExchangeRate ¶
func (i *Iter) ExchangeRate() *stripe.ExchangeRate
ExchangeRate returns the exchange rate which the iterator is currently pointing to.
Click to show internal directories.
Click to hide internal directories.