stripe 15.3.0 → 15.4.0
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/API_VERSION +1 -1
- data/CHANGELOG.md +21 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +5 -5
- data/lib/stripe/resources/account_link.rb +3 -1
- data/lib/stripe/resources/account_session.rb +51 -0
- data/lib/stripe/resources/billing/credit_grant.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +46 -2
- data/lib/stripe/resources/charge.rb +7 -5
- data/lib/stripe/resources/checkout/session.rb +32 -4
- data/lib/stripe/resources/confirmation_token.rb +3 -3
- data/lib/stripe/resources/customer.rb +1 -1
- data/lib/stripe/resources/dispute.rb +1 -1
- data/lib/stripe/resources/event.rb +14 -26
- data/lib/stripe/resources/invoice.rb +24 -8
- data/lib/stripe/resources/invoice_item.rb +1 -1
- data/lib/stripe/resources/payment_intent.rb +14 -4
- data/lib/stripe/resources/payment_link.rb +83 -5
- data/lib/stripe/resources/payment_method.rb +4 -4
- data/lib/stripe/resources/quote.rb +1 -1
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/refund.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +1 -1
- data/lib/stripe/resources/subscription.rb +2 -2
- data/lib/stripe/resources/subscription_item.rb +2 -2
- data/lib/stripe/resources/subscription_schedule.rb +35 -3
- data/lib/stripe/resources/tax/registration.rb +408 -30
- data/lib/stripe/resources/terminal/configuration.rb +196 -0
- data/lib/stripe/services/account_link_service.rb +3 -1
- data/lib/stripe/services/account_service.rb +3 -3
- data/lib/stripe/services/account_session_service.rb +34 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +1 -1
- data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
- data/lib/stripe/services/checkout/session_service.rb +19 -3
- data/lib/stripe/services/invoice_item_service.rb +1 -1
- data/lib/stripe/services/invoice_service.rb +24 -8
- data/lib/stripe/services/payment_intent_service.rb +8 -3
- data/lib/stripe/services/payment_link_service.rb +81 -5
- data/lib/stripe/services/payment_method_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +2 -2
- data/lib/stripe/services/subscription_schedule_service.rb +35 -3
- data/lib/stripe/services/subscription_service.rb +2 -2
- data/lib/stripe/services/tax/registration_service.rb +360 -30
- data/lib/stripe/services/terminal/configuration_service.rb +152 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +5 -5
- data/rbi/stripe/resources/account_link.rbi +3 -1
- data/rbi/stripe/resources/account_session.rbi +62 -1
- data/rbi/stripe/resources/billing/credit_grant.rbi +1 -1
- data/rbi/stripe/resources/billing_portal/configuration.rbi +62 -4
- data/rbi/stripe/resources/charge.rbi +8 -5
- data/rbi/stripe/resources/checkout/session.rbi +42 -7
- data/rbi/stripe/resources/confirmation_token.rbi +3 -3
- data/rbi/stripe/resources/customer.rbi +1 -1
- data/rbi/stripe/resources/dispute.rbi +1 -1
- data/rbi/stripe/resources/event.rbi +14 -26
- data/rbi/stripe/resources/invoice.rbi +27 -11
- data/rbi/stripe/resources/invoice_item.rbi +1 -1
- data/rbi/stripe/resources/payment_intent.rbi +14 -4
- data/rbi/stripe/resources/payment_link.rbi +101 -9
- data/rbi/stripe/resources/payment_method.rbi +4 -4
- data/rbi/stripe/resources/quote.rbi +1 -1
- data/rbi/stripe/resources/radar/value_list.rbi +2 -2
- data/rbi/stripe/resources/refund.rbi +1 -1
- data/rbi/stripe/resources/review.rbi +2 -2
- data/rbi/stripe/resources/setup_attempt.rbi +1 -1
- data/rbi/stripe/resources/subscription.rbi +6 -6
- data/rbi/stripe/resources/subscription_item.rbi +2 -2
- data/rbi/stripe/resources/subscription_schedule.rbi +33 -5
- data/rbi/stripe/resources/tax/registration.rbi +544 -60
- data/rbi/stripe/resources/terminal/configuration.rbi +210 -2
- data/rbi/stripe/services/account_link_service.rbi +3 -1
- data/rbi/stripe/services/account_service.rbi +3 -3
- data/rbi/stripe/services/account_session_service.rbi +40 -1
- data/rbi/stripe/services/billing/credit_grant_service.rbi +1 -1
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +48 -4
- data/rbi/stripe/services/checkout/session_service.rbi +26 -6
- data/rbi/stripe/services/invoice_item_service.rbi +1 -1
- data/rbi/stripe/services/invoice_service.rbi +27 -11
- data/rbi/stripe/services/payment_intent_service.rbi +8 -3
- data/rbi/stripe/services/payment_link_service.rbi +98 -9
- data/rbi/stripe/services/payment_method_service.rbi +1 -1
- data/rbi/stripe/services/quote_service.rbi +1 -1
- data/rbi/stripe/services/radar/value_list_service.rbi +1 -1
- data/rbi/stripe/services/subscription_item_service.rbi +2 -2
- data/rbi/stripe/services/subscription_schedule_service.rbi +37 -5
- data/rbi/stripe/services/subscription_service.rbi +6 -6
- data/rbi/stripe/services/tax/registration_service.rbi +480 -60
- data/rbi/stripe/services/terminal/configuration_service.rbi +170 -2
- metadata +2 -2
@@ -31,6 +31,17 @@ module Stripe
|
|
31
31
|
attr_reader :splashscreen
|
32
32
|
end
|
33
33
|
class Tipping < Stripe::StripeObject
|
34
|
+
class Aed < Stripe::StripeObject
|
35
|
+
# Fixed amounts displayed when collecting a tip
|
36
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
37
|
+
attr_reader :fixed_amounts
|
38
|
+
# Percentages displayed when collecting a tip
|
39
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
40
|
+
attr_reader :percentages
|
41
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
42
|
+
sig { returns(Integer) }
|
43
|
+
attr_reader :smart_tip_threshold
|
44
|
+
end
|
34
45
|
class Aud < Stripe::StripeObject
|
35
46
|
# Fixed amounts displayed when collecting a tip
|
36
47
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -42,6 +53,17 @@ module Stripe
|
|
42
53
|
sig { returns(Integer) }
|
43
54
|
attr_reader :smart_tip_threshold
|
44
55
|
end
|
56
|
+
class Bgn < Stripe::StripeObject
|
57
|
+
# Fixed amounts displayed when collecting a tip
|
58
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
59
|
+
attr_reader :fixed_amounts
|
60
|
+
# Percentages displayed when collecting a tip
|
61
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
62
|
+
attr_reader :percentages
|
63
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
64
|
+
sig { returns(Integer) }
|
65
|
+
attr_reader :smart_tip_threshold
|
66
|
+
end
|
45
67
|
class Cad < Stripe::StripeObject
|
46
68
|
# Fixed amounts displayed when collecting a tip
|
47
69
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -119,6 +141,17 @@ module Stripe
|
|
119
141
|
sig { returns(Integer) }
|
120
142
|
attr_reader :smart_tip_threshold
|
121
143
|
end
|
144
|
+
class Huf < Stripe::StripeObject
|
145
|
+
# Fixed amounts displayed when collecting a tip
|
146
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
147
|
+
attr_reader :fixed_amounts
|
148
|
+
# Percentages displayed when collecting a tip
|
149
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
150
|
+
attr_reader :percentages
|
151
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
152
|
+
sig { returns(Integer) }
|
153
|
+
attr_reader :smart_tip_threshold
|
154
|
+
end
|
122
155
|
class Jpy < Stripe::StripeObject
|
123
156
|
# Fixed amounts displayed when collecting a tip
|
124
157
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -174,6 +207,17 @@ module Stripe
|
|
174
207
|
sig { returns(Integer) }
|
175
208
|
attr_reader :smart_tip_threshold
|
176
209
|
end
|
210
|
+
class Ron < Stripe::StripeObject
|
211
|
+
# Fixed amounts displayed when collecting a tip
|
212
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
213
|
+
attr_reader :fixed_amounts
|
214
|
+
# Percentages displayed when collecting a tip
|
215
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
216
|
+
attr_reader :percentages
|
217
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
218
|
+
sig { returns(Integer) }
|
219
|
+
attr_reader :smart_tip_threshold
|
220
|
+
end
|
177
221
|
class Sek < Stripe::StripeObject
|
178
222
|
# Fixed amounts displayed when collecting a tip
|
179
223
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -207,9 +251,15 @@ module Stripe
|
|
207
251
|
sig { returns(Integer) }
|
208
252
|
attr_reader :smart_tip_threshold
|
209
253
|
end
|
254
|
+
# Attribute for field aed
|
255
|
+
sig { returns(Aed) }
|
256
|
+
attr_reader :aed
|
210
257
|
# Attribute for field aud
|
211
258
|
sig { returns(Aud) }
|
212
259
|
attr_reader :aud
|
260
|
+
# Attribute for field bgn
|
261
|
+
sig { returns(Bgn) }
|
262
|
+
attr_reader :bgn
|
213
263
|
# Attribute for field cad
|
214
264
|
sig { returns(Cad) }
|
215
265
|
attr_reader :cad
|
@@ -231,6 +281,9 @@ module Stripe
|
|
231
281
|
# Attribute for field hkd
|
232
282
|
sig { returns(Hkd) }
|
233
283
|
attr_reader :hkd
|
284
|
+
# Attribute for field huf
|
285
|
+
sig { returns(Huf) }
|
286
|
+
attr_reader :huf
|
234
287
|
# Attribute for field jpy
|
235
288
|
sig { returns(Jpy) }
|
236
289
|
attr_reader :jpy
|
@@ -246,6 +299,9 @@ module Stripe
|
|
246
299
|
# Attribute for field pln
|
247
300
|
sig { returns(Pln) }
|
248
301
|
attr_reader :pln
|
302
|
+
# Attribute for field ron
|
303
|
+
sig { returns(Ron) }
|
304
|
+
attr_reader :ron
|
249
305
|
# Attribute for field sek
|
250
306
|
sig { returns(Sek) }
|
251
307
|
attr_reader :sek
|
@@ -387,6 +443,21 @@ module Stripe
|
|
387
443
|
def initialize(splashscreen: nil); end
|
388
444
|
end
|
389
445
|
class Tipping < Stripe::RequestParams
|
446
|
+
class Aed < Stripe::RequestParams
|
447
|
+
# Fixed amounts displayed when collecting a tip
|
448
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
449
|
+
attr_accessor :fixed_amounts
|
450
|
+
# Percentages displayed when collecting a tip
|
451
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
452
|
+
attr_accessor :percentages
|
453
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
454
|
+
sig { returns(T.nilable(Integer)) }
|
455
|
+
attr_accessor :smart_tip_threshold
|
456
|
+
sig {
|
457
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
458
|
+
}
|
459
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
460
|
+
end
|
390
461
|
class Aud < Stripe::RequestParams
|
391
462
|
# Fixed amounts displayed when collecting a tip
|
392
463
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -402,6 +473,21 @@ module Stripe
|
|
402
473
|
}
|
403
474
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
404
475
|
end
|
476
|
+
class Bgn < Stripe::RequestParams
|
477
|
+
# Fixed amounts displayed when collecting a tip
|
478
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
479
|
+
attr_accessor :fixed_amounts
|
480
|
+
# Percentages displayed when collecting a tip
|
481
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
482
|
+
attr_accessor :percentages
|
483
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
484
|
+
sig { returns(T.nilable(Integer)) }
|
485
|
+
attr_accessor :smart_tip_threshold
|
486
|
+
sig {
|
487
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
488
|
+
}
|
489
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
490
|
+
end
|
405
491
|
class Cad < Stripe::RequestParams
|
406
492
|
# Fixed amounts displayed when collecting a tip
|
407
493
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -507,6 +593,21 @@ module Stripe
|
|
507
593
|
}
|
508
594
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
509
595
|
end
|
596
|
+
class Huf < Stripe::RequestParams
|
597
|
+
# Fixed amounts displayed when collecting a tip
|
598
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
599
|
+
attr_accessor :fixed_amounts
|
600
|
+
# Percentages displayed when collecting a tip
|
601
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
602
|
+
attr_accessor :percentages
|
603
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
604
|
+
sig { returns(T.nilable(Integer)) }
|
605
|
+
attr_accessor :smart_tip_threshold
|
606
|
+
sig {
|
607
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
608
|
+
}
|
609
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
610
|
+
end
|
510
611
|
class Jpy < Stripe::RequestParams
|
511
612
|
# Fixed amounts displayed when collecting a tip
|
512
613
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -582,6 +683,21 @@ module Stripe
|
|
582
683
|
}
|
583
684
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
584
685
|
end
|
686
|
+
class Ron < Stripe::RequestParams
|
687
|
+
# Fixed amounts displayed when collecting a tip
|
688
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
689
|
+
attr_accessor :fixed_amounts
|
690
|
+
# Percentages displayed when collecting a tip
|
691
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
692
|
+
attr_accessor :percentages
|
693
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
694
|
+
sig { returns(T.nilable(Integer)) }
|
695
|
+
attr_accessor :smart_tip_threshold
|
696
|
+
sig {
|
697
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
698
|
+
}
|
699
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
700
|
+
end
|
585
701
|
class Sek < Stripe::RequestParams
|
586
702
|
# Fixed amounts displayed when collecting a tip
|
587
703
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -627,9 +743,15 @@ module Stripe
|
|
627
743
|
}
|
628
744
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
629
745
|
end
|
746
|
+
# Tipping configuration for AED
|
747
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aed)) }
|
748
|
+
attr_accessor :aed
|
630
749
|
# Tipping configuration for AUD
|
631
750
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud)) }
|
632
751
|
attr_accessor :aud
|
752
|
+
# Tipping configuration for BGN
|
753
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Bgn)) }
|
754
|
+
attr_accessor :bgn
|
633
755
|
# Tipping configuration for CAD
|
634
756
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad)) }
|
635
757
|
attr_accessor :cad
|
@@ -651,6 +773,9 @@ module Stripe
|
|
651
773
|
# Tipping configuration for HKD
|
652
774
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd)) }
|
653
775
|
attr_accessor :hkd
|
776
|
+
# Tipping configuration for HUF
|
777
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Huf)) }
|
778
|
+
attr_accessor :huf
|
654
779
|
# Tipping configuration for JPY
|
655
780
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy)) }
|
656
781
|
attr_accessor :jpy
|
@@ -666,6 +791,9 @@ module Stripe
|
|
666
791
|
# Tipping configuration for PLN
|
667
792
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln)) }
|
668
793
|
attr_accessor :pln
|
794
|
+
# Tipping configuration for RON
|
795
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Ron)) }
|
796
|
+
attr_accessor :ron
|
669
797
|
# Tipping configuration for SEK
|
670
798
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek)) }
|
671
799
|
attr_accessor :sek
|
@@ -676,10 +804,12 @@ module Stripe
|
|
676
804
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)) }
|
677
805
|
attr_accessor :usd
|
678
806
|
sig {
|
679
|
-
params(aud: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud), cad: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd), jpy: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln), sek: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)).void
|
807
|
+
params(aed: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aed), aud: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud), bgn: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Bgn), cad: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd), huf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Huf), jpy: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln), ron: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Ron), sek: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)).void
|
680
808
|
}
|
681
809
|
def initialize(
|
810
|
+
aed: nil,
|
682
811
|
aud: nil,
|
812
|
+
bgn: nil,
|
683
813
|
cad: nil,
|
684
814
|
chf: nil,
|
685
815
|
czk: nil,
|
@@ -687,11 +817,13 @@ module Stripe
|
|
687
817
|
eur: nil,
|
688
818
|
gbp: nil,
|
689
819
|
hkd: nil,
|
820
|
+
huf: nil,
|
690
821
|
jpy: nil,
|
691
822
|
myr: nil,
|
692
823
|
nok: nil,
|
693
824
|
nzd: nil,
|
694
825
|
pln: nil,
|
826
|
+
ron: nil,
|
695
827
|
sek: nil,
|
696
828
|
sgd: nil,
|
697
829
|
usd: nil
|
@@ -904,6 +1036,21 @@ module Stripe
|
|
904
1036
|
def initialize(splashscreen: nil); end
|
905
1037
|
end
|
906
1038
|
class Tipping < Stripe::RequestParams
|
1039
|
+
class Aed < Stripe::RequestParams
|
1040
|
+
# Fixed amounts displayed when collecting a tip
|
1041
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1042
|
+
attr_accessor :fixed_amounts
|
1043
|
+
# Percentages displayed when collecting a tip
|
1044
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1045
|
+
attr_accessor :percentages
|
1046
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
1047
|
+
sig { returns(T.nilable(Integer)) }
|
1048
|
+
attr_accessor :smart_tip_threshold
|
1049
|
+
sig {
|
1050
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
1051
|
+
}
|
1052
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1053
|
+
end
|
907
1054
|
class Aud < Stripe::RequestParams
|
908
1055
|
# Fixed amounts displayed when collecting a tip
|
909
1056
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -919,6 +1066,21 @@ module Stripe
|
|
919
1066
|
}
|
920
1067
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
921
1068
|
end
|
1069
|
+
class Bgn < Stripe::RequestParams
|
1070
|
+
# Fixed amounts displayed when collecting a tip
|
1071
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1072
|
+
attr_accessor :fixed_amounts
|
1073
|
+
# Percentages displayed when collecting a tip
|
1074
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1075
|
+
attr_accessor :percentages
|
1076
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
1077
|
+
sig { returns(T.nilable(Integer)) }
|
1078
|
+
attr_accessor :smart_tip_threshold
|
1079
|
+
sig {
|
1080
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
1081
|
+
}
|
1082
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1083
|
+
end
|
922
1084
|
class Cad < Stripe::RequestParams
|
923
1085
|
# Fixed amounts displayed when collecting a tip
|
924
1086
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -1024,6 +1186,21 @@ module Stripe
|
|
1024
1186
|
}
|
1025
1187
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1026
1188
|
end
|
1189
|
+
class Huf < Stripe::RequestParams
|
1190
|
+
# Fixed amounts displayed when collecting a tip
|
1191
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1192
|
+
attr_accessor :fixed_amounts
|
1193
|
+
# Percentages displayed when collecting a tip
|
1194
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1195
|
+
attr_accessor :percentages
|
1196
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
1197
|
+
sig { returns(T.nilable(Integer)) }
|
1198
|
+
attr_accessor :smart_tip_threshold
|
1199
|
+
sig {
|
1200
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
1201
|
+
}
|
1202
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1203
|
+
end
|
1027
1204
|
class Jpy < Stripe::RequestParams
|
1028
1205
|
# Fixed amounts displayed when collecting a tip
|
1029
1206
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -1099,6 +1276,21 @@ module Stripe
|
|
1099
1276
|
}
|
1100
1277
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1101
1278
|
end
|
1279
|
+
class Ron < Stripe::RequestParams
|
1280
|
+
# Fixed amounts displayed when collecting a tip
|
1281
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1282
|
+
attr_accessor :fixed_amounts
|
1283
|
+
# Percentages displayed when collecting a tip
|
1284
|
+
sig { returns(T.nilable(T::Array[Integer])) }
|
1285
|
+
attr_accessor :percentages
|
1286
|
+
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
1287
|
+
sig { returns(T.nilable(Integer)) }
|
1288
|
+
attr_accessor :smart_tip_threshold
|
1289
|
+
sig {
|
1290
|
+
params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
|
1291
|
+
}
|
1292
|
+
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1293
|
+
end
|
1102
1294
|
class Sek < Stripe::RequestParams
|
1103
1295
|
# Fixed amounts displayed when collecting a tip
|
1104
1296
|
sig { returns(T.nilable(T::Array[Integer])) }
|
@@ -1144,9 +1336,15 @@ module Stripe
|
|
1144
1336
|
}
|
1145
1337
|
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
1146
1338
|
end
|
1339
|
+
# Tipping configuration for AED
|
1340
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aed)) }
|
1341
|
+
attr_accessor :aed
|
1147
1342
|
# Tipping configuration for AUD
|
1148
1343
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud)) }
|
1149
1344
|
attr_accessor :aud
|
1345
|
+
# Tipping configuration for BGN
|
1346
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Bgn)) }
|
1347
|
+
attr_accessor :bgn
|
1150
1348
|
# Tipping configuration for CAD
|
1151
1349
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad)) }
|
1152
1350
|
attr_accessor :cad
|
@@ -1168,6 +1366,9 @@ module Stripe
|
|
1168
1366
|
# Tipping configuration for HKD
|
1169
1367
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd)) }
|
1170
1368
|
attr_accessor :hkd
|
1369
|
+
# Tipping configuration for HUF
|
1370
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Huf)) }
|
1371
|
+
attr_accessor :huf
|
1171
1372
|
# Tipping configuration for JPY
|
1172
1373
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy)) }
|
1173
1374
|
attr_accessor :jpy
|
@@ -1183,6 +1384,9 @@ module Stripe
|
|
1183
1384
|
# Tipping configuration for PLN
|
1184
1385
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln)) }
|
1185
1386
|
attr_accessor :pln
|
1387
|
+
# Tipping configuration for RON
|
1388
|
+
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Ron)) }
|
1389
|
+
attr_accessor :ron
|
1186
1390
|
# Tipping configuration for SEK
|
1187
1391
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek)) }
|
1188
1392
|
attr_accessor :sek
|
@@ -1193,10 +1397,12 @@ module Stripe
|
|
1193
1397
|
sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)) }
|
1194
1398
|
attr_accessor :usd
|
1195
1399
|
sig {
|
1196
|
-
params(aud: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud), cad: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd), jpy: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln), sek: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)).void
|
1400
|
+
params(aed: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aed), aud: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud), bgn: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Bgn), cad: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd), huf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Huf), jpy: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln), ron: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Ron), sek: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)).void
|
1197
1401
|
}
|
1198
1402
|
def initialize(
|
1403
|
+
aed: nil,
|
1199
1404
|
aud: nil,
|
1405
|
+
bgn: nil,
|
1200
1406
|
cad: nil,
|
1201
1407
|
chf: nil,
|
1202
1408
|
czk: nil,
|
@@ -1204,11 +1410,13 @@ module Stripe
|
|
1204
1410
|
eur: nil,
|
1205
1411
|
gbp: nil,
|
1206
1412
|
hkd: nil,
|
1413
|
+
huf: nil,
|
1207
1414
|
jpy: nil,
|
1208
1415
|
myr: nil,
|
1209
1416
|
nok: nil,
|
1210
1417
|
nzd: nil,
|
1211
1418
|
pln: nil,
|
1419
|
+
ron: nil,
|
1212
1420
|
sek: nil,
|
1213
1421
|
sgd: nil,
|
1214
1422
|
usd: nil
|
@@ -33,7 +33,9 @@ module Stripe
|
|
33
33
|
# The URL that the user will be redirected to upon leaving or completing the linked flow.
|
34
34
|
sig { returns(T.nilable(String)) }
|
35
35
|
attr_accessor :return_url
|
36
|
-
# The type of account link the user is requesting.
|
36
|
+
# The type of account link the user is requesting.
|
37
|
+
#
|
38
|
+
# You can create Account Links of type `account_update` only for connected accounts where your platform is responsible for collecting requirements, including Custom accounts. You can't create them for accounts that have access to a Stripe-hosted Dashboard. If you use [Connect embedded components](/connect/get-started-connect-embedded-components), you can include components that allow your connected accounts to update their own information. For an account without Stripe-hosted Dashboard access where Stripe is liable for negative balances, you must use embedded components.
|
37
39
|
sig { returns(String) }
|
38
40
|
attr_accessor :type
|
39
41
|
sig {
|
@@ -118,7 +118,7 @@ module Stripe
|
|
118
118
|
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
119
119
|
sig { returns(T.nilable(String)) }
|
120
120
|
attr_accessor :mcc
|
121
|
-
# Whether the business is a minority-owned, women-owned, and/or LGBTQI
|
121
|
+
# Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
|
122
122
|
sig { returns(T.nilable(T::Array[String])) }
|
123
123
|
attr_accessor :minority_owned_business_designation
|
124
124
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
@@ -2210,7 +2210,7 @@ module Stripe
|
|
2210
2210
|
# [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
2211
2211
|
sig { returns(T.nilable(String)) }
|
2212
2212
|
attr_accessor :mcc
|
2213
|
-
# Whether the business is a minority-owned, women-owned, and/or LGBTQI
|
2213
|
+
# Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
|
2214
2214
|
sig { returns(T.nilable(T::Array[String])) }
|
2215
2215
|
attr_accessor :minority_owned_business_designation
|
2216
2216
|
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
@@ -4226,7 +4226,7 @@ module Stripe
|
|
4226
4226
|
#
|
4227
4227
|
# Test-mode accounts can be deleted at any time.
|
4228
4228
|
#
|
4229
|
-
# Live-mode accounts
|
4229
|
+
# Live-mode accounts that have access to the standard dashboard and Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. All other Live-mode accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
|
4230
4230
|
#
|
4231
4231
|
# If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
4232
4232
|
sig {
|
@@ -215,6 +215,39 @@ module Stripe
|
|
215
215
|
}
|
216
216
|
def initialize(enabled: nil, features: nil); end
|
217
217
|
end
|
218
|
+
class InstantPayoutsPromotion < Stripe::RequestParams
|
219
|
+
class Features < Stripe::RequestParams
|
220
|
+
# Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
|
221
|
+
sig { returns(T.nilable(T::Boolean)) }
|
222
|
+
attr_accessor :disable_stripe_user_authentication
|
223
|
+
# Whether external account collection is enabled. This feature can only be `false` for accounts where you’re responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
|
224
|
+
sig { returns(T.nilable(T::Boolean)) }
|
225
|
+
attr_accessor :external_account_collection
|
226
|
+
# Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
|
227
|
+
sig { returns(T.nilable(T::Boolean)) }
|
228
|
+
attr_accessor :instant_payouts
|
229
|
+
sig {
|
230
|
+
params(disable_stripe_user_authentication: T.nilable(T::Boolean), external_account_collection: T.nilable(T::Boolean), instant_payouts: T.nilable(T::Boolean)).void
|
231
|
+
}
|
232
|
+
def initialize(
|
233
|
+
disable_stripe_user_authentication: nil,
|
234
|
+
external_account_collection: nil,
|
235
|
+
instant_payouts: nil
|
236
|
+
); end
|
237
|
+
end
|
238
|
+
# Whether the embedded component is enabled.
|
239
|
+
sig { returns(T::Boolean) }
|
240
|
+
attr_accessor :enabled
|
241
|
+
# The list of features enabled in the embedded component.
|
242
|
+
sig {
|
243
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::InstantPayoutsPromotion::Features))
|
244
|
+
}
|
245
|
+
attr_accessor :features
|
246
|
+
sig {
|
247
|
+
params(enabled: T::Boolean, features: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::InstantPayoutsPromotion::Features)).void
|
248
|
+
}
|
249
|
+
def initialize(enabled: nil, features: nil); end
|
250
|
+
end
|
218
251
|
class IssuingCard < Stripe::RequestParams
|
219
252
|
class Features < Stripe::RequestParams
|
220
253
|
# Whether to allow card management features.
|
@@ -550,6 +583,11 @@ module Stripe
|
|
550
583
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions))
|
551
584
|
}
|
552
585
|
attr_accessor :financial_account_transactions
|
586
|
+
# Configuration for the [instant payouts promotion](/connect/supported-embedded-components/instant-payouts-promotion/) embedded component.
|
587
|
+
sig {
|
588
|
+
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::InstantPayoutsPromotion))
|
589
|
+
}
|
590
|
+
attr_accessor :instant_payouts_promotion
|
553
591
|
# Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.
|
554
592
|
sig {
|
555
593
|
returns(T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard))
|
@@ -601,7 +639,7 @@ module Stripe
|
|
601
639
|
}
|
602
640
|
attr_accessor :tax_settings
|
603
641
|
sig {
|
604
|
-
params(account_management: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding), balances: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances), disputes_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList), documents: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents), financial_account: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions), issuing_card: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails), payment_disputes: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes), payments: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList), tax_registrations: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings)).void
|
642
|
+
params(account_management: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountManagement), account_onboarding: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::AccountOnboarding), balances: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Balances), disputes_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::DisputesList), documents: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Documents), financial_account: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccount), financial_account_transactions: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::FinancialAccountTransactions), instant_payouts_promotion: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::InstantPayoutsPromotion), issuing_card: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCard), issuing_cards_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::IssuingCardsList), notification_banner: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::NotificationBanner), payment_details: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDetails), payment_disputes: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PaymentDisputes), payments: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payments), payouts: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::Payouts), payouts_list: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::PayoutsList), tax_registrations: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxRegistrations), tax_settings: T.nilable(::Stripe::AccountSessionService::CreateParams::Components::TaxSettings)).void
|
605
643
|
}
|
606
644
|
def initialize(
|
607
645
|
account_management: nil,
|
@@ -611,6 +649,7 @@ module Stripe
|
|
611
649
|
documents: nil,
|
612
650
|
financial_account: nil,
|
613
651
|
financial_account_transactions: nil,
|
652
|
+
instant_payouts_promotion: nil,
|
614
653
|
issuing_card: nil,
|
615
654
|
issuing_cards_list: nil,
|
616
655
|
notification_banner: nil,
|
@@ -49,7 +49,7 @@ module Stripe
|
|
49
49
|
returns(T.nilable(::Stripe::Billing::CreditGrantService::CreateParams::Amount::Monetary))
|
50
50
|
}
|
51
51
|
attr_accessor :monetary
|
52
|
-
#
|
52
|
+
# The type of this amount. We currently only support `monetary` billing credits.
|
53
53
|
sig { returns(String) }
|
54
54
|
attr_accessor :type
|
55
55
|
sig {
|
@@ -118,14 +118,36 @@ module Stripe
|
|
118
118
|
end
|
119
119
|
class SubscriptionUpdate < Stripe::RequestParams
|
120
120
|
class Product < Stripe::RequestParams
|
121
|
+
class AdjustableQuantity < Stripe::RequestParams
|
122
|
+
# Set to true if the quantity can be adjusted to any non-negative integer.
|
123
|
+
sig { returns(T::Boolean) }
|
124
|
+
attr_accessor :enabled
|
125
|
+
# The maximum quantity that can be set for the product.
|
126
|
+
sig { returns(T.nilable(Integer)) }
|
127
|
+
attr_accessor :maximum
|
128
|
+
# The minimum quantity that can be set for the product.
|
129
|
+
sig { returns(T.nilable(Integer)) }
|
130
|
+
attr_accessor :minimum
|
131
|
+
sig {
|
132
|
+
params(enabled: T::Boolean, maximum: T.nilable(Integer), minimum: T.nilable(Integer)).void
|
133
|
+
}
|
134
|
+
def initialize(enabled: nil, maximum: nil, minimum: nil); end
|
135
|
+
end
|
136
|
+
# Control whether the quantity of the product can be adjusted.
|
137
|
+
sig {
|
138
|
+
returns(T.nilable(::Stripe::BillingPortal::ConfigurationService::CreateParams::Features::SubscriptionUpdate::Product::AdjustableQuantity))
|
139
|
+
}
|
140
|
+
attr_accessor :adjustable_quantity
|
121
141
|
# The list of price IDs for the product that a subscription can be updated to.
|
122
142
|
sig { returns(T::Array[String]) }
|
123
143
|
attr_accessor :prices
|
124
144
|
# The product id.
|
125
145
|
sig { returns(String) }
|
126
146
|
attr_accessor :product
|
127
|
-
sig {
|
128
|
-
|
147
|
+
sig {
|
148
|
+
params(adjustable_quantity: T.nilable(::Stripe::BillingPortal::ConfigurationService::CreateParams::Features::SubscriptionUpdate::Product::AdjustableQuantity), prices: T::Array[String], product: String).void
|
149
|
+
}
|
150
|
+
def initialize(adjustable_quantity: nil, prices: nil, product: nil); end
|
129
151
|
end
|
130
152
|
class ScheduleAtPeriodEnd < Stripe::RequestParams
|
131
153
|
class Condition < Stripe::RequestParams
|
@@ -341,14 +363,36 @@ module Stripe
|
|
341
363
|
end
|
342
364
|
class SubscriptionUpdate < Stripe::RequestParams
|
343
365
|
class Product < Stripe::RequestParams
|
366
|
+
class AdjustableQuantity < Stripe::RequestParams
|
367
|
+
# Set to true if the quantity can be adjusted to any non-negative integer.
|
368
|
+
sig { returns(T::Boolean) }
|
369
|
+
attr_accessor :enabled
|
370
|
+
# The maximum quantity that can be set for the product.
|
371
|
+
sig { returns(T.nilable(Integer)) }
|
372
|
+
attr_accessor :maximum
|
373
|
+
# The minimum quantity that can be set for the product.
|
374
|
+
sig { returns(T.nilable(Integer)) }
|
375
|
+
attr_accessor :minimum
|
376
|
+
sig {
|
377
|
+
params(enabled: T::Boolean, maximum: T.nilable(Integer), minimum: T.nilable(Integer)).void
|
378
|
+
}
|
379
|
+
def initialize(enabled: nil, maximum: nil, minimum: nil); end
|
380
|
+
end
|
381
|
+
# Control whether the quantity of the product can be adjusted.
|
382
|
+
sig {
|
383
|
+
returns(T.nilable(::Stripe::BillingPortal::ConfigurationService::UpdateParams::Features::SubscriptionUpdate::Product::AdjustableQuantity))
|
384
|
+
}
|
385
|
+
attr_accessor :adjustable_quantity
|
344
386
|
# The list of price IDs for the product that a subscription can be updated to.
|
345
387
|
sig { returns(T::Array[String]) }
|
346
388
|
attr_accessor :prices
|
347
389
|
# The product id.
|
348
390
|
sig { returns(String) }
|
349
391
|
attr_accessor :product
|
350
|
-
sig {
|
351
|
-
|
392
|
+
sig {
|
393
|
+
params(adjustable_quantity: T.nilable(::Stripe::BillingPortal::ConfigurationService::UpdateParams::Features::SubscriptionUpdate::Product::AdjustableQuantity), prices: T::Array[String], product: String).void
|
394
|
+
}
|
395
|
+
def initialize(adjustable_quantity: nil, prices: nil, product: nil); end
|
352
396
|
end
|
353
397
|
class ScheduleAtPeriodEnd < Stripe::RequestParams
|
354
398
|
class Condition < Stripe::RequestParams
|