Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_external_product
Description
Contains the different functions to run the operation get_external_product
Synopsis
- get_external_product :: forall m. MonadHTTP m => ClientT m (Response Get_external_productResponse)
- data Get_external_productResponse
- get_external_productWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Get_external_productResponse)
- get_external_productRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- get_external_productWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Get_external_productResponse) | Monadic computation which returns the result of the operation |
GET /external_products/{external_product_id}
Fetch an external product
data Get_external_productResponse Source #
Represents a response of the operation get_external_product
.
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), Get_external_productResponseError
is used.
Constructors
Get_external_productResponseError String | Means either no matching case available or a parse error |
Get_external_productResponse200 ExternalProduct | Settings for an external product. |
Get_external_productResponse404 Error | Incorrect site or external product ID. |
Get_external_productResponseDefault Error | Unexpected error. |
Instances
Show Get_external_productResponse Source # | |
Defined in RecurlyClient.Operations.Get_external_product Methods showsPrec :: Int -> Get_external_productResponse -> ShowS # show :: Get_external_productResponse -> String # showList :: [Get_external_productResponse] -> ShowS # | |
Eq Get_external_productResponse Source # | |
Defined in RecurlyClient.Operations.Get_external_product Methods (==) :: Get_external_productResponse -> Get_external_productResponse -> Bool # (/=) :: Get_external_productResponse -> Get_external_productResponse -> Bool # |
get_external_productWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Get_external_productResponse) | Monadic computation which returns the result of the operation |
GET /external_products/{external_product_id}
The same as get_external_product
but accepts an explicit configuration.
get_external_productRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /external_products/{external_product_id}
The same as get_external_product
but returns the raw ByteString
.
get_external_productWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /external_products/{external_product_id}
The same as get_external_product
but accepts an explicit configuration and returns the raw ByteString
.