stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeletePlansPlan

Description

Contains the different functions to run the operation deletePlansPlan

Synopsis

Documentation

deletePlansPlan Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

plan | Constraints: Maximum length of 5000

-> ClientT m (Response DeletePlansPlanResponse)

Monadic computation which returns the result of the operation

DELETE /v1/plans/{plan}

<p>Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.</p>

data DeletePlansPlanResponse Source #

Represents a response of the operation deletePlansPlan.

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

Constructors

DeletePlansPlanResponseError String

Means either no matching case available or a parse error

DeletePlansPlanResponse200 DeletedPlan

Successful response.

DeletePlansPlanResponseDefault Error

Error response.