Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.GetPaymentIntents
Description
Contains the different functions to run the operation getPaymentIntents
Synopsis
- getPaymentIntents :: forall m. MonadHTTP m => GetPaymentIntentsParameters -> ClientT m (Response GetPaymentIntentsResponse)
- data GetPaymentIntentsParameters = GetPaymentIntentsParameters {
- getPaymentIntentsParametersQueryCreated :: Maybe GetPaymentIntentsParametersQueryCreated'Variants
- getPaymentIntentsParametersQueryCustomer :: Maybe Text
- getPaymentIntentsParametersQueryEndingBefore :: Maybe Text
- getPaymentIntentsParametersQueryExpand :: Maybe [Text]
- getPaymentIntentsParametersQueryLimit :: Maybe Int
- getPaymentIntentsParametersQueryStartingAfter :: Maybe Text
- mkGetPaymentIntentsParameters :: GetPaymentIntentsParameters
- data GetPaymentIntentsParametersQueryCreated'OneOf1 = GetPaymentIntentsParametersQueryCreated'OneOf1 {}
- mkGetPaymentIntentsParametersQueryCreated'OneOf1 :: GetPaymentIntentsParametersQueryCreated'OneOf1
- data GetPaymentIntentsParametersQueryCreated'Variants
- data GetPaymentIntentsResponse
- data GetPaymentIntentsResponseBody200 = GetPaymentIntentsResponseBody200 {}
- mkGetPaymentIntentsResponseBody200 :: [PaymentIntent] -> Bool -> Text -> GetPaymentIntentsResponseBody200
Documentation
Arguments
:: forall m. MonadHTTP m | |
=> GetPaymentIntentsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetPaymentIntentsResponse) | Monadic computation which returns the result of the operation |
GET /v1/payment_intents
<p>Returns a list of PaymentIntents.</p>
data GetPaymentIntentsParameters Source #
Defines the object schema located at paths./v1/payment_intents.GET.parameters
in the specification.
Constructors
GetPaymentIntentsParameters | |
Fields
|
Instances
mkGetPaymentIntentsParameters :: GetPaymentIntentsParameters Source #
Create a new GetPaymentIntentsParameters
with all required fields.
data GetPaymentIntentsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/payment_intents.GET.parameters.properties.queryCreated.anyOf
in the specification.
Constructors
GetPaymentIntentsParametersQueryCreated'OneOf1 | |
Instances
mkGetPaymentIntentsParametersQueryCreated'OneOf1 :: GetPaymentIntentsParametersQueryCreated'OneOf1 Source #
Create a new GetPaymentIntentsParametersQueryCreated'OneOf1
with all required fields.
data GetPaymentIntentsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/payment_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
GetPaymentIntentsParametersQueryCreated'GetPaymentIntentsParametersQueryCreated'OneOf1 GetPaymentIntentsParametersQueryCreated'OneOf1 | |
GetPaymentIntentsParametersQueryCreated'Int Int |
Instances
data GetPaymentIntentsResponse Source #
Represents a response of the operation getPaymentIntents
.
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), GetPaymentIntentsResponseError
is used.
Constructors
GetPaymentIntentsResponseError String | Means either no matching case available or a parse error |
GetPaymentIntentsResponse200 GetPaymentIntentsResponseBody200 | Successful response. |
GetPaymentIntentsResponseDefault Error | Error response. |
Instances
Eq GetPaymentIntentsResponse Source # | |
Defined in StripeAPI.Operations.GetPaymentIntents Methods (==) :: GetPaymentIntentsResponse -> GetPaymentIntentsResponse -> Bool # (/=) :: GetPaymentIntentsResponse -> GetPaymentIntentsResponse -> Bool # | |
Show GetPaymentIntentsResponse Source # | |
Defined in StripeAPI.Operations.GetPaymentIntents Methods showsPrec :: Int -> GetPaymentIntentsResponse -> ShowS # show :: GetPaymentIntentsResponse -> String # showList :: [GetPaymentIntentsResponse] -> ShowS # |
data GetPaymentIntentsResponseBody200 Source #
Defines the object schema located at paths./v1/payment_intents.GET.responses.200.content.application/json.schema
in the specification.
Constructors
GetPaymentIntentsResponseBody200 | |
Fields
|
Instances
mkGetPaymentIntentsResponseBody200 Source #
Arguments
:: [PaymentIntent] | |
-> Bool | |
-> Text | |
-> GetPaymentIntentsResponseBody200 |
Create a new GetPaymentIntentsResponseBody200
with all required fields.