stripe 13.4.0.pre.beta.3 → 13.4.0.pre.beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/charge.rb +3 -3
- data/lib/stripe/resources/confirmation_token.rb +1 -1
- data/lib/stripe/resources/payment_method.rb +1 -1
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/charge.rbi +3 -3
- data/rbi/stripe/resources/confirmation_token.rbi +1 -1
- data/rbi/stripe/resources/payment_method.rbi +1 -1
- data/rbi/stripe/resources/terminal/reader.rbi +0 -12
- metadata +2 -3
- data/CONTRIBUTING.md +0 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83f9406df604de1f6a02784990d3290cf2f80bfbcdf94d3a7000a7eb62166569
|
|
4
|
+
data.tar.gz: 2eae583b7dd71936dcd2d8868878cf48e2f123df6ddefca7429a4dff2f4638fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 153771167715675ec30c0bf340b57484fd5e0535b5f9d35f4cc4c6a5909dddc47061ab416b4b7f93624650d3406e297545101ccad7f10d6be0cd24fe6bf686bb
|
|
7
|
+
data.tar.gz: 85e619ed00ee185805364d40a23f7f1f5f6a348f71fee7b681e123e5690957f261d59e8d3f14b2ebf7ce79ad23b9f7e781fdfabc7381fda54d45da3a240e3c1c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 13.4.0-beta.4 - 2025-01-23
|
|
4
|
+
* [#1523](https://github.com/stripe/stripe-ruby/pull/1523) Update generated code for beta
|
|
5
|
+
* Removed support for `stripe_account` from `Stripe::Terminal::Reader`. Use `account` instead.
|
|
6
|
+
|
|
3
7
|
## 13.4.0-beta.3 - 2025-01-17
|
|
4
8
|
* [#1514](https://github.com/stripe/stripe-ruby/pull/1514) Update generated code for beta
|
|
5
9
|
|
data/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v1460
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
13.4.0-beta.
|
|
1
|
+
13.4.0-beta.4
|
|
@@ -498,7 +498,7 @@ module Stripe
|
|
|
498
498
|
attr_reader :network
|
|
499
499
|
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
500
500
|
attr_reader :network_token
|
|
501
|
-
# 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.
|
|
501
|
+
# 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.
|
|
502
502
|
attr_reader :network_transaction_id
|
|
503
503
|
# Attribute for field overcapture
|
|
504
504
|
attr_reader :overcapture
|
|
@@ -583,7 +583,7 @@ module Stripe
|
|
|
583
583
|
attr_reader :last4
|
|
584
584
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
585
585
|
attr_reader :network
|
|
586
|
-
# 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.
|
|
586
|
+
# 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.
|
|
587
587
|
attr_reader :network_transaction_id
|
|
588
588
|
# Details about payments collected offline.
|
|
589
589
|
attr_reader :offline
|
|
@@ -726,7 +726,7 @@ module Stripe
|
|
|
726
726
|
attr_reader :last4
|
|
727
727
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
728
728
|
attr_reader :network
|
|
729
|
-
# 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.
|
|
729
|
+
# 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.
|
|
730
730
|
attr_reader :network_transaction_id
|
|
731
731
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
|
732
732
|
attr_reader :preferred_locales
|
|
@@ -196,7 +196,7 @@ module Stripe
|
|
|
196
196
|
attr_reader :last4
|
|
197
197
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
198
198
|
attr_reader :network
|
|
199
|
-
# 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.
|
|
199
|
+
# 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.
|
|
200
200
|
attr_reader :network_transaction_id
|
|
201
201
|
# Details about payments collected offline.
|
|
202
202
|
attr_reader :offline
|
|
@@ -171,7 +171,7 @@ module Stripe
|
|
|
171
171
|
attr_reader :last4
|
|
172
172
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
173
173
|
attr_reader :network
|
|
174
|
-
# 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.
|
|
174
|
+
# 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.
|
|
175
175
|
attr_reader :network_transaction_id
|
|
176
176
|
# Details about payments collected offline.
|
|
177
177
|
attr_reader :offline
|
|
@@ -133,8 +133,6 @@ module Stripe
|
|
|
133
133
|
#
|
|
134
134
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
|
135
135
|
attr_reader :payment_method
|
|
136
|
-
# This field will be deprecated. Please use `account` instead.
|
|
137
|
-
attr_reader :stripe_account
|
|
138
136
|
end
|
|
139
137
|
|
|
140
138
|
class ConfirmPaymentIntent < Stripe::StripeObject
|
|
@@ -142,8 +140,6 @@ module Stripe
|
|
|
142
140
|
attr_reader :account
|
|
143
141
|
# Most recent PaymentIntent processed by the reader.
|
|
144
142
|
attr_reader :payment_intent
|
|
145
|
-
# This field will be deprecated. Please use `account` instead.
|
|
146
|
-
attr_reader :stripe_account
|
|
147
143
|
end
|
|
148
144
|
|
|
149
145
|
class ProcessPaymentIntent < Stripe::StripeObject
|
|
@@ -165,8 +161,6 @@ module Stripe
|
|
|
165
161
|
attr_reader :payment_intent
|
|
166
162
|
# Represents a per-transaction override of a reader configuration
|
|
167
163
|
attr_reader :process_config
|
|
168
|
-
# This field will be deprecated. Please use `account` instead.
|
|
169
|
-
attr_reader :stripe_account
|
|
170
164
|
end
|
|
171
165
|
|
|
172
166
|
class ProcessSetupIntent < Stripe::StripeObject
|
|
@@ -207,8 +201,6 @@ module Stripe
|
|
|
207
201
|
attr_reader :refund_payment_config
|
|
208
202
|
# 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.
|
|
209
203
|
attr_reader :reverse_transfer
|
|
210
|
-
# This field will be deprecated. Please use `account` instead.
|
|
211
|
-
attr_reader :stripe_account
|
|
212
204
|
end
|
|
213
205
|
|
|
214
206
|
class SetReaderDisplay < Stripe::StripeObject
|
data/lib/stripe/version.rb
CHANGED
|
@@ -628,7 +628,7 @@ module Stripe
|
|
|
628
628
|
# If this card has network token credentials, this contains the details of the network token credentials.
|
|
629
629
|
sig { returns(T.nilable(NetworkToken)) }
|
|
630
630
|
attr_reader :network_token
|
|
631
|
-
# 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.
|
|
631
|
+
# 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.
|
|
632
632
|
sig { returns(T.nilable(String)) }
|
|
633
633
|
attr_reader :network_transaction_id
|
|
634
634
|
# Attribute for field overcapture
|
|
@@ -746,7 +746,7 @@ module Stripe
|
|
|
746
746
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
747
747
|
sig { returns(T.nilable(String)) }
|
|
748
748
|
attr_reader :network
|
|
749
|
-
# 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.
|
|
749
|
+
# 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.
|
|
750
750
|
sig { returns(T.nilable(String)) }
|
|
751
751
|
attr_reader :network_transaction_id
|
|
752
752
|
# Details about payments collected offline.
|
|
@@ -932,7 +932,7 @@ module Stripe
|
|
|
932
932
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
933
933
|
sig { returns(T.nilable(String)) }
|
|
934
934
|
attr_reader :network
|
|
935
|
-
# 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.
|
|
935
|
+
# 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.
|
|
936
936
|
sig { returns(T.nilable(String)) }
|
|
937
937
|
attr_reader :network_transaction_id
|
|
938
938
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
|
@@ -241,7 +241,7 @@ module Stripe
|
|
|
241
241
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
242
242
|
sig { returns(T.nilable(String)) }
|
|
243
243
|
attr_reader :network
|
|
244
|
-
# 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.
|
|
244
|
+
# 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.
|
|
245
245
|
sig { returns(T.nilable(String)) }
|
|
246
246
|
attr_reader :network_transaction_id
|
|
247
247
|
# Details about payments collected offline.
|
|
@@ -207,7 +207,7 @@ module Stripe
|
|
|
207
207
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
208
208
|
sig { returns(T.nilable(String)) }
|
|
209
209
|
attr_reader :network
|
|
210
|
-
# 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.
|
|
210
|
+
# 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.
|
|
211
211
|
sig { returns(T.nilable(String)) }
|
|
212
212
|
attr_reader :network_transaction_id
|
|
213
213
|
# Details about payments collected offline.
|
|
@@ -154,9 +154,6 @@ module Stripe
|
|
|
154
154
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
|
155
155
|
sig { returns(Stripe::PaymentMethod) }
|
|
156
156
|
attr_reader :payment_method
|
|
157
|
-
# This field will be deprecated. Please use `account` instead.
|
|
158
|
-
sig { returns(String) }
|
|
159
|
-
attr_reader :stripe_account
|
|
160
157
|
end
|
|
161
158
|
class ConfirmPaymentIntent < Stripe::StripeObject
|
|
162
159
|
# Account the payment intent belongs to.
|
|
@@ -165,9 +162,6 @@ module Stripe
|
|
|
165
162
|
# Most recent PaymentIntent processed by the reader.
|
|
166
163
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
|
167
164
|
attr_reader :payment_intent
|
|
168
|
-
# This field will be deprecated. Please use `account` instead.
|
|
169
|
-
sig { returns(String) }
|
|
170
|
-
attr_reader :stripe_account
|
|
171
165
|
end
|
|
172
166
|
class ProcessPaymentIntent < Stripe::StripeObject
|
|
173
167
|
class ProcessConfig < Stripe::StripeObject
|
|
@@ -195,9 +189,6 @@ module Stripe
|
|
|
195
189
|
# Represents a per-transaction override of a reader configuration
|
|
196
190
|
sig { returns(ProcessConfig) }
|
|
197
191
|
attr_reader :process_config
|
|
198
|
-
# This field will be deprecated. Please use `account` instead.
|
|
199
|
-
sig { returns(String) }
|
|
200
|
-
attr_reader :stripe_account
|
|
201
192
|
end
|
|
202
193
|
class ProcessSetupIntent < Stripe::StripeObject
|
|
203
194
|
class ProcessConfig < Stripe::StripeObject
|
|
@@ -251,9 +242,6 @@ module Stripe
|
|
|
251
242
|
# 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.
|
|
252
243
|
sig { returns(T::Boolean) }
|
|
253
244
|
attr_reader :reverse_transfer
|
|
254
|
-
# This field will be deprecated. Please use `account` instead.
|
|
255
|
-
sig { returns(String) }
|
|
256
|
-
attr_reader :stripe_account
|
|
257
245
|
end
|
|
258
246
|
class SetReaderDisplay < Stripe::StripeObject
|
|
259
247
|
class Cart < Stripe::StripeObject
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stripe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 13.4.0.pre.beta.
|
|
4
|
+
version: 13.4.0.pre.beta.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-01-
|
|
11
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
|
14
14
|
for details.
|
|
@@ -20,7 +20,6 @@ extra_rdoc_files: []
|
|
|
20
20
|
files:
|
|
21
21
|
- CHANGELOG.md
|
|
22
22
|
- CODE_OF_CONDUCT.md
|
|
23
|
-
- CONTRIBUTING.md
|
|
24
23
|
- CONTRIBUTORS
|
|
25
24
|
- Gemfile
|
|
26
25
|
- History.txt
|
data/CONTRIBUTING.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Contributing
|
|
3
|
-
|
|
4
|
-
We welcome bug reports, feature requests, and code contributions in a pull request.
|
|
5
|
-
|
|
6
|
-
For most pull requests, we request that you identify or create an associated issue that has the necessary context. We use these issues to reach agreement on an approach and save the PR author from having to redo work. Fixing typos or documentation issues likely do not need an issue; for any issue that introduces substantial code changes, changes the public interface, or if you aren't sure, please find or [create an issue](https://www.github.com/stripe/stripe-ruby/issues/new/choose).
|
|
7
|
-
|
|
8
|
-
## Contributor License Agreement
|
|
9
|
-
|
|
10
|
-
All contributors must sign the Contributor License Agreement (CLA) before we can accept their contribution. If you have not yet signed the agreement, you will be given an option to do so when you open a pull request. You can then sign by clicking on the badge in the comment from @CLAassistant.
|
|
11
|
-
|
|
12
|
-
## Generated code
|
|
13
|
-
|
|
14
|
-
This project has a combination of manually maintained code and code generated from our private code generator. If your contribution involves changes to generated code, please call this out in the issue or pull request as we will likely need to make a change to our code generator before accepting the contribution.
|
|
15
|
-
|
|
16
|
-
To identify files with purely generated code, look for the comment `File generated from our OpenAPI spec.` at the start of the file. Generated blocks of code within hand-written files will be between comments that say `The beginning of the section generated from our OpenAPI spec` and `The end of the section generated from our OpenAPI spec`.
|
|
17
|
-
|
|
18
|
-
## Compatibility with supported language and runtime versions
|
|
19
|
-
|
|
20
|
-
This project supports [many different langauge and runtime versions](README.md#requirements) and we are unable to accept any contribution that does not work on _all_ supported versions. If, after discussing the approach in the associated issue, your change must use an API / feature that isn't available in all supported versions, please call this out explicitly in the issue or pull request so we can help figure out the best way forward.
|
|
21
|
-
|
|
22
|
-
## Set up your dev environment
|
|
23
|
-
|
|
24
|
-
Please refer to this project's [README.md](README.md#development) for instructions on how to set up your development environment.
|
|
25
|
-
|