Debian Codegraph @

stripe/params/climate/_order_update_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from typing import Dict, List, Union
4 from typing_extensions import Literal, NotRequired, TypedDict
5
6
7 class OrderUpdateParams(TypedDict):
8 beneficiary: NotRequired["Literal['']|OrderUpdateParamsBeneficiary"]
9 """
10 Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.
11 """
12 expand: NotRequired[List[str]]
13 """
14 Specifies which fields in the response should be expanded.
15 """
16 metadata: NotRequired[Dict[str, str]]
17 """
18 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`.
19 """
20
21
22 class OrderUpdateParamsBeneficiary(TypedDict):
23 public_name: Union[Literal[""], str]
24 """
25 Publicly displayable name for the end beneficiary of carbon removal.
26 """