Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getExchangeRates
Synopsis
- getExchangeRates :: forall m. MonadHTTP m => GetExchangeRatesParameters -> ClientT m (Response GetExchangeRatesResponse)
- data GetExchangeRatesParameters = GetExchangeRatesParameters {}
- mkGetExchangeRatesParameters :: GetExchangeRatesParameters
- data GetExchangeRatesResponse
- data GetExchangeRatesResponseBody200 = GetExchangeRatesResponseBody200 {}
- mkGetExchangeRatesResponseBody200 :: [ExchangeRate] -> Bool -> Text -> GetExchangeRatesResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetExchangeRatesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetExchangeRatesResponse) | Monadic computation which returns the result of the operation |
GET /v1/exchange_rates
<p>Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports.</p>
data GetExchangeRatesParameters Source #
Defines the object schema located at paths./v1/exchange_rates.GET.parameters
in the specification.
GetExchangeRatesParameters | |
|
Instances
mkGetExchangeRatesParameters :: GetExchangeRatesParameters Source #
Create a new GetExchangeRatesParameters
with all required fields.
data GetExchangeRatesResponse Source #
Represents a response of the operation getExchangeRates
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetExchangeRatesResponseError
is used.
GetExchangeRatesResponseError String | Means either no matching case available or a parse error |
GetExchangeRatesResponse200 GetExchangeRatesResponseBody200 | Successful response. |
GetExchangeRatesResponseDefault Error | Error response. |
Instances
Eq GetExchangeRatesResponse Source # | |
Defined in StripeAPI.Operations.GetExchangeRates | |
Show GetExchangeRatesResponse Source # | |
Defined in StripeAPI.Operations.GetExchangeRates showsPrec :: Int -> GetExchangeRatesResponse -> ShowS # show :: GetExchangeRatesResponse -> String # showList :: [GetExchangeRatesResponse] -> ShowS # |
data GetExchangeRatesResponseBody200 Source #
Defines the object schema located at paths./v1/exchange_rates.GET.responses.200.content.application/json.schema
in the specification.
GetExchangeRatesResponseBody200 | |
|