stripe 11.0.0 → 11.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Makefile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +2 -2
- data/lib/stripe/resources/billing/meter.rb +1 -1
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/forwarding/request.rb +3 -3
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/setup_intent.rb +4 -4
- data/lib/stripe/resources/usage_record.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2df89dabe27f57ff54645723cad1cc28531ebf032937475be2ca95fac655c60
|
4
|
+
data.tar.gz: 54913826d87f972d8063ff116975144b4c02605d71cc898a8bb8fbafb5fd4b3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ded6bd3ed615765e5ea91d1b89081ed97be2ddeb17eadb870f9bbfa7f4c2f2b73432870360f05fb7728d16969da0603fcf2999f0b7364f03e616445cc58aa0
|
7
|
+
data.tar.gz: 41187f95412cec224776e5ab72c685383e6a4e14ff33ddca645f51a1fc11abf060de7499d3d64454efb12cb7436e7fae36c2d611a65c1e43b1ed6a190dd82ff4
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
# Changelog
|
2
|
+
## 11.1.0 - 2024-04-16
|
3
|
+
* [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
|
4
|
+
* Add support for new resource `Entitlements.ActiveEntitlementSummary`
|
5
|
+
* [#1382](https://github.com/stripe/stripe-ruby/pull/1382) Revert Makefile change to allow autoformatting in codegen
|
6
|
+
* [#1380](https://github.com/stripe/stripe-ruby/pull/1380) Rename section for object types
|
7
|
+
|
2
8
|
## 11.0.0 - 2024-04-10
|
3
9
|
* [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
|
4
10
|
|
data/Makefile
CHANGED
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v961
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
11.
|
1
|
+
11.1.0
|
data/lib/stripe/object_types.rb
CHANGED
@@ -12,7 +12,7 @@ module Stripe
|
|
12
12
|
SearchResultObject.object_name => SearchResultObject,
|
13
13
|
File.object_name_alt => File,
|
14
14
|
|
15
|
-
# The beginning of the section generated from our OpenAPI spec
|
15
|
+
# object classes: The beginning of the section generated from our OpenAPI spec
|
16
16
|
Account.object_name => Account,
|
17
17
|
AccountLink.object_name => AccountLink,
|
18
18
|
AccountSession.object_name => AccountSession,
|
@@ -139,7 +139,7 @@ module Stripe
|
|
139
139
|
UsageRecord.object_name => UsageRecord,
|
140
140
|
UsageRecordSummary.object_name => UsageRecordSummary,
|
141
141
|
WebhookEndpoint.object_name => WebhookEndpoint,
|
142
|
-
# The end of the section generated from our OpenAPI spec
|
142
|
+
# object classes: The end of the section generated from our OpenAPI spec
|
143
143
|
}
|
144
144
|
end
|
145
145
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
module Billing
|
6
|
-
# A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then
|
6
|
+
# A billing meter is a resource that allows you to track usage of a particular event. For example, you might create a billing meter to track the number of API calls made by a particular user. You can then attach the billing meter to a price and attach the price to a subscription to charge the user for the number of API calls they make.
|
7
7
|
class Meter < APIResource
|
8
8
|
extend Stripe::APIOperations::Create
|
9
9
|
extend Stripe::APIOperations::List
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
module Billing
|
6
|
-
# A billing meter event adjustment
|
6
|
+
# A billing meter event adjustment is a resource that allows you to cancel a meter event. For example, you might create a billing meter event adjustment to cancel a meter event that was created in error or attached to the wrong customer.
|
7
7
|
class MeterEventAdjustment < APIResource
|
8
8
|
extend Stripe::APIOperations::Create
|
9
9
|
|
@@ -3,9 +3,9 @@
|
|
3
3
|
|
4
4
|
module Stripe
|
5
5
|
module Forwarding
|
6
|
-
# Instructs Stripe to make a request on your behalf using the destination URL
|
7
|
-
#
|
8
|
-
#
|
6
|
+
# Instructs Stripe to make a request on your behalf using the destination URL. The destination URL
|
7
|
+
# is activated by Stripe at the time of onboarding. Stripe verifies requests with your credentials
|
8
|
+
# provided during onboarding, and injects card details from the payment_method into the request.
|
9
9
|
#
|
10
10
|
# Stripe redacts all sensitive fields and headers, including authentication credentials and card numbers,
|
11
11
|
# before storing the request and response data in the forwarding Request object, which are subject to a
|
@@ -14,7 +14,7 @@ module Stripe
|
|
14
14
|
# transfer only if the destination account has enough balance to cover the
|
15
15
|
# reversal.
|
16
16
|
#
|
17
|
-
# Related guide: [
|
17
|
+
# Related guide: [Reverse transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reverse-transfers)
|
18
18
|
class Reversal < APIResource
|
19
19
|
include Stripe::APIOperations::Save
|
20
20
|
|
@@ -8,13 +8,13 @@ module Stripe
|
|
8
8
|
#
|
9
9
|
# Create a SetupIntent when you're ready to collect your customer's payment credentials.
|
10
10
|
# Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
|
11
|
-
# The SetupIntent transitions through multiple [statuses](https://stripe.com/
|
11
|
+
# The SetupIntent transitions through multiple [statuses](https://docs.stripe.com/payments/intents#intent-statuses) as it guides
|
12
12
|
# you through the setup process.
|
13
13
|
#
|
14
14
|
# Successful SetupIntents result in payment credentials that are optimized for future payments.
|
15
15
|
# For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
|
16
|
-
# [Strong Customer Authentication](https://stripe.com/
|
17
|
-
# to streamline later [off-session payments](https://stripe.com/
|
16
|
+
# [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
|
17
|
+
# to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
|
18
18
|
# If you use the SetupIntent with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer),
|
19
19
|
# it automatically attaches the resulting payment method to that Customer after successful setup.
|
20
20
|
# We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on
|
@@ -22,7 +22,7 @@ module Stripe
|
|
22
22
|
#
|
23
23
|
# By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
|
24
24
|
#
|
25
|
-
# Related guide: [Setup Intents API](https://stripe.com/
|
25
|
+
# Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
|
26
26
|
class SetupIntent < APIResource
|
27
27
|
extend Stripe::APIOperations::Create
|
28
28
|
extend Stripe::APIOperations::List
|
@@ -6,6 +6,8 @@ module Stripe
|
|
6
6
|
# metered billing of subscription prices.
|
7
7
|
#
|
8
8
|
# Related guide: [Metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing)
|
9
|
+
#
|
10
|
+
# This is our legacy usage-based billing API. See the [updated usage-based billing docs](https://docs.stripe.com/billing/subscriptions/usage-based).
|
9
11
|
class UsageRecord < APIResource
|
10
12
|
OBJECT_NAME = "usage_record"
|
11
13
|
def self.object_name
|
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: 11.
|
4
|
+
version: 11.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-16 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.
|