stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeletePlansPlan

Description

Contains the different functions to run the operation deletePlansPlan

Synopsis

Documentation

deletePlansPlan Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

plan | Constraints: Maximum length of 5000

-> DeletePlansPlanRequestBody

The request body to send

-> m (Either HttpException (Response DeletePlansPlanResponse))

Monad containing 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>

deletePlansPlanRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> DeletePlansPlanRequestBody -> m (Either HttpException (Response ByteString)) Source #

DELETE /v1/plans/{plan}

The same as deletePlansPlan but returns the raw ByteString

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.