stripeapi-1.0.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

:: forall m. MonadHTTP m 
=> GetPlansPlanParameters

Contains all available parameters of this operation (query and path parameters)

-> StripeT m (Response GetPlansPlanResponse)

Monadic computation which returns the result of the operation

GET /v1/plans/{plan}

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

data GetPlansPlanParameters Source #

Defines the object schema located at paths./v1/plans/{plan}.GET.parameters in the specification.

Constructors

GetPlansPlanParameters 

Fields

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.