Skip to content

Commit 03fac8d

Browse files
Update generated code for v1536
1 parent 2b845e3 commit 03fac8d

File tree

2 files changed

+1
-52
lines changed

2 files changed

+1
-52
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1535
1+
v1536

stripe/checkout/_session.py

-51
Original file line numberDiff line numberDiff line change
@@ -1960,52 +1960,6 @@ class Tax(StripeObject):
19601960
"""
19611961
_inner_class_types = {"taxes": Tax}
19621962

1963-
class ShippingDetails(StripeObject):
1964-
class Address(StripeObject):
1965-
city: Optional[str]
1966-
"""
1967-
City, district, suburb, town, or village.
1968-
"""
1969-
country: Optional[str]
1970-
"""
1971-
Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1972-
"""
1973-
line1: Optional[str]
1974-
"""
1975-
Address line 1 (e.g., street, PO Box, or company name).
1976-
"""
1977-
line2: Optional[str]
1978-
"""
1979-
Address line 2 (e.g., apartment, suite, unit, or building).
1980-
"""
1981-
postal_code: Optional[str]
1982-
"""
1983-
ZIP or postal code.
1984-
"""
1985-
state: Optional[str]
1986-
"""
1987-
State, county, province, or region.
1988-
"""
1989-
1990-
address: Optional[Address]
1991-
carrier: Optional[str]
1992-
"""
1993-
The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1994-
"""
1995-
name: Optional[str]
1996-
"""
1997-
Recipient name.
1998-
"""
1999-
phone: Optional[str]
2000-
"""
2001-
Recipient phone (including extension).
2002-
"""
2003-
tracking_number: Optional[str]
2004-
"""
2005-
The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
2006-
"""
2007-
_inner_class_types = {"address": Address}
2008-
20091963
class ShippingOption(StripeObject):
20101964
shipping_amount: int
20111965
"""
@@ -5216,10 +5170,6 @@ class RetrieveParams(RequestOptions):
52165170
"""
52175171
The details of the customer cost of shipping, including the customer chosen ShippingRate.
52185172
"""
5219-
shipping_details: Optional[ShippingDetails]
5220-
"""
5221-
Shipping information for this Checkout Session.
5222-
"""
52235173
shipping_options: List[ShippingOption]
52245174
"""
52255175
The shipping rate options applied to this Session.
@@ -5640,7 +5590,6 @@ async def retrieve_async(
56405590
"saved_payment_method_options": SavedPaymentMethodOptions,
56415591
"shipping_address_collection": ShippingAddressCollection,
56425592
"shipping_cost": ShippingCost,
5643-
"shipping_details": ShippingDetails,
56445593
"shipping_options": ShippingOption,
56455594
"tax_id_collection": TaxIdCollection,
56465595
"total_details": TotalDetails,

0 commit comments

Comments
 (0)