Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getTransfersTransfer
Synopsis
- getTransfersTransfer :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTransfersTransferRequestBody -> m (Either HttpException (Response GetTransfersTransferResponse))
- getTransfersTransferRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTransfersTransferRequestBody -> m (Either HttpException (Response ByteString))
- getTransfersTransferM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTransfersTransferRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTransfersTransferResponse))
- getTransfersTransferRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTransfersTransferRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetTransfersTransferRequestBody = GetTransfersTransferRequestBody {
- data GetTransfersTransferResponse
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 | transfer | Constraints: Maximum length of 5000 |
-> GetTransfersTransferRequestBody | The request body to send |
-> m (Either HttpException (Response GetTransfersTransferResponse)) | Monad containing the result of the operation |
GET /v1/transfers/{transfer}
<p>Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information.</p>
getTransfersTransferRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetTransfersTransferRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/transfers/{transfer}
The same as getTransfersTransfer
but returns the raw ByteString
getTransfersTransferM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTransfersTransferRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetTransfersTransferResponse)) Source #
GET /v1/transfers/{transfer}
Monadic version of getTransfersTransfer
(use with runWithConfiguration
)
getTransfersTransferRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetTransfersTransferRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/transfers/{transfer}
Monadic version of getTransfersTransferRaw
(use with runWithConfiguration
)
data GetTransfersTransferRequestBody Source #
Defines the data type for the schema getTransfersTransferRequestBody
data GetTransfersTransferResponse Source #
Represents a response of the operation getTransfersTransfer
.
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), GetTransfersTransferResponseError
is used.
GetTransfersTransferResponseError String | Means either no matching case available or a parse error |
GetTransfersTransferResponse200 Transfer | Successful response. |
GetTransfersTransferResponseDefault Error | Error response. |