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