Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_billing_info
Description
Contains the different functions to run the operation get_billing_info
Synopsis
- get_billing_info :: forall m. MonadHTTP m => Text -> ClientT m (Response Get_billing_infoResponse)
- data Get_billing_infoResponse
- get_billing_infoWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Get_billing_infoResponse)
- get_billing_infoRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- get_billing_infoWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> ClientT m (Response Get_billing_infoResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_info
Fetch an account's billing information
data Get_billing_infoResponse Source #
Represents a response of the operation get_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_billing_infoResponseError
is used.
Constructors
Get_billing_infoResponseError String | Means either no matching case available or a parse error |
Get_billing_infoResponse200 BillingInfo | An account's billing information. |
Get_billing_infoResponse404 Error | Account has no billing information, or incorrect site or account ID. |
Get_billing_infoResponseDefault Error | Unexpected error. |
Instances
Show Get_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Get_billing_info Methods showsPrec :: Int -> Get_billing_infoResponse -> ShowS # show :: Get_billing_infoResponse -> String # showList :: [Get_billing_infoResponse] -> ShowS # | |
Eq Get_billing_infoResponse Source # | |
Defined in RecurlyClient.Operations.Get_billing_info Methods (==) :: Get_billing_infoResponse -> Get_billing_infoResponse -> Bool # (/=) :: Get_billing_infoResponse -> Get_billing_infoResponse -> Bool # |
get_billing_infoWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> m (Response Get_billing_infoResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_info
The same as get_billing_info
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_info
The same as get_billing_info
but returns the raw ByteString
.
get_billing_infoWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/billing_info
The same as get_billing_info
but accepts an explicit configuration and returns the raw ByteString
.