stripe 5.38.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +85 -0
  3. data/Makefile +7 -0
  4. data/README.md +3 -3
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/search.rb +19 -0
  7. data/lib/stripe/api_resource.rb +2 -17
  8. data/lib/stripe/api_resource_test_helpers.rb +47 -0
  9. data/lib/stripe/connection_manager.rb +22 -1
  10. data/lib/stripe/object_types.rb +12 -1
  11. data/lib/stripe/resources/cash_balance.rb +22 -0
  12. data/lib/stripe/resources/charge.rb +9 -0
  13. data/lib/stripe/resources/checkout/session.rb +11 -0
  14. data/lib/stripe/resources/customer.rb +33 -0
  15. data/lib/stripe/resources/discount.rb +1 -0
  16. data/lib/stripe/resources/financial_connections/account.rb +31 -0
  17. data/lib/stripe/resources/financial_connections/account_owner.rb +10 -0
  18. data/lib/stripe/resources/financial_connections/account_ownership.rb +10 -0
  19. data/lib/stripe/resources/financial_connections/session.rb +12 -0
  20. data/lib/stripe/resources/funding_instructions.rb +16 -0
  21. data/lib/stripe/resources/invoice.rb +9 -0
  22. data/lib/stripe/resources/issuing/card_details.rb +2 -1
  23. data/lib/stripe/resources/order.rb +26 -6
  24. data/lib/stripe/resources/payment_intent.rb +39 -0
  25. data/lib/stripe/resources/payment_link.rb +23 -0
  26. data/lib/stripe/resources/price.rb +9 -0
  27. data/lib/stripe/resources/product.rb +9 -0
  28. data/lib/stripe/resources/refund.rb +30 -0
  29. data/lib/stripe/resources/setup_intent.rb +10 -0
  30. data/lib/stripe/resources/shipping_rate.rb +12 -0
  31. data/lib/stripe/resources/source_transaction.rb +1 -0
  32. data/lib/stripe/resources/subscription.rb +9 -0
  33. data/lib/stripe/resources/terminal/configuration.rb +15 -0
  34. data/lib/stripe/resources/terminal/reader.rb +60 -0
  35. data/lib/stripe/resources/test_helpers/test_clock.rb +25 -0
  36. data/lib/stripe/resources.rb +10 -1
  37. data/lib/stripe/search_result_object.rb +86 -0
  38. data/lib/stripe/stripe_client.rb +12 -5
  39. data/lib/stripe/util.rb +47 -0
  40. data/lib/stripe/version.rb +1 -1
  41. data/lib/stripe.rb +4 -1
  42. data/stripe.gemspec +3 -3
  43. metadata +19 -6
  44. data/lib/stripe/resources/order_return.rb +0 -10
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: 5.38.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-10 00:00:00.000000000 Z
11
+ date: 2022-05-09 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.
@@ -24,6 +24,7 @@ files:
24
24
  - Gemfile
25
25
  - History.txt
26
26
  - LICENSE
27
+ - Makefile
27
28
  - README.md
28
29
  - Rakefile
29
30
  - VERSION
@@ -36,7 +37,9 @@ files:
36
37
  - lib/stripe/api_operations/nested_resource.rb
37
38
  - lib/stripe/api_operations/request.rb
38
39
  - lib/stripe/api_operations/save.rb
40
+ - lib/stripe/api_operations/search.rb
39
41
  - lib/stripe/api_resource.rb
42
+ - lib/stripe/api_resource_test_helpers.rb
40
43
  - lib/stripe/connection_manager.rb
41
44
  - lib/stripe/error_object.rb
42
45
  - lib/stripe/errors.rb
@@ -61,6 +64,7 @@ files:
61
64
  - lib/stripe/resources/bitcoin_transaction.rb
62
65
  - lib/stripe/resources/capability.rb
63
66
  - lib/stripe/resources/card.rb
67
+ - lib/stripe/resources/cash_balance.rb
64
68
  - lib/stripe/resources/charge.rb
65
69
  - lib/stripe/resources/checkout/session.rb
66
70
  - lib/stripe/resources/country_spec.rb
@@ -76,6 +80,11 @@ files:
76
80
  - lib/stripe/resources/exchange_rate.rb
77
81
  - lib/stripe/resources/file.rb
78
82
  - lib/stripe/resources/file_link.rb
83
+ - lib/stripe/resources/financial_connections/account.rb
84
+ - lib/stripe/resources/financial_connections/account_owner.rb
85
+ - lib/stripe/resources/financial_connections/account_ownership.rb
86
+ - lib/stripe/resources/financial_connections/session.rb
87
+ - lib/stripe/resources/funding_instructions.rb
79
88
  - lib/stripe/resources/identity/verification_report.rb
80
89
  - lib/stripe/resources/identity/verification_session.rb
81
90
  - lib/stripe/resources/invoice.rb
@@ -91,8 +100,8 @@ files:
91
100
  - lib/stripe/resources/login_link.rb
92
101
  - lib/stripe/resources/mandate.rb
93
102
  - lib/stripe/resources/order.rb
94
- - lib/stripe/resources/order_return.rb
95
103
  - lib/stripe/resources/payment_intent.rb
104
+ - lib/stripe/resources/payment_link.rb
96
105
  - lib/stripe/resources/payment_method.rb
97
106
  - lib/stripe/resources/payout.rb
98
107
  - lib/stripe/resources/person.rb
@@ -113,6 +122,7 @@ files:
113
122
  - lib/stripe/resources/review.rb
114
123
  - lib/stripe/resources/setup_attempt.rb
115
124
  - lib/stripe/resources/setup_intent.rb
125
+ - lib/stripe/resources/shipping_rate.rb
116
126
  - lib/stripe/resources/sigma/scheduled_query_run.rb
117
127
  - lib/stripe/resources/sku.rb
118
128
  - lib/stripe/resources/source.rb
@@ -123,9 +133,11 @@ files:
123
133
  - lib/stripe/resources/tax_code.rb
124
134
  - lib/stripe/resources/tax_id.rb
125
135
  - lib/stripe/resources/tax_rate.rb
136
+ - lib/stripe/resources/terminal/configuration.rb
126
137
  - lib/stripe/resources/terminal/connection_token.rb
127
138
  - lib/stripe/resources/terminal/location.rb
128
139
  - lib/stripe/resources/terminal/reader.rb
140
+ - lib/stripe/resources/test_helpers/test_clock.rb
129
141
  - lib/stripe/resources/three_d_secure.rb
130
142
  - lib/stripe/resources/token.rb
131
143
  - lib/stripe/resources/topup.rb
@@ -133,6 +145,7 @@ files:
133
145
  - lib/stripe/resources/usage_record.rb
134
146
  - lib/stripe/resources/usage_record_summary.rb
135
147
  - lib/stripe/resources/webhook_endpoint.rb
148
+ - lib/stripe/search_result_object.rb
136
149
  - lib/stripe/singleton_api_resource.rb
137
150
  - lib/stripe/stripe_client.rb
138
151
  - lib/stripe/stripe_configuration.rb
@@ -142,15 +155,15 @@ files:
142
155
  - lib/stripe/version.rb
143
156
  - lib/stripe/webhook.rb
144
157
  - stripe.gemspec
145
- homepage: https://stripe.com/docs/api/ruby
158
+ homepage: https://stripe.com/docs/api?lang=ruby
146
159
  licenses:
147
160
  - MIT
148
161
  metadata:
149
162
  bug_tracker_uri: https://github.com/stripe/stripe-ruby/issues
150
163
  changelog_uri: https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md
151
- documentation_uri: https://stripe.com/docs/api/ruby
164
+ documentation_uri: https://stripe.com/docs/api?lang=ruby
152
165
  github_repo: ssh://github.com/stripe/stripe-ruby
153
- homepage_uri: https://stripe.com/docs/api/ruby
166
+ homepage_uri: https://stripe.com/docs/api?lang=ruby
154
167
  source_code_uri: https://github.com/stripe/stripe-ruby
155
168
  post_install_message:
156
169
  rdoc_options: []
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- class OrderReturn < APIResource
6
- extend Stripe::APIOperations::List
7
-
8
- OBJECT_NAME = "order_return"
9
- end
10
- end