stripe 8.2.0.pre.beta.1 → 8.2.0.pre.beta.2
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 +6 -1
- data/OPENAPI_VERSION +1 -1
- data/README.md +5 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/tax/settings.rb +15 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8397ec44dfe136b98575f23ae600640db106e9aec01c7203b7ded2b25a2900a8
|
|
4
|
+
data.tar.gz: fda895176cc529320c40a1a0db40c4b2603a4dc9724752d6e1b796d160371b11
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48fe6def388a78255c8457ed131b6b1210b50785f79f3b5e38fb155edb57baba7a4f7ba3f66bbb5ecd890561eeee2ec37f9a1511fde8df55479ae5c55aac8fd5
|
|
7
|
+
data.tar.gz: f1e11cf42f0bb769f8c073ec8cac15496c03863828a3797085cdfae3c9c961cc68102f2ece3377f68edb6422058f5c3a2c46db336e45e9af20513ec8d494c3bd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.2.0-beta.2 - 2023-01-19
|
|
4
|
+
* [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
|
|
5
|
+
* Updated stable APIs to the latest version
|
|
6
|
+
* Add support for `Tax.Settings` resource.
|
|
7
|
+
|
|
3
8
|
## 8.2.0-beta.1 - 2023-01-12
|
|
4
9
|
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
|
5
10
|
* Updated stable APIs to the latest version
|
|
6
11
|
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
|
7
|
-
* Add support for `Tax::Register` resource
|
|
12
|
+
* Add support for `Tax::Register` resource
|
|
8
13
|
|
|
9
14
|
## 8.1.0 - 2023-01-12
|
|
10
15
|
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
data/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v219
|
data/README.md
CHANGED
|
@@ -253,7 +253,11 @@ a success or error. Receives `RequestEndEvent` with the following properties:
|
|
|
253
253
|
- `path`: Request path. (`String`)
|
|
254
254
|
- `user_data`: A hash on which users may have set arbitrary data in
|
|
255
255
|
`request_begin`. See above for more information. (`Hash`)
|
|
256
|
-
- `request_id
|
|
256
|
+
- `request_id`: HTTP request identifier. (`String`)
|
|
257
|
+
- `response_header`: The response headers. (`Hash`)
|
|
258
|
+
- `response_body` = The response body. (`String`)
|
|
259
|
+
- `request_header` = The request headers. (`Hash`)
|
|
260
|
+
- `request_body` = The request body. (`String`)
|
|
257
261
|
|
|
258
262
|
#### Example
|
|
259
263
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
8.2.0-beta.
|
|
1
|
+
8.2.0-beta.2
|
data/lib/stripe/object_types.rb
CHANGED
|
@@ -99,6 +99,7 @@ module Stripe
|
|
|
99
99
|
SubscriptionSchedule::OBJECT_NAME => SubscriptionSchedule,
|
|
100
100
|
Tax::Calculation::OBJECT_NAME => Tax::Calculation,
|
|
101
101
|
Tax::Registration::OBJECT_NAME => Tax::Registration,
|
|
102
|
+
Tax::Settings::OBJECT_NAME => Tax::Settings,
|
|
102
103
|
Tax::Transaction::OBJECT_NAME => Tax::Transaction,
|
|
103
104
|
TaxCode::OBJECT_NAME => TaxCode,
|
|
104
105
|
TaxId::OBJECT_NAME => TaxId,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Tax
|
|
6
|
+
# You can use Tax `Settings` to manage configurations used by Stripe Tax calculations.
|
|
7
|
+
#
|
|
8
|
+
# Related guide: [Account settings](https://stripe.com/docs/tax/connect/settings).
|
|
9
|
+
class Settings < SingletonAPIResource
|
|
10
|
+
include Stripe::APIOperations::Save
|
|
11
|
+
|
|
12
|
+
OBJECT_NAME = "tax.settings"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/lib/stripe/resources.rb
CHANGED
|
@@ -86,6 +86,7 @@ require "stripe/resources/subscription_item"
|
|
|
86
86
|
require "stripe/resources/subscription_schedule"
|
|
87
87
|
require "stripe/resources/tax/calculation"
|
|
88
88
|
require "stripe/resources/tax/registration"
|
|
89
|
+
require "stripe/resources/tax/settings"
|
|
89
90
|
require "stripe/resources/tax/transaction"
|
|
90
91
|
require "stripe/resources/tax_code"
|
|
91
92
|
require "stripe/resources/tax_id"
|
data/lib/stripe/version.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: 8.2.0.pre.beta.
|
|
4
|
+
version: 8.2.0.pre.beta.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-19 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.
|
|
@@ -138,6 +138,7 @@ files:
|
|
|
138
138
|
- lib/stripe/resources/subscription_schedule.rb
|
|
139
139
|
- lib/stripe/resources/tax/calculation.rb
|
|
140
140
|
- lib/stripe/resources/tax/registration.rb
|
|
141
|
+
- lib/stripe/resources/tax/settings.rb
|
|
141
142
|
- lib/stripe/resources/tax/transaction.rb
|
|
142
143
|
- lib/stripe/resources/tax_code.rb
|
|
143
144
|
- lib/stripe/resources/tax_id.rb
|