Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCheckoutSessionsSessionLineItems
Synopsis
- getCheckoutSessionsSessionLineItems :: forall m. MonadHTTP m => GetCheckoutSessionsSessionLineItemsParameters -> ClientT m (Response GetCheckoutSessionsSessionLineItemsResponse)
- data GetCheckoutSessionsSessionLineItemsParameters = GetCheckoutSessionsSessionLineItemsParameters {
- getCheckoutSessionsSessionLineItemsParametersPathSession :: Text
- getCheckoutSessionsSessionLineItemsParametersQueryEndingBefore :: Maybe Text
- getCheckoutSessionsSessionLineItemsParametersQueryExpand :: Maybe [Text]
- getCheckoutSessionsSessionLineItemsParametersQueryLimit :: Maybe Int
- getCheckoutSessionsSessionLineItemsParametersQueryStartingAfter :: Maybe Text
- mkGetCheckoutSessionsSessionLineItemsParameters :: Text -> GetCheckoutSessionsSessionLineItemsParameters
- data GetCheckoutSessionsSessionLineItemsResponse
- data GetCheckoutSessionsSessionLineItemsResponseBody200 = GetCheckoutSessionsSessionLineItemsResponseBody200 {}
- mkGetCheckoutSessionsSessionLineItemsResponseBody200 :: [Item] -> Bool -> Text -> GetCheckoutSessionsSessionLineItemsResponseBody200
Documentation
getCheckoutSessionsSessionLineItems Source #
:: forall m. MonadHTTP m | |
=> GetCheckoutSessionsSessionLineItemsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCheckoutSessionsSessionLineItemsResponse) | Monadic computation which returns the result of the operation |
GET /v1/checkout/sessions/{session}/line_items
<p>When retrieving a Checkout Session, there is an includable <strong>line_items</strong> property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>
data GetCheckoutSessionsSessionLineItemsParameters Source #
Defines the object schema located at paths./v1/checkout/sessions/{session}/line_items.GET.parameters
in the specification.
GetCheckoutSessionsSessionLineItemsParameters | |
|
Instances
mkGetCheckoutSessionsSessionLineItemsParameters Source #
Create a new GetCheckoutSessionsSessionLineItemsParameters
with all required fields.
data GetCheckoutSessionsSessionLineItemsResponse Source #
Represents a response of the operation getCheckoutSessionsSessionLineItems
.
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), GetCheckoutSessionsSessionLineItemsResponseError
is used.
GetCheckoutSessionsSessionLineItemsResponseError String | Means either no matching case available or a parse error |
GetCheckoutSessionsSessionLineItemsResponse200 GetCheckoutSessionsSessionLineItemsResponseBody200 | Successful response. |
GetCheckoutSessionsSessionLineItemsResponseDefault Error | Error response. |
data GetCheckoutSessionsSessionLineItemsResponseBody200 Source #
Defines the object schema located at paths./v1/checkout/sessions/{session}/line_items.GET.responses.200.content.application/json.schema
in the specification.
GetCheckoutSessionsSessionLineItemsResponseBody200 | |
|
Instances
mkGetCheckoutSessionsSessionLineItemsResponseBody200 Source #
Create a new GetCheckoutSessionsSessionLineItemsResponseBody200
with all required fields.