stripe 15.4.0.pre.beta.2 → 15.5.0.pre.beta.1
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 +61 -5
- data/OPENAPI_VERSION +1 -1
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +2 -2
- data/lib/stripe/events/{v2_core_account_link_completed_event.rb → v2_core_account_link_returned_event.rb} +2 -2
- data/lib/stripe/events/{v2_off_session_payment_requires_capture_event.rb → v2_money_management_payout_method_updated_event.rb} +3 -3
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +2 -1
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +1 -1
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +1 -1
- data/lib/stripe/object_types.rb +3 -0
- 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/balance_settings.rb +13 -13
- data/lib/stripe/resources/billing/credit_grant.rb +1 -1
- data/lib/stripe/resources/billing/meter_usage.rb +23 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +28 -0
- 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 +106 -6
- data/lib/stripe/resources/confirmation_token.rb +3 -3
- data/lib/stripe/resources/customer.rb +1 -1
- data/lib/stripe/resources/dispute.rb +10 -1
- data/lib/stripe/resources/event.rb +14 -26
- data/lib/stripe/resources/fx_quote.rb +6 -4
- data/lib/stripe/resources/invoice.rb +101 -8
- data/lib/stripe/resources/invoice_item.rb +1 -1
- data/lib/stripe/resources/payment_attempt_record.rb +6 -4
- data/lib/stripe/resources/payment_intent.rb +815 -4
- data/lib/stripe/resources/payment_link.rb +83 -5
- data/lib/stripe/resources/payment_method.rb +4 -4
- data/lib/stripe/resources/payment_record.rb +6 -4
- data/lib/stripe/resources/quote.rb +1 -1
- data/lib/stripe/resources/quote_preview_invoice.rb +17 -0
- 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 +79 -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/resources/terminal/onboarding_link.rb +84 -0
- data/lib/stripe/resources/v2/core/account.rb +11 -0
- data/lib/stripe/resources/v2/core/account_link.rb +18 -2
- data/lib/stripe/resources/v2/money_management/payout_method.rb +2 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +40 -23
- data/lib/stripe/resources.rb +5 -2
- 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/balance_settings_service.rb +10 -10
- data/lib/stripe/services/billing/credit_grant_service.rb +1 -1
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/checkout/session_service.rb +93 -5
- data/lib/stripe/services/invoice_item_service.rb +1 -1
- data/lib/stripe/services/invoice_service.rb +84 -8
- data/lib/stripe/services/payment_intent_service.rb +809 -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 +62 -2
- data/lib/stripe/services/tax/registration_service.rb +360 -30
- data/lib/stripe/services/terminal/configuration_service.rb +152 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +41 -3
- data/lib/stripe/services/v2/core/account_service.rb +38 -2
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +34 -19
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +4 -0
- data/lib/stripe/services.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +4893 -390
- metadata +9 -4
@@ -34,19 +34,41 @@ module Stripe
|
|
34
34
|
class CreateParams < Stripe::RequestParams
|
35
35
|
class CountryOptions < Stripe::RequestParams
|
36
36
|
class Ae < Stripe::RequestParams
|
37
|
+
class Standard < Stripe::RequestParams
|
38
|
+
# Place of supply scheme used in an standard registration.
|
39
|
+
attr_accessor :place_of_supply_scheme
|
40
|
+
|
41
|
+
def initialize(place_of_supply_scheme: nil)
|
42
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
43
|
+
end
|
44
|
+
end
|
45
|
+
# Options for the standard registration.
|
46
|
+
attr_accessor :standard
|
37
47
|
# Type of registration to be created in `country`.
|
38
48
|
attr_accessor :type
|
39
49
|
|
40
|
-
def initialize(type: nil)
|
50
|
+
def initialize(standard: nil, type: nil)
|
51
|
+
@standard = standard
|
41
52
|
@type = type
|
42
53
|
end
|
43
54
|
end
|
44
55
|
|
45
56
|
class Al < Stripe::RequestParams
|
57
|
+
class Standard < Stripe::RequestParams
|
58
|
+
# Place of supply scheme used in an standard registration.
|
59
|
+
attr_accessor :place_of_supply_scheme
|
60
|
+
|
61
|
+
def initialize(place_of_supply_scheme: nil)
|
62
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
63
|
+
end
|
64
|
+
end
|
65
|
+
# Options for the standard registration.
|
66
|
+
attr_accessor :standard
|
46
67
|
# Type of registration to be created in `country`.
|
47
68
|
attr_accessor :type
|
48
69
|
|
49
|
-
def initialize(type: nil)
|
70
|
+
def initialize(standard: nil, type: nil)
|
71
|
+
@standard = standard
|
50
72
|
@type = type
|
51
73
|
end
|
52
74
|
end
|
@@ -61,10 +83,21 @@ module Stripe
|
|
61
83
|
end
|
62
84
|
|
63
85
|
class Ao < Stripe::RequestParams
|
86
|
+
class Standard < Stripe::RequestParams
|
87
|
+
# Place of supply scheme used in an standard registration.
|
88
|
+
attr_accessor :place_of_supply_scheme
|
89
|
+
|
90
|
+
def initialize(place_of_supply_scheme: nil)
|
91
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
92
|
+
end
|
93
|
+
end
|
94
|
+
# Options for the standard registration.
|
95
|
+
attr_accessor :standard
|
64
96
|
# Type of registration to be created in `country`.
|
65
97
|
attr_accessor :type
|
66
98
|
|
67
|
-
def initialize(type: nil)
|
99
|
+
def initialize(standard: nil, type: nil)
|
100
|
+
@standard = standard
|
68
101
|
@type = type
|
69
102
|
end
|
70
103
|
end
|
@@ -90,19 +123,41 @@ module Stripe
|
|
90
123
|
end
|
91
124
|
|
92
125
|
class Au < Stripe::RequestParams
|
126
|
+
class Standard < Stripe::RequestParams
|
127
|
+
# Place of supply scheme used in an standard registration.
|
128
|
+
attr_accessor :place_of_supply_scheme
|
129
|
+
|
130
|
+
def initialize(place_of_supply_scheme: nil)
|
131
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
132
|
+
end
|
133
|
+
end
|
134
|
+
# Options for the standard registration.
|
135
|
+
attr_accessor :standard
|
93
136
|
# Type of registration to be created in `country`.
|
94
137
|
attr_accessor :type
|
95
138
|
|
96
|
-
def initialize(type: nil)
|
139
|
+
def initialize(standard: nil, type: nil)
|
140
|
+
@standard = standard
|
97
141
|
@type = type
|
98
142
|
end
|
99
143
|
end
|
100
144
|
|
101
145
|
class Aw < Stripe::RequestParams
|
146
|
+
class Standard < Stripe::RequestParams
|
147
|
+
# Place of supply scheme used in an standard registration.
|
148
|
+
attr_accessor :place_of_supply_scheme
|
149
|
+
|
150
|
+
def initialize(place_of_supply_scheme: nil)
|
151
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
152
|
+
end
|
153
|
+
end
|
154
|
+
# Options for the standard registration.
|
155
|
+
attr_accessor :standard
|
102
156
|
# Type of registration to be created in `country`.
|
103
157
|
attr_accessor :type
|
104
158
|
|
105
|
-
def initialize(type: nil)
|
159
|
+
def initialize(standard: nil, type: nil)
|
160
|
+
@standard = standard
|
106
161
|
@type = type
|
107
162
|
end
|
108
163
|
end
|
@@ -117,28 +172,61 @@ module Stripe
|
|
117
172
|
end
|
118
173
|
|
119
174
|
class Ba < Stripe::RequestParams
|
175
|
+
class Standard < Stripe::RequestParams
|
176
|
+
# Place of supply scheme used in an standard registration.
|
177
|
+
attr_accessor :place_of_supply_scheme
|
178
|
+
|
179
|
+
def initialize(place_of_supply_scheme: nil)
|
180
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
181
|
+
end
|
182
|
+
end
|
183
|
+
# Options for the standard registration.
|
184
|
+
attr_accessor :standard
|
120
185
|
# Type of registration to be created in `country`.
|
121
186
|
attr_accessor :type
|
122
187
|
|
123
|
-
def initialize(type: nil)
|
188
|
+
def initialize(standard: nil, type: nil)
|
189
|
+
@standard = standard
|
124
190
|
@type = type
|
125
191
|
end
|
126
192
|
end
|
127
193
|
|
128
194
|
class Bb < Stripe::RequestParams
|
195
|
+
class Standard < Stripe::RequestParams
|
196
|
+
# Place of supply scheme used in an standard registration.
|
197
|
+
attr_accessor :place_of_supply_scheme
|
198
|
+
|
199
|
+
def initialize(place_of_supply_scheme: nil)
|
200
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
201
|
+
end
|
202
|
+
end
|
203
|
+
# Options for the standard registration.
|
204
|
+
attr_accessor :standard
|
129
205
|
# Type of registration to be created in `country`.
|
130
206
|
attr_accessor :type
|
131
207
|
|
132
|
-
def initialize(type: nil)
|
208
|
+
def initialize(standard: nil, type: nil)
|
209
|
+
@standard = standard
|
133
210
|
@type = type
|
134
211
|
end
|
135
212
|
end
|
136
213
|
|
137
214
|
class Bd < Stripe::RequestParams
|
215
|
+
class Standard < Stripe::RequestParams
|
216
|
+
# Place of supply scheme used in an standard registration.
|
217
|
+
attr_accessor :place_of_supply_scheme
|
218
|
+
|
219
|
+
def initialize(place_of_supply_scheme: nil)
|
220
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
221
|
+
end
|
222
|
+
end
|
223
|
+
# Options for the standard registration.
|
224
|
+
attr_accessor :standard
|
138
225
|
# Type of registration to be created in `country`.
|
139
226
|
attr_accessor :type
|
140
227
|
|
141
|
-
def initialize(type: nil)
|
228
|
+
def initialize(standard: nil, type: nil)
|
229
|
+
@standard = standard
|
142
230
|
@type = type
|
143
231
|
end
|
144
232
|
end
|
@@ -164,10 +252,21 @@ module Stripe
|
|
164
252
|
end
|
165
253
|
|
166
254
|
class Bf < Stripe::RequestParams
|
255
|
+
class Standard < Stripe::RequestParams
|
256
|
+
# Place of supply scheme used in an standard registration.
|
257
|
+
attr_accessor :place_of_supply_scheme
|
258
|
+
|
259
|
+
def initialize(place_of_supply_scheme: nil)
|
260
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
261
|
+
end
|
262
|
+
end
|
263
|
+
# Options for the standard registration.
|
264
|
+
attr_accessor :standard
|
167
265
|
# Type of registration to be created in `country`.
|
168
266
|
attr_accessor :type
|
169
267
|
|
170
|
-
def initialize(type: nil)
|
268
|
+
def initialize(standard: nil, type: nil)
|
269
|
+
@standard = standard
|
171
270
|
@type = type
|
172
271
|
end
|
173
272
|
end
|
@@ -193,10 +292,21 @@ module Stripe
|
|
193
292
|
end
|
194
293
|
|
195
294
|
class Bh < Stripe::RequestParams
|
295
|
+
class Standard < Stripe::RequestParams
|
296
|
+
# Place of supply scheme used in an standard registration.
|
297
|
+
attr_accessor :place_of_supply_scheme
|
298
|
+
|
299
|
+
def initialize(place_of_supply_scheme: nil)
|
300
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
301
|
+
end
|
302
|
+
end
|
303
|
+
# Options for the standard registration.
|
304
|
+
attr_accessor :standard
|
196
305
|
# Type of registration to be created in `country`.
|
197
306
|
attr_accessor :type
|
198
307
|
|
199
|
-
def initialize(type: nil)
|
308
|
+
def initialize(standard: nil, type: nil)
|
309
|
+
@standard = standard
|
200
310
|
@type = type
|
201
311
|
end
|
202
312
|
end
|
@@ -211,10 +321,21 @@ module Stripe
|
|
211
321
|
end
|
212
322
|
|
213
323
|
class Bs < Stripe::RequestParams
|
324
|
+
class Standard < Stripe::RequestParams
|
325
|
+
# Place of supply scheme used in an standard registration.
|
326
|
+
attr_accessor :place_of_supply_scheme
|
327
|
+
|
328
|
+
def initialize(place_of_supply_scheme: nil)
|
329
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
330
|
+
end
|
331
|
+
end
|
332
|
+
# Options for the standard registration.
|
333
|
+
attr_accessor :standard
|
214
334
|
# Type of registration to be created in `country`.
|
215
335
|
attr_accessor :type
|
216
336
|
|
217
|
-
def initialize(type: nil)
|
337
|
+
def initialize(standard: nil, type: nil)
|
338
|
+
@standard = standard
|
218
339
|
@type = type
|
219
340
|
end
|
220
341
|
end
|
@@ -249,19 +370,41 @@ module Stripe
|
|
249
370
|
end
|
250
371
|
|
251
372
|
class Cd < Stripe::RequestParams
|
373
|
+
class Standard < Stripe::RequestParams
|
374
|
+
# Place of supply scheme used in an standard registration.
|
375
|
+
attr_accessor :place_of_supply_scheme
|
376
|
+
|
377
|
+
def initialize(place_of_supply_scheme: nil)
|
378
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
379
|
+
end
|
380
|
+
end
|
381
|
+
# Options for the standard registration.
|
382
|
+
attr_accessor :standard
|
252
383
|
# Type of registration to be created in `country`.
|
253
384
|
attr_accessor :type
|
254
385
|
|
255
|
-
def initialize(type: nil)
|
386
|
+
def initialize(standard: nil, type: nil)
|
387
|
+
@standard = standard
|
256
388
|
@type = type
|
257
389
|
end
|
258
390
|
end
|
259
391
|
|
260
392
|
class Ch < Stripe::RequestParams
|
393
|
+
class Standard < Stripe::RequestParams
|
394
|
+
# Place of supply scheme used in an standard registration.
|
395
|
+
attr_accessor :place_of_supply_scheme
|
396
|
+
|
397
|
+
def initialize(place_of_supply_scheme: nil)
|
398
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
399
|
+
end
|
400
|
+
end
|
401
|
+
# Options for the standard registration.
|
402
|
+
attr_accessor :standard
|
261
403
|
# Type of registration to be created in `country`.
|
262
404
|
attr_accessor :type
|
263
405
|
|
264
|
-
def initialize(type: nil)
|
406
|
+
def initialize(standard: nil, type: nil)
|
407
|
+
@standard = standard
|
265
408
|
@type = type
|
266
409
|
end
|
267
410
|
end
|
@@ -450,10 +593,21 @@ module Stripe
|
|
450
593
|
end
|
451
594
|
|
452
595
|
class Et < Stripe::RequestParams
|
596
|
+
class Standard < Stripe::RequestParams
|
597
|
+
# Place of supply scheme used in an standard registration.
|
598
|
+
attr_accessor :place_of_supply_scheme
|
599
|
+
|
600
|
+
def initialize(place_of_supply_scheme: nil)
|
601
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
602
|
+
end
|
603
|
+
end
|
604
|
+
# Options for the standard registration.
|
605
|
+
attr_accessor :standard
|
453
606
|
# Type of registration to be created in `country`.
|
454
607
|
attr_accessor :type
|
455
608
|
|
456
|
-
def initialize(type: nil)
|
609
|
+
def initialize(standard: nil, type: nil)
|
610
|
+
@standard = standard
|
457
611
|
@type = type
|
458
612
|
end
|
459
613
|
end
|
@@ -499,10 +653,21 @@ module Stripe
|
|
499
653
|
end
|
500
654
|
|
501
655
|
class Gb < Stripe::RequestParams
|
656
|
+
class Standard < Stripe::RequestParams
|
657
|
+
# Place of supply scheme used in an standard registration.
|
658
|
+
attr_accessor :place_of_supply_scheme
|
659
|
+
|
660
|
+
def initialize(place_of_supply_scheme: nil)
|
661
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
662
|
+
end
|
663
|
+
end
|
664
|
+
# Options for the standard registration.
|
665
|
+
attr_accessor :standard
|
502
666
|
# Type of registration to be created in `country`.
|
503
667
|
attr_accessor :type
|
504
668
|
|
505
|
-
def initialize(type: nil)
|
669
|
+
def initialize(standard: nil, type: nil)
|
670
|
+
@standard = standard
|
506
671
|
@type = type
|
507
672
|
end
|
508
673
|
end
|
@@ -517,10 +682,21 @@ module Stripe
|
|
517
682
|
end
|
518
683
|
|
519
684
|
class Gn < Stripe::RequestParams
|
685
|
+
class Standard < Stripe::RequestParams
|
686
|
+
# Place of supply scheme used in an standard registration.
|
687
|
+
attr_accessor :place_of_supply_scheme
|
688
|
+
|
689
|
+
def initialize(place_of_supply_scheme: nil)
|
690
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
691
|
+
end
|
692
|
+
end
|
693
|
+
# Options for the standard registration.
|
694
|
+
attr_accessor :standard
|
520
695
|
# Type of registration to be created in `country`.
|
521
696
|
attr_accessor :type
|
522
697
|
|
523
|
-
def initialize(type: nil)
|
698
|
+
def initialize(standard: nil, type: nil)
|
699
|
+
@standard = standard
|
524
700
|
@type = type
|
525
701
|
end
|
526
702
|
end
|
@@ -624,10 +800,21 @@ module Stripe
|
|
624
800
|
end
|
625
801
|
|
626
802
|
class Is < Stripe::RequestParams
|
803
|
+
class Standard < Stripe::RequestParams
|
804
|
+
# Place of supply scheme used in an standard registration.
|
805
|
+
attr_accessor :place_of_supply_scheme
|
806
|
+
|
807
|
+
def initialize(place_of_supply_scheme: nil)
|
808
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
809
|
+
end
|
810
|
+
end
|
811
|
+
# Options for the standard registration.
|
812
|
+
attr_accessor :standard
|
627
813
|
# Type of registration to be created in `country`.
|
628
814
|
attr_accessor :type
|
629
815
|
|
630
|
-
def initialize(type: nil)
|
816
|
+
def initialize(standard: nil, type: nil)
|
817
|
+
@standard = standard
|
631
818
|
@type = type
|
632
819
|
end
|
633
820
|
end
|
@@ -653,10 +840,21 @@ module Stripe
|
|
653
840
|
end
|
654
841
|
|
655
842
|
class Jp < Stripe::RequestParams
|
843
|
+
class Standard < Stripe::RequestParams
|
844
|
+
# Place of supply scheme used in an standard registration.
|
845
|
+
attr_accessor :place_of_supply_scheme
|
846
|
+
|
847
|
+
def initialize(place_of_supply_scheme: nil)
|
848
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
849
|
+
end
|
850
|
+
end
|
851
|
+
# Options for the standard registration.
|
852
|
+
attr_accessor :standard
|
656
853
|
# Type of registration to be created in `country`.
|
657
854
|
attr_accessor :type
|
658
855
|
|
659
|
-
def initialize(type: nil)
|
856
|
+
def initialize(standard: nil, type: nil)
|
857
|
+
@standard = standard
|
660
858
|
@type = type
|
661
859
|
end
|
662
860
|
end
|
@@ -794,28 +992,61 @@ module Stripe
|
|
794
992
|
end
|
795
993
|
|
796
994
|
class Me < Stripe::RequestParams
|
995
|
+
class Standard < Stripe::RequestParams
|
996
|
+
# Place of supply scheme used in an standard registration.
|
997
|
+
attr_accessor :place_of_supply_scheme
|
998
|
+
|
999
|
+
def initialize(place_of_supply_scheme: nil)
|
1000
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
# Options for the standard registration.
|
1004
|
+
attr_accessor :standard
|
797
1005
|
# Type of registration to be created in `country`.
|
798
1006
|
attr_accessor :type
|
799
1007
|
|
800
|
-
def initialize(type: nil)
|
1008
|
+
def initialize(standard: nil, type: nil)
|
1009
|
+
@standard = standard
|
801
1010
|
@type = type
|
802
1011
|
end
|
803
1012
|
end
|
804
1013
|
|
805
1014
|
class Mk < Stripe::RequestParams
|
1015
|
+
class Standard < Stripe::RequestParams
|
1016
|
+
# Place of supply scheme used in an standard registration.
|
1017
|
+
attr_accessor :place_of_supply_scheme
|
1018
|
+
|
1019
|
+
def initialize(place_of_supply_scheme: nil)
|
1020
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1021
|
+
end
|
1022
|
+
end
|
1023
|
+
# Options for the standard registration.
|
1024
|
+
attr_accessor :standard
|
806
1025
|
# Type of registration to be created in `country`.
|
807
1026
|
attr_accessor :type
|
808
1027
|
|
809
|
-
def initialize(type: nil)
|
1028
|
+
def initialize(standard: nil, type: nil)
|
1029
|
+
@standard = standard
|
810
1030
|
@type = type
|
811
1031
|
end
|
812
1032
|
end
|
813
1033
|
|
814
1034
|
class Mr < Stripe::RequestParams
|
1035
|
+
class Standard < Stripe::RequestParams
|
1036
|
+
# Place of supply scheme used in an standard registration.
|
1037
|
+
attr_accessor :place_of_supply_scheme
|
1038
|
+
|
1039
|
+
def initialize(place_of_supply_scheme: nil)
|
1040
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1041
|
+
end
|
1042
|
+
end
|
1043
|
+
# Options for the standard registration.
|
1044
|
+
attr_accessor :standard
|
815
1045
|
# Type of registration to be created in `country`.
|
816
1046
|
attr_accessor :type
|
817
1047
|
|
818
|
-
def initialize(type: nil)
|
1048
|
+
def initialize(standard: nil, type: nil)
|
1049
|
+
@standard = standard
|
819
1050
|
@type = type
|
820
1051
|
end
|
821
1052
|
end
|
@@ -888,10 +1119,21 @@ module Stripe
|
|
888
1119
|
end
|
889
1120
|
|
890
1121
|
class No < Stripe::RequestParams
|
1122
|
+
class Standard < Stripe::RequestParams
|
1123
|
+
# Place of supply scheme used in an standard registration.
|
1124
|
+
attr_accessor :place_of_supply_scheme
|
1125
|
+
|
1126
|
+
def initialize(place_of_supply_scheme: nil)
|
1127
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
# Options for the standard registration.
|
1131
|
+
attr_accessor :standard
|
891
1132
|
# Type of registration to be created in `country`.
|
892
1133
|
attr_accessor :type
|
893
1134
|
|
894
|
-
def initialize(type: nil)
|
1135
|
+
def initialize(standard: nil, type: nil)
|
1136
|
+
@standard = standard
|
895
1137
|
@type = type
|
896
1138
|
end
|
897
1139
|
end
|
@@ -906,19 +1148,41 @@ module Stripe
|
|
906
1148
|
end
|
907
1149
|
|
908
1150
|
class Nz < Stripe::RequestParams
|
1151
|
+
class Standard < Stripe::RequestParams
|
1152
|
+
# Place of supply scheme used in an standard registration.
|
1153
|
+
attr_accessor :place_of_supply_scheme
|
1154
|
+
|
1155
|
+
def initialize(place_of_supply_scheme: nil)
|
1156
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
# Options for the standard registration.
|
1160
|
+
attr_accessor :standard
|
909
1161
|
# Type of registration to be created in `country`.
|
910
1162
|
attr_accessor :type
|
911
1163
|
|
912
|
-
def initialize(type: nil)
|
1164
|
+
def initialize(standard: nil, type: nil)
|
1165
|
+
@standard = standard
|
913
1166
|
@type = type
|
914
1167
|
end
|
915
1168
|
end
|
916
1169
|
|
917
1170
|
class Om < Stripe::RequestParams
|
1171
|
+
class Standard < Stripe::RequestParams
|
1172
|
+
# Place of supply scheme used in an standard registration.
|
1173
|
+
attr_accessor :place_of_supply_scheme
|
1174
|
+
|
1175
|
+
def initialize(place_of_supply_scheme: nil)
|
1176
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
# Options for the standard registration.
|
1180
|
+
attr_accessor :standard
|
918
1181
|
# Type of registration to be created in `country`.
|
919
1182
|
attr_accessor :type
|
920
1183
|
|
921
|
-
def initialize(type: nil)
|
1184
|
+
def initialize(standard: nil, type: nil)
|
1185
|
+
@standard = standard
|
922
1186
|
@type = type
|
923
1187
|
end
|
924
1188
|
end
|
@@ -1002,10 +1266,21 @@ module Stripe
|
|
1002
1266
|
end
|
1003
1267
|
|
1004
1268
|
class Rs < Stripe::RequestParams
|
1269
|
+
class Standard < Stripe::RequestParams
|
1270
|
+
# Place of supply scheme used in an standard registration.
|
1271
|
+
attr_accessor :place_of_supply_scheme
|
1272
|
+
|
1273
|
+
def initialize(place_of_supply_scheme: nil)
|
1274
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
# Options for the standard registration.
|
1278
|
+
attr_accessor :standard
|
1005
1279
|
# Type of registration to be created in `country`.
|
1006
1280
|
attr_accessor :type
|
1007
1281
|
|
1008
|
-
def initialize(type: nil)
|
1282
|
+
def initialize(standard: nil, type: nil)
|
1283
|
+
@standard = standard
|
1009
1284
|
@type = type
|
1010
1285
|
end
|
1011
1286
|
end
|
@@ -1049,10 +1324,21 @@ module Stripe
|
|
1049
1324
|
end
|
1050
1325
|
|
1051
1326
|
class Sg < Stripe::RequestParams
|
1327
|
+
class Standard < Stripe::RequestParams
|
1328
|
+
# Place of supply scheme used in an standard registration.
|
1329
|
+
attr_accessor :place_of_supply_scheme
|
1330
|
+
|
1331
|
+
def initialize(place_of_supply_scheme: nil)
|
1332
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
# Options for the standard registration.
|
1336
|
+
attr_accessor :standard
|
1052
1337
|
# Type of registration to be created in `country`.
|
1053
1338
|
attr_accessor :type
|
1054
1339
|
|
1055
|
-
def initialize(type: nil)
|
1340
|
+
def initialize(standard: nil, type: nil)
|
1341
|
+
@standard = standard
|
1056
1342
|
@type = type
|
1057
1343
|
end
|
1058
1344
|
end
|
@@ -1107,10 +1393,21 @@ module Stripe
|
|
1107
1393
|
end
|
1108
1394
|
|
1109
1395
|
class Sr < Stripe::RequestParams
|
1396
|
+
class Standard < Stripe::RequestParams
|
1397
|
+
# Place of supply scheme used in an standard registration.
|
1398
|
+
attr_accessor :place_of_supply_scheme
|
1399
|
+
|
1400
|
+
def initialize(place_of_supply_scheme: nil)
|
1401
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1402
|
+
end
|
1403
|
+
end
|
1404
|
+
# Options for the standard registration.
|
1405
|
+
attr_accessor :standard
|
1110
1406
|
# Type of registration to be created in `country`.
|
1111
1407
|
attr_accessor :type
|
1112
1408
|
|
1113
|
-
def initialize(type: nil)
|
1409
|
+
def initialize(standard: nil, type: nil)
|
1410
|
+
@standard = standard
|
1114
1411
|
@type = type
|
1115
1412
|
end
|
1116
1413
|
end
|
@@ -1234,10 +1531,21 @@ module Stripe
|
|
1234
1531
|
end
|
1235
1532
|
|
1236
1533
|
class Uy < Stripe::RequestParams
|
1534
|
+
class Standard < Stripe::RequestParams
|
1535
|
+
# Place of supply scheme used in an standard registration.
|
1536
|
+
attr_accessor :place_of_supply_scheme
|
1537
|
+
|
1538
|
+
def initialize(place_of_supply_scheme: nil)
|
1539
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1540
|
+
end
|
1541
|
+
end
|
1542
|
+
# Options for the standard registration.
|
1543
|
+
attr_accessor :standard
|
1237
1544
|
# Type of registration to be created in `country`.
|
1238
1545
|
attr_accessor :type
|
1239
1546
|
|
1240
|
-
def initialize(type: nil)
|
1547
|
+
def initialize(standard: nil, type: nil)
|
1548
|
+
@standard = standard
|
1241
1549
|
@type = type
|
1242
1550
|
end
|
1243
1551
|
end
|
@@ -1261,10 +1569,21 @@ module Stripe
|
|
1261
1569
|
end
|
1262
1570
|
|
1263
1571
|
class Za < Stripe::RequestParams
|
1572
|
+
class Standard < Stripe::RequestParams
|
1573
|
+
# Place of supply scheme used in an standard registration.
|
1574
|
+
attr_accessor :place_of_supply_scheme
|
1575
|
+
|
1576
|
+
def initialize(place_of_supply_scheme: nil)
|
1577
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
# Options for the standard registration.
|
1581
|
+
attr_accessor :standard
|
1264
1582
|
# Type of registration to be created in `country`.
|
1265
1583
|
attr_accessor :type
|
1266
1584
|
|
1267
|
-
def initialize(type: nil)
|
1585
|
+
def initialize(standard: nil, type: nil)
|
1586
|
+
@standard = standard
|
1268
1587
|
@type = type
|
1269
1588
|
end
|
1270
1589
|
end
|
@@ -1279,10 +1598,21 @@ module Stripe
|
|
1279
1598
|
end
|
1280
1599
|
|
1281
1600
|
class Zw < Stripe::RequestParams
|
1601
|
+
class Standard < Stripe::RequestParams
|
1602
|
+
# Place of supply scheme used in an standard registration.
|
1603
|
+
attr_accessor :place_of_supply_scheme
|
1604
|
+
|
1605
|
+
def initialize(place_of_supply_scheme: nil)
|
1606
|
+
@place_of_supply_scheme = place_of_supply_scheme
|
1607
|
+
end
|
1608
|
+
end
|
1609
|
+
# Options for the standard registration.
|
1610
|
+
attr_accessor :standard
|
1282
1611
|
# Type of registration to be created in `country`.
|
1283
1612
|
attr_accessor :type
|
1284
1613
|
|
1285
|
-
def initialize(type: nil)
|
1614
|
+
def initialize(standard: nil, type: nil)
|
1615
|
+
@standard = standard
|
1286
1616
|
@type = type
|
1287
1617
|
end
|
1288
1618
|
end
|