Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getReviewsReview
Synopsis
- getReviewsReview :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReviewsReviewRequestBody -> m (Either HttpException (Response GetReviewsReviewResponse))
- getReviewsReviewRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReviewsReviewRequestBody -> m (Either HttpException (Response ByteString))
- getReviewsReviewM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReviewsReviewRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetReviewsReviewResponse))
- getReviewsReviewRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReviewsReviewRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetReviewsReviewRequestBody = GetReviewsReviewRequestBody {
- data GetReviewsReviewResponse
Documentation
:: (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 | review | Constraints: Maximum length of 5000 |
-> GetReviewsReviewRequestBody | The request body to send |
-> m (Either HttpException (Response GetReviewsReviewResponse)) | Monad containing the result of the operation |
GET /v1/reviews/{review}
<p>Retrieves a <code>Review</code> object.</p>
getReviewsReviewRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetReviewsReviewRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/reviews/{review}
The same as getReviewsReview
but returns the raw ByteString
getReviewsReviewM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReviewsReviewRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetReviewsReviewResponse)) Source #
GET /v1/reviews/{review}
Monadic version of getReviewsReview
(use with runWithConfiguration
)
getReviewsReviewRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetReviewsReviewRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/reviews/{review}
Monadic version of getReviewsReviewRaw
(use with runWithConfiguration
)
data GetReviewsReviewRequestBody Source #
Defines the data type for the schema getReviewsReviewRequestBody
Instances
data GetReviewsReviewResponse Source #
Represents a response of the operation getReviewsReview
.
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), GetReviewsReviewResponseError
is used.
GetReviewsReviewResponseError String | Means either no matching case available or a parse error |
GetReviewsReviewResponse200 Review | Successful response. |
GetReviewsReviewResponseDefault Error | Error response. |
Instances
Eq GetReviewsReviewResponse Source # | |
Defined in StripeAPI.Operations.GetReviewsReview | |
Show GetReviewsReviewResponse Source # | |
Defined in StripeAPI.Operations.GetReviewsReview showsPrec :: Int -> GetReviewsReviewResponse -> ShowS # show :: GetReviewsReviewResponse -> String # showList :: [GetReviewsReviewResponse] -> ShowS # |