recurly-client-0.0.0.1: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Get_invoice_template

Description

Contains the different functions to run the operation get_invoice_template

Synopsis

Documentation

get_invoice_template Source #

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.

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.