Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_account_balance
Description
Contains the different functions to run the operation get_account_balance
Synopsis
- get_account_balance :: forall m. MonadHTTP m => ClientT m (Response Get_account_balanceResponse)
- data Get_account_balanceResponse
- get_account_balanceWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Get_account_balanceResponse)
- get_account_balanceRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- get_account_balanceWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Get_account_balanceResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/balance
Fetch an account's balance and past due status
data Get_account_balanceResponse Source #
Represents a response of the operation get_account_balance
.
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_account_balanceResponseError
is used.
Constructors
Get_account_balanceResponseError String | Means either no matching case available or a parse error |
Get_account_balanceResponse200 AccountBalance | An account's balance. |
Get_account_balanceResponse404 Error | Incorrect site or account ID. |
Get_account_balanceResponseDefault Error | Unexpected error. |
Instances
Show Get_account_balanceResponse Source # | |
Defined in RecurlyClient.Operations.Get_account_balance Methods showsPrec :: Int -> Get_account_balanceResponse -> ShowS # show :: Get_account_balanceResponse -> String # showList :: [Get_account_balanceResponse] -> ShowS # | |
Eq Get_account_balanceResponse Source # | |
Defined in RecurlyClient.Operations.Get_account_balance Methods (==) :: Get_account_balanceResponse -> Get_account_balanceResponse -> Bool # (/=) :: Get_account_balanceResponse -> Get_account_balanceResponse -> Bool # |
get_account_balanceWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Get_account_balanceResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/balance
The same as get_account_balance
but accepts an explicit configuration.
get_account_balanceRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/balance
The same as get_account_balance
but returns the raw ByteString
.
get_account_balanceWithConfigurationRaw 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 /accounts/{account_id}/balance
The same as get_account_balance
but accepts an explicit configuration and returns the raw ByteString
.