Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Get_dunning_campaign
Description
Contains the different functions to run the operation get_dunning_campaign
Synopsis
- get_dunning_campaign :: forall m. MonadHTTP m => ClientT m (Response Get_dunning_campaignResponse)
- data Get_dunning_campaignResponse
- get_dunning_campaignWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Get_dunning_campaignResponse)
- get_dunning_campaignRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- get_dunning_campaignWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response Get_dunning_campaignResponse) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns/{dunning_campaign_id}
Fetch a dunning campaign
data Get_dunning_campaignResponse Source #
Represents a response of the operation get_dunning_campaign
.
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_dunning_campaignResponseError
is used.
Constructors
Get_dunning_campaignResponseError String | Means either no matching case available or a parse error |
Get_dunning_campaignResponse200 DunningCampaign | Settings for a dunning campaign. |
Get_dunning_campaignResponse400 Error | Bad request; perhaps missing or invalid parameters. |
Get_dunning_campaignResponse404 Error | Incorrect site or campaign ID. |
Get_dunning_campaignResponseDefault Error | Unexpected error. |
Instances
Show Get_dunning_campaignResponse Source # | |
Defined in RecurlyClient.Operations.Get_dunning_campaign Methods showsPrec :: Int -> Get_dunning_campaignResponse -> ShowS # show :: Get_dunning_campaignResponse -> String # showList :: [Get_dunning_campaignResponse] -> ShowS # | |
Eq Get_dunning_campaignResponse Source # | |
Defined in RecurlyClient.Operations.Get_dunning_campaign Methods (==) :: Get_dunning_campaignResponse -> Get_dunning_campaignResponse -> Bool # (/=) :: Get_dunning_campaignResponse -> Get_dunning_campaignResponse -> Bool # |
get_dunning_campaignWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Get_dunning_campaignResponse) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns/{dunning_campaign_id}
The same as get_dunning_campaign
but accepts an explicit configuration.
get_dunning_campaignRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /dunning_campaigns/{dunning_campaign_id}
The same as get_dunning_campaign
but returns the raw ByteString
.
get_dunning_campaignWithConfigurationRaw 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 /dunning_campaigns/{dunning_campaign_id}
The same as get_dunning_campaign
but accepts an explicit configuration and returns the raw ByteString
.