stripe 12.7.0.pre.beta.1 → 12.7.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a28eea7210e0da0558af21bc838ee11c187d3430a33311cb70ae7a04e2a851f
4
- data.tar.gz: 737bd1a6a90163853edfb5224f6d0e22e2fa1aba9b393c8688a67a011740cb45
3
+ metadata.gz: baccff36bc3c05653ea6db905dbb388ab87127e4bf722930051e170ebe38b8e3
4
+ data.tar.gz: 1a6e9187f2e9283d35313223dbf71c54637445af5153d26532bb8cc2b547e52b
5
5
  SHA512:
6
- metadata.gz: 2d632ecbccee9bb3cdf7389ebdf83b301533d16c0c1787f23d31c6acd7d85c4663c74d85e9b0afab9f55fb22adf0bb252455fd3a01aa0ca1ca00c45220a4ed7c
7
- data.tar.gz: 2f08772bfb81b88ff1310b677470342d41110dd0361e4ff6ea784af7efd37c720a8443e57287d104b49c080aa8b73c50dbf649b52ee72cff3c8e692d4355c2a5
6
+ metadata.gz: 7f1d75169b9c872a3bfa3bcc81e01e3b311e37a0cb458e237e5dee15f9ed7c268c2d211d8c2302371b3570965cdab0a69205bc2fa842eed29323987c6ca079ee
7
+ data.tar.gz: fa91a27ac219a9236ee2fa7443ac467b7e82640ea55fa90ad63ba9f8d965accf007aef216e1d2025e06176d109284e623c0f9889ede83ced264bef494c9df974
data/CHANGELOG.md CHANGED
@@ -1,11 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 12.7.0-beta.2 - 2024-09-18
4
+ * [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
5
+ * Remove support for resource `QuotePhase`
6
+ * Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
7
+
3
8
  ## 12.7.0-beta.1 - 2024-09-13
4
9
  * [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
5
10
  * Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
6
11
  * Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
7
12
  * Remove support for `list` method on resource `QuotePhase`
8
13
 
14
+ ## 12.6.0 - 2024-09-12
15
+ * [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
16
+ * Add support for new resource `InvoiceRenderingTemplate`
17
+ * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
18
+ * [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
19
+
9
20
  ## 12.6.0-beta.1 - 2024-09-05
10
21
  * [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
11
22
  * Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v1258
1
+ v1267
data/VERSION CHANGED
@@ -1 +1 @@
1
- 12.7.0-beta.1
1
+ 12.7.0-beta.2
@@ -4,6 +4,6 @@
4
4
  module Stripe
5
5
  module ApiVersion
6
6
  CURRENT = "2024-06-20"
7
- PREVIEW = "2024-09-05.preview-v2"
7
+ PREVIEW = "cs_ubb_launch"
8
8
  end
9
9
  end
@@ -107,7 +107,6 @@ module Stripe
107
107
  ProductFeature.object_name => ProductFeature,
108
108
  PromotionCode.object_name => PromotionCode,
109
109
  Quote.object_name => Quote,
110
- QuotePhase.object_name => QuotePhase,
111
110
  QuotePreviewInvoice.object_name => QuotePreviewInvoice,
112
111
  QuotePreviewSubscriptionSchedule.object_name => QuotePreviewSubscriptionSchedule,
113
112
  Radar::EarlyFraudWarning.object_name => Radar::EarlyFraudWarning,
@@ -2,6 +2,8 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Stripe
5
+ # Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates
6
+ # can be created from within the Dashboard, and they can be used over the API when creating invoices.
5
7
  class InvoiceRenderingTemplate < APIResource
6
8
  extend Stripe::APIOperations::List
7
9
 
@@ -94,7 +94,6 @@ require "stripe/resources/product"
94
94
  require "stripe/resources/product_feature"
95
95
  require "stripe/resources/promotion_code"
96
96
  require "stripe/resources/quote"
97
- require "stripe/resources/quote_phase"
98
97
  require "stripe/resources/quote_preview_invoice"
99
98
  require "stripe/resources/quote_preview_subscription_schedule"
100
99
  require "stripe/resources/radar/early_fraud_warning"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "12.7.0-beta.1"
4
+ VERSION = "12.7.0-beta.2"
5
5
  end
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: 12.7.0.pre.beta.1
4
+ version: 12.7.0.pre.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-13 00:00:00.000000000 Z
11
+ date: 2024-09-18 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.
@@ -147,7 +147,6 @@ files:
147
147
  - lib/stripe/resources/product_feature.rb
148
148
  - lib/stripe/resources/promotion_code.rb
149
149
  - lib/stripe/resources/quote.rb
150
- - lib/stripe/resources/quote_phase.rb
151
150
  - lib/stripe/resources/quote_preview_invoice.rb
152
151
  - lib/stripe/resources/quote_preview_subscription_schedule.rb
153
152
  - lib/stripe/resources/radar/early_fraud_warning.rb
@@ -1,32 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- # A quote phase describes the line items, coupons, and trialing status of a subscription for a predefined time period.
6
- class QuotePhase < APIResource
7
- OBJECT_NAME = "quote_phase"
8
- def self.object_name
9
- "quote_phase"
10
- end
11
-
12
- # When retrieving a quote phase, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
13
- def list_line_items(params = {}, opts = {})
14
- request_stripe_object(
15
- method: :get,
16
- path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(self["id"]) }),
17
- params: params,
18
- opts: opts
19
- )
20
- end
21
-
22
- # When retrieving a quote phase, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
23
- def self.list_line_items(quote_phase, params = {}, opts = {})
24
- request_stripe_object(
25
- method: :get,
26
- path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(quote_phase) }),
27
- params: params,
28
- opts: opts
29
- )
30
- end
31
- end
32
- end