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 for beta #1447

Merged
merged 4 commits into from
Jan 23, 2025
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: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ jobs:
needs: [build, test, lint]
runs-on: "ubuntu-24.04"
steps:
- uses: extractions/setup-just@v2
- uses: actions/checkout@v3
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
Expand Down
25 changes: 0 additions & 25 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1454
v1460
6 changes: 3 additions & 3 deletions stripe/_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ class ShippingAddress(StripeObject):
"""
network_transaction_id: Optional[str]
"""
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
"""
overcapture: Optional[Overcapture]
partial_authorization: Optional[PartialAuthorization]
Expand Down Expand Up @@ -1023,7 +1023,7 @@ class Wallet(StripeObject):
"""
network_transaction_id: Optional[str]
"""
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
"""
offline: Optional[Offline]
"""
Expand Down Expand Up @@ -1371,7 +1371,7 @@ class Receipt(StripeObject):
"""
network_transaction_id: Optional[str]
"""
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
"""
preferred_locales: Optional[List[str]]
"""
Expand Down
2 changes: 1 addition & 1 deletion stripe/_confirmation_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class Wallet(StripeObject):
"""
network_transaction_id: Optional[str]
"""
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
"""
offline: Optional[Offline]
"""
Expand Down
2 changes: 1 addition & 1 deletion stripe/_payment_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class Wallet(StripeObject):
"""
network_transaction_id: Optional[str]
"""
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
"""
offline: Optional[Offline]
"""
Expand Down
16 changes: 0 additions & 16 deletions stripe/terminal/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,6 @@ class Tipping(StripeObject):

Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
"""
stripe_account: Optional[str]
"""
This field will be deprecated. Please use `account` instead.
"""
_inner_class_types = {"collect_config": CollectConfig}

class ConfirmPaymentIntent(StripeObject):
Expand All @@ -262,10 +258,6 @@ class ConfirmPaymentIntent(StripeObject):
"""
Most recent PaymentIntent processed by the reader.
"""
stripe_account: Optional[str]
"""
This field will be deprecated. Please use `account` instead.
"""

class ProcessPaymentIntent(StripeObject):
class ProcessConfig(StripeObject):
Expand Down Expand Up @@ -301,10 +293,6 @@ class Tipping(StripeObject):
"""
Represents a per-transaction override of a reader configuration
"""
stripe_account: Optional[str]
"""
This field will be deprecated. Please use `account` instead.
"""
_inner_class_types = {"process_config": ProcessConfig}

class ProcessSetupIntent(StripeObject):
Expand Down Expand Up @@ -377,10 +365,6 @@ class RefundPaymentConfig(StripeObject):
"""
Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
"""
stripe_account: Optional[str]
"""
This field will be deprecated. Please use `account` instead.
"""
_inner_class_types = {"refund_payment_config": RefundPaymentConfig}

class SetReaderDisplay(StripeObject):
Expand Down
Loading