Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postReviewsReviewApprove
Synopsis
- postReviewsReviewApprove :: forall m. MonadHTTP m => Text -> Maybe PostReviewsReviewApproveRequestBody -> StripeT m (Response PostReviewsReviewApproveResponse)
- data PostReviewsReviewApproveRequestBody = PostReviewsReviewApproveRequestBody {}
- mkPostReviewsReviewApproveRequestBody :: PostReviewsReviewApproveRequestBody
- data PostReviewsReviewApproveResponse
Documentation
postReviewsReviewApprove Source #
:: forall m. MonadHTTP m | |
=> Text | review | Constraints: Maximum length of 5000 |
-> Maybe PostReviewsReviewApproveRequestBody | The request body to send |
-> StripeT m (Response PostReviewsReviewApproveResponse) | Monadic computation which returns 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 object schema located at paths./v1/reviews/{review}/approve.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostReviewsReviewApproveRequestBody | |
|
mkPostReviewsReviewApproveRequestBody :: PostReviewsReviewApproveRequestBody Source #
Create a new PostReviewsReviewApproveRequestBody
with all required 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.
PostReviewsReviewApproveResponseError String | Means either no matching case available or a parse error |
PostReviewsReviewApproveResponse200 Review | Successful response. |
PostReviewsReviewApproveResponseDefault Error | Error response. |