Debian Codegraph @

stripe/params/terminal/_onboarding_link_create_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 OnboardingLinkCreateParams(RequestOptions):
9 expand: NotRequired[List[str]]
10 """
11 Specifies which fields in the response should be expanded.
12 """
13 link_options: "OnboardingLinkCreateParamsLinkOptions"
14 """
15 Specific fields needed to generate the desired link type.
16 """
17 link_type: Literal["apple_terms_and_conditions"]
18 """
19 The type of link being generated.
20 """
21 on_behalf_of: NotRequired[str]
22 """
23 Stripe account ID to generate the link for.
24 """
25
26
27 class OnboardingLinkCreateParamsLinkOptions(TypedDict):
28 apple_terms_and_conditions: NotRequired[
29 "OnboardingLinkCreateParamsLinkOptionsAppleTermsAndConditions"
30 ]
31 """
32 The options associated with the Apple Terms and Conditions link type.
33 """
34
35
36 class OnboardingLinkCreateParamsLinkOptionsAppleTermsAndConditions(TypedDict):
37 allow_relinking: NotRequired[bool]
38 """
39 Whether the link should also support users relinking their Apple account.
40 """
41 merchant_display_name: str
42 """
43 The business name of the merchant accepting Apple's Terms and Conditions.
44 """