Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Show_external_invoice
Description
Contains the different functions to run the operation show_external_invoice
Synopsis
- show_external_invoice :: forall m. MonadHTTP m => ClientT m (Response Show_external_invoiceResponse)
- data Show_external_invoiceResponse
- show_external_invoiceWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Show_external_invoiceResponse)
- show_external_invoiceRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- show_external_invoiceWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
show_external_invoice Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Show_external_invoiceResponse) | Monadic computation which returns the result of the operation |
GET /external_invoices/{external_invoice_id}
Fetch an external invoice
data Show_external_invoiceResponse Source #
Represents a response of the operation show_external_invoice
.
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), Show_external_invoiceResponseError
is used.
Constructors
Show_external_invoiceResponseError String | Means either no matching case available or a parse error |
Show_external_invoiceResponse201 ExternalInvoice | Returns the external invoice |
Show_external_invoiceResponse400 Error | Bad request; perhaps missing or invalid parameters. |
Show_external_invoiceResponse404 Error | External invoice cannot be found for the specified reason. |
Show_external_invoiceResponseDefault Error | Unexpected error. |
Instances
show_external_invoiceWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Show_external_invoiceResponse) | Monadic computation which returns the result of the operation |
GET /external_invoices/{external_invoice_id}
The same as show_external_invoice
but accepts an explicit configuration.
show_external_invoiceRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /external_invoices/{external_invoice_id}
The same as show_external_invoice
but returns the raw ByteString
.
show_external_invoiceWithConfigurationRaw 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_invoices/{external_invoice_id}
The same as show_external_invoice
but accepts an explicit configuration and returns the raw ByteString
.