stripe 9.5.0.pre.beta.1 → 9.5.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: ffa1ec982a25761b4fbcde466352c0d7b33c271b4984cfd6d8952f022c708d28
4
- data.tar.gz: d0b809023169184e8988ed38b95056cbe266198a171ff057016f95ca0b42a731
3
+ metadata.gz: e3ac921745f7f9ade50f258d6121845a356fffd5c9567d0749da1020ee89fd2e
4
+ data.tar.gz: bcc1603ef1c753693a20a154788192fbb509224aa5421ed0a339abf391027de5
5
5
  SHA512:
6
- metadata.gz: 28575518bc3d43f30b58cec8f077e9ee19d1a8b289bfba46a2229c13436dc1f48e857ac33a2cb7ce7e7a085a7411bb78ebd33ee49d8f14482e39b269e0aea8cf
7
- data.tar.gz: 840eb431868dd83b08ebb1800983e49eb3a9f2842745c570ec54944e6d0e9c30c9057f776c7c37b39596ff561e0469116c215824841fc0584fbe0fbd596aad42
6
+ metadata.gz: a4a22ab9d347bb9db0f0f58a6a20b0d5d09f94ab0b56060bbfe8a271024d4db904c9a537af8cb9bcfef93171f83bc7555abc3b484e71efc174a80d6309005fe6
7
+ data.tar.gz: f9ac4cddfd786a136737580feaf4f381c6fa362336ea9c026c414e22b2c9375658f4326306a54728d9156817d571cf530207a05cac393674a3cf39b8aa9206bd
data/CHANGELOG.md CHANGED
@@ -1,11 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.5.0-beta.2 - 2023-10-12
4
+ * [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
5
+ * Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
6
+ * Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
7
+ * Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
8
+
3
9
  ## 9.5.0-beta.1 - 2023-10-05
4
10
  * [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
5
11
  * Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
6
12
  * Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
7
13
  * Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
8
14
 
15
+ ## 9.4.0 - 2023-10-05
16
+ * [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
17
+ * Add support for new resources `Issuing.Token`
18
+ * Add support for `list`, `retrieve`, and `update` methods on resource `Token`
9
19
 
10
20
  ## 9.4.0-beta.3 - 2023-09-28
11
21
  * [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v582
1
+ v591
data/VERSION CHANGED
@@ -1 +1 @@
1
- 9.5.0-beta.1
1
+ 9.5.0-beta.2
@@ -14,6 +14,7 @@ module Stripe
14
14
  # business objects
15
15
  Account::OBJECT_NAME => Account,
16
16
  AccountLink::OBJECT_NAME => AccountLink,
17
+ AccountNotice::OBJECT_NAME => AccountNotice,
17
18
  AccountSession::OBJECT_NAME => AccountSession,
18
19
  ApplePayDomain::OBJECT_NAME => ApplePayDomain,
19
20
  ApplicationFee::OBJECT_NAME => ApplicationFee,
@@ -68,6 +69,7 @@ module Stripe
68
69
  Issuing::Authorization::OBJECT_NAME => Issuing::Authorization,
69
70
  Issuing::Card::OBJECT_NAME => Issuing::Card,
70
71
  Issuing::Cardholder::OBJECT_NAME => Issuing::Cardholder,
72
+ Issuing::CreditUnderwritingRecord::OBJECT_NAME => Issuing::CreditUnderwritingRecord,
71
73
  Issuing::Dispute::OBJECT_NAME => Issuing::Dispute,
72
74
  Issuing::PersonalizationDesign::OBJECT_NAME => Issuing::PersonalizationDesign,
73
75
  Issuing::PhysicalBundle::OBJECT_NAME => Issuing::PhysicalBundle,
@@ -0,0 +1,14 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.
6
+ #
7
+ # See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.
8
+ class AccountNotice < APIResource
9
+ extend Stripe::APIOperations::List
10
+ include Stripe::APIOperations::Save
11
+
12
+ OBJECT_NAME = "account_notice"
13
+ end
14
+ end
@@ -0,0 +1,69 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Issuing
6
+ # Every time an applicant submits an application for a Charge Card product your Platform offers, or every time your Platform takes a proactive credit decision on an existing account, you must record the decision by creating a new CreditUnderwritingRecord object on a Connected account.
7
+ #
8
+ # [Follow the guide](https://stripe.com/docs/issuing/coming_soon) to learn about your requirements as a Platform.
9
+ class CreditUnderwritingRecord < APIResource
10
+ extend Stripe::APIOperations::List
11
+
12
+ OBJECT_NAME = "issuing.credit_underwriting_record"
13
+
14
+ def correct(params = {}, opts = {})
15
+ request_stripe_object(
16
+ method: :post,
17
+ path: format("/v1/issuing/credit_underwriting_records/%<credit_underwriting_record>s/correct", { credit_underwriting_record: CGI.escape(self["id"]) }),
18
+ params: params,
19
+ opts: opts
20
+ )
21
+ end
22
+
23
+ def report_decision(params = {}, opts = {})
24
+ request_stripe_object(
25
+ method: :post,
26
+ path: format("/v1/issuing/credit_underwriting_records/%<credit_underwriting_record>s/report_decision", { credit_underwriting_record: CGI.escape(self["id"]) }),
27
+ params: params,
28
+ opts: opts
29
+ )
30
+ end
31
+
32
+ def self.correct(credit_underwriting_record, params = {}, opts = {})
33
+ request_stripe_object(
34
+ method: :post,
35
+ path: format("/v1/issuing/credit_underwriting_records/%<credit_underwriting_record>s/correct", { credit_underwriting_record: CGI.escape(credit_underwriting_record) }),
36
+ params: params,
37
+ opts: opts
38
+ )
39
+ end
40
+
41
+ def self.create_from_application(params = {}, opts = {})
42
+ request_stripe_object(
43
+ method: :post,
44
+ path: "/v1/issuing/credit_underwriting_records/create_from_application",
45
+ params: params,
46
+ opts: opts
47
+ )
48
+ end
49
+
50
+ def self.create_from_proactive_review(params = {}, opts = {})
51
+ request_stripe_object(
52
+ method: :post,
53
+ path: "/v1/issuing/credit_underwriting_records/create_from_proactive_review",
54
+ params: params,
55
+ opts: opts
56
+ )
57
+ end
58
+
59
+ def self.report_decision(credit_underwriting_record, params = {}, opts = {})
60
+ request_stripe_object(
61
+ method: :post,
62
+ path: format("/v1/issuing/credit_underwriting_records/%<credit_underwriting_record>s/report_decision", { credit_underwriting_record: CGI.escape(credit_underwriting_record) }),
63
+ params: params,
64
+ opts: opts
65
+ )
66
+ end
67
+ end
68
+ end
69
+ end
@@ -3,6 +3,7 @@
3
3
 
4
4
  require "stripe/resources/account"
5
5
  require "stripe/resources/account_link"
6
+ require "stripe/resources/account_notice"
6
7
  require "stripe/resources/account_session"
7
8
  require "stripe/resources/apple_pay_domain"
8
9
  require "stripe/resources/application_fee"
@@ -54,6 +55,7 @@ require "stripe/resources/invoice_line_item"
54
55
  require "stripe/resources/issuing/authorization"
55
56
  require "stripe/resources/issuing/card"
56
57
  require "stripe/resources/issuing/cardholder"
58
+ require "stripe/resources/issuing/credit_underwriting_record"
57
59
  require "stripe/resources/issuing/dispute"
58
60
  require "stripe/resources/issuing/personalization_design"
59
61
  require "stripe/resources/issuing/physical_bundle"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "9.5.0-beta.1"
4
+ VERSION = "9.5.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: 9.5.0.pre.beta.1
4
+ version: 9.5.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-10-05 00:00:00.000000000 Z
11
+ date: 2023-10-12 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.
@@ -54,6 +54,7 @@ files:
54
54
  - lib/stripe/resources.rb
55
55
  - lib/stripe/resources/account.rb
56
56
  - lib/stripe/resources/account_link.rb
57
+ - lib/stripe/resources/account_notice.rb
57
58
  - lib/stripe/resources/account_session.rb
58
59
  - lib/stripe/resources/alipay_account.rb
59
60
  - lib/stripe/resources/apple_pay_domain.rb
@@ -106,6 +107,7 @@ files:
106
107
  - lib/stripe/resources/issuing/authorization.rb
107
108
  - lib/stripe/resources/issuing/card.rb
108
109
  - lib/stripe/resources/issuing/cardholder.rb
110
+ - lib/stripe/resources/issuing/credit_underwriting_record.rb
109
111
  - lib/stripe/resources/issuing/dispute.rb
110
112
  - lib/stripe/resources/issuing/personalization_design.rb
111
113
  - lib/stripe/resources/issuing/physical_bundle.rb