Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPricesPrice
Synopsis
- getPricesPrice :: forall m. MonadHTTP m => GetPricesPriceParameters -> ClientT m (Response GetPricesPriceResponse)
- data GetPricesPriceParameters = GetPricesPriceParameters {}
- mkGetPricesPriceParameters :: Text -> GetPricesPriceParameters
- data GetPricesPriceResponse
Documentation
:: forall m. MonadHTTP m | |
=> GetPricesPriceParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetPricesPriceResponse) | Monadic computation which returns the result of the operation |
GET /v1/prices/{price}
<p>Retrieves the price with the given ID.</p>
data GetPricesPriceParameters Source #
Defines the object schema located at paths./v1/prices/{price}.GET.parameters
in the specification.
GetPricesPriceParameters | |
|
Instances
mkGetPricesPriceParameters Source #
Create a new GetPricesPriceParameters
with all required fields.
data GetPricesPriceResponse Source #
Represents a response of the operation getPricesPrice
.
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), GetPricesPriceResponseError
is used.
GetPricesPriceResponseError String | Means either no matching case available or a parse error |
GetPricesPriceResponse200 Price | Successful response. |
GetPricesPriceResponseDefault Error | Error response. |
Instances
Eq GetPricesPriceResponse Source # | |
Defined in StripeAPI.Operations.GetPricesPrice | |
Show GetPricesPriceResponse Source # | |
Defined in StripeAPI.Operations.GetPricesPrice showsPrec :: Int -> GetPricesPriceResponse -> ShowS # show :: GetPricesPriceResponse -> String # showList :: [GetPricesPriceResponse] -> ShowS # |