Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getEventsId
Synopsis
- getEventsId :: forall m. MonadHTTP m => GetEventsIdParameters -> ClientT m (Response GetEventsIdResponse)
- data GetEventsIdParameters = GetEventsIdParameters {}
- mkGetEventsIdParameters :: Text -> GetEventsIdParameters
- data GetEventsIdResponse
Documentation
:: forall m. MonadHTTP m | |
=> GetEventsIdParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetEventsIdResponse) | Monadic computation which returns the result of the operation |
GET /v1/events/{id}
<p>Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a webhook.</p>
data GetEventsIdParameters Source #
Defines the object schema located at paths./v1/events/{id}.GET.parameters
in the specification.
GetEventsIdParameters | |
|
Instances
Eq GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId (==) :: GetEventsIdParameters -> GetEventsIdParameters -> Bool # (/=) :: GetEventsIdParameters -> GetEventsIdParameters -> Bool # | |
Show GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId showsPrec :: Int -> GetEventsIdParameters -> ShowS # show :: GetEventsIdParameters -> String # showList :: [GetEventsIdParameters] -> ShowS # | |
ToJSON GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId toJSON :: GetEventsIdParameters -> Value # toEncoding :: GetEventsIdParameters -> Encoding # toJSONList :: [GetEventsIdParameters] -> Value # toEncodingList :: [GetEventsIdParameters] -> Encoding # | |
FromJSON GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId parseJSON :: Value -> Parser GetEventsIdParameters # parseJSONList :: Value -> Parser [GetEventsIdParameters] # |
mkGetEventsIdParameters Source #
Create a new GetEventsIdParameters
with all required fields.
data GetEventsIdResponse Source #
Represents a response of the operation getEventsId
.
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), GetEventsIdResponseError
is used.
GetEventsIdResponseError String | Means either no matching case available or a parse error |
GetEventsIdResponse200 Event | Successful response. |
GetEventsIdResponseDefault Error | Error response. |
Instances
Eq GetEventsIdResponse Source # | |
Defined in StripeAPI.Operations.GetEventsId (==) :: GetEventsIdResponse -> GetEventsIdResponse -> Bool # (/=) :: GetEventsIdResponse -> GetEventsIdResponse -> Bool # | |
Show GetEventsIdResponse Source # | |
Defined in StripeAPI.Operations.GetEventsId showsPrec :: Int -> GetEventsIdResponse -> ShowS # show :: GetEventsIdResponse -> String # showList :: [GetEventsIdResponse] -> ShowS # |