Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPlansPlan
Synopsis
- getPlansPlan :: forall m. MonadHTTP m => GetPlansPlanParameters -> StripeT m (Response GetPlansPlanResponse)
- data GetPlansPlanParameters = GetPlansPlanParameters {}
- mkGetPlansPlanParameters :: Text -> GetPlansPlanParameters
- data GetPlansPlanResponse
Documentation
:: 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.
GetPlansPlanParameters | |
|
Instances
Eq GetPlansPlanParameters Source # | |
Defined in StripeAPI.Operations.GetPlansPlan | |
Show GetPlansPlanParameters Source # | |
Defined in StripeAPI.Operations.GetPlansPlan showsPrec :: Int -> GetPlansPlanParameters -> ShowS # show :: GetPlansPlanParameters -> String # showList :: [GetPlansPlanParameters] -> ShowS # | |
ToJSON GetPlansPlanParameters Source # | |
Defined in StripeAPI.Operations.GetPlansPlan toJSON :: GetPlansPlanParameters -> Value # toEncoding :: GetPlansPlanParameters -> Encoding # toJSONList :: [GetPlansPlanParameters] -> Value # | |
FromJSON GetPlansPlanParameters Source # | |
Defined in StripeAPI.Operations.GetPlansPlan |
mkGetPlansPlanParameters Source #
Create a new GetPlansPlanParameters
with all required 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.
GetPlansPlanResponseError String | Means either no matching case available or a parse error |
GetPlansPlanResponse200 Plan | Successful response. |
GetPlansPlanResponseDefault Error | Error response. |
Instances
Eq GetPlansPlanResponse Source # | |
Defined in StripeAPI.Operations.GetPlansPlan (==) :: GetPlansPlanResponse -> GetPlansPlanResponse -> Bool # (/=) :: GetPlansPlanResponse -> GetPlansPlanResponse -> Bool # | |
Show GetPlansPlanResponse Source # | |
Defined in StripeAPI.Operations.GetPlansPlan showsPrec :: Int -> GetPlansPlanResponse -> ShowS # show :: GetPlansPlanResponse -> String # showList :: [GetPlansPlanResponse] -> ShowS # |