Skip to content

Commit 4efadea

Browse files
Update generated code for beta (#1447)
* add just to publish CI (#1446) * Update generated code for v1459 * Update generated code for v1460 --------- Co-authored-by: David Brownman <[email protected]> Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent c56f3f8 commit 4efadea

File tree

7 files changed

+7
-47
lines changed

7 files changed

+7
-47
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ jobs:
109109
needs: [build, test, lint]
110110
runs-on: "ubuntu-24.04"
111111
steps:
112+
- uses: extractions/setup-just@v2
112113
- uses: actions/checkout@v3
113114
- name: Download all workflow run artifacts
114115
uses: actions/download-artifact@v3

CONTRIBUTING.md

-25
This file was deleted.

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1454
1+
v1460

stripe/_charge.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ class ShippingAddress(StripeObject):
858858
"""
859859
network_transaction_id: Optional[str]
860860
"""
861-
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.
861+
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.
862862
"""
863863
overcapture: Optional[Overcapture]
864864
partial_authorization: Optional[PartialAuthorization]
@@ -1023,7 +1023,7 @@ class Wallet(StripeObject):
10231023
"""
10241024
network_transaction_id: Optional[str]
10251025
"""
1026-
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.
1026+
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.
10271027
"""
10281028
offline: Optional[Offline]
10291029
"""
@@ -1371,7 +1371,7 @@ class Receipt(StripeObject):
13711371
"""
13721372
network_transaction_id: Optional[str]
13731373
"""
1374-
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.
1374+
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.
13751375
"""
13761376
preferred_locales: Optional[List[str]]
13771377
"""

stripe/_confirmation_token.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ class Wallet(StripeObject):
355355
"""
356356
network_transaction_id: Optional[str]
357357
"""
358-
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.
358+
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.
359359
"""
360360
offline: Optional[Offline]
361361
"""

stripe/_payment_method.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class Wallet(StripeObject):
312312
"""
313313
network_transaction_id: Optional[str]
314314
"""
315-
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.
315+
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.
316316
"""
317317
offline: Optional[Offline]
318318
"""

stripe/terminal/_reader.py

-16
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,6 @@ class Tipping(StripeObject):
247247
248248
Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
249249
"""
250-
stripe_account: Optional[str]
251-
"""
252-
This field will be deprecated. Please use `account` instead.
253-
"""
254250
_inner_class_types = {"collect_config": CollectConfig}
255251

256252
class ConfirmPaymentIntent(StripeObject):
@@ -262,10 +258,6 @@ class ConfirmPaymentIntent(StripeObject):
262258
"""
263259
Most recent PaymentIntent processed by the reader.
264260
"""
265-
stripe_account: Optional[str]
266-
"""
267-
This field will be deprecated. Please use `account` instead.
268-
"""
269261

270262
class ProcessPaymentIntent(StripeObject):
271263
class ProcessConfig(StripeObject):
@@ -301,10 +293,6 @@ class Tipping(StripeObject):
301293
"""
302294
Represents a per-transaction override of a reader configuration
303295
"""
304-
stripe_account: Optional[str]
305-
"""
306-
This field will be deprecated. Please use `account` instead.
307-
"""
308296
_inner_class_types = {"process_config": ProcessConfig}
309297

310298
class ProcessSetupIntent(StripeObject):
@@ -377,10 +365,6 @@ class RefundPaymentConfig(StripeObject):
377365
"""
378366
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.
379367
"""
380-
stripe_account: Optional[str]
381-
"""
382-
This field will be deprecated. Please use `account` instead.
383-
"""
384368
_inner_class_types = {"refund_payment_config": RefundPaymentConfig}
385369

386370
class SetReaderDisplay(StripeObject):

0 commit comments

Comments
 (0)