Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_account
Description
Contains the different functions to run the operation get_account
Synopsis
- get_account :: forall m. MonadHTTP m => ClientT m (Response Get_accountResponse)
- data Get_accountResponse
- get_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Get_accountResponse)
- get_accountRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- get_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Get_accountResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}
Fetch an account
data Get_accountResponse Source #
Represents a response of the operation get_account
.
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_accountResponseError
is used.
Constructors
Get_accountResponseError String | Means either no matching case available or a parse error |
Get_accountResponse200 Account | An account. |
Get_accountResponseDefault Error | Unexpected error. |
Instances
Show Get_accountResponse Source # | |
Defined in RecurlyClient.Operations.Get_account Methods showsPrec :: Int -> Get_accountResponse -> ShowS # show :: Get_accountResponse -> String # showList :: [Get_accountResponse] -> ShowS # | |
Eq Get_accountResponse Source # | |
Defined in RecurlyClient.Operations.Get_account Methods (==) :: Get_accountResponse -> Get_accountResponse -> Bool # (/=) :: Get_accountResponse -> Get_accountResponse -> Bool # |
get_accountWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Get_accountResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}
The same as get_account
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}
The same as get_account
but returns the raw ByteString
.
get_accountWithConfigurationRaw 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}
The same as get_account
but accepts an explicit configuration and returns the raw ByteString
.