Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getSetupIntents
Synopsis
- getSetupIntents :: forall m. MonadHTTP m => GetSetupIntentsParameters -> StripeT m (Response GetSetupIntentsResponse)
- data GetSetupIntentsParameters = GetSetupIntentsParameters {
- getSetupIntentsParametersQueryCreated :: Maybe GetSetupIntentsParametersQueryCreated'Variants
- getSetupIntentsParametersQueryCustomer :: Maybe Text
- getSetupIntentsParametersQueryEndingBefore :: Maybe Text
- getSetupIntentsParametersQueryExpand :: Maybe [Text]
- getSetupIntentsParametersQueryLimit :: Maybe Int
- getSetupIntentsParametersQueryPaymentMethod :: Maybe Text
- getSetupIntentsParametersQueryStartingAfter :: Maybe Text
- mkGetSetupIntentsParameters :: GetSetupIntentsParameters
- data GetSetupIntentsParametersQueryCreated'OneOf1 = GetSetupIntentsParametersQueryCreated'OneOf1 {}
- mkGetSetupIntentsParametersQueryCreated'OneOf1 :: GetSetupIntentsParametersQueryCreated'OneOf1
- data GetSetupIntentsParametersQueryCreated'Variants
- data GetSetupIntentsResponse
- data GetSetupIntentsResponseBody200 = GetSetupIntentsResponseBody200 {}
- mkGetSetupIntentsResponseBody200 :: [SetupIntent] -> Bool -> Text -> GetSetupIntentsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetSetupIntentsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetSetupIntentsResponse) | Monadic computation which returns the result of the operation |
GET /v1/setup_intents
<p>Returns a list of SetupIntents.</p>
data GetSetupIntentsParameters Source #
Defines the object schema located at paths./v1/setup_intents.GET.parameters
in the specification.
GetSetupIntentsParameters | |
|
Instances
mkGetSetupIntentsParameters :: GetSetupIntentsParameters Source #
Create a new GetSetupIntentsParameters
with all required fields.
data GetSetupIntentsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/setup_intents.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetSetupIntentsParametersQueryCreated'OneOf1 :: GetSetupIntentsParametersQueryCreated'OneOf1 Source #
Create a new GetSetupIntentsParametersQueryCreated'OneOf1
with all required fields.
data GetSetupIntentsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/setup_intents.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
GetSetupIntentsParametersQueryCreated'GetSetupIntentsParametersQueryCreated'OneOf1 GetSetupIntentsParametersQueryCreated'OneOf1 | |
GetSetupIntentsParametersQueryCreated'Int Int |
Instances
data GetSetupIntentsResponse Source #
Represents a response of the operation getSetupIntents
.
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), GetSetupIntentsResponseError
is used.
GetSetupIntentsResponseError String | Means either no matching case available or a parse error |
GetSetupIntentsResponse200 GetSetupIntentsResponseBody200 | Successful response. |
GetSetupIntentsResponseDefault Error | Error response. |
Instances
Eq GetSetupIntentsResponse Source # | |
Defined in StripeAPI.Operations.GetSetupIntents | |
Show GetSetupIntentsResponse Source # | |
Defined in StripeAPI.Operations.GetSetupIntents showsPrec :: Int -> GetSetupIntentsResponse -> ShowS # show :: GetSetupIntentsResponse -> String # showList :: [GetSetupIntentsResponse] -> ShowS # |
data GetSetupIntentsResponseBody200 Source #
Defines the object schema located at paths./v1/setup_intents.GET.responses.200.content.application/json.schema
in the specification.
GetSetupIntentsResponseBody200 | |
|
mkGetSetupIntentsResponseBody200 Source #
:: [SetupIntent] | |
-> Bool | |
-> Text | |
-> GetSetupIntentsResponseBody200 |
Create a new GetSetupIntentsResponseBody200
with all required fields.