Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code #1408

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading