| 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 NotRequired |
| 6 |
|
| 7 |
|
| 8 |
class TransactionCreateFromCalculationParams(RequestOptions): |
| 9 |
calculation: str |
| 10 |
""" |
| 11 |
Tax Calculation ID to be used as input when creating the transaction. |
| 12 |
""" |
| 13 |
expand: NotRequired[List[str]] |
| 14 |
""" |
| 15 |
Specifies which fields in the response should be expanded. |
| 16 |
""" |
| 17 |
metadata: NotRequired[Dict[str, str]] |
| 18 |
""" |
| 19 |
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`. |
| 20 |
""" |
| 21 |
posted_at: NotRequired[int] |
| 22 |
""" |
| 23 |
The Unix timestamp representing when the tax liability is assumed or reduced, which determines the liability posting period and handling in tax liability reports. The timestamp must fall within the `tax_date` and the current time, unless the `tax_date` is scheduled in advance. Defaults to the current time. |
| 24 |
""" |
| 25 |
reference: str |
| 26 |
""" |
| 27 |
A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions, including reversals. |
| 28 |
""" |