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

RecurlyClient.Operations.Remove_plan_add_on

Description

Contains the different functions to run the operation remove_plan_add_on

Synopsis

Documentation

remove_plan_add_on Source #

Arguments

:: forall m. MonadHTTP m 
=> Remove_plan_add_onParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response Remove_plan_add_onResponse)

Monadic computation which returns the result of the operation

DELETE /plans/{plan_id}/add_ons/{add_on_id}

Remove an add-on

data Remove_plan_add_onParameters Source #

Defines the object schema located at paths./plans/{plan_id}/add_ons/{add_on_id}.DELETE.parameters in the specification.

Constructors

Remove_plan_add_onParameters 

Fields

data Remove_plan_add_onResponse Source #

Represents a response of the operation remove_plan_add_on.

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), Remove_plan_add_onResponseError is used.

Constructors

Remove_plan_add_onResponseError String

Means either no matching case available or a parse error

Remove_plan_add_onResponse200 AddOn

Add-on deleted

Remove_plan_add_onResponse404 Error

Incorrect site, plan, or add-on ID.

remove_plan_add_onWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Remove_plan_add_onParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response Remove_plan_add_onResponse)

Monadic computation which returns the result of the operation

DELETE /plans/{plan_id}/add_ons/{add_on_id}

The same as remove_plan_add_on but accepts an explicit configuration.

remove_plan_add_onRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Remove_plan_add_onParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /plans/{plan_id}/add_ons/{add_on_id}

The same as remove_plan_add_on but returns the raw ByteString.

remove_plan_add_onWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Remove_plan_add_onParameters

Contains all available parameters of this operation (query and path parameters)

-> m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /plans/{plan_id}/add_ons/{add_on_id}

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