Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetEventsId
Description
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
Arguments
:: 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.
Constructors
GetEventsIdParameters | |
Fields
|
Instances
Eq GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId Methods (==) :: GetEventsIdParameters -> GetEventsIdParameters -> Bool # (/=) :: GetEventsIdParameters -> GetEventsIdParameters -> Bool # | |
Show GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId Methods showsPrec :: Int -> GetEventsIdParameters -> ShowS # show :: GetEventsIdParameters -> String # showList :: [GetEventsIdParameters] -> ShowS # | |
ToJSON GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId Methods toJSON :: GetEventsIdParameters -> Value # toEncoding :: GetEventsIdParameters -> Encoding # toJSONList :: [GetEventsIdParameters] -> Value # toEncodingList :: [GetEventsIdParameters] -> Encoding # | |
FromJSON GetEventsIdParameters Source # | |
Defined in StripeAPI.Operations.GetEventsId Methods parseJSON :: Value -> Parser GetEventsIdParameters # parseJSONList :: Value -> Parser [GetEventsIdParameters] # |
mkGetEventsIdParameters Source #
Arguments
:: Text | |
-> GetEventsIdParameters |
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.
Constructors
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 Methods (==) :: GetEventsIdResponse -> GetEventsIdResponse -> Bool # (/=) :: GetEventsIdResponse -> GetEventsIdResponse -> Bool # | |
Show GetEventsIdResponse Source # | |
Defined in StripeAPI.Operations.GetEventsId Methods showsPrec :: Int -> GetEventsIdResponse -> ShowS # show :: GetEventsIdResponse -> String # showList :: [GetEventsIdResponse] -> ShowS # |