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

RecurlyClient.Operations.Get_external_product

Description

Contains the different functions to run the operation get_external_product

Synopsis

Documentation

get_external_product Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /external_products/{external_product_id}

Fetch an external product

data Get_external_productResponse Source #

Represents a response of the operation get_external_product.

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

Constructors

Get_external_productResponseError String

Means either no matching case available or a parse error

Get_external_productResponse200 ExternalProduct

Settings for an external product.

Get_external_productResponse404 Error

Incorrect site or external product ID.

Get_external_productResponseDefault Error

Unexpected error.

get_external_productWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response Get_external_productResponse)

Monadic computation which returns the result of the operation

GET /external_products/{external_product_id}

The same as get_external_product but accepts an explicit configuration.

get_external_productRaw Source #

Arguments

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

Monadic computation which returns the result of the operation

GET /external_products/{external_product_id}

The same as get_external_product but returns the raw ByteString.

get_external_productWithConfigurationRaw 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 /external_products/{external_product_id}

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