Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getRefundsRefund
Synopsis
- getRefundsRefund :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRefundsRefundRequestBody -> m (Either HttpException (Response GetRefundsRefundResponse))
- getRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRefundsRefundRequestBody -> m (Either HttpException (Response ByteString))
- getRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetRefundsRefundResponse))
- getRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetRefundsRefundRequestBody = GetRefundsRefundRequestBody {
- data GetRefundsRefundResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | refund |
-> GetRefundsRefundRequestBody | The request body to send |
-> m (Either HttpException (Response GetRefundsRefundResponse)) | Monad containing the result of the operation |
GET /v1/refunds/{refund}
<p>Retrieves the details of an existing refund.</p>
getRefundsRefundRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRefundsRefundRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/refunds/{refund}
The same as getRefundsRefund
but returns the raw ByteString
getRefundsRefundM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetRefundsRefundResponse)) Source #
GET /v1/refunds/{refund}
Monadic version of getRefundsRefund
(use with runWithConfiguration
)
getRefundsRefundRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRefundsRefundRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/refunds/{refund}
Monadic version of getRefundsRefundRaw
(use with runWithConfiguration
)
data GetRefundsRefundRequestBody Source #
Defines the data type for the schema getRefundsRefundRequestBody
Instances
data GetRefundsRefundResponse Source #
Represents a response of the operation getRefundsRefund
.
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), GetRefundsRefundResponseError
is used.
GetRefundsRefundResponseError String | Means either no matching case available or a parse error |
GetRefundsRefundResponse200 Refund | Successful response. |
GetRefundsRefundResponseDefault Error | Error response. |
Instances
Eq GetRefundsRefundResponse Source # | |
Defined in StripeAPI.Operations.GetRefundsRefund | |
Show GetRefundsRefundResponse Source # | |
Defined in StripeAPI.Operations.GetRefundsRefund showsPrec :: Int -> GetRefundsRefundResponse -> ShowS # show :: GetRefundsRefundResponse -> String # showList :: [GetRefundsRefundResponse] -> ShowS # |