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

RecurlyClient.Operations.Get_account

Description

Contains the different functions to run the operation get_account

Synopsis

Documentation

get_account Source #

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.

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.

get_accountRaw Source #

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.