| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Operations.Get_invoice_template
Description
Contains the different functions to run the operation get_invoice_template
Synopsis
- get_invoice_template :: forall m. MonadHTTP m => ClientT m (Response Get_invoice_templateResponse)
- data Get_invoice_templateResponse
- get_invoice_templateWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Get_invoice_templateResponse)
- get_invoice_templateRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- get_invoice_templateWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => ClientT m (Response Get_invoice_templateResponse) | Monadic computation which returns the result of the operation |
GET /invoice_templates/{invoice_template_id}Fetch an invoice template
data Get_invoice_templateResponse Source #
Represents a response of the operation get_invoice_template.
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_invoice_templateResponseError is used.
Constructors
| Get_invoice_templateResponseError String | Means either no matching case available or a parse error |
| Get_invoice_templateResponse200 InvoiceTemplate | Settings for an invoice template. |
| Get_invoice_templateResponse400 Error | Bad request; perhaps missing or invalid parameters. |
| Get_invoice_templateResponse404 Error | Incorrect site or invoice template ID. |
| Get_invoice_templateResponseDefault Error | Unexpected error. |
Instances
| Show Get_invoice_templateResponse Source # | |
Defined in RecurlyClient.Operations.Get_invoice_template Methods showsPrec :: Int -> Get_invoice_templateResponse -> ShowS # show :: Get_invoice_templateResponse -> String # showList :: [Get_invoice_templateResponse] -> ShowS # | |
| Eq Get_invoice_templateResponse Source # | |
Defined in RecurlyClient.Operations.Get_invoice_template Methods (==) :: Get_invoice_templateResponse -> Get_invoice_templateResponse -> Bool # (/=) :: Get_invoice_templateResponse -> Get_invoice_templateResponse -> Bool # | |
get_invoice_templateWithConfiguration Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> m (Response Get_invoice_templateResponse) | Monadic computation which returns the result of the operation |
GET /invoice_templates/{invoice_template_id}The same as get_invoice_template but accepts an explicit configuration.
get_invoice_templateRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /invoice_templates/{invoice_template_id}The same as get_invoice_template but returns the raw ByteString.
get_invoice_templateWithConfigurationRaw 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 /invoice_templates/{invoice_template_id}The same as get_invoice_template but accepts an explicit configuration and returns the raw ByteString.