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

RecurlyClient.Operations.List_gift_cards

Description

Contains the different functions to run the operation list_gift_cards

Synopsis

Documentation

list_gift_cards Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /gift_cards

List gift cards

data List_gift_cardsResponse Source #

Represents a response of the operation list_gift_cards.

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

Constructors

List_gift_cardsResponseError String

Means either no matching case available or a parse error

List_gift_cardsResponse200 GiftCardList

List of all created gift cards on your site.

List_gift_cardsResponse404 Error

Incorrect site.

List_gift_cardsResponseDefault Error

Unexpected error.

list_gift_cardsWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response List_gift_cardsResponse)

Monadic computation which returns the result of the operation

GET /gift_cards

The same as list_gift_cards but accepts an explicit configuration.

list_gift_cardsRaw Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /gift_cards

The same as list_gift_cards but returns the raw ByteString.

list_gift_cardsWithConfigurationRaw 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 /gift_cards

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