Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postChargesChargeDisputeClose
Synopsis
- postChargesChargeDisputeClose :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeCloseRequestBody -> m (Either HttpException (Response PostChargesChargeDisputeCloseResponse))
- postChargesChargeDisputeCloseRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeCloseRequestBody -> m (Either HttpException (Response ByteString))
- postChargesChargeDisputeCloseM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeDisputeCloseResponse))
- postChargesChargeDisputeCloseRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostChargesChargeDisputeCloseRequestBody = PostChargesChargeDisputeCloseRequestBody {}
- data PostChargesChargeDisputeCloseResponse
Documentation
postChargesChargeDisputeClose Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | charge | Constraints: Maximum length of 5000 |
-> PostChargesChargeDisputeCloseRequestBody | The request body to send |
-> m (Either HttpException (Response PostChargesChargeDisputeCloseResponse)) | Monad containing the result of the operation |
POST /v1/charges/{charge}/dispute/close
postChargesChargeDisputeCloseRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostChargesChargeDisputeCloseRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/dispute/close
The same as postChargesChargeDisputeClose
but returns the raw ByteString
postChargesChargeDisputeCloseM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeDisputeCloseResponse)) Source #
POST /v1/charges/{charge}/dispute/close
Monadic version of postChargesChargeDisputeClose
(use with runWithConfiguration
)
postChargesChargeDisputeCloseRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostChargesChargeDisputeCloseRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/dispute/close
Monadic version of postChargesChargeDisputeCloseRaw
(use with runWithConfiguration
)
data PostChargesChargeDisputeCloseRequestBody Source #
Defines the data type for the schema postChargesChargeDisputeCloseRequestBody
PostChargesChargeDisputeCloseRequestBody | |
|
data PostChargesChargeDisputeCloseResponse Source #
Represents a response of the operation postChargesChargeDisputeClose
.
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), PostChargesChargeDisputeCloseResponseError
is used.
PostChargesChargeDisputeCloseResponseError String | Means either no matching case available or a parse error |
PostChargesChargeDisputeCloseResponse200 Dispute | Successful response. |
PostChargesChargeDisputeCloseResponseDefault Error | Error response. |