You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: stripe/checkout/_session.py
-51
Original file line number
Diff line number
Diff line change
@@ -1960,52 +1960,6 @@ class Tax(StripeObject):
1960
1960
"""
1961
1961
_inner_class_types= {"taxes": Tax}
1962
1962
1963
-
classShippingDetails(StripeObject):
1964
-
classAddress(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
-
2009
1963
classShippingOption(StripeObject):
2010
1964
shipping_amount: int
2011
1965
"""
@@ -5216,10 +5170,6 @@ class RetrieveParams(RequestOptions):
5216
5170
"""
5217
5171
The details of the customer cost of shipping, including the customer chosen ShippingRate.
5218
5172
"""
5219
-
shipping_details: Optional[ShippingDetails]
5220
-
"""
5221
-
Shipping information for this Checkout Session.
5222
-
"""
5223
5173
shipping_options: List[ShippingOption]
5224
5174
"""
5225
5175
The shipping rate options applied to this Session.
0 commit comments