stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetPlansPlan

Description

Contains the different functions to run the operation getPlansPlan

Synopsis

Documentation

getPlansPlan Source #

Arguments

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

The configuration to use in the request

-> Maybe String

expand: Specifies which fields in the response should be expanded.

-> String

plan | Constraints: Maximum length of 5000

-> GetPlansPlanRequestBody

The request body to send

-> m (Either HttpException (Response GetPlansPlanResponse))

Monad containing the result of the operation

GET /v1/plans/{plan}

<p>Retrieves the plan with the given ID.</p>

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

GET /v1/plans/{plan}

The same as getPlansPlan but returns the raw ByteString

data GetPlansPlanResponse Source #

Represents a response of the operation getPlansPlan.

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

Constructors

GetPlansPlanResponseError String

Means either no matching case available or a parse error

GetPlansPlanResponse200 Plan

Successful response.

GetPlansPlanResponseDefault Error

Error response.