Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getSetupAttempts
Synopsis
- getSetupAttempts :: forall m. MonadHTTP m => GetSetupAttemptsParameters -> StripeT m (Response GetSetupAttemptsResponse)
- data GetSetupAttemptsParameters = GetSetupAttemptsParameters {
- getSetupAttemptsParametersQueryCreated :: Maybe GetSetupAttemptsParametersQueryCreated'Variants
- getSetupAttemptsParametersQueryEndingBefore :: Maybe Text
- getSetupAttemptsParametersQueryExpand :: Maybe [Text]
- getSetupAttemptsParametersQueryLimit :: Maybe Int
- getSetupAttemptsParametersQuerySetupIntent :: Text
- getSetupAttemptsParametersQueryStartingAfter :: Maybe Text
- mkGetSetupAttemptsParameters :: Text -> GetSetupAttemptsParameters
- data GetSetupAttemptsParametersQueryCreated'OneOf1 = GetSetupAttemptsParametersQueryCreated'OneOf1 {}
- mkGetSetupAttemptsParametersQueryCreated'OneOf1 :: GetSetupAttemptsParametersQueryCreated'OneOf1
- data GetSetupAttemptsParametersQueryCreated'Variants
- data GetSetupAttemptsResponse
- data GetSetupAttemptsResponseBody200 = GetSetupAttemptsResponseBody200 {}
- mkGetSetupAttemptsResponseBody200 :: [SetupAttempt] -> Bool -> Text -> GetSetupAttemptsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetSetupAttemptsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetSetupAttemptsResponse) | Monadic computation which returns the result of the operation |
GET /v1/setup_attempts
<p>Returns a list of SetupAttempts associated with a provided SetupIntent.</p>
data GetSetupAttemptsParameters Source #
Defines the object schema located at paths./v1/setup_attempts.GET.parameters
in the specification.
GetSetupAttemptsParameters | |
|
Instances
mkGetSetupAttemptsParameters Source #
Create a new GetSetupAttemptsParameters
with all required fields.
data GetSetupAttemptsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/setup_attempts.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetSetupAttemptsParametersQueryCreated'OneOf1 :: GetSetupAttemptsParametersQueryCreated'OneOf1 Source #
Create a new GetSetupAttemptsParametersQueryCreated'OneOf1
with all required fields.
data GetSetupAttemptsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/setup_attempts.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.
GetSetupAttemptsParametersQueryCreated'GetSetupAttemptsParametersQueryCreated'OneOf1 GetSetupAttemptsParametersQueryCreated'OneOf1 | |
GetSetupAttemptsParametersQueryCreated'Int Int |
Instances
data GetSetupAttemptsResponse Source #
Represents a response of the operation getSetupAttempts
.
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), GetSetupAttemptsResponseError
is used.
GetSetupAttemptsResponseError String | Means either no matching case available or a parse error |
GetSetupAttemptsResponse200 GetSetupAttemptsResponseBody200 | Successful response. |
GetSetupAttemptsResponseDefault Error | Error response. |
Instances
Eq GetSetupAttemptsResponse Source # | |
Defined in StripeAPI.Operations.GetSetupAttempts | |
Show GetSetupAttemptsResponse Source # | |
Defined in StripeAPI.Operations.GetSetupAttempts showsPrec :: Int -> GetSetupAttemptsResponse -> ShowS # show :: GetSetupAttemptsResponse -> String # showList :: [GetSetupAttemptsResponse] -> ShowS # |
data GetSetupAttemptsResponseBody200 Source #
Defines the object schema located at paths./v1/setup_attempts.GET.responses.200.content.application/json.schema
in the specification.
GetSetupAttemptsResponseBody200 | |
|