Debian Codegraph @

stripe/params/terminal/_reader_process_setup_intent_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import List
5 from typing_extensions import Literal, NotRequired, TypedDict
6
7
8 class ReaderProcessSetupIntentParams(RequestOptions):
9 allow_redisplay: Literal["always", "limited", "unspecified"]
10 """
11 This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
12 """
13 expand: NotRequired[List[str]]
14 """
15 Specifies which fields in the response should be expanded.
16 """
17 process_config: NotRequired["ReaderProcessSetupIntentParamsProcessConfig"]
18 """
19 Configuration overrides for this setup, such as MOTO and customer cancellation settings.
20 """
21 setup_intent: str
22 """
23 The ID of the SetupIntent to process on the reader.
24 """
25
26
27 class ReaderProcessSetupIntentParamsProcessConfig(TypedDict):
28 enable_customer_cancellation: NotRequired[bool]
29 """
30 Enables cancel button on transaction screens.
31 """