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

RecurlyClient.Operations.Get_dunning_campaign

Description

Contains the different functions to run the operation get_dunning_campaign

Synopsis

Documentation

get_dunning_campaign Source #

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.

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.