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

RecurlyClient.Operations.List_active_coupon_redemptions

Description

Contains the different functions to run the operation list_active_coupon_redemptions

Synopsis

Documentation

list_active_coupon_redemptions Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

-> ClientT m (Response List_active_coupon_redemptionsResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/coupon_redemptions/active

See the Pagination Guide to learn how to use pagination in the API and Client Libraries.

list_active_coupon_redemptionsWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Text

account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

-> m (Response List_active_coupon_redemptionsResponse)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/coupon_redemptions/active

The same as list_active_coupon_redemptions but accepts an explicit configuration.

list_active_coupon_redemptionsRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/coupon_redemptions/active

The same as list_active_coupon_redemptions but returns the raw ByteString.

list_active_coupon_redemptionsWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Text

account_id: Account ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-bob`.

-> m (Response ByteString)

Monadic computation which returns the result of the operation

GET /accounts/{account_id}/coupon_redemptions/active

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