Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postDisputesDisputeClose
Synopsis
- postDisputesDisputeClose :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeCloseRequestBody -> m (Either HttpException (Response PostDisputesDisputeCloseResponse))
- postDisputesDisputeCloseRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeCloseRequestBody -> m (Either HttpException (Response ByteString))
- postDisputesDisputeCloseM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostDisputesDisputeCloseResponse))
- postDisputesDisputeCloseRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostDisputesDisputeCloseRequestBody = PostDisputesDisputeCloseRequestBody {}
- data PostDisputesDisputeCloseResponse
Documentation
postDisputesDisputeClose Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | dispute | Constraints: Maximum length of 5000 |
-> PostDisputesDisputeCloseRequestBody | The request body to send |
-> m (Either HttpException (Response PostDisputesDisputeCloseResponse)) | Monad containing the result of the operation |
POST /v1/disputes/{dispute}/close
<p>Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.</p>
<p>The status of the dispute will change from <code>needs_response</code> to <code>lost</code>. <em>Closing a dispute is irreversible</em>.</p>
postDisputesDisputeCloseRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeCloseRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/disputes/{dispute}/close
The same as postDisputesDisputeClose
but returns the raw ByteString
postDisputesDisputeCloseM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostDisputesDisputeCloseResponse)) Source #
POST /v1/disputes/{dispute}/close
Monadic version of postDisputesDisputeClose
(use with runWithConfiguration
)
postDisputesDisputeCloseRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/disputes/{dispute}/close
Monadic version of postDisputesDisputeCloseRaw
(use with runWithConfiguration
)
data PostDisputesDisputeCloseRequestBody Source #
Defines the data type for the schema postDisputesDisputeCloseRequestBody
PostDisputesDisputeCloseRequestBody | |
|
data PostDisputesDisputeCloseResponse Source #
Represents a response of the operation postDisputesDisputeClose
.
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), PostDisputesDisputeCloseResponseError
is used.
PostDisputesDisputeCloseResponseError String | Means either no matching case available or a parse error |
PostDisputesDisputeCloseResponse200 Dispute | Successful response. |
PostDisputesDisputeCloseResponseDefault Error | Error response. |