Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Remove_plan_add_on
Description
Contains the different functions to run the operation remove_plan_add_on
Synopsis
- remove_plan_add_on :: forall m. MonadHTTP m => Remove_plan_add_onParameters -> ClientT m (Response Remove_plan_add_onResponse)
- data Remove_plan_add_onParameters = Remove_plan_add_onParameters {}
- mkRemove_plan_add_onParameters :: Text -> Text -> Remove_plan_add_onParameters
- data Remove_plan_add_onResponse
- remove_plan_add_onWithConfiguration :: forall m. MonadHTTP m => Configuration -> Remove_plan_add_onParameters -> m (Response Remove_plan_add_onResponse)
- remove_plan_add_onRaw :: forall m. MonadHTTP m => Remove_plan_add_onParameters -> ClientT m (Response ByteString)
- remove_plan_add_onWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Remove_plan_add_onParameters -> m (Response ByteString)
Documentation
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
|
Instances
mkRemove_plan_add_onParameters Source #
Arguments
:: Text | |
-> Text | |
-> Remove_plan_add_onParameters |
Create a new Remove_plan_add_onParameters
with all required 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. |
Instances
Show Remove_plan_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Remove_plan_add_on Methods showsPrec :: Int -> Remove_plan_add_onResponse -> ShowS # show :: Remove_plan_add_onResponse -> String # showList :: [Remove_plan_add_onResponse] -> ShowS # | |
Eq Remove_plan_add_onResponse Source # | |
Defined in RecurlyClient.Operations.Remove_plan_add_on Methods (==) :: Remove_plan_add_onResponse -> Remove_plan_add_onResponse -> Bool # (/=) :: Remove_plan_add_onResponse -> Remove_plan_add_onResponse -> Bool # |
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
.