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 #1188

Merged
merged 13 commits into from
Jan 12, 2024
Next Next commit
Update generated code for v742
  • Loading branch information
stripe-openapi[bot] committed Jan 4, 2024
commit 7ff4f69ede6671703a0d8408e8f1d4fe4ca88046
2 changes: 0 additions & 2 deletions stripe/_api_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec


class _ApiVersion:
CURRENT = "2023-10-16"
1 change: 0 additions & 1 deletion stripe/_funding_instructions.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,4 @@ class Zengin(StripeObject):
"""
String representing the object's type. Objects of the same type share the same value.
"""

_inner_class_types = {"bank_transfer": BankTransfer}
1 change: 0 additions & 1 deletion stripe/_invoice_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ class TaxAmount(StripeObject):
"""
The amount in cents (or local equivalent) representing the unit amount for this line item, excluding all tax and discounts.
"""

_inner_class_types = {
"discount_amounts": DiscountAmount,
"period": Period,
Expand Down
1 change: 0 additions & 1 deletion stripe/_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,4 @@ class Tax(StripeObject):
"""
The taxes applied to the line item.
"""

_inner_class_types = {"discounts": Discount, "taxes": Tax}
1 change: 0 additions & 1 deletion stripe/_source_mandate_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ class SepaDebit(StripeObject):
"""
The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as `three_d_secure`.
"""

_inner_class_types = {
"acss_debit": AcssDebit,
"bacs_debit": BacsDebit,
Expand Down
1 change: 0 additions & 1 deletion stripe/_source_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ class SepaCreditTransfer(StripeObject):
"""
The type of source this transaction is attached to.
"""

_inner_class_types = {
"ach_credit_transfer": AchCreditTransfer,
"chf_credit_transfer": ChfCreditTransfer,
Expand Down
1 change: 0 additions & 1 deletion stripe/_usage_record_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,4 @@ class Period(StripeObject):
"""
The total usage within this usage period.
"""

_inner_class_types = {"period": Period}
1 change: 0 additions & 1 deletion stripe/tax/_calculation_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,4 @@ class TaxRateDetails(StripeObject):
"""
The [tax code](https://stripe.com/docs/tax/tax-categories) ID used for this resource.
"""

_inner_class_types = {"tax_breakdown": TaxBreakdown}
1 change: 0 additions & 1 deletion stripe/tax/_transaction_line_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,4 @@ class Reversal(StripeObject):
"""
If `reversal`, this line item reverses an earlier transaction.
"""

_inner_class_types = {"reversal": Reversal}
1 change: 0 additions & 1 deletion stripe/treasury/_financial_account_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ class StatusDetail(StripeObject):
"""
OutboundTransfers contains outbound transfers features for a FinancialAccount.
"""

_inner_class_types = {
"card_issuing": CardIssuing,
"deposit_insurance": DepositInsurance,
Expand Down