stripe 19.7.0.pre.alpha.1 → 19.7.0.pre.alpha.2

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.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +2 -2
  3. data/lib/stripe/event_types.rb +32 -0
  4. data/lib/stripe/events/v2_core_health_metronome_notification_latency_firing_event.rb +58 -0
  5. data/lib/stripe/events/v2_core_health_metronome_notification_latency_resolved_event.rb +60 -0
  6. data/lib/stripe/events/v2_money_management_payout_intent_canceled_event.rb +44 -0
  7. data/lib/stripe/events/v2_money_management_payout_intent_created_event.rb +44 -0
  8. data/lib/stripe/events/v2_money_management_payout_intent_posted_event.rb +44 -0
  9. data/lib/stripe/events/v2_money_management_payout_intent_processing_event.rb +44 -0
  10. data/lib/stripe/events/v2_money_management_payout_intent_requires_action_event.rb +44 -0
  11. data/lib/stripe/events/v2_signals_payment_retry_evaluations_retry_recommended_event.rb +46 -0
  12. data/lib/stripe/object_types.rb +4 -0
  13. data/lib/stripe/params/account_session_create_params.rb +8 -1
  14. data/lib/stripe/params/billing/feedback_option_create_params.rb +18 -0
  15. data/lib/stripe/params/billing/feedback_option_deactivate_params.rb +15 -0
  16. data/lib/stripe/params/billing/feedback_option_list_params.rb +27 -0
  17. data/lib/stripe/params/billing/feedback_option_retrieve_params.rb +15 -0
  18. data/lib/stripe/params/billing/feedback_option_update_params.rb +18 -0
  19. data/lib/stripe/params/billing_portal/configuration_create_params.rb +4 -1
  20. data/lib/stripe/params/billing_portal/configuration_update_params.rb +4 -1
  21. data/lib/stripe/params/checkout/session_create_params.rb +4 -1
  22. data/lib/stripe/params/checkout/session_update_params.rb +53 -0
  23. data/lib/stripe/params/customer_session_create_params.rb +26 -0
  24. data/lib/stripe/params/payment_intent_confirm_params.rb +9 -5
  25. data/lib/stripe/params/payment_intent_create_params.rb +9 -5
  26. data/lib/stripe/params/payment_intent_update_params.rb +9 -5
  27. data/lib/stripe/params/payment_link_update_params.rb +32 -1
  28. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +19 -0
  29. data/lib/stripe/params/payment_record_report_payment_params.rb +19 -0
  30. data/lib/stripe/params/radar/billing_evaluation_create_params.rb +231 -0
  31. data/lib/stripe/params/radar/payment_evaluation_create_params.rb +1 -1
  32. data/lib/stripe/params/setup_intent_confirm_params.rb +4 -1
  33. data/lib/stripe/params/setup_intent_create_params.rb +4 -5
  34. data/lib/stripe/params/setup_intent_update_params.rb +4 -5
  35. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +21 -1
  36. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +21 -1
  37. data/lib/stripe/params/subscription_cancel_params.rb +4 -1
  38. data/lib/stripe/params/subscription_update_params.rb +8 -1
  39. data/lib/stripe/params/tax/registration_create_params.rb +351 -27
  40. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +21 -1
  41. data/lib/stripe/params/v2/billing/contract_create_params.rb +34 -0
  42. data/lib/stripe/params/v2/billing/contract_update_params.rb +91 -0
  43. data/lib/stripe/params/v2/core/account_create_params.rb +2 -5
  44. data/lib/stripe/params/v2/core/account_update_params.rb +6 -5
  45. data/lib/stripe/params/v2/core/approval_request_list_params.rb +31 -1
  46. data/lib/stripe/params/v2/core/{approval_request_submit_params.rb → approval_request_update_params.rb} +2 -2
  47. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +13 -1
  48. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -1
  49. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -1
  50. data/lib/stripe/params/v2/money_management/payout_method_disable_params.rb +10 -0
  51. data/lib/stripe/params/v2/signals/account_activity_create_params.rb +32 -0
  52. data/lib/stripe/params/v2/signals/payment_retry_evaluation_cancel_params.rb +17 -0
  53. data/lib/stripe/params/v2/signals/payment_retry_evaluation_create_params.rb +20 -0
  54. data/lib/stripe/params/v2/signals/payment_retry_evaluation_retrieve_params.rb +10 -0
  55. data/lib/stripe/params/v2/signals/payment_retry_evaluation_update_params.rb +20 -0
  56. data/lib/stripe/params/v2/{core/approval_request_execute_params.rb → signals/payment_retry_signal_retrieve_params.rb} +2 -2
  57. data/lib/stripe/params/v2/tax/integration_configuration_retrieve_params.rb +10 -0
  58. data/lib/stripe/params/v2/tax/integration_configuration_update_params.rb +25 -0
  59. data/lib/stripe/params.rb +31 -4
  60. data/lib/stripe/resources/account.rb +2 -0
  61. data/lib/stripe/resources/account_session.rb +27 -0
  62. data/lib/stripe/resources/billing/feedback_option.rb +59 -1
  63. data/lib/stripe/resources/charge.rb +16 -0
  64. data/lib/stripe/resources/checkout/session.rb +16 -0
  65. data/lib/stripe/resources/confirmation_token.rb +15 -0
  66. data/lib/stripe/resources/customer_tax_exemption.rb +6 -6
  67. data/lib/stripe/resources/identity/verification_report.rb +24 -0
  68. data/lib/stripe/resources/payment_attempt_record.rb +16 -0
  69. data/lib/stripe/resources/payment_intent.rb +26 -0
  70. data/lib/stripe/resources/payment_record.rb +16 -0
  71. data/lib/stripe/resources/radar/billing_evaluation.rb +281 -0
  72. data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
  73. data/lib/stripe/resources/setup_intent.rb +2 -0
  74. data/lib/stripe/resources/shared_payment/granted_token.rb +17 -1
  75. data/lib/stripe/resources/shared_payment/issued_token.rb +17 -1
  76. data/lib/stripe/resources/terminal/reader.rb +1 -1
  77. data/lib/stripe/resources/v2/billing/contract.rb +48 -0
  78. data/lib/stripe/resources/v2/core/account.rb +2 -2
  79. data/lib/stripe/resources/v2/core/approval_request.rb +72 -14
  80. data/lib/stripe/resources/v2/core/event_notification.rb +6 -3
  81. data/lib/stripe/resources/v2/core/fee_batch.rb +2 -0
  82. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +2 -0
  83. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +2 -0
  84. data/lib/stripe/resources/v2/money_management/financial_account.rb +75 -0
  85. data/lib/stripe/resources/v2/money_management/payout_method.rb +4 -2
  86. data/lib/stripe/resources/v2/money_management/received_debit.rb +2 -0
  87. data/lib/stripe/resources/v2/signals/account_activity.rb +36 -0
  88. data/lib/stripe/resources/v2/signals/account_signal.rb +50 -26
  89. data/lib/stripe/resources/v2/signals/payment_retry_evaluation.rb +47 -0
  90. data/lib/stripe/resources/v2/signals/payment_retry_signal.rb +56 -0
  91. data/lib/stripe/resources/v2/tax/integration_configuration.rb +44 -0
  92. data/lib/stripe/resources.rb +46 -0
  93. data/lib/stripe/services/billing/feedback_option_service.rb +63 -0
  94. data/lib/stripe/services/billing_service.rb +2 -1
  95. data/lib/stripe/services/oauth_service.rb +1 -1
  96. data/lib/stripe/services/radar/billing_evaluation_service.rb +19 -0
  97. data/lib/stripe/services/radar_service.rb +2 -1
  98. data/lib/stripe/services/v2/billing/contract_service.rb +5 -0
  99. data/lib/stripe/services/v2/core/approval_request_service.rb +4 -16
  100. data/lib/stripe/services/v2/money_management/payout_method_service.rb +15 -0
  101. data/lib/stripe/services/v2/signals/payment_retry_evaluation_service.rb +62 -0
  102. data/lib/stripe/services/v2/signals/payment_retry_signal_service.rb +21 -0
  103. data/lib/stripe/services/v2/signals_service.rb +4 -1
  104. data/lib/stripe/services/v2/tax/integration_configuration_service.rb +32 -0
  105. data/lib/stripe/services/v2/tax_service.rb +3 -1
  106. data/lib/stripe/services.rb +10 -0
  107. data/lib/stripe/stripe_event_notification_handler.rb +32 -0
  108. data/lib/stripe/util.rb +32 -0
  109. data/lib/stripe/v2_list_object.rb +2 -1
  110. data/lib/stripe/version.rb +1 -1
  111. data/rbi/stripe.rbi +3252 -521
  112. metadata +34 -4
@@ -75,6 +75,15 @@ module Stripe
75
75
  end
76
76
 
77
77
  class At < ::Stripe::RequestParams
78
+ class Igic < ::Stripe::RequestParams
79
+ # Place of supply scheme used in an IGIC registration.
80
+ attr_accessor :place_of_supply_scheme
81
+
82
+ def initialize(place_of_supply_scheme: nil)
83
+ @place_of_supply_scheme = place_of_supply_scheme
84
+ end
85
+ end
86
+
78
87
  class Standard < ::Stripe::RequestParams
79
88
  # Place of supply scheme used in an EU standard registration.
80
89
  attr_accessor :place_of_supply_scheme
@@ -83,12 +92,15 @@ module Stripe
83
92
  @place_of_supply_scheme = place_of_supply_scheme
84
93
  end
85
94
  end
95
+ # Options for the IGIC registration.
96
+ attr_accessor :igic
86
97
  # Options for the standard registration.
87
98
  attr_accessor :standard
88
99
  # Type of registration to be created in an EU country.
89
100
  attr_accessor :type
90
101
 
91
- def initialize(standard: nil, type: nil)
102
+ def initialize(igic: nil, standard: nil, type: nil)
103
+ @igic = igic
92
104
  @standard = standard
93
105
  @type = type
94
106
  end
@@ -204,6 +216,15 @@ module Stripe
204
216
  end
205
217
 
206
218
  class Be < ::Stripe::RequestParams
219
+ class Igic < ::Stripe::RequestParams
220
+ # Place of supply scheme used in an IGIC registration.
221
+ attr_accessor :place_of_supply_scheme
222
+
223
+ def initialize(place_of_supply_scheme: nil)
224
+ @place_of_supply_scheme = place_of_supply_scheme
225
+ end
226
+ end
227
+
207
228
  class Standard < ::Stripe::RequestParams
208
229
  # Place of supply scheme used in an EU standard registration.
209
230
  attr_accessor :place_of_supply_scheme
@@ -212,12 +233,15 @@ module Stripe
212
233
  @place_of_supply_scheme = place_of_supply_scheme
213
234
  end
214
235
  end
236
+ # Options for the IGIC registration.
237
+ attr_accessor :igic
215
238
  # Options for the standard registration.
216
239
  attr_accessor :standard
217
240
  # Type of registration to be created in an EU country.
218
241
  attr_accessor :type
219
242
 
220
- def initialize(standard: nil, type: nil)
243
+ def initialize(igic: nil, standard: nil, type: nil)
244
+ @igic = igic
221
245
  @standard = standard
222
246
  @type = type
223
247
  end
@@ -244,6 +268,15 @@ module Stripe
244
268
  end
245
269
 
246
270
  class Bg < ::Stripe::RequestParams
271
+ class Igic < ::Stripe::RequestParams
272
+ # Place of supply scheme used in an IGIC registration.
273
+ attr_accessor :place_of_supply_scheme
274
+
275
+ def initialize(place_of_supply_scheme: nil)
276
+ @place_of_supply_scheme = place_of_supply_scheme
277
+ end
278
+ end
279
+
247
280
  class Standard < ::Stripe::RequestParams
248
281
  # Place of supply scheme used in an EU standard registration.
249
282
  attr_accessor :place_of_supply_scheme
@@ -252,12 +285,15 @@ module Stripe
252
285
  @place_of_supply_scheme = place_of_supply_scheme
253
286
  end
254
287
  end
288
+ # Options for the IGIC registration.
289
+ attr_accessor :igic
255
290
  # Options for the standard registration.
256
291
  attr_accessor :standard
257
292
  # Type of registration to be created in an EU country.
258
293
  attr_accessor :type
259
294
 
260
- def initialize(standard: nil, type: nil)
295
+ def initialize(igic: nil, standard: nil, type: nil)
296
+ @igic = igic
261
297
  @standard = standard
262
298
  @type = type
263
299
  end
@@ -427,6 +463,15 @@ module Stripe
427
463
  end
428
464
 
429
465
  class Cy < ::Stripe::RequestParams
466
+ class Igic < ::Stripe::RequestParams
467
+ # Place of supply scheme used in an IGIC registration.
468
+ attr_accessor :place_of_supply_scheme
469
+
470
+ def initialize(place_of_supply_scheme: nil)
471
+ @place_of_supply_scheme = place_of_supply_scheme
472
+ end
473
+ end
474
+
430
475
  class Standard < ::Stripe::RequestParams
431
476
  # Place of supply scheme used in an EU standard registration.
432
477
  attr_accessor :place_of_supply_scheme
@@ -435,18 +480,30 @@ module Stripe
435
480
  @place_of_supply_scheme = place_of_supply_scheme
436
481
  end
437
482
  end
483
+ # Options for the IGIC registration.
484
+ attr_accessor :igic
438
485
  # Options for the standard registration.
439
486
  attr_accessor :standard
440
487
  # Type of registration to be created in an EU country.
441
488
  attr_accessor :type
442
489
 
443
- def initialize(standard: nil, type: nil)
490
+ def initialize(igic: nil, standard: nil, type: nil)
491
+ @igic = igic
444
492
  @standard = standard
445
493
  @type = type
446
494
  end
447
495
  end
448
496
 
449
497
  class Cz < ::Stripe::RequestParams
498
+ class Igic < ::Stripe::RequestParams
499
+ # Place of supply scheme used in an IGIC registration.
500
+ attr_accessor :place_of_supply_scheme
501
+
502
+ def initialize(place_of_supply_scheme: nil)
503
+ @place_of_supply_scheme = place_of_supply_scheme
504
+ end
505
+ end
506
+
450
507
  class Standard < ::Stripe::RequestParams
451
508
  # Place of supply scheme used in an EU standard registration.
452
509
  attr_accessor :place_of_supply_scheme
@@ -455,18 +512,30 @@ module Stripe
455
512
  @place_of_supply_scheme = place_of_supply_scheme
456
513
  end
457
514
  end
515
+ # Options for the IGIC registration.
516
+ attr_accessor :igic
458
517
  # Options for the standard registration.
459
518
  attr_accessor :standard
460
519
  # Type of registration to be created in an EU country.
461
520
  attr_accessor :type
462
521
 
463
- def initialize(standard: nil, type: nil)
522
+ def initialize(igic: nil, standard: nil, type: nil)
523
+ @igic = igic
464
524
  @standard = standard
465
525
  @type = type
466
526
  end
467
527
  end
468
528
 
469
529
  class De < ::Stripe::RequestParams
530
+ class Igic < ::Stripe::RequestParams
531
+ # Place of supply scheme used in an IGIC registration.
532
+ attr_accessor :place_of_supply_scheme
533
+
534
+ def initialize(place_of_supply_scheme: nil)
535
+ @place_of_supply_scheme = place_of_supply_scheme
536
+ end
537
+ end
538
+
470
539
  class Standard < ::Stripe::RequestParams
471
540
  # Place of supply scheme used in an EU standard registration.
472
541
  attr_accessor :place_of_supply_scheme
@@ -475,18 +544,30 @@ module Stripe
475
544
  @place_of_supply_scheme = place_of_supply_scheme
476
545
  end
477
546
  end
547
+ # Options for the IGIC registration.
548
+ attr_accessor :igic
478
549
  # Options for the standard registration.
479
550
  attr_accessor :standard
480
551
  # Type of registration to be created in an EU country.
481
552
  attr_accessor :type
482
553
 
483
- def initialize(standard: nil, type: nil)
554
+ def initialize(igic: nil, standard: nil, type: nil)
555
+ @igic = igic
484
556
  @standard = standard
485
557
  @type = type
486
558
  end
487
559
  end
488
560
 
489
561
  class Dk < ::Stripe::RequestParams
562
+ class Igic < ::Stripe::RequestParams
563
+ # Place of supply scheme used in an IGIC registration.
564
+ attr_accessor :place_of_supply_scheme
565
+
566
+ def initialize(place_of_supply_scheme: nil)
567
+ @place_of_supply_scheme = place_of_supply_scheme
568
+ end
569
+ end
570
+
490
571
  class Standard < ::Stripe::RequestParams
491
572
  # Place of supply scheme used in an EU standard registration.
492
573
  attr_accessor :place_of_supply_scheme
@@ -495,12 +576,15 @@ module Stripe
495
576
  @place_of_supply_scheme = place_of_supply_scheme
496
577
  end
497
578
  end
579
+ # Options for the IGIC registration.
580
+ attr_accessor :igic
498
581
  # Options for the standard registration.
499
582
  attr_accessor :standard
500
583
  # Type of registration to be created in an EU country.
501
584
  attr_accessor :type
502
585
 
503
- def initialize(standard: nil, type: nil)
586
+ def initialize(igic: nil, standard: nil, type: nil)
587
+ @igic = igic
504
588
  @standard = standard
505
589
  @type = type
506
590
  end
@@ -516,6 +600,15 @@ module Stripe
516
600
  end
517
601
 
518
602
  class Ee < ::Stripe::RequestParams
603
+ class Igic < ::Stripe::RequestParams
604
+ # Place of supply scheme used in an IGIC registration.
605
+ attr_accessor :place_of_supply_scheme
606
+
607
+ def initialize(place_of_supply_scheme: nil)
608
+ @place_of_supply_scheme = place_of_supply_scheme
609
+ end
610
+ end
611
+
519
612
  class Standard < ::Stripe::RequestParams
520
613
  # Place of supply scheme used in an EU standard registration.
521
614
  attr_accessor :place_of_supply_scheme
@@ -524,12 +617,15 @@ module Stripe
524
617
  @place_of_supply_scheme = place_of_supply_scheme
525
618
  end
526
619
  end
620
+ # Options for the IGIC registration.
621
+ attr_accessor :igic
527
622
  # Options for the standard registration.
528
623
  attr_accessor :standard
529
624
  # Type of registration to be created in an EU country.
530
625
  attr_accessor :type
531
626
 
532
- def initialize(standard: nil, type: nil)
627
+ def initialize(igic: nil, standard: nil, type: nil)
628
+ @igic = igic
533
629
  @standard = standard
534
630
  @type = type
535
631
  end
@@ -545,6 +641,15 @@ module Stripe
545
641
  end
546
642
 
547
643
  class Es < ::Stripe::RequestParams
644
+ class Igic < ::Stripe::RequestParams
645
+ # Place of supply scheme used in an IGIC registration.
646
+ attr_accessor :place_of_supply_scheme
647
+
648
+ def initialize(place_of_supply_scheme: nil)
649
+ @place_of_supply_scheme = place_of_supply_scheme
650
+ end
651
+ end
652
+
548
653
  class Standard < ::Stripe::RequestParams
549
654
  # Place of supply scheme used in an EU standard registration.
550
655
  attr_accessor :place_of_supply_scheme
@@ -553,12 +658,15 @@ module Stripe
553
658
  @place_of_supply_scheme = place_of_supply_scheme
554
659
  end
555
660
  end
661
+ # Options for the IGIC registration.
662
+ attr_accessor :igic
556
663
  # Options for the standard registration.
557
664
  attr_accessor :standard
558
665
  # Type of registration to be created in an EU country.
559
666
  attr_accessor :type
560
667
 
561
- def initialize(standard: nil, type: nil)
668
+ def initialize(igic: nil, standard: nil, type: nil)
669
+ @igic = igic
562
670
  @standard = standard
563
671
  @type = type
564
672
  end
@@ -585,6 +693,15 @@ module Stripe
585
693
  end
586
694
 
587
695
  class Fi < ::Stripe::RequestParams
696
+ class Igic < ::Stripe::RequestParams
697
+ # Place of supply scheme used in an IGIC registration.
698
+ attr_accessor :place_of_supply_scheme
699
+
700
+ def initialize(place_of_supply_scheme: nil)
701
+ @place_of_supply_scheme = place_of_supply_scheme
702
+ end
703
+ end
704
+
588
705
  class Standard < ::Stripe::RequestParams
589
706
  # Place of supply scheme used in an EU standard registration.
590
707
  attr_accessor :place_of_supply_scheme
@@ -593,18 +710,30 @@ module Stripe
593
710
  @place_of_supply_scheme = place_of_supply_scheme
594
711
  end
595
712
  end
713
+ # Options for the IGIC registration.
714
+ attr_accessor :igic
596
715
  # Options for the standard registration.
597
716
  attr_accessor :standard
598
717
  # Type of registration to be created in an EU country.
599
718
  attr_accessor :type
600
719
 
601
- def initialize(standard: nil, type: nil)
720
+ def initialize(igic: nil, standard: nil, type: nil)
721
+ @igic = igic
602
722
  @standard = standard
603
723
  @type = type
604
724
  end
605
725
  end
606
726
 
607
727
  class Fr < ::Stripe::RequestParams
728
+ class Igic < ::Stripe::RequestParams
729
+ # Place of supply scheme used in an IGIC registration.
730
+ attr_accessor :place_of_supply_scheme
731
+
732
+ def initialize(place_of_supply_scheme: nil)
733
+ @place_of_supply_scheme = place_of_supply_scheme
734
+ end
735
+ end
736
+
608
737
  class Standard < ::Stripe::RequestParams
609
738
  # Place of supply scheme used in an EU standard registration.
610
739
  attr_accessor :place_of_supply_scheme
@@ -613,12 +742,15 @@ module Stripe
613
742
  @place_of_supply_scheme = place_of_supply_scheme
614
743
  end
615
744
  end
745
+ # Options for the IGIC registration.
746
+ attr_accessor :igic
616
747
  # Options for the standard registration.
617
748
  attr_accessor :standard
618
749
  # Type of registration to be created in an EU country.
619
750
  attr_accessor :type
620
751
 
621
- def initialize(standard: nil, type: nil)
752
+ def initialize(igic: nil, standard: nil, type: nil)
753
+ @igic = igic
622
754
  @standard = standard
623
755
  @type = type
624
756
  end
@@ -674,6 +806,15 @@ module Stripe
674
806
  end
675
807
 
676
808
  class Gr < ::Stripe::RequestParams
809
+ class Igic < ::Stripe::RequestParams
810
+ # Place of supply scheme used in an IGIC registration.
811
+ attr_accessor :place_of_supply_scheme
812
+
813
+ def initialize(place_of_supply_scheme: nil)
814
+ @place_of_supply_scheme = place_of_supply_scheme
815
+ end
816
+ end
817
+
677
818
  class Standard < ::Stripe::RequestParams
678
819
  # Place of supply scheme used in an EU standard registration.
679
820
  attr_accessor :place_of_supply_scheme
@@ -682,18 +823,30 @@ module Stripe
682
823
  @place_of_supply_scheme = place_of_supply_scheme
683
824
  end
684
825
  end
826
+ # Options for the IGIC registration.
827
+ attr_accessor :igic
685
828
  # Options for the standard registration.
686
829
  attr_accessor :standard
687
830
  # Type of registration to be created in an EU country.
688
831
  attr_accessor :type
689
832
 
690
- def initialize(standard: nil, type: nil)
833
+ def initialize(igic: nil, standard: nil, type: nil)
834
+ @igic = igic
691
835
  @standard = standard
692
836
  @type = type
693
837
  end
694
838
  end
695
839
 
696
840
  class Hr < ::Stripe::RequestParams
841
+ class Igic < ::Stripe::RequestParams
842
+ # Place of supply scheme used in an IGIC registration.
843
+ attr_accessor :place_of_supply_scheme
844
+
845
+ def initialize(place_of_supply_scheme: nil)
846
+ @place_of_supply_scheme = place_of_supply_scheme
847
+ end
848
+ end
849
+
697
850
  class Standard < ::Stripe::RequestParams
698
851
  # Place of supply scheme used in an EU standard registration.
699
852
  attr_accessor :place_of_supply_scheme
@@ -702,18 +855,30 @@ module Stripe
702
855
  @place_of_supply_scheme = place_of_supply_scheme
703
856
  end
704
857
  end
858
+ # Options for the IGIC registration.
859
+ attr_accessor :igic
705
860
  # Options for the standard registration.
706
861
  attr_accessor :standard
707
862
  # Type of registration to be created in an EU country.
708
863
  attr_accessor :type
709
864
 
710
- def initialize(standard: nil, type: nil)
865
+ def initialize(igic: nil, standard: nil, type: nil)
866
+ @igic = igic
711
867
  @standard = standard
712
868
  @type = type
713
869
  end
714
870
  end
715
871
 
716
872
  class Hu < ::Stripe::RequestParams
873
+ class Igic < ::Stripe::RequestParams
874
+ # Place of supply scheme used in an IGIC registration.
875
+ attr_accessor :place_of_supply_scheme
876
+
877
+ def initialize(place_of_supply_scheme: nil)
878
+ @place_of_supply_scheme = place_of_supply_scheme
879
+ end
880
+ end
881
+
717
882
  class Standard < ::Stripe::RequestParams
718
883
  # Place of supply scheme used in an EU standard registration.
719
884
  attr_accessor :place_of_supply_scheme
@@ -722,12 +887,15 @@ module Stripe
722
887
  @place_of_supply_scheme = place_of_supply_scheme
723
888
  end
724
889
  end
890
+ # Options for the IGIC registration.
891
+ attr_accessor :igic
725
892
  # Options for the standard registration.
726
893
  attr_accessor :standard
727
894
  # Type of registration to be created in an EU country.
728
895
  attr_accessor :type
729
896
 
730
- def initialize(standard: nil, type: nil)
897
+ def initialize(igic: nil, standard: nil, type: nil)
898
+ @igic = igic
731
899
  @standard = standard
732
900
  @type = type
733
901
  end
@@ -743,6 +911,15 @@ module Stripe
743
911
  end
744
912
 
745
913
  class Ie < ::Stripe::RequestParams
914
+ class Igic < ::Stripe::RequestParams
915
+ # Place of supply scheme used in an IGIC registration.
916
+ attr_accessor :place_of_supply_scheme
917
+
918
+ def initialize(place_of_supply_scheme: nil)
919
+ @place_of_supply_scheme = place_of_supply_scheme
920
+ end
921
+ end
922
+
746
923
  class Standard < ::Stripe::RequestParams
747
924
  # Place of supply scheme used in an EU standard registration.
748
925
  attr_accessor :place_of_supply_scheme
@@ -751,12 +928,15 @@ module Stripe
751
928
  @place_of_supply_scheme = place_of_supply_scheme
752
929
  end
753
930
  end
931
+ # Options for the IGIC registration.
932
+ attr_accessor :igic
754
933
  # Options for the standard registration.
755
934
  attr_accessor :standard
756
935
  # Type of registration to be created in an EU country.
757
936
  attr_accessor :type
758
937
 
759
- def initialize(standard: nil, type: nil)
938
+ def initialize(igic: nil, standard: nil, type: nil)
939
+ @igic = igic
760
940
  @standard = standard
761
941
  @type = type
762
942
  end
@@ -792,6 +972,15 @@ module Stripe
792
972
  end
793
973
 
794
974
  class It < ::Stripe::RequestParams
975
+ class Igic < ::Stripe::RequestParams
976
+ # Place of supply scheme used in an IGIC registration.
977
+ attr_accessor :place_of_supply_scheme
978
+
979
+ def initialize(place_of_supply_scheme: nil)
980
+ @place_of_supply_scheme = place_of_supply_scheme
981
+ end
982
+ end
983
+
795
984
  class Standard < ::Stripe::RequestParams
796
985
  # Place of supply scheme used in an EU standard registration.
797
986
  attr_accessor :place_of_supply_scheme
@@ -800,12 +989,15 @@ module Stripe
800
989
  @place_of_supply_scheme = place_of_supply_scheme
801
990
  end
802
991
  end
992
+ # Options for the IGIC registration.
993
+ attr_accessor :igic
803
994
  # Options for the standard registration.
804
995
  attr_accessor :standard
805
996
  # Type of registration to be created in an EU country.
806
997
  attr_accessor :type
807
998
 
808
- def initialize(standard: nil, type: nil)
999
+ def initialize(igic: nil, standard: nil, type: nil)
1000
+ @igic = igic
809
1001
  @standard = standard
810
1002
  @type = type
811
1003
  end
@@ -895,6 +1087,15 @@ module Stripe
895
1087
  end
896
1088
 
897
1089
  class Lt < ::Stripe::RequestParams
1090
+ class Igic < ::Stripe::RequestParams
1091
+ # Place of supply scheme used in an IGIC registration.
1092
+ attr_accessor :place_of_supply_scheme
1093
+
1094
+ def initialize(place_of_supply_scheme: nil)
1095
+ @place_of_supply_scheme = place_of_supply_scheme
1096
+ end
1097
+ end
1098
+
898
1099
  class Standard < ::Stripe::RequestParams
899
1100
  # Place of supply scheme used in an EU standard registration.
900
1101
  attr_accessor :place_of_supply_scheme
@@ -903,18 +1104,30 @@ module Stripe
903
1104
  @place_of_supply_scheme = place_of_supply_scheme
904
1105
  end
905
1106
  end
1107
+ # Options for the IGIC registration.
1108
+ attr_accessor :igic
906
1109
  # Options for the standard registration.
907
1110
  attr_accessor :standard
908
1111
  # Type of registration to be created in an EU country.
909
1112
  attr_accessor :type
910
1113
 
911
- def initialize(standard: nil, type: nil)
1114
+ def initialize(igic: nil, standard: nil, type: nil)
1115
+ @igic = igic
912
1116
  @standard = standard
913
1117
  @type = type
914
1118
  end
915
1119
  end
916
1120
 
917
1121
  class Lu < ::Stripe::RequestParams
1122
+ class Igic < ::Stripe::RequestParams
1123
+ # Place of supply scheme used in an IGIC 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
+
918
1131
  class Standard < ::Stripe::RequestParams
919
1132
  # Place of supply scheme used in an EU standard registration.
920
1133
  attr_accessor :place_of_supply_scheme
@@ -923,18 +1136,30 @@ module Stripe
923
1136
  @place_of_supply_scheme = place_of_supply_scheme
924
1137
  end
925
1138
  end
1139
+ # Options for the IGIC registration.
1140
+ attr_accessor :igic
926
1141
  # Options for the standard registration.
927
1142
  attr_accessor :standard
928
1143
  # Type of registration to be created in an EU country.
929
1144
  attr_accessor :type
930
1145
 
931
- def initialize(standard: nil, type: nil)
1146
+ def initialize(igic: nil, standard: nil, type: nil)
1147
+ @igic = igic
932
1148
  @standard = standard
933
1149
  @type = type
934
1150
  end
935
1151
  end
936
1152
 
937
1153
  class Lv < ::Stripe::RequestParams
1154
+ class Igic < ::Stripe::RequestParams
1155
+ # Place of supply scheme used in an IGIC registration.
1156
+ attr_accessor :place_of_supply_scheme
1157
+
1158
+ def initialize(place_of_supply_scheme: nil)
1159
+ @place_of_supply_scheme = place_of_supply_scheme
1160
+ end
1161
+ end
1162
+
938
1163
  class Standard < ::Stripe::RequestParams
939
1164
  # Place of supply scheme used in an EU standard registration.
940
1165
  attr_accessor :place_of_supply_scheme
@@ -943,12 +1168,15 @@ module Stripe
943
1168
  @place_of_supply_scheme = place_of_supply_scheme
944
1169
  end
945
1170
  end
1171
+ # Options for the IGIC registration.
1172
+ attr_accessor :igic
946
1173
  # Options for the standard registration.
947
1174
  attr_accessor :standard
948
1175
  # Type of registration to be created in an EU country.
949
1176
  attr_accessor :type
950
1177
 
951
- def initialize(standard: nil, type: nil)
1178
+ def initialize(igic: nil, standard: nil, type: nil)
1179
+ @igic = igic
952
1180
  @standard = standard
953
1181
  @type = type
954
1182
  end
@@ -1033,6 +1261,15 @@ module Stripe
1033
1261
  end
1034
1262
 
1035
1263
  class Mt < ::Stripe::RequestParams
1264
+ class Igic < ::Stripe::RequestParams
1265
+ # Place of supply scheme used in an IGIC registration.
1266
+ attr_accessor :place_of_supply_scheme
1267
+
1268
+ def initialize(place_of_supply_scheme: nil)
1269
+ @place_of_supply_scheme = place_of_supply_scheme
1270
+ end
1271
+ end
1272
+
1036
1273
  class Standard < ::Stripe::RequestParams
1037
1274
  # Place of supply scheme used in an EU standard registration.
1038
1275
  attr_accessor :place_of_supply_scheme
@@ -1041,12 +1278,15 @@ module Stripe
1041
1278
  @place_of_supply_scheme = place_of_supply_scheme
1042
1279
  end
1043
1280
  end
1281
+ # Options for the IGIC registration.
1282
+ attr_accessor :igic
1044
1283
  # Options for the standard registration.
1045
1284
  attr_accessor :standard
1046
1285
  # Type of registration to be created in an EU country.
1047
1286
  attr_accessor :type
1048
1287
 
1049
- def initialize(standard: nil, type: nil)
1288
+ def initialize(igic: nil, standard: nil, type: nil)
1289
+ @igic = igic
1050
1290
  @standard = standard
1051
1291
  @type = type
1052
1292
  end
@@ -1080,6 +1320,15 @@ module Stripe
1080
1320
  end
1081
1321
 
1082
1322
  class Nl < ::Stripe::RequestParams
1323
+ class Igic < ::Stripe::RequestParams
1324
+ # Place of supply scheme used in an IGIC registration.
1325
+ attr_accessor :place_of_supply_scheme
1326
+
1327
+ def initialize(place_of_supply_scheme: nil)
1328
+ @place_of_supply_scheme = place_of_supply_scheme
1329
+ end
1330
+ end
1331
+
1083
1332
  class Standard < ::Stripe::RequestParams
1084
1333
  # Place of supply scheme used in an EU standard registration.
1085
1334
  attr_accessor :place_of_supply_scheme
@@ -1088,12 +1337,15 @@ module Stripe
1088
1337
  @place_of_supply_scheme = place_of_supply_scheme
1089
1338
  end
1090
1339
  end
1340
+ # Options for the IGIC registration.
1341
+ attr_accessor :igic
1091
1342
  # Options for the standard registration.
1092
1343
  attr_accessor :standard
1093
1344
  # Type of registration to be created in an EU country.
1094
1345
  attr_accessor :type
1095
1346
 
1096
- def initialize(standard: nil, type: nil)
1347
+ def initialize(igic: nil, standard: nil, type: nil)
1348
+ @igic = igic
1097
1349
  @standard = standard
1098
1350
  @type = type
1099
1351
  end
@@ -1187,6 +1439,15 @@ module Stripe
1187
1439
  end
1188
1440
 
1189
1441
  class Pl < ::Stripe::RequestParams
1442
+ class Igic < ::Stripe::RequestParams
1443
+ # Place of supply scheme used in an IGIC registration.
1444
+ attr_accessor :place_of_supply_scheme
1445
+
1446
+ def initialize(place_of_supply_scheme: nil)
1447
+ @place_of_supply_scheme = place_of_supply_scheme
1448
+ end
1449
+ end
1450
+
1190
1451
  class Standard < ::Stripe::RequestParams
1191
1452
  # Place of supply scheme used in an EU standard registration.
1192
1453
  attr_accessor :place_of_supply_scheme
@@ -1195,18 +1456,30 @@ module Stripe
1195
1456
  @place_of_supply_scheme = place_of_supply_scheme
1196
1457
  end
1197
1458
  end
1459
+ # Options for the IGIC registration.
1460
+ attr_accessor :igic
1198
1461
  # Options for the standard registration.
1199
1462
  attr_accessor :standard
1200
1463
  # Type of registration to be created in an EU country.
1201
1464
  attr_accessor :type
1202
1465
 
1203
- def initialize(standard: nil, type: nil)
1466
+ def initialize(igic: nil, standard: nil, type: nil)
1467
+ @igic = igic
1204
1468
  @standard = standard
1205
1469
  @type = type
1206
1470
  end
1207
1471
  end
1208
1472
 
1209
1473
  class Pt < ::Stripe::RequestParams
1474
+ class Igic < ::Stripe::RequestParams
1475
+ # Place of supply scheme used in an IGIC registration.
1476
+ attr_accessor :place_of_supply_scheme
1477
+
1478
+ def initialize(place_of_supply_scheme: nil)
1479
+ @place_of_supply_scheme = place_of_supply_scheme
1480
+ end
1481
+ end
1482
+
1210
1483
  class Standard < ::Stripe::RequestParams
1211
1484
  # Place of supply scheme used in an EU standard registration.
1212
1485
  attr_accessor :place_of_supply_scheme
@@ -1215,18 +1488,30 @@ module Stripe
1215
1488
  @place_of_supply_scheme = place_of_supply_scheme
1216
1489
  end
1217
1490
  end
1491
+ # Options for the IGIC registration.
1492
+ attr_accessor :igic
1218
1493
  # Options for the standard registration.
1219
1494
  attr_accessor :standard
1220
1495
  # Type of registration to be created in an EU country.
1221
1496
  attr_accessor :type
1222
1497
 
1223
- def initialize(standard: nil, type: nil)
1498
+ def initialize(igic: nil, standard: nil, type: nil)
1499
+ @igic = igic
1224
1500
  @standard = standard
1225
1501
  @type = type
1226
1502
  end
1227
1503
  end
1228
1504
 
1229
1505
  class Ro < ::Stripe::RequestParams
1506
+ class Igic < ::Stripe::RequestParams
1507
+ # Place of supply scheme used in an IGIC registration.
1508
+ attr_accessor :place_of_supply_scheme
1509
+
1510
+ def initialize(place_of_supply_scheme: nil)
1511
+ @place_of_supply_scheme = place_of_supply_scheme
1512
+ end
1513
+ end
1514
+
1230
1515
  class Standard < ::Stripe::RequestParams
1231
1516
  # Place of supply scheme used in an EU standard registration.
1232
1517
  attr_accessor :place_of_supply_scheme
@@ -1235,12 +1520,15 @@ module Stripe
1235
1520
  @place_of_supply_scheme = place_of_supply_scheme
1236
1521
  end
1237
1522
  end
1523
+ # Options for the IGIC registration.
1524
+ attr_accessor :igic
1238
1525
  # Options for the standard registration.
1239
1526
  attr_accessor :standard
1240
1527
  # Type of registration to be created in an EU country.
1241
1528
  attr_accessor :type
1242
1529
 
1243
- def initialize(standard: nil, type: nil)
1530
+ def initialize(igic: nil, standard: nil, type: nil)
1531
+ @igic = igic
1244
1532
  @standard = standard
1245
1533
  @type = type
1246
1534
  end
@@ -1285,6 +1573,15 @@ module Stripe
1285
1573
  end
1286
1574
 
1287
1575
  class Se < ::Stripe::RequestParams
1576
+ class Igic < ::Stripe::RequestParams
1577
+ # Place of supply scheme used in an IGIC registration.
1578
+ attr_accessor :place_of_supply_scheme
1579
+
1580
+ def initialize(place_of_supply_scheme: nil)
1581
+ @place_of_supply_scheme = place_of_supply_scheme
1582
+ end
1583
+ end
1584
+
1288
1585
  class Standard < ::Stripe::RequestParams
1289
1586
  # Place of supply scheme used in an EU standard registration.
1290
1587
  attr_accessor :place_of_supply_scheme
@@ -1293,12 +1590,15 @@ module Stripe
1293
1590
  @place_of_supply_scheme = place_of_supply_scheme
1294
1591
  end
1295
1592
  end
1593
+ # Options for the IGIC registration.
1594
+ attr_accessor :igic
1296
1595
  # Options for the standard registration.
1297
1596
  attr_accessor :standard
1298
1597
  # Type of registration to be created in an EU country.
1299
1598
  attr_accessor :type
1300
1599
 
1301
- def initialize(standard: nil, type: nil)
1600
+ def initialize(igic: nil, standard: nil, type: nil)
1601
+ @igic = igic
1302
1602
  @standard = standard
1303
1603
  @type = type
1304
1604
  end
@@ -1325,6 +1625,15 @@ module Stripe
1325
1625
  end
1326
1626
 
1327
1627
  class Si < ::Stripe::RequestParams
1628
+ class Igic < ::Stripe::RequestParams
1629
+ # Place of supply scheme used in an IGIC registration.
1630
+ attr_accessor :place_of_supply_scheme
1631
+
1632
+ def initialize(place_of_supply_scheme: nil)
1633
+ @place_of_supply_scheme = place_of_supply_scheme
1634
+ end
1635
+ end
1636
+
1328
1637
  class Standard < ::Stripe::RequestParams
1329
1638
  # Place of supply scheme used in an EU standard registration.
1330
1639
  attr_accessor :place_of_supply_scheme
@@ -1333,18 +1642,30 @@ module Stripe
1333
1642
  @place_of_supply_scheme = place_of_supply_scheme
1334
1643
  end
1335
1644
  end
1645
+ # Options for the IGIC registration.
1646
+ attr_accessor :igic
1336
1647
  # Options for the standard registration.
1337
1648
  attr_accessor :standard
1338
1649
  # Type of registration to be created in an EU country.
1339
1650
  attr_accessor :type
1340
1651
 
1341
- def initialize(standard: nil, type: nil)
1652
+ def initialize(igic: nil, standard: nil, type: nil)
1653
+ @igic = igic
1342
1654
  @standard = standard
1343
1655
  @type = type
1344
1656
  end
1345
1657
  end
1346
1658
 
1347
1659
  class Sk < ::Stripe::RequestParams
1660
+ class Igic < ::Stripe::RequestParams
1661
+ # Place of supply scheme used in an IGIC registration.
1662
+ attr_accessor :place_of_supply_scheme
1663
+
1664
+ def initialize(place_of_supply_scheme: nil)
1665
+ @place_of_supply_scheme = place_of_supply_scheme
1666
+ end
1667
+ end
1668
+
1348
1669
  class Standard < ::Stripe::RequestParams
1349
1670
  # Place of supply scheme used in an EU standard registration.
1350
1671
  attr_accessor :place_of_supply_scheme
@@ -1353,12 +1674,15 @@ module Stripe
1353
1674
  @place_of_supply_scheme = place_of_supply_scheme
1354
1675
  end
1355
1676
  end
1677
+ # Options for the IGIC registration.
1678
+ attr_accessor :igic
1356
1679
  # Options for the standard registration.
1357
1680
  attr_accessor :standard
1358
1681
  # Type of registration to be created in an EU country.
1359
1682
  attr_accessor :type
1360
1683
 
1361
- def initialize(standard: nil, type: nil)
1684
+ def initialize(igic: nil, standard: nil, type: nil)
1685
+ @igic = igic
1362
1686
  @standard = standard
1363
1687
  @type = type
1364
1688
  end