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

RecurlyClient.Operations.Get_account_acquisition

Description

Contains the different functions to run the operation get_account_acquisition

Synopsis

Documentation

get_account_acquisition Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response Get_account_acquisitionResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/acquisition

Fetch an account's acquisition data

data Get_account_acquisitionResponse Source #

Represents a response of the operation get_account_acquisition.

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_acquisitionResponseError is used.

Constructors

Get_account_acquisitionResponseError String

Means either no matching case available or a parse error

Get_account_acquisitionResponse200 AccountAcquisition

An account's acquisition data.

Get_account_acquisitionResponse404 Error

Account has no acquisition data, or incorrect site or account ID.

get_account_acquisitionWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response Get_account_acquisitionResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/acquisition

The same as get_account_acquisition but accepts an explicit configuration.

get_account_acquisitionRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/acquisition

The same as get_account_acquisition but returns the raw ByteString.

get_account_acquisitionWithConfigurationRaw 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}/acquisition

The same as get_account_acquisition but accepts an explicit configuration and returns the raw ByteString.