stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostReviewsReviewApprove

Description

Contains the different functions to run the operation postReviewsReviewApprove

Synopsis

Documentation

postReviewsReviewApprove Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

review | Constraints: Maximum length of 5000

-> PostReviewsReviewApproveRequestBody

The request body to send

-> m (Either HttpException (Response PostReviewsReviewApproveResponse))

Monad containing the result of the operation

POST /v1/reviews/{review}/approve

<p>Approves a <code>Review</code> object, closing it and removing it from the list of reviews.</p>

data PostReviewsReviewApproveRequestBody Source #

Defines the data type for the schema postReviewsReviewApproveRequestBody

Constructors

PostReviewsReviewApproveRequestBody 

Fields

data PostReviewsReviewApproveResponse Source #

Represents a response of the operation postReviewsReviewApprove.

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), PostReviewsReviewApproveResponseError is used.

Constructors

PostReviewsReviewApproveResponseError String

Means either no matching case available or a parse error

PostReviewsReviewApproveResponse200 Review

Successful response.

PostReviewsReviewApproveResponseDefault Error

Error response.