Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCheckoutSessions
Synopsis
- getCheckoutSessions :: forall m. MonadHTTP m => GetCheckoutSessionsParameters -> StripeT m (Response GetCheckoutSessionsResponse)
- data GetCheckoutSessionsParameters = GetCheckoutSessionsParameters {
- getCheckoutSessionsParametersQueryEndingBefore :: Maybe Text
- getCheckoutSessionsParametersQueryExpand :: Maybe [Text]
- getCheckoutSessionsParametersQueryLimit :: Maybe Int
- getCheckoutSessionsParametersQueryPaymentIntent :: Maybe Text
- getCheckoutSessionsParametersQueryStartingAfter :: Maybe Text
- getCheckoutSessionsParametersQuerySubscription :: Maybe Text
- mkGetCheckoutSessionsParameters :: GetCheckoutSessionsParameters
- data GetCheckoutSessionsResponse
- data GetCheckoutSessionsResponseBody200 = GetCheckoutSessionsResponseBody200 {}
- mkGetCheckoutSessionsResponseBody200 :: [Checkout'session] -> Bool -> Text -> GetCheckoutSessionsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetCheckoutSessionsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetCheckoutSessionsResponse) | Monadic computation which returns the result of the operation |
GET /v1/checkout/sessions
<p>Returns a list of Checkout Sessions.</p>
data GetCheckoutSessionsParameters Source #
Defines the object schema located at paths./v1/checkout/sessions.GET.parameters
in the specification.
GetCheckoutSessionsParameters | |
|
Instances
mkGetCheckoutSessionsParameters :: GetCheckoutSessionsParameters Source #
Create a new GetCheckoutSessionsParameters
with all required fields.
data GetCheckoutSessionsResponse Source #
Represents a response of the operation getCheckoutSessions
.
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), GetCheckoutSessionsResponseError
is used.
GetCheckoutSessionsResponseError String | Means either no matching case available or a parse error |
GetCheckoutSessionsResponse200 GetCheckoutSessionsResponseBody200 | Successful response. |
GetCheckoutSessionsResponseDefault Error | Error response. |
Instances
data GetCheckoutSessionsResponseBody200 Source #
Defines the object schema located at paths./v1/checkout/sessions.GET.responses.200.content.application/json.schema
in the specification.
GetCheckoutSessionsResponseBody200 | |
|
mkGetCheckoutSessionsResponseBody200 Source #
Create a new GetCheckoutSessionsResponseBody200
with all required fields.