Skip to content

Commit 4c0b32e

Browse files
Update generated code for v937
1 parent 72b6032 commit 4c0b32e

File tree

3 files changed

+1
-68
lines changed

3 files changed

+1
-68
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v936
1+
v937

stripe/_invoice.py

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -763,12 +763,6 @@ class Pdf(StripeObject):
763763
"""
764764
_inner_class_types = {"pdf": Pdf}
765765

766-
class RenderingOptions(StripeObject):
767-
amount_tax_display: Optional[str]
768-
"""
769-
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
770-
"""
771-
772766
class ShippingCost(StripeObject):
773767
class Tax(StripeObject):
774768
amount: int
@@ -1095,12 +1089,6 @@ class CreateParams(RequestOptions):
10951089
"""
10961090
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
10971091
"""
1098-
rendering_options: NotRequired[
1099-
"Literal['']|Invoice.CreateParamsRenderingOptions"
1100-
]
1101-
"""
1102-
This is a legacy field that will be removed soon. For details about `rendering_options`, refer to `rendering` instead. Options for invoice PDF rendering.
1103-
"""
11041092
shipping_cost: NotRequired["Invoice.CreateParamsShippingCost"]
11051093
"""
11061094
Settings for the cost of shipping for this invoice.
@@ -1412,14 +1400,6 @@ class CreateParamsRendering(TypedDict):
14121400
Invoice pdf rendering options
14131401
"""
14141402

1415-
class CreateParamsRenderingOptions(TypedDict):
1416-
amount_tax_display: NotRequired[
1417-
"Literal['']|Literal['exclude_tax', 'include_inclusive_tax']"
1418-
]
1419-
"""
1420-
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
1421-
"""
1422-
14231403
class CreateParamsRenderingPdf(TypedDict):
14241404
page_size: NotRequired[Literal["a4", "auto", "letter"]]
14251405
"""
@@ -1790,12 +1770,6 @@ class ModifyParams(RequestOptions):
17901770
"""
17911771
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
17921772
"""
1793-
rendering_options: NotRequired[
1794-
"Literal['']|Invoice.ModifyParamsRenderingOptions"
1795-
]
1796-
"""
1797-
This is a legacy field that will be removed soon. For details about `rendering_options`, refer to `rendering` instead. Options for invoice PDF rendering.
1798-
"""
17991773
shipping_cost: NotRequired[
18001774
"Literal['']|Invoice.ModifyParamsShippingCost"
18011775
]
@@ -2099,14 +2073,6 @@ class ModifyParamsRendering(TypedDict):
20992073
Invoice pdf rendering options
21002074
"""
21012075

2102-
class ModifyParamsRenderingOptions(TypedDict):
2103-
amount_tax_display: NotRequired[
2104-
"Literal['']|Literal['exclude_tax', 'include_inclusive_tax']"
2105-
]
2106-
"""
2107-
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
2108-
"""
2109-
21102076
class ModifyParamsRenderingPdf(TypedDict):
21112077
page_size: NotRequired[Literal["a4", "auto", "letter"]]
21122078
"""
@@ -3751,10 +3717,6 @@ class VoidInvoiceParams(RequestOptions):
37513717
"""
37523718
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
37533719
"""
3754-
rendering_options: Optional[RenderingOptions]
3755-
"""
3756-
This is a legacy field that will be removed soon. For details about `rendering_options`, refer to `rendering` instead. Options for invoice PDF rendering.
3757-
"""
37583720
shipping_cost: Optional[ShippingCost]
37593721
"""
37603722
The details of the cost of shipping, including the ShippingRate applied on the invoice.
@@ -4765,7 +4727,6 @@ async def search_auto_paging_iter_async(
47654727
"last_finalization_error": LastFinalizationError,
47664728
"payment_settings": PaymentSettings,
47674729
"rendering": Rendering,
4768-
"rendering_options": RenderingOptions,
47694730
"shipping_cost": ShippingCost,
47704731
"shipping_details": ShippingDetails,
47714732
"status_transitions": StatusTransitions,

stripe/_invoice_service.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ class CreateParams(TypedDict):
133133
"""
134134
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
135135
"""
136-
rendering_options: NotRequired[
137-
"Literal['']|InvoiceService.CreateParamsRenderingOptions"
138-
]
139-
"""
140-
This is a legacy field that will be removed soon. For details about `rendering_options`, refer to `rendering` instead. Options for invoice PDF rendering.
141-
"""
142136
shipping_cost: NotRequired["InvoiceService.CreateParamsShippingCost"]
143137
"""
144138
Settings for the cost of shipping for this invoice.
@@ -454,14 +448,6 @@ class CreateParamsRendering(TypedDict):
454448
Invoice pdf rendering options
455449
"""
456450

457-
class CreateParamsRenderingOptions(TypedDict):
458-
amount_tax_display: NotRequired[
459-
"Literal['']|Literal['exclude_tax', 'include_inclusive_tax']"
460-
]
461-
"""
462-
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
463-
"""
464-
465451
class CreateParamsRenderingPdf(TypedDict):
466452
page_size: NotRequired[Literal["a4", "auto", "letter"]]
467453
"""
@@ -1462,12 +1448,6 @@ class UpdateParams(TypedDict):
14621448
"""
14631449
The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.
14641450
"""
1465-
rendering_options: NotRequired[
1466-
"Literal['']|InvoiceService.UpdateParamsRenderingOptions"
1467-
]
1468-
"""
1469-
This is a legacy field that will be removed soon. For details about `rendering_options`, refer to `rendering` instead. Options for invoice PDF rendering.
1470-
"""
14711451
shipping_cost: NotRequired[
14721452
"Literal['']|InvoiceService.UpdateParamsShippingCost"
14731453
]
@@ -1773,14 +1753,6 @@ class UpdateParamsRendering(TypedDict):
17731753
Invoice pdf rendering options
17741754
"""
17751755

1776-
class UpdateParamsRenderingOptions(TypedDict):
1777-
amount_tax_display: NotRequired[
1778-
"Literal['']|Literal['exclude_tax', 'include_inclusive_tax']"
1779-
]
1780-
"""
1781-
How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
1782-
"""
1783-
17841756
class UpdateParamsRenderingPdf(TypedDict):
17851757
page_size: NotRequired[Literal["a4", "auto", "letter"]]
17861758
"""

0 commit comments

Comments
 (0)