Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPaymentIntents
Synopsis
- getPaymentIntents :: forall m. MonadHTTP m => GetPaymentIntentsParameters -> StripeT 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
:: forall m. MonadHTTP m | |
=> GetPaymentIntentsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT 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.
GetPaymentIntentsParameters | |
|
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.
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.
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.
GetPaymentIntentsResponseError String | Means either no matching case available or a parse error |
GetPaymentIntentsResponse200 GetPaymentIntentsResponseBody200 | Successful response. |
GetPaymentIntentsResponseDefault Error | Error response. |
Instances
data GetPaymentIntentsResponseBody200 Source #
Defines the object schema located at paths./v1/payment_intents.GET.responses.200.content.application/json.schema
in the specification.
GetPaymentIntentsResponseBody200 | |
|