Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetPricesPrice
Description
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
Arguments
:: 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.
Constructors
GetPricesPriceParameters | |
Fields
|
Instances
Eq GetPricesPriceParameters Source # | |
Defined in StripeAPI.Operations.GetPricesPrice Methods (==) :: GetPricesPriceParameters -> GetPricesPriceParameters -> Bool # (/=) :: GetPricesPriceParameters -> GetPricesPriceParameters -> Bool # | |
Show GetPricesPriceParameters Source # | |
Defined in StripeAPI.Operations.GetPricesPrice Methods showsPrec :: Int -> GetPricesPriceParameters -> ShowS # show :: GetPricesPriceParameters -> String # showList :: [GetPricesPriceParameters] -> ShowS # | |
ToJSON GetPricesPriceParameters Source # | |
Defined in StripeAPI.Operations.GetPricesPrice Methods toJSON :: GetPricesPriceParameters -> Value # toEncoding :: GetPricesPriceParameters -> Encoding # toJSONList :: [GetPricesPriceParameters] -> Value # | |
FromJSON GetPricesPriceParameters Source # | |
Defined in StripeAPI.Operations.GetPricesPrice Methods parseJSON :: Value -> Parser GetPricesPriceParameters # parseJSONList :: Value -> Parser [GetPricesPriceParameters] # |
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.
Constructors
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 Methods (==) :: GetPricesPriceResponse -> GetPricesPriceResponse -> Bool # (/=) :: GetPricesPriceResponse -> GetPricesPriceResponse -> Bool # | |
Show GetPricesPriceResponse Source # | |
Defined in StripeAPI.Operations.GetPricesPrice Methods showsPrec :: Int -> GetPricesPriceResponse -> ShowS # show :: GetPricesPriceResponse -> String # showList :: [GetPricesPriceResponse] -> ShowS # |