Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_a_billing_info
Description
Contains the different functions to run the operation get_a_billing_info
Synopsis
- get_a_billing_info :: forall m. MonadHTTP m => Get_a_billing_infoParameters -> ClientT m (Response Get_a_billing_infoResponse)
- data Get_a_billing_infoParameters = Get_a_billing_infoParameters {}
- mkGet_a_billing_infoParameters :: Text -> Text -> Get_a_billing_infoParameters
- data Get_a_billing_infoResponse
- get_a_billing_infoWithConfiguration :: forall m. MonadHTTP m => Configuration -> Get_a_billing_infoParameters -> m (Response Get_a_billing_infoResponse)
- get_a_billing_infoRaw :: forall m. MonadHTTP m => Get_a_billing_infoParameters -> ClientT m (Response ByteString)
- get_a_billing_infoWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Get_a_billing_infoParameters -> m (Response ByteString)
Documentation
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
|
Instances
mkGet_a_billing_infoParameters Source #
Arguments
:: Text | |
-> Text | |
-> Get_a_billing_infoParameters |
Create a new Get_a_billing_infoParameters
with all required 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. |
Instances
Show Get_a_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Get_a_billing_info Methods showsPrec :: Int -> Get_a_billing_infoResponse -> ShowS # show :: Get_a_billing_infoResponse -> String # showList :: [Get_a_billing_infoResponse] -> ShowS # | |
Eq Get_a_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Get_a_billing_info Methods (==) :: Get_a_billing_infoResponse -> Get_a_billing_infoResponse -> Bool # (/=) :: Get_a_billing_infoResponse -> Get_a_billing_infoResponse -> Bool # |
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
.