Debian Codegraph @

stripe/params/radar/_value_list_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 Dict, List
5 from typing_extensions import Literal, NotRequired
6
7
8 class ValueListCreateParams(RequestOptions):
9 alias: str
10 """
11 The name of the value list for use in rules.
12 """
13 expand: NotRequired[List[str]]
14 """
15 Specifies which fields in the response should be expanded.
16 """
17 item_type: NotRequired[
18 Literal[
19 "card_bin",
20 "card_fingerprint",
21 "case_sensitive_string",
22 "country",
23 "customer_id",
24 "email",
25 "ip_address",
26 "sepa_debit_fingerprint",
27 "string",
28 "us_bank_account_fingerprint",
29 ]
30 ]
31 """
32 Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. Use `string` if the item type is unknown or mixed.
33 """
34 metadata: NotRequired[Dict[str, str]]
35 """
36 Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
37 """
38 name: str
39 """
40 The human-readable name of the value list.
41 """