Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Remove_plan
Description
Contains the different functions to run the operation remove_plan
Synopsis
- remove_plan :: forall m. MonadHTTP m => Text -> ClientT m (Response Remove_planResponse)
- data Remove_planResponse
- remove_planWithConfiguration :: forall m. MonadHTTP m => Configuration -> Text -> m (Response Remove_planResponse)
- remove_planRaw :: forall m. MonadHTTP m => Text -> ClientT m (Response ByteString)
- remove_planWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> Text -> m (Response ByteString)
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> Text | plan_id: Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> ClientT m (Response Remove_planResponse) | Monadic computation which returns the result of the operation |
DELETE /plans/{plan_id}
Remove a plan
data Remove_planResponse Source #
Represents a response of the operation remove_plan
.
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_planResponseError
is used.
Constructors
Remove_planResponseError String | Means either no matching case available or a parse error |
Remove_planResponse200 Plan | Plan deleted |
Remove_planResponse404 Error | Incorrect site or plan ID. |
Instances
Show Remove_planResponse Source # | |
Defined in RecurlyClient.Operations.Remove_plan Methods showsPrec :: Int -> Remove_planResponse -> ShowS # show :: Remove_planResponse -> String # showList :: [Remove_planResponse] -> ShowS # | |
Eq Remove_planResponse Source # | |
Defined in RecurlyClient.Operations.Remove_plan Methods (==) :: Remove_planResponse -> Remove_planResponse -> Bool # (/=) :: Remove_planResponse -> Remove_planResponse -> Bool # |
remove_planWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | plan_id: Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> m (Response Remove_planResponse) | Monadic computation which returns the result of the operation |
DELETE /plans/{plan_id}
The same as remove_plan
but accepts an explicit configuration.
Arguments
:: forall m. MonadHTTP m | |
=> Text | plan_id: Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /plans/{plan_id}
The same as remove_plan
but returns the raw ByteString
.
remove_planWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> Text | plan_id: Plan ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For code use prefix `code-`, e.g. `code-gold`. |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
DELETE /plans/{plan_id}
The same as remove_plan
but accepts an explicit configuration and returns the raw ByteString
.