Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postChargesChargeRefundsRefund
Synopsis
- postChargesChargeRefundsRefund :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response PostChargesChargeRefundsRefundResponse))
- postChargesChargeRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response ByteString))
- postChargesChargeRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeRefundsRefundResponse))
- postChargesChargeRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostChargesChargeRefundsRefundRequestBody = PostChargesChargeRefundsRefundRequestBody {}
- data PostChargesChargeRefundsRefundRequestBodyMetadata' = PostChargesChargeRefundsRefundRequestBodyMetadata' {
- data PostChargesChargeRefundsRefundResponse
Documentation
postChargesChargeRefundsRefund Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | charge |
-> String | refund |
-> PostChargesChargeRefundsRefundRequestBody | The request body to send |
-> m (Either HttpException (Response PostChargesChargeRefundsRefundResponse)) | Monad containing the result of the operation |
POST /v1/charges/{charge}/refunds/{refund}
<p>Update a specified refund.</p>
postChargesChargeRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/refunds/{refund}
The same as postChargesChargeRefundsRefund
but returns the raw ByteString
postChargesChargeRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostChargesChargeRefundsRefundResponse)) Source #
POST /v1/charges/{charge}/refunds/{refund}
Monadic version of postChargesChargeRefundsRefund
(use with runWithConfiguration
)
postChargesChargeRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/charges/{charge}/refunds/{refund}
Monadic version of postChargesChargeRefundsRefundRaw
(use with runWithConfiguration
)
data PostChargesChargeRefundsRefundRequestBody Source #
Defines the data type for the schema postChargesChargeRefundsRefundRequestBody
PostChargesChargeRefundsRefundRequestBody | |
|
Instances
data PostChargesChargeRefundsRefundRequestBodyMetadata' Source #
Defines the data type for the schema postChargesChargeRefundsRefundRequestBodyMetadata'
Instances
data PostChargesChargeRefundsRefundResponse Source #
Represents a response of the operation postChargesChargeRefundsRefund
.
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), PostChargesChargeRefundsRefundResponseError
is used.
PostChargesChargeRefundsRefundResponseError String | Means either no matching case available or a parse error |
PostChargesChargeRefundsRefundResponse200 Refund | Successful response. |
PostChargesChargeRefundsRefundResponseDefault Error | Error response. |