Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getProductsId
Synopsis
- getProductsId :: forall m. MonadHTTP m => GetProductsIdParameters -> StripeT m (Response GetProductsIdResponse)
- data GetProductsIdParameters = GetProductsIdParameters {}
- mkGetProductsIdParameters :: Text -> GetProductsIdParameters
- data GetProductsIdResponse
Documentation
:: forall m. MonadHTTP m | |
=> GetProductsIdParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetProductsIdResponse) | Monadic computation which returns the result of the operation |
GET /v1/products/{id}
<p>Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.</p>
data GetProductsIdParameters Source #
Defines the object schema located at paths./v1/products/{id}.GET.parameters
in the specification.
GetProductsIdParameters | |
|
Instances
Eq GetProductsIdParameters Source # | |
Defined in StripeAPI.Operations.GetProductsId | |
Show GetProductsIdParameters Source # | |
Defined in StripeAPI.Operations.GetProductsId showsPrec :: Int -> GetProductsIdParameters -> ShowS # show :: GetProductsIdParameters -> String # showList :: [GetProductsIdParameters] -> ShowS # | |
ToJSON GetProductsIdParameters Source # | |
Defined in StripeAPI.Operations.GetProductsId | |
FromJSON GetProductsIdParameters Source # | |
Defined in StripeAPI.Operations.GetProductsId |
mkGetProductsIdParameters Source #
Create a new GetProductsIdParameters
with all required fields.
data GetProductsIdResponse Source #
Represents a response of the operation getProductsId
.
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), GetProductsIdResponseError
is used.
GetProductsIdResponseError String | Means either no matching case available or a parse error |
GetProductsIdResponse200 Product | Successful response. |
GetProductsIdResponseDefault Error | Error response. |
Instances
Eq GetProductsIdResponse Source # | |
Defined in StripeAPI.Operations.GetProductsId (==) :: GetProductsIdResponse -> GetProductsIdResponse -> Bool # (/=) :: GetProductsIdResponse -> GetProductsIdResponse -> Bool # | |
Show GetProductsIdResponse Source # | |
Defined in StripeAPI.Operations.GetProductsId showsPrec :: Int -> GetProductsIdResponse -> ShowS # show :: GetProductsIdResponse -> String # showList :: [GetProductsIdResponse] -> ShowS # |