Skip to content

Commit

Permalink
Update generated code for beta (#1447)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
stripe-openapi[bot] and xavdid-stripe authored Jan 23, 2025
1 parent c56f3f8 commit 4efadea
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 47 deletions.
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

0 comments on commit 4efadea

Please sign in to comment.