Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getReportingReportTypesReportType
Synopsis
- getReportingReportTypesReportType :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> m (Either HttpException (Response GetReportingReportTypesReportTypeResponse))
- getReportingReportTypesReportTypeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> m (Either HttpException (Response ByteString))
- getReportingReportTypesReportTypeM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetReportingReportTypesReportTypeResponse))
- getReportingReportTypesReportTypeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetReportingReportTypesReportTypeRequestBody = GetReportingReportTypesReportTypeRequestBody {
- data GetReportingReportTypesReportTypeResponse
Documentation
getReportingReportTypesReportType Source #
:: (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 | report_type |
-> GetReportingReportTypesReportTypeRequestBody | The request body to send |
-> m (Either HttpException (Response GetReportingReportTypesReportTypeResponse)) | Monad containing the result of the operation |
GET /v1/reporting/report_types/{report_type}
<p>Retrieves the details of a Report Type. (Requires a <a href="https://stripe.com/docs/keys#test-live-modes">live-mode API key</a>.)</p>
getReportingReportTypesReportTypeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/reporting/report_types/{report_type}
The same as getReportingReportTypesReportType
but returns the raw ByteString
getReportingReportTypesReportTypeM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetReportingReportTypesReportTypeResponse)) Source #
GET /v1/reporting/report_types/{report_type}
Monadic version of getReportingReportTypesReportType
(use with runWithConfiguration
)
getReportingReportTypesReportTypeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReportingReportTypesReportTypeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/reporting/report_types/{report_type}
Monadic version of getReportingReportTypesReportTypeRaw
(use with runWithConfiguration
)
data GetReportingReportTypesReportTypeRequestBody Source #
Defines the data type for the schema getReportingReportTypesReportTypeRequestBody
Instances
data GetReportingReportTypesReportTypeResponse Source #
Represents a response of the operation getReportingReportTypesReportType
.
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), GetReportingReportTypesReportTypeResponseError
is used.
GetReportingReportTypesReportTypeResponseError String | Means either no matching case available or a parse error |
GetReportingReportTypesReportTypeResponse200 Reporting'reportType | Successful response. |
GetReportingReportTypesReportTypeResponseDefault Error | Error response. |