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 +4 -4
- data/CHANGELOG.md +10 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +2 -0
- data/lib/stripe/resources/account_notice.rb +14 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +69 -0
- data/lib/stripe/resources.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3ac921745f7f9ade50f258d6121845a356fffd5c9567d0749da1020ee89fd2e
|
4
|
+
data.tar.gz: bcc1603ef1c753693a20a154788192fbb509224aa5421ed0a339abf391027de5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
1
|
+
v591
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
9.5.0-beta.
|
1
|
+
9.5.0-beta.2
|
data/lib/stripe/object_types.rb
CHANGED
@@ -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
|
data/lib/stripe/resources.rb
CHANGED
@@ -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"
|
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: 9.5.0.pre.beta.
|
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-
|
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
|