Skip to content

Commit

Permalink
Update generated code for v1268 (#1408)
Browse files Browse the repository at this point in the history
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Oct 3, 2024
1 parent 9bc3689 commit 668f1d4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 84 deletions.
1 change: 0 additions & 1 deletion stripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ def __getattr__(name):
from stripe._login_link import LoginLink as LoginLink
from stripe._mandate import Mandate as Mandate
from stripe._mandate_service import MandateService as MandateService
from stripe._margin import Margin as Margin
from stripe._payment_intent import PaymentIntent as PaymentIntent
from stripe._payment_intent_service import (
PaymentIntentService as PaymentIntentService,
Expand Down
5 changes: 0 additions & 5 deletions stripe/_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
from stripe._customer import Customer
from stripe._discount import Discount
from stripe._invoice_line_item import InvoiceLineItem
from stripe._margin import Margin
from stripe._payment_intent import PaymentIntent
from stripe._payment_method import PaymentMethod
from stripe._quote import Quote
Expand Down Expand Up @@ -984,10 +983,6 @@ class TotalPretaxCreditAmount(StripeObject):
"""
The discount that was applied to get this pretax credit amount.
"""
margin: Optional[ExpandableField["Margin"]]
"""
The margin that was applied to get this pretax credit amount.
"""
type: Literal["credit_balance_transaction", "discount"]
"""
Type of the pretax credit amount referenced.
Expand Down
5 changes: 0 additions & 5 deletions stripe/_invoice_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
if TYPE_CHECKING:
from stripe._discount import Discount
from stripe._invoice_item import InvoiceItem
from stripe._margin import Margin
from stripe._plan import Plan
from stripe._price import Price
from stripe._subscription import Subscription
Expand Down Expand Up @@ -72,10 +71,6 @@ class PretaxCreditAmount(StripeObject):
"""
The discount that was applied to get this pretax credit amount.
"""
margin: Optional[ExpandableField["Margin"]]
"""
The margin that was applied to get this pretax credit amount.
"""
type: Literal["credit_balance_transaction", "discount"]
"""
Type of the pretax credit amount referenced.
Expand Down
50 changes: 0 additions & 50 deletions stripe/_margin.py

This file was deleted.

1 change: 0 additions & 1 deletion stripe/_object_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
stripe.LineItem.OBJECT_NAME: stripe.LineItem,
stripe.LoginLink.OBJECT_NAME: stripe.LoginLink,
stripe.Mandate.OBJECT_NAME: stripe.Mandate,
stripe.Margin.OBJECT_NAME: stripe.Margin,
stripe.PaymentIntent.OBJECT_NAME: stripe.PaymentIntent,
stripe.PaymentLink.OBJECT_NAME: stripe.PaymentLink,
stripe.PaymentMethod.OBJECT_NAME: stripe.PaymentMethod,
Expand Down
1 change: 0 additions & 1 deletion stripe/api_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
from stripe.api_resources.list_object import ListObject
from stripe.api_resources.login_link import LoginLink
from stripe.api_resources.mandate import Mandate
from stripe.api_resources.margin import Margin
from stripe.api_resources.payment_intent import PaymentIntent
from stripe.api_resources.payment_link import PaymentLink
from stripe.api_resources.payment_method import PaymentMethod
Expand Down
21 changes: 0 additions & 21 deletions stripe/api_resources/margin.py

This file was deleted.

0 comments on commit 668f1d4

Please sign in to comment.