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

RecurlyClient.Operations.List_entitlements

Description

Contains the different functions to run the operation list_entitlements

Synopsis

Documentation

list_entitlements Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/entitlements

List entitlements granted to an account

data List_entitlementsResponse Source #

Represents a response of the operation list_entitlements.

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), List_entitlementsResponseError is used.

Constructors

List_entitlementsResponseError String

Means either no matching case available or a parse error

List_entitlementsResponse200 Entitlements

A list of the entitlements granted to an account.

List_entitlementsResponse404 Error

Incorrect site or account ID.

List_entitlementsResponseDefault Error

Unexpected error.

list_entitlementsWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response List_entitlementsResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/entitlements

The same as list_entitlements but accepts an explicit configuration.

list_entitlementsRaw Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/entitlements

The same as list_entitlements but returns the raw ByteString.

list_entitlementsWithConfigurationRaw 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}/entitlements

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