Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
:: 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.
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
get_invoice_templateWithConfiguration Source #
:: 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 #
:: 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 #
:: 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
.