Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getChargesChargeRefundsRefund
Synopsis
- getChargesChargeRefundsRefund :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response GetChargesChargeRefundsRefundResponse))
- getChargesChargeRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response ByteString))
- getChargesChargeRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetChargesChargeRefundsRefundResponse))
- getChargesChargeRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetChargesChargeRefundsRefundRequestBody = GetChargesChargeRefundsRefundRequestBody {
- data GetChargesChargeRefundsRefundResponse
Documentation
getChargesChargeRefundsRefund Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | charge |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | refund |
-> GetChargesChargeRefundsRefundRequestBody | The request body to send |
-> m (Either HttpException (Response GetChargesChargeRefundsRefundResponse)) | Monad containing the result of the operation |
GET /v1/charges/{charge}/refunds/{refund}
<p>Retrieves the details of an existing refund.</p>
getChargesChargeRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/charges/{charge}/refunds/{refund}
The same as getChargesChargeRefundsRefund
but returns the raw ByteString
getChargesChargeRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetChargesChargeRefundsRefundResponse)) Source #
GET /v1/charges/{charge}/refunds/{refund}
Monadic version of getChargesChargeRefundsRefund
(use with runWithConfiguration
)
getChargesChargeRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetChargesChargeRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/charges/{charge}/refunds/{refund}
Monadic version of getChargesChargeRefundsRefundRaw
(use with runWithConfiguration
)
data GetChargesChargeRefundsRefundRequestBody Source #
Defines the data type for the schema getChargesChargeRefundsRefundRequestBody
data GetChargesChargeRefundsRefundResponse Source #
Represents a response of the operation getChargesChargeRefundsRefund
.
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), GetChargesChargeRefundsRefundResponseError
is used.
GetChargesChargeRefundsRefundResponseError String | Means either no matching case available or a parse error |
GetChargesChargeRefundsRefundResponse200 Refund | Successful response. |
GetChargesChargeRefundsRefundResponseDefault Error | Error response. |