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

RecurlyClient.Operations.Get_a_billing_info

Description

Contains the different functions to run the operation get_a_billing_info

Synopsis

Documentation

get_a_billing_info Source #

Arguments

:: forall m. MonadHTTP m 
=> Get_a_billing_infoParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response Get_a_billing_infoResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/billing_infos/{billing_info_id}

Fetch a billing info

data Get_a_billing_infoParameters Source #

Defines the object schema located at paths./accounts/{account_id}/billing_infos/{billing_info_id}.GET.parameters in the specification.

Constructors

Get_a_billing_infoParameters 

Fields

data Get_a_billing_infoResponse Source #

Represents a response of the operation get_a_billing_info.

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_a_billing_infoResponseError is used.

Constructors

Get_a_billing_infoResponseError String

Means either no matching case available or a parse error

Get_a_billing_infoResponse200 BillingInfo

A billing info.

Get_a_billing_infoResponse404 Error

Incorrect site, account, or billing info ID.

get_a_billing_infoWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Get_a_billing_infoParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response Get_a_billing_infoResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/billing_infos/{billing_info_id}

The same as get_a_billing_info but accepts an explicit configuration.

get_a_billing_infoRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Get_a_billing_infoParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/billing_infos/{billing_info_id}

The same as get_a_billing_info but returns the raw ByteString.

get_a_billing_infoWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Get_a_billing_infoParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response ByteString)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/billing_infos/{billing_info_id}

The same as get_a_billing_info but accepts an explicit configuration and returns the raw ByteString.