stripe 7.0.0 → 7.1.0.pre.beta.1
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 +19 -18
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/quote_phase.rb +28 -0
- data/lib/stripe/resources/subscription_schedule.rb +18 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 803504fb9cf5348f6c69d73dce412e713d60da6eeb583598a269fdf6e74d1519
|
4
|
+
data.tar.gz: e2ec613485ac48c5118ce5bfdf9179fbf369f62f91ba4b38e3c4918050310f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ca2cd6e815e5acbca268b1c6be2be3651b1486c7377334e4de6b016091b9602479782b0a774d9429ac3bf753199db5c0c21ee00e34faa100a85fba8eb31ea5a
|
7
|
+
data.tar.gz: 459abca01397a4f89a6740c48e51e613e821ec7a877f24a1864d939ed993b2b45cac574a9b513f3187aa06a57987eeb10ee070b9a1f7cc81edb955285d69fbf2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.1.0-beta.1 - 2022-08-03
|
4
|
+
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
|
5
|
+
- Updated stable APIs to the latest version
|
6
|
+
- Added the `Order` resource support
|
7
|
+
|
3
8
|
## 7.0.0 - 2022-08-02
|
4
9
|
|
5
10
|
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
|
@@ -11,21 +16,19 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
11
16
|
* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
|
12
17
|
* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
|
13
18
|
|
14
|
-
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
*
|
25
|
-
|
26
|
-
*
|
27
|
-
* Remove ability to list `Card` resource for a `Recipient`.
|
28
|
-
* Remove `cancel` method from `Transfer` resource. The method was deprecated.
|
19
|
+
## 6.6.0-beta.1 - 2022-07-22
|
20
|
+
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
|
21
|
+
- Updated stable APIs to the latest version
|
22
|
+
- Add `QuotePhase` resource
|
23
|
+
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
|
24
|
+
- Updated stable APIs to the latest version
|
25
|
+
- Add `SubscriptionSchedule.amend` method.
|
26
|
+
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
|
27
|
+
- Include `server_side_confirmation_beta=v1` beta
|
28
|
+
- Add `secretKeyConfirmation` to `PaymentIntent`
|
29
|
+
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
|
30
|
+
- Updated stable APIs to the latest version
|
31
|
+
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
|
29
32
|
|
30
33
|
## 6.5.0 - 2022-06-29
|
31
34
|
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
|
@@ -55,8 +58,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
55
58
|
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
|
56
59
|
* Add support for `retrieve_payment_method` method on resource `Customer`
|
57
60
|
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
|
58
|
-
|
59
|
-
|
60
61
|
|
61
62
|
## 6.0.0 - 2022-05-09
|
62
63
|
* [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
|
@@ -72,7 +73,6 @@ Breaking changes that arose during code generation of the library that we postpo
|
|
72
73
|
## 5.55.0 - 2022-05-05
|
73
74
|
* [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
|
74
75
|
* Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
|
75
|
-
|
76
76
|
|
77
77
|
## 5.54.0 - 2022-05-03
|
78
78
|
* [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
|
@@ -1103,3 +1103,4 @@ Identical to 1.56.0 above. I incorrectly cut a patch-level release.
|
|
1103
1103
|
<!--
|
1104
1104
|
# vim: set tw=0:
|
1105
1105
|
-->
|
1106
|
+
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v175
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.0.
|
1
|
+
7.1.0-beta.1
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/object_types.rb
CHANGED
@@ -72,6 +72,7 @@ module Stripe
|
|
72
72
|
Product::OBJECT_NAME => Product,
|
73
73
|
PromotionCode::OBJECT_NAME => PromotionCode,
|
74
74
|
Quote::OBJECT_NAME => Quote,
|
75
|
+
QuotePhase::OBJECT_NAME => QuotePhase,
|
75
76
|
Radar::EarlyFraudWarning::OBJECT_NAME => Radar::EarlyFraudWarning,
|
76
77
|
Radar::ValueList::OBJECT_NAME => Radar::ValueList,
|
77
78
|
Radar::ValueListItem::OBJECT_NAME => Radar::ValueListItem,
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
class QuotePhase < APIResource
|
6
|
+
extend Stripe::APIOperations::List
|
7
|
+
|
8
|
+
OBJECT_NAME = "quote_phase"
|
9
|
+
|
10
|
+
def list_line_items(params = {}, opts = {})
|
11
|
+
request_stripe_object(
|
12
|
+
method: :get,
|
13
|
+
path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(self["id"]) }),
|
14
|
+
params: params,
|
15
|
+
opts: opts
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.list_line_items(quote_phase, params = {}, opts = {})
|
20
|
+
request_stripe_object(
|
21
|
+
method: :get,
|
22
|
+
path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(quote_phase) }),
|
23
|
+
params: params,
|
24
|
+
opts: opts
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -9,6 +9,15 @@ module Stripe
|
|
9
9
|
|
10
10
|
OBJECT_NAME = "subscription_schedule"
|
11
11
|
|
12
|
+
def amend(params = {}, opts = {})
|
13
|
+
request_stripe_object(
|
14
|
+
method: :post,
|
15
|
+
path: format("/v1/subscription_schedules/%<schedule>s/amend", { schedule: CGI.escape(self["id"]) }),
|
16
|
+
params: params,
|
17
|
+
opts: opts
|
18
|
+
)
|
19
|
+
end
|
20
|
+
|
12
21
|
def cancel(params = {}, opts = {})
|
13
22
|
request_stripe_object(
|
14
23
|
method: :post,
|
@@ -27,6 +36,15 @@ module Stripe
|
|
27
36
|
)
|
28
37
|
end
|
29
38
|
|
39
|
+
def self.amend(schedule, params = {}, opts = {})
|
40
|
+
request_stripe_object(
|
41
|
+
method: :post,
|
42
|
+
path: format("/v1/subscription_schedules/%<schedule>s/amend", { schedule: CGI.escape(schedule) }),
|
43
|
+
params: params,
|
44
|
+
opts: opts
|
45
|
+
)
|
46
|
+
end
|
47
|
+
|
30
48
|
def self.cancel(schedule, params = {}, opts = {})
|
31
49
|
request_stripe_object(
|
32
50
|
method: :post,
|
data/lib/stripe/resources.rb
CHANGED
@@ -59,6 +59,7 @@ require "stripe/resources/price"
|
|
59
59
|
require "stripe/resources/product"
|
60
60
|
require "stripe/resources/promotion_code"
|
61
61
|
require "stripe/resources/quote"
|
62
|
+
require "stripe/resources/quote_phase"
|
62
63
|
require "stripe/resources/radar/early_fraud_warning"
|
63
64
|
require "stripe/resources/radar/value_list"
|
64
65
|
require "stripe/resources/radar/value_list_item"
|
data/lib/stripe/version.rb
CHANGED
data/lib/stripe.rb
CHANGED
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: 7.0.
|
4
|
+
version: 7.1.0.pre.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-03 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.
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- lib/stripe/resources/product.rb
|
111
111
|
- lib/stripe/resources/promotion_code.rb
|
112
112
|
- lib/stripe/resources/quote.rb
|
113
|
+
- lib/stripe/resources/quote_phase.rb
|
113
114
|
- lib/stripe/resources/radar/early_fraud_warning.rb
|
114
115
|
- lib/stripe/resources/radar/value_list.rb
|
115
116
|
- lib/stripe/resources/radar/value_list_item.rb
|
@@ -184,9 +185,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
185
|
version: 2.3.0
|
185
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
187
|
requirements:
|
187
|
-
- - "
|
188
|
+
- - ">"
|
188
189
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
190
|
+
version: 1.3.1
|
190
191
|
requirements: []
|
191
192
|
rubygems_version: 3.3.7
|
192
193
|
signing_key:
|