stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetReviewsReview

Description

Contains the different functions to run the operation getReviewsReview

Synopsis

Documentation

getReviewsReview Source #

Arguments

:: (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

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.

Constructors

GetReviewsReviewResponseError String

Means either no matching case available or a parse error

GetReviewsReviewResponse200 Review

Successful response.

GetReviewsReviewResponseDefault Error

Error response.