stripe 17.1.0.pre.alpha.2 → 17.1.0.pre.alpha.4
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/lib/stripe/events/v2_money_management_transaction_created_event.rb +18 -1
- data/lib/stripe/object_types.rb +4 -0
- data/lib/stripe/params/billing/meter_create_params.rb +5 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +18 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +244 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -2
- data/lib/stripe/params/v2/core/account_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +24 -1
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +1 -0
- data/lib/stripe/params.rb +15 -0
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +323 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/core/account.rb +57 -2
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +35 -1
- data/lib/stripe/resources.rb +3 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +8 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +11 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +33 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +11 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +1 -1
- data/lib/stripe/services.rb +4 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +1897 -32
- metadata +24 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Identity
|
|
6
|
+
class BlocklistEntryListParams < ::Stripe::RequestParams
|
|
7
|
+
class Created < ::Stripe::RequestParams
|
|
8
|
+
# Minimum value to filter by (exclusive)
|
|
9
|
+
attr_accessor :gt
|
|
10
|
+
# Minimum value to filter by (inclusive)
|
|
11
|
+
attr_accessor :gte
|
|
12
|
+
# Maximum value to filter by (exclusive)
|
|
13
|
+
attr_accessor :lt
|
|
14
|
+
# Maximum value to filter by (inclusive)
|
|
15
|
+
attr_accessor :lte
|
|
16
|
+
|
|
17
|
+
def initialize(gt: nil, gte: nil, lt: nil, lte: nil)
|
|
18
|
+
@gt = gt
|
|
19
|
+
@gte = gte
|
|
20
|
+
@lt = lt
|
|
21
|
+
@lte = lte
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
# Only return BlocklistEntries that were created during the given date interval.
|
|
25
|
+
attr_accessor :created
|
|
26
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
27
|
+
attr_accessor :ending_before
|
|
28
|
+
# Specifies which fields in the response should be expanded.
|
|
29
|
+
attr_accessor :expand
|
|
30
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
31
|
+
attr_accessor :limit
|
|
32
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
33
|
+
attr_accessor :starting_after
|
|
34
|
+
# Only return blocklist entries with the specified status.
|
|
35
|
+
attr_accessor :status
|
|
36
|
+
# Only return blocklist entries of the specified type.
|
|
37
|
+
attr_accessor :type
|
|
38
|
+
# Only return blocklist entries created from this verification report.
|
|
39
|
+
attr_accessor :verification_report
|
|
40
|
+
|
|
41
|
+
def initialize(
|
|
42
|
+
created: nil,
|
|
43
|
+
ending_before: nil,
|
|
44
|
+
expand: nil,
|
|
45
|
+
limit: nil,
|
|
46
|
+
starting_after: nil,
|
|
47
|
+
status: nil,
|
|
48
|
+
type: nil,
|
|
49
|
+
verification_report: nil
|
|
50
|
+
)
|
|
51
|
+
@created = created
|
|
52
|
+
@ending_before = ending_before
|
|
53
|
+
@expand = expand
|
|
54
|
+
@limit = limit
|
|
55
|
+
@starting_after = starting_after
|
|
56
|
+
@status = status
|
|
57
|
+
@type = type
|
|
58
|
+
@verification_report = verification_report
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module Identity
|
|
6
|
+
class BlocklistEntryRetrieveParams < ::Stripe::RequestParams
|
|
7
|
+
# Specifies which fields in the response should be expanded.
|
|
8
|
+
attr_accessor :expand
|
|
9
|
+
|
|
10
|
+
def initialize(expand: nil)
|
|
11
|
+
@expand = expand
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -21,6 +21,8 @@ module Stripe
|
|
|
21
21
|
@lte = lte
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
|
+
# Only return VerificationReports that were blocked by this BlocklistEntry id.
|
|
25
|
+
attr_accessor :blocked_by_entry
|
|
24
26
|
# A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
|
|
25
27
|
attr_accessor :client_reference_id
|
|
26
28
|
# Only return VerificationReports that were created during the given date interval.
|
|
@@ -39,6 +41,7 @@ module Stripe
|
|
|
39
41
|
attr_accessor :verification_session
|
|
40
42
|
|
|
41
43
|
def initialize(
|
|
44
|
+
blocked_by_entry: nil,
|
|
42
45
|
client_reference_id: nil,
|
|
43
46
|
created: nil,
|
|
44
47
|
ending_before: nil,
|
|
@@ -48,6 +51,7 @@ module Stripe
|
|
|
48
51
|
type: nil,
|
|
49
52
|
verification_session: nil
|
|
50
53
|
)
|
|
54
|
+
@blocked_by_entry = blocked_by_entry
|
|
51
55
|
@client_reference_id = client_reference_id
|
|
52
56
|
@created = created
|
|
53
57
|
@ending_before = ending_before
|
|
@@ -9,7 +9,7 @@ module Stripe
|
|
|
9
9
|
class PaymentDue < ::Stripe::RequestParams
|
|
10
10
|
# If true an email for the invoice would be generated and sent out.
|
|
11
11
|
attr_accessor :enabled
|
|
12
|
-
# If true the payment link to hosted
|
|
12
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
13
13
|
attr_accessor :include_payment_link
|
|
14
14
|
|
|
15
15
|
def initialize(enabled: nil, include_payment_link: nil)
|
|
@@ -17,7 +17,7 @@ module Stripe
|
|
|
17
17
|
@include_payment_link = include_payment_link
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
20
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
21
21
|
attr_accessor :payment_due
|
|
22
22
|
|
|
23
23
|
def initialize(payment_due: nil)
|
|
@@ -9,7 +9,7 @@ module Stripe
|
|
|
9
9
|
class PaymentDue < ::Stripe::RequestParams
|
|
10
10
|
# If true an email for the invoice would be generated and sent out.
|
|
11
11
|
attr_accessor :enabled
|
|
12
|
-
# If true the payment link to hosted
|
|
12
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
13
13
|
attr_accessor :include_payment_link
|
|
14
14
|
|
|
15
15
|
def initialize(enabled: nil, include_payment_link: nil)
|
|
@@ -17,7 +17,7 @@ module Stripe
|
|
|
17
17
|
@include_payment_link = include_payment_link
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
20
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
21
21
|
attr_accessor :payment_due
|
|
22
22
|
|
|
23
23
|
def initialize(payment_due: nil)
|
|
@@ -1129,11 +1129,23 @@ module Stripe
|
|
|
1129
1129
|
@requested = requested
|
|
1130
1130
|
end
|
|
1131
1131
|
end
|
|
1132
|
+
|
|
1133
|
+
class Usd < ::Stripe::RequestParams
|
|
1134
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1135
|
+
attr_accessor :requested
|
|
1136
|
+
|
|
1137
|
+
def initialize(requested: nil)
|
|
1138
|
+
@requested = requested
|
|
1139
|
+
end
|
|
1140
|
+
end
|
|
1132
1141
|
# Can hold storage-type funds on Stripe in GBP.
|
|
1133
1142
|
attr_accessor :gbp
|
|
1143
|
+
# Can hold storage-type funds on Stripe in USD.
|
|
1144
|
+
attr_accessor :usd
|
|
1134
1145
|
|
|
1135
|
-
def initialize(gbp: nil)
|
|
1146
|
+
def initialize(gbp: nil, usd: nil)
|
|
1136
1147
|
@gbp = gbp
|
|
1148
|
+
@usd = usd
|
|
1137
1149
|
end
|
|
1138
1150
|
end
|
|
1139
1151
|
|
|
@@ -1380,6 +1392,21 @@ module Stripe
|
|
|
1380
1392
|
end
|
|
1381
1393
|
end
|
|
1382
1394
|
|
|
1395
|
+
class RepresentativeDeclaration < ::Stripe::RequestParams
|
|
1396
|
+
# The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1397
|
+
attr_accessor :date
|
|
1398
|
+
# The IP address from which the representative attestation was made.
|
|
1399
|
+
attr_accessor :ip
|
|
1400
|
+
# The user agent of the browser from which the representative attestation was made.
|
|
1401
|
+
attr_accessor :user_agent
|
|
1402
|
+
|
|
1403
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1404
|
+
@date = date
|
|
1405
|
+
@ip = ip
|
|
1406
|
+
@user_agent = user_agent
|
|
1407
|
+
end
|
|
1408
|
+
end
|
|
1409
|
+
|
|
1383
1410
|
class TermsOfService < ::Stripe::RequestParams
|
|
1384
1411
|
class Account < ::Stripe::RequestParams
|
|
1385
1412
|
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
@@ -1724,6 +1751,8 @@ module Stripe
|
|
|
1724
1751
|
attr_accessor :ownership_declaration
|
|
1725
1752
|
# Attestation that all Persons with a specific Relationship value have been provided.
|
|
1726
1753
|
attr_accessor :persons_provided
|
|
1754
|
+
# This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
|
1755
|
+
attr_accessor :representative_declaration
|
|
1727
1756
|
# Attestations of accepted terms of service agreements.
|
|
1728
1757
|
attr_accessor :terms_of_service
|
|
1729
1758
|
|
|
@@ -1731,11 +1760,13 @@ module Stripe
|
|
|
1731
1760
|
directorship_declaration: nil,
|
|
1732
1761
|
ownership_declaration: nil,
|
|
1733
1762
|
persons_provided: nil,
|
|
1763
|
+
representative_declaration: nil,
|
|
1734
1764
|
terms_of_service: nil
|
|
1735
1765
|
)
|
|
1736
1766
|
@directorship_declaration = directorship_declaration
|
|
1737
1767
|
@ownership_declaration = ownership_declaration
|
|
1738
1768
|
@persons_provided = persons_provided
|
|
1769
|
+
@representative_declaration = representative_declaration
|
|
1739
1770
|
@terms_of_service = terms_of_service
|
|
1740
1771
|
end
|
|
1741
1772
|
end
|
|
@@ -2591,7 +2622,7 @@ module Stripe
|
|
|
2591
2622
|
@surname = surname
|
|
2592
2623
|
end
|
|
2593
2624
|
end
|
|
2594
|
-
# Attestations from the identity's key people, e.g. owners, executives, directors.
|
|
2625
|
+
# Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
|
|
2595
2626
|
attr_accessor :attestations
|
|
2596
2627
|
# Information about the company or business.
|
|
2597
2628
|
attr_accessor :business_details
|
|
@@ -7,11 +7,14 @@ module Stripe
|
|
|
7
7
|
class AccountListParams < ::Stripe::RequestParams
|
|
8
8
|
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
|
9
9
|
attr_accessor :applied_configurations
|
|
10
|
+
# Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.
|
|
11
|
+
attr_accessor :closed
|
|
10
12
|
# The upper limit on the number of accounts returned by the List Account request.
|
|
11
13
|
attr_accessor :limit
|
|
12
14
|
|
|
13
|
-
def initialize(applied_configurations: nil, limit: nil)
|
|
15
|
+
def initialize(applied_configurations: nil, closed: nil, limit: nil)
|
|
14
16
|
@applied_configurations = applied_configurations
|
|
17
|
+
@closed = closed
|
|
15
18
|
@limit = limit
|
|
16
19
|
end
|
|
17
20
|
end
|
|
@@ -1157,11 +1157,23 @@ module Stripe
|
|
|
1157
1157
|
@requested = requested
|
|
1158
1158
|
end
|
|
1159
1159
|
end
|
|
1160
|
+
|
|
1161
|
+
class Usd < ::Stripe::RequestParams
|
|
1162
|
+
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1163
|
+
attr_accessor :requested
|
|
1164
|
+
|
|
1165
|
+
def initialize(requested: nil)
|
|
1166
|
+
@requested = requested
|
|
1167
|
+
end
|
|
1168
|
+
end
|
|
1160
1169
|
# Can hold storage-type funds on Stripe in GBP.
|
|
1161
1170
|
attr_accessor :gbp
|
|
1171
|
+
# Can hold storage-type funds on Stripe in USD.
|
|
1172
|
+
attr_accessor :usd
|
|
1162
1173
|
|
|
1163
|
-
def initialize(gbp: nil)
|
|
1174
|
+
def initialize(gbp: nil, usd: nil)
|
|
1164
1175
|
@gbp = gbp
|
|
1176
|
+
@usd = usd
|
|
1165
1177
|
end
|
|
1166
1178
|
end
|
|
1167
1179
|
|
|
@@ -1411,6 +1423,21 @@ module Stripe
|
|
|
1411
1423
|
end
|
|
1412
1424
|
end
|
|
1413
1425
|
|
|
1426
|
+
class RepresentativeDeclaration < ::Stripe::RequestParams
|
|
1427
|
+
# The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1428
|
+
attr_accessor :date
|
|
1429
|
+
# The IP address from which the representative attestation was made.
|
|
1430
|
+
attr_accessor :ip
|
|
1431
|
+
# The user agent of the browser from which the representative attestation was made.
|
|
1432
|
+
attr_accessor :user_agent
|
|
1433
|
+
|
|
1434
|
+
def initialize(date: nil, ip: nil, user_agent: nil)
|
|
1435
|
+
@date = date
|
|
1436
|
+
@ip = ip
|
|
1437
|
+
@user_agent = user_agent
|
|
1438
|
+
end
|
|
1439
|
+
end
|
|
1440
|
+
|
|
1414
1441
|
class TermsOfService < ::Stripe::RequestParams
|
|
1415
1442
|
class Account < ::Stripe::RequestParams
|
|
1416
1443
|
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
@@ -1755,6 +1782,8 @@ module Stripe
|
|
|
1755
1782
|
attr_accessor :ownership_declaration
|
|
1756
1783
|
# Attestation that all Persons with a specific Relationship value have been provided.
|
|
1757
1784
|
attr_accessor :persons_provided
|
|
1785
|
+
# This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
|
|
1786
|
+
attr_accessor :representative_declaration
|
|
1758
1787
|
# Attestations of accepted terms of service agreements.
|
|
1759
1788
|
attr_accessor :terms_of_service
|
|
1760
1789
|
|
|
@@ -1762,11 +1791,13 @@ module Stripe
|
|
|
1762
1791
|
directorship_declaration: nil,
|
|
1763
1792
|
ownership_declaration: nil,
|
|
1764
1793
|
persons_provided: nil,
|
|
1794
|
+
representative_declaration: nil,
|
|
1765
1795
|
terms_of_service: nil
|
|
1766
1796
|
)
|
|
1767
1797
|
@directorship_declaration = directorship_declaration
|
|
1768
1798
|
@ownership_declaration = ownership_declaration
|
|
1769
1799
|
@persons_provided = persons_provided
|
|
1800
|
+
@representative_declaration = representative_declaration
|
|
1770
1801
|
@terms_of_service = terms_of_service
|
|
1771
1802
|
end
|
|
1772
1803
|
end
|
|
@@ -2622,7 +2653,7 @@ module Stripe
|
|
|
2622
2653
|
@surname = surname
|
|
2623
2654
|
end
|
|
2624
2655
|
end
|
|
2625
|
-
# Attestations from the identity's key people, e.g. owners, executives, directors.
|
|
2656
|
+
# Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
|
|
2626
2657
|
attr_accessor :attestations
|
|
2627
2658
|
# Information about the company or business.
|
|
2628
2659
|
attr_accessor :business_details
|
|
@@ -5,16 +5,39 @@ module Stripe
|
|
|
5
5
|
module V2
|
|
6
6
|
module Core
|
|
7
7
|
class EventListParams < ::Stripe::RequestParams
|
|
8
|
+
# Filter for events created after the specified timestamp.
|
|
9
|
+
attr_accessor :gt
|
|
10
|
+
# Filter for events created at or after the specified timestamp.
|
|
11
|
+
attr_accessor :gte
|
|
8
12
|
# The page size.
|
|
9
13
|
attr_accessor :limit
|
|
14
|
+
# Filter for events created before the specified timestamp.
|
|
15
|
+
attr_accessor :lt
|
|
16
|
+
# Filter for events created at or before the specified timestamp.
|
|
17
|
+
attr_accessor :lte
|
|
10
18
|
# Primary object ID used to retrieve related events.
|
|
11
19
|
#
|
|
12
20
|
# To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key.
|
|
13
21
|
attr_accessor :object_id_
|
|
22
|
+
# An array of up to 20 strings containing specific event names.
|
|
23
|
+
attr_accessor :types
|
|
14
24
|
|
|
15
|
-
def initialize(
|
|
25
|
+
def initialize(
|
|
26
|
+
gt: nil,
|
|
27
|
+
gte: nil,
|
|
28
|
+
limit: nil,
|
|
29
|
+
lt: nil,
|
|
30
|
+
lte: nil,
|
|
31
|
+
object_id_: nil,
|
|
32
|
+
types: nil
|
|
33
|
+
)
|
|
34
|
+
@gt = gt
|
|
35
|
+
@gte = gte
|
|
16
36
|
@limit = limit
|
|
37
|
+
@lt = lt
|
|
38
|
+
@lte = lte
|
|
17
39
|
@object_id_ = object_id_
|
|
40
|
+
@types = types
|
|
18
41
|
end
|
|
19
42
|
end
|
|
20
43
|
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Core
|
|
7
|
+
module Vault
|
|
8
|
+
class GbBankAccountListParams < ::Stripe::RequestParams
|
|
9
|
+
# Optionally set the maximum number of results per page. Defaults to 10.
|
|
10
|
+
attr_accessor :limit
|
|
11
|
+
|
|
12
|
+
def initialize(limit: nil)
|
|
13
|
+
@limit = limit
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Core
|
|
7
|
+
module Vault
|
|
8
|
+
class UsBankAccountConfirmMicrodepositsParams < ::Stripe::RequestParams
|
|
9
|
+
# Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
|
|
10
|
+
attr_accessor :amounts
|
|
11
|
+
# Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
|
|
12
|
+
attr_accessor :descriptor_code
|
|
13
|
+
|
|
14
|
+
def initialize(amounts: nil, descriptor_code: nil)
|
|
15
|
+
@amounts = amounts
|
|
16
|
+
@descriptor_code = descriptor_code
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module Core
|
|
7
|
+
module Vault
|
|
8
|
+
class UsBankAccountListParams < ::Stripe::RequestParams
|
|
9
|
+
# Optionally set the maximum number of results per page. Defaults to 10.
|
|
10
|
+
attr_accessor :limit
|
|
11
|
+
# Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.
|
|
12
|
+
attr_accessor :verification_status
|
|
13
|
+
|
|
14
|
+
def initialize(limit: nil, verification_status: nil)
|
|
15
|
+
@limit = limit
|
|
16
|
+
@verification_status = verification_status
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module V2
|
|
6
|
+
module MoneyManagement
|
|
7
|
+
class FinancialAccountUpdateParams < ::Stripe::RequestParams
|
|
8
|
+
# A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.
|
|
9
|
+
attr_accessor :display_name
|
|
10
|
+
# Metadata associated with the FinancialAccount.
|
|
11
|
+
attr_accessor :metadata
|
|
12
|
+
|
|
13
|
+
def initialize(display_name: nil, metadata: nil)
|
|
14
|
+
@display_name = display_name
|
|
15
|
+
@metadata = metadata
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -6,6 +6,7 @@ module Stripe
|
|
|
6
6
|
module TestHelpers
|
|
7
7
|
class MoneyManagementRecipientVerificationsParams < ::Stripe::RequestParams
|
|
8
8
|
# Expected match level of the RecipientVerification to be created: `match`, `close_match`, `no_match`, `unavailable`.
|
|
9
|
+
# For `close_match`, the simulated response appends "close_match" to the provided name in match_result_details.matched_name.
|
|
9
10
|
attr_accessor :match_result
|
|
10
11
|
# ID of the payout method.
|
|
11
12
|
attr_accessor :payout_method
|
data/lib/stripe/params.rb
CHANGED
|
@@ -156,6 +156,11 @@ require "stripe/params/customer_tax_id_delete_params"
|
|
|
156
156
|
require "stripe/params/customer_tax_id_list_params"
|
|
157
157
|
require "stripe/params/customer_tax_id_retrieve_params"
|
|
158
158
|
require "stripe/params/customer_update_params"
|
|
159
|
+
require "stripe/params/delegated_checkout/requested_session_confirm_params"
|
|
160
|
+
require "stripe/params/delegated_checkout/requested_session_create_params"
|
|
161
|
+
require "stripe/params/delegated_checkout/requested_session_expire_params"
|
|
162
|
+
require "stripe/params/delegated_checkout/requested_session_retrieve_params"
|
|
163
|
+
require "stripe/params/delegated_checkout/requested_session_update_params"
|
|
159
164
|
require "stripe/params/dispute_close_params"
|
|
160
165
|
require "stripe/params/dispute_list_params"
|
|
161
166
|
require "stripe/params/dispute_retrieve_params"
|
|
@@ -206,6 +211,10 @@ require "stripe/params/forwarding/request_retrieve_params"
|
|
|
206
211
|
require "stripe/params/fx_quote_create_params"
|
|
207
212
|
require "stripe/params/fx_quote_list_params"
|
|
208
213
|
require "stripe/params/fx_quote_retrieve_params"
|
|
214
|
+
require "stripe/params/identity/blocklist_entry_create_params"
|
|
215
|
+
require "stripe/params/identity/blocklist_entry_disable_params"
|
|
216
|
+
require "stripe/params/identity/blocklist_entry_list_params"
|
|
217
|
+
require "stripe/params/identity/blocklist_entry_retrieve_params"
|
|
209
218
|
require "stripe/params/identity/verification_report_list_params"
|
|
210
219
|
require "stripe/params/identity/verification_report_retrieve_params"
|
|
211
220
|
require "stripe/params/identity/verification_session_cancel_params"
|
|
@@ -704,6 +713,7 @@ require "stripe/params/v2/billing/pricing_plan_retrieve_params"
|
|
|
704
713
|
require "stripe/params/v2/billing/pricing_plan_subscription_list_params"
|
|
705
714
|
require "stripe/params/v2/billing/pricing_plan_subscription_retrieve_params"
|
|
706
715
|
require "stripe/params/v2/billing/pricing_plan_subscription_update_params"
|
|
716
|
+
require "stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params"
|
|
707
717
|
require "stripe/params/v2/billing/pricing_plan_update_params"
|
|
708
718
|
require "stripe/params/v2/billing/pricing_plans/component_create_params"
|
|
709
719
|
require "stripe/params/v2/billing/pricing_plans/component_delete_params"
|
|
@@ -761,10 +771,14 @@ require "stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of
|
|
|
761
771
|
require "stripe/params/v2/core/vault/gb_bank_account_archive_params"
|
|
762
772
|
require "stripe/params/v2/core/vault/gb_bank_account_create_params"
|
|
763
773
|
require "stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params"
|
|
774
|
+
require "stripe/params/v2/core/vault/gb_bank_account_list_params"
|
|
764
775
|
require "stripe/params/v2/core/vault/gb_bank_account_retrieve_params"
|
|
765
776
|
require "stripe/params/v2/core/vault/us_bank_account_archive_params"
|
|
777
|
+
require "stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params"
|
|
766
778
|
require "stripe/params/v2/core/vault/us_bank_account_create_params"
|
|
779
|
+
require "stripe/params/v2/core/vault/us_bank_account_list_params"
|
|
767
780
|
require "stripe/params/v2/core/vault/us_bank_account_retrieve_params"
|
|
781
|
+
require "stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params"
|
|
768
782
|
require "stripe/params/v2/core/vault/us_bank_account_update_params"
|
|
769
783
|
require "stripe/params/v2/money_management/adjustment_list_params"
|
|
770
784
|
require "stripe/params/v2/money_management/adjustment_retrieve_params"
|
|
@@ -772,6 +786,7 @@ require "stripe/params/v2/money_management/financial_account_close_params"
|
|
|
772
786
|
require "stripe/params/v2/money_management/financial_account_create_params"
|
|
773
787
|
require "stripe/params/v2/money_management/financial_account_list_params"
|
|
774
788
|
require "stripe/params/v2/money_management/financial_account_retrieve_params"
|
|
789
|
+
require "stripe/params/v2/money_management/financial_account_update_params"
|
|
775
790
|
require "stripe/params/v2/money_management/financial_address_create_params"
|
|
776
791
|
require "stripe/params/v2/money_management/financial_address_list_params"
|
|
777
792
|
require "stripe/params/v2/money_management/financial_address_retrieve_params"
|
|
@@ -100,6 +100,8 @@ module Stripe
|
|
|
100
100
|
attr_reader :updated
|
|
101
101
|
# Attribute for field value_settings
|
|
102
102
|
attr_reader :value_settings
|
|
103
|
+
# Set of keys that will be used to group meter events by.
|
|
104
|
+
attr_reader :dimension_payload_keys
|
|
103
105
|
|
|
104
106
|
# Creates a billing meter.
|
|
105
107
|
def self.create(params = {}, opts = {})
|
|
@@ -27,6 +27,8 @@ module Stripe
|
|
|
27
27
|
attr_reader :object
|
|
28
28
|
# Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.
|
|
29
29
|
attr_reader :start_time
|
|
30
|
+
# Key-value pairs of dimension values for event summaries with grouping on dimensions.
|
|
31
|
+
attr_reader :dimensions
|
|
30
32
|
|
|
31
33
|
def self.inner_class_types
|
|
32
34
|
@inner_class_types = {}
|