Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCheckoutSessionsSession
Synopsis
- getCheckoutSessionsSession :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> m (Either HttpException (Response GetCheckoutSessionsSessionResponse))
- getCheckoutSessionsSessionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> m (Either HttpException (Response ByteString))
- getCheckoutSessionsSessionM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCheckoutSessionsSessionResponse))
- getCheckoutSessionsSessionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCheckoutSessionsSessionRequestBody = GetCheckoutSessionsSessionRequestBody {
- data GetCheckoutSessionsSessionResponse
Documentation
getCheckoutSessionsSession Source #
:: (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 | session | Constraints: Maximum length of 64 |
-> GetCheckoutSessionsSessionRequestBody | The request body to send |
-> m (Either HttpException (Response GetCheckoutSessionsSessionResponse)) | Monad containing the result of the operation |
GET /v1/checkout/sessions/{session}
<p>Retrieves a Session object.</p>
getCheckoutSessionsSessionRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/checkout/sessions/{session}
The same as getCheckoutSessionsSession
but returns the raw ByteString
getCheckoutSessionsSessionM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCheckoutSessionsSessionResponse)) Source #
GET /v1/checkout/sessions/{session}
Monadic version of getCheckoutSessionsSession
(use with runWithConfiguration
)
getCheckoutSessionsSessionRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetCheckoutSessionsSessionRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/checkout/sessions/{session}
Monadic version of getCheckoutSessionsSessionRaw
(use with runWithConfiguration
)
data GetCheckoutSessionsSessionRequestBody Source #
Defines the data type for the schema getCheckoutSessionsSessionRequestBody
data GetCheckoutSessionsSessionResponse Source #
Represents a response of the operation getCheckoutSessionsSession
.
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), GetCheckoutSessionsSessionResponseError
is used.
GetCheckoutSessionsSessionResponseError String | Means either no matching case available or a parse error |
GetCheckoutSessionsSessionResponse200 Checkout'session | Successful response. |
GetCheckoutSessionsSessionResponseDefault Error | Error response. |