Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.List_gift_cards
Description
Contains the different functions to run the operation list_gift_cards
Synopsis
- list_gift_cards :: forall m. MonadHTTP m => ClientT m (Response List_gift_cardsResponse)
- data List_gift_cardsResponse
- list_gift_cardsWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response List_gift_cardsResponse)
- list_gift_cardsRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- list_gift_cardsWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
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. |
Instances
Show List_gift_cardsResponse Source # | |
Defined in RecurlyClient.Operations.List_gift_cards Methods showsPrec :: Int -> List_gift_cardsResponse -> ShowS # show :: List_gift_cardsResponse -> String # showList :: [List_gift_cardsResponse] -> ShowS # | |
Eq List_gift_cardsResponse Source # | |
Defined in RecurlyClient.Operations.List_gift_cards Methods (==) :: List_gift_cardsResponse -> List_gift_cardsResponse -> Bool # (/=) :: List_gift_cardsResponse -> List_gift_cardsResponse -> Bool # |
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.
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
.