Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetSetupIntents
Description
Contains the different functions to run the operation getSetupIntents
Synopsis
- getSetupIntents :: forall m. MonadHTTP m => GetSetupIntentsParameters -> ClientT 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
Arguments
:: forall m. MonadHTTP m | |
=> GetSetupIntentsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT 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.
Constructors
GetSetupIntentsParameters | |
Fields
|
Instances
Eq GetSetupIntentsParameters Source # | |
Defined in StripeAPI.Operations.GetSetupIntents Methods (==) :: GetSetupIntentsParameters -> GetSetupIntentsParameters -> Bool # (/=) :: GetSetupIntentsParameters -> GetSetupIntentsParameters -> Bool # | |
Show GetSetupIntentsParameters Source # | |
Defined in StripeAPI.Operations.GetSetupIntents Methods showsPrec :: Int -> GetSetupIntentsParameters -> ShowS # show :: GetSetupIntentsParameters -> String # showList :: [GetSetupIntentsParameters] -> ShowS # | |
ToJSON GetSetupIntentsParameters Source # | |
Defined in StripeAPI.Operations.GetSetupIntents Methods toJSON :: GetSetupIntentsParameters -> Value # toEncoding :: GetSetupIntentsParameters -> Encoding # toJSONList :: [GetSetupIntentsParameters] -> Value # | |
FromJSON GetSetupIntentsParameters Source # | |
Defined in StripeAPI.Operations.GetSetupIntents Methods parseJSON :: Value -> Parser GetSetupIntentsParameters # parseJSONList :: Value -> Parser [GetSetupIntentsParameters] # |
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.
Constructors
GetSetupIntentsParametersQueryCreated'OneOf1 | |
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.
Constructors
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.
Constructors
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 Methods (==) :: GetSetupIntentsResponse -> GetSetupIntentsResponse -> Bool # (/=) :: GetSetupIntentsResponse -> GetSetupIntentsResponse -> Bool # | |
Show GetSetupIntentsResponse Source # | |
Defined in StripeAPI.Operations.GetSetupIntents Methods 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.
Constructors
GetSetupIntentsResponseBody200 | |
Fields
|
Instances
mkGetSetupIntentsResponseBody200 Source #
Arguments
:: [SetupIntent] | |
-> Bool | |
-> Text | |
-> GetSetupIntentsResponseBody200 |
Create a new GetSetupIntentsResponseBody200
with all required fields.