stripe 17.1.0.pre.alpha.3 → 17.1.0.pre.alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +18 -1
  3. data/lib/stripe/object_types.rb +2 -0
  4. data/lib/stripe/params/billing/meter_create_params.rb +5 -1
  5. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
  6. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -1
  7. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +195 -1
  8. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +2 -2
  9. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
  10. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
  11. data/lib/stripe/params/v2/core/account_create_params.rb +33 -2
  12. data/lib/stripe/params/v2/core/account_list_params.rb +4 -1
  13. data/lib/stripe/params/v2/core/account_update_params.rb +33 -2
  14. data/lib/stripe/params/v2/core/event_list_params.rb +24 -1
  15. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
  16. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
  17. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
  18. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
  19. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
  20. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +1 -0
  21. data/lib/stripe/params.rb +6 -0
  22. data/lib/stripe/resources/billing/meter.rb +2 -0
  23. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  24. data/lib/stripe/resources/delegated_checkout/requested_session.rb +218 -2
  25. data/lib/stripe/resources/v2/billing/cadence.rb +2 -2
  26. data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
  27. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
  28. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
  29. data/lib/stripe/resources/v2/core/account.rb +57 -2
  30. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +35 -1
  31. data/lib/stripe/resources.rb +1 -0
  32. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +8 -0
  33. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
  34. data/lib/stripe/services/v2/core/account_service.rb +1 -1
  35. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +11 -0
  36. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +33 -0
  37. data/lib/stripe/services/v2/money_management/financial_account_service.rb +11 -0
  38. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +1 -1
  39. data/lib/stripe/services.rb +1 -0
  40. data/lib/stripe/version.rb +1 -1
  41. data/rbi/stripe.rbi +1407 -36
  42. metadata +10 -2
data/rbi/stripe.rbi CHANGED
@@ -7522,6 +7522,9 @@ module Stripe
7522
7522
  # Attribute for field value_settings
7523
7523
  sig { returns(ValueSettings) }
7524
7524
  def value_settings; end
7525
+ # Set of keys that will be used to group meter events by.
7526
+ sig { returns(T.nilable(T::Array[String])) }
7527
+ def dimension_payload_keys; end
7525
7528
  # Creates a billing meter.
7526
7529
  sig {
7527
7530
  params(params: T.any(::Stripe::Billing::MeterCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Billing::Meter)
@@ -7595,6 +7598,9 @@ module Stripe
7595
7598
  # Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.
7596
7599
  sig { returns(Integer) }
7597
7600
  def start_time; end
7601
+ # Key-value pairs of dimension values for event summaries with grouping on dimensions.
7602
+ sig { returns(T.nilable(T::Hash[String, String])) }
7603
+ def dimensions; end
7598
7604
  end
7599
7605
  end
7600
7606
  end
@@ -17427,6 +17433,159 @@ module Stripe
17427
17433
  # A requested session is a session that has been requested by a customer.
17428
17434
  class RequestedSession < APIResource
17429
17435
  class FulfillmentDetails < ::Stripe::StripeObject
17436
+ class Address < ::Stripe::StripeObject
17437
+ # City, district, suburb, town, or village.
17438
+ sig { returns(T.nilable(String)) }
17439
+ def city; end
17440
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
17441
+ sig { returns(T.nilable(String)) }
17442
+ def country; end
17443
+ # Address line 1, such as the street, PO Box, or company name.
17444
+ sig { returns(T.nilable(String)) }
17445
+ def line1; end
17446
+ # Address line 2, such as the apartment, suite, unit, or building.
17447
+ sig { returns(T.nilable(String)) }
17448
+ def line2; end
17449
+ # ZIP or postal code.
17450
+ sig { returns(T.nilable(String)) }
17451
+ def postal_code; end
17452
+ # State, county, province, or region.
17453
+ sig { returns(T.nilable(String)) }
17454
+ def state; end
17455
+ def self.inner_class_types
17456
+ @inner_class_types = {}
17457
+ end
17458
+ def self.field_remappings
17459
+ @field_remappings = {}
17460
+ end
17461
+ end
17462
+ class FulfillmentOption < ::Stripe::StripeObject
17463
+ class Shipping < ::Stripe::StripeObject
17464
+ class ShippingOption < ::Stripe::StripeObject
17465
+ # The description of the shipping option.
17466
+ sig { returns(T.nilable(String)) }
17467
+ def description; end
17468
+ # The display name of the shipping option.
17469
+ sig { returns(String) }
17470
+ def display_name; end
17471
+ # The earliest delivery time of the shipping option.
17472
+ sig { returns(T.nilable(Integer)) }
17473
+ def earliest_delivery_time; end
17474
+ # The key of the shipping option.
17475
+ sig { returns(String) }
17476
+ def key; end
17477
+ # The latest delivery time of the shipping option.
17478
+ sig { returns(T.nilable(Integer)) }
17479
+ def latest_delivery_time; end
17480
+ # The shipping amount of the shipping option.
17481
+ sig { returns(Integer) }
17482
+ def shipping_amount; end
17483
+ def self.inner_class_types
17484
+ @inner_class_types = {}
17485
+ end
17486
+ def self.field_remappings
17487
+ @field_remappings = {}
17488
+ end
17489
+ end
17490
+ # The shipping options.
17491
+ sig { returns(T.nilable(T::Array[ShippingOption])) }
17492
+ def shipping_options; end
17493
+ def self.inner_class_types
17494
+ @inner_class_types = {shipping_options: ShippingOption}
17495
+ end
17496
+ def self.field_remappings
17497
+ @field_remappings = {}
17498
+ end
17499
+ end
17500
+ # The shipping option.
17501
+ sig { returns(T.nilable(Shipping)) }
17502
+ def shipping; end
17503
+ # The type of the fulfillment option.
17504
+ sig { returns(String) }
17505
+ def type; end
17506
+ def self.inner_class_types
17507
+ @inner_class_types = {shipping: Shipping}
17508
+ end
17509
+ def self.field_remappings
17510
+ @field_remappings = {}
17511
+ end
17512
+ end
17513
+ class SelectedFulfillmentOption < ::Stripe::StripeObject
17514
+ class Shipping < ::Stripe::StripeObject
17515
+ # The shipping option.
17516
+ sig { returns(T.nilable(String)) }
17517
+ def shipping_option; end
17518
+ def self.inner_class_types
17519
+ @inner_class_types = {}
17520
+ end
17521
+ def self.field_remappings
17522
+ @field_remappings = {}
17523
+ end
17524
+ end
17525
+ # The shipping option.
17526
+ sig { returns(T.nilable(Shipping)) }
17527
+ def shipping; end
17528
+ # The type of the selected fulfillment option.
17529
+ sig { returns(String) }
17530
+ def type; end
17531
+ def self.inner_class_types
17532
+ @inner_class_types = {shipping: Shipping}
17533
+ end
17534
+ def self.field_remappings
17535
+ @field_remappings = {}
17536
+ end
17537
+ end
17538
+ # The fulfillment address.
17539
+ sig { returns(T.nilable(Address)) }
17540
+ def address; end
17541
+ # The email address for the fulfillment details.
17542
+ sig { returns(T.nilable(String)) }
17543
+ def email; end
17544
+ # The fulfillment options.
17545
+ sig { returns(T.nilable(T::Array[FulfillmentOption])) }
17546
+ def fulfillment_options; end
17547
+ # The name for the fulfillment details.
17548
+ sig { returns(T.nilable(String)) }
17549
+ def name; end
17550
+ # The phone number for the fulfillment details.
17551
+ sig { returns(T.nilable(String)) }
17552
+ def phone; end
17553
+ # The fulfillment option.
17554
+ sig { returns(T.nilable(SelectedFulfillmentOption)) }
17555
+ def selected_fulfillment_option; end
17556
+ def self.inner_class_types
17557
+ @inner_class_types = {
17558
+ address: Address,
17559
+ fulfillment_options: FulfillmentOption,
17560
+ selected_fulfillment_option: SelectedFulfillmentOption,
17561
+ }
17562
+ end
17563
+ def self.field_remappings
17564
+ @field_remappings = {}
17565
+ end
17566
+ end
17567
+ class LineItemDetail < ::Stripe::StripeObject
17568
+ # The description of the line item.
17569
+ sig { returns(T.nilable(String)) }
17570
+ def description; end
17571
+ # The images of the line item.
17572
+ sig { returns(T.nilable(T::Array[String])) }
17573
+ def images; end
17574
+ # The key of the line item.
17575
+ sig { returns(String) }
17576
+ def key; end
17577
+ # The name of the line item.
17578
+ sig { returns(String) }
17579
+ def name; end
17580
+ # The quantity of the line item.
17581
+ sig { returns(Integer) }
17582
+ def quantity; end
17583
+ # The SKU ID of the line item.
17584
+ sig { returns(String) }
17585
+ def sku_id; end
17586
+ # The unit amount of the line item.
17587
+ sig { returns(Integer) }
17588
+ def unit_amount; end
17430
17589
  def self.inner_class_types
17431
17590
  @inner_class_types = {}
17432
17591
  end
@@ -17434,24 +17593,105 @@ module Stripe
17434
17593
  @field_remappings = {}
17435
17594
  end
17436
17595
  end
17596
+ class OrderDetails < ::Stripe::StripeObject
17597
+ # The URL to the order status.
17598
+ sig { returns(T.nilable(String)) }
17599
+ def order_status_url; end
17600
+ def self.inner_class_types
17601
+ @inner_class_types = {}
17602
+ end
17603
+ def self.field_remappings
17604
+ @field_remappings = {}
17605
+ end
17606
+ end
17607
+ class SellerDetails < ::Stripe::StripeObject
17608
+ def self.inner_class_types
17609
+ @inner_class_types = {}
17610
+ end
17611
+ def self.field_remappings
17612
+ @field_remappings = {}
17613
+ end
17614
+ end
17615
+ class TotalDetails < ::Stripe::StripeObject
17616
+ # The amount discount of the total details.
17617
+ sig { returns(T.nilable(Integer)) }
17618
+ def amount_discount; end
17619
+ # The amount fulfillment of the total details.
17620
+ sig { returns(T.nilable(Integer)) }
17621
+ def amount_fulfillment; end
17622
+ # The amount tax of the total details.
17623
+ sig { returns(T.nilable(Integer)) }
17624
+ def amount_tax; end
17625
+ def self.inner_class_types
17626
+ @inner_class_types = {}
17627
+ end
17628
+ def self.field_remappings
17629
+ @field_remappings = {}
17630
+ end
17631
+ end
17632
+ # The subtotal amount of the requested session.
17633
+ sig { returns(Integer) }
17634
+ def amount_subtotal; end
17635
+ # The total amount of the requested session.
17636
+ sig { returns(Integer) }
17637
+ def amount_total; end
17638
+ # Time at which the object was created. Measured in seconds since the Unix epoch.
17639
+ sig { returns(Integer) }
17640
+ def created_at; end
17437
17641
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
17438
17642
  sig { returns(String) }
17439
17643
  def currency; end
17440
17644
  # The customer for this requested session.
17441
17645
  sig { returns(T.nilable(String)) }
17442
17646
  def customer; end
17443
- # Attribute for field fulfillment_details
17647
+ # Time at which the requested session expires. Measured in seconds since the Unix epoch.
17648
+ sig { returns(Integer) }
17649
+ def expires_at; end
17650
+ # The details of the fulfillment.
17444
17651
  sig { returns(T.nilable(FulfillmentDetails)) }
17445
17652
  def fulfillment_details; end
17446
17653
  # Unique identifier for the object.
17447
17654
  sig { returns(String) }
17448
17655
  def id; end
17656
+ # The line items to be purchased.
17657
+ sig { returns(T::Array[LineItemDetail]) }
17658
+ def line_item_details; end
17449
17659
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
17450
17660
  sig { returns(T::Boolean) }
17451
17661
  def livemode; end
17662
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
17663
+ sig { returns(T.nilable(T::Hash[String, String])) }
17664
+ def metadata; end
17452
17665
  # String representing the object's type. Objects of the same type share the same value.
17453
17666
  sig { returns(String) }
17454
17667
  def object; end
17668
+ # The details of the order.
17669
+ sig { returns(T.nilable(OrderDetails)) }
17670
+ def order_details; end
17671
+ # The payment method used for the requested session.
17672
+ sig { returns(T.nilable(String)) }
17673
+ def payment_method; end
17674
+ # Attribute for field seller_details
17675
+ sig { returns(SellerDetails) }
17676
+ def seller_details; end
17677
+ # Whether or not the payment method should be saved for future use.
17678
+ sig { returns(T.nilable(String)) }
17679
+ def setup_future_usage; end
17680
+ # The metadata shared with the seller.
17681
+ sig { returns(T.nilable(T::Hash[String, String])) }
17682
+ def shared_metadata; end
17683
+ # The SPT used for payment.
17684
+ sig { returns(T.nilable(String)) }
17685
+ def shared_payment_issued_token; end
17686
+ # The status of the requested session.
17687
+ sig { returns(String) }
17688
+ def status; end
17689
+ # Attribute for field total_details
17690
+ sig { returns(TotalDetails) }
17691
+ def total_details; end
17692
+ # Time at which the object was last updated. Measured in seconds since the Unix epoch.
17693
+ sig { returns(Integer) }
17694
+ def updated_at; end
17455
17695
  # Confirms a requested session
17456
17696
  sig {
17457
17697
  params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
@@ -58041,7 +58281,7 @@ module Stripe
58041
58281
  # If true an email for the invoice would be generated and sent out.
58042
58282
  sig { returns(T::Boolean) }
58043
58283
  def enabled; end
58044
- # If true the payment link to hosted invocie page would be included in email and PDF of the invoice.
58284
+ # If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
58045
58285
  sig { returns(T::Boolean) }
58046
58286
  def include_payment_link; end
58047
58287
  def self.inner_class_types
@@ -58051,7 +58291,7 @@ module Stripe
58051
58291
  @field_remappings = {}
58052
58292
  end
58053
58293
  end
58054
- # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state.
58294
+ # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
58055
58295
  sig { returns(T.nilable(PaymentDue)) }
58056
58296
  def payment_due; end
58057
58297
  def self.inner_class_types
@@ -58345,7 +58585,7 @@ module Stripe
58345
58585
  # If true an email for the invoice would be generated and sent out.
58346
58586
  sig { returns(T::Boolean) }
58347
58587
  def enabled; end
58348
- # If true the payment link to hosted invocie page would be included in email and PDF of the invoice.
58588
+ # If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
58349
58589
  sig { returns(T::Boolean) }
58350
58590
  def include_payment_link; end
58351
58591
  def self.inner_class_types
@@ -58355,7 +58595,7 @@ module Stripe
58355
58595
  @field_remappings = {}
58356
58596
  end
58357
58597
  end
58358
- # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state.
58598
+ # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
58359
58599
  sig { returns(T.nilable(PaymentDue)) }
58360
58600
  def payment_due; end
58361
58601
  def self.inner_class_types
@@ -58610,7 +58850,7 @@ module Stripe
58610
58850
  # If true an email for the invoice would be generated and sent out.
58611
58851
  sig { returns(T::Boolean) }
58612
58852
  def enabled; end
58613
- # If true the payment link to hosted invocie page would be included in email and PDF of the invoice.
58853
+ # If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
58614
58854
  sig { returns(T::Boolean) }
58615
58855
  def include_payment_link; end
58616
58856
  def self.inner_class_types
@@ -58620,7 +58860,7 @@ module Stripe
58620
58860
  @field_remappings = {}
58621
58861
  end
58622
58862
  end
58623
- # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state.
58863
+ # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
58624
58864
  sig { returns(T.nilable(PaymentDue)) }
58625
58865
  def payment_due; end
58626
58866
  def self.inner_class_types
@@ -59908,6 +60148,45 @@ module Stripe
59908
60148
  end
59909
60149
  end
59910
60150
  # typed: true
60151
+ module Stripe
60152
+ module V2
60153
+ module Billing
60154
+ # A set of component subscriptions for a Pricing Plan Subscription.
60155
+ class PricingPlanSubscriptionComponents < APIResource
60156
+ class Component < ::Stripe::StripeObject
60157
+ # The Pricing Plan Component associated with this component subscription.
60158
+ sig { returns(String) }
60159
+ def pricing_plan_component; end
60160
+ # The type of subscription.
60161
+ sig { returns(String) }
60162
+ def type; end
60163
+ # The ID of the License Fee Subscription.
60164
+ sig { returns(T.nilable(String)) }
60165
+ def license_fee_subscription; end
60166
+ # The ID of the Rate Card Subscription.
60167
+ sig { returns(T.nilable(String)) }
60168
+ def rate_card_subscription; end
60169
+ def self.inner_class_types
60170
+ @inner_class_types = {}
60171
+ end
60172
+ def self.field_remappings
60173
+ @field_remappings = {}
60174
+ end
60175
+ end
60176
+ # The component subscriptions of the Pricing Plan Subscription.
60177
+ sig { returns(T::Array[Component]) }
60178
+ def components; end
60179
+ # String representing the object's type. Objects of the same type share the same value of the object field.
60180
+ sig { returns(String) }
60181
+ def object; end
60182
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
60183
+ sig { returns(T::Boolean) }
60184
+ def livemode; end
60185
+ end
60186
+ end
60187
+ end
60188
+ end
60189
+ # typed: true
59911
60190
  module Stripe
59912
60191
  module V2
59913
60192
  module Billing
@@ -63368,11 +63647,45 @@ module Stripe
63368
63647
  @field_remappings = {}
63369
63648
  end
63370
63649
  end
63650
+ class Usd < ::Stripe::StripeObject
63651
+ class StatusDetail < ::Stripe::StripeObject
63652
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
63653
+ sig { returns(String) }
63654
+ def code; end
63655
+ # Machine-readable code explaining how to make the Capability active.
63656
+ sig { returns(String) }
63657
+ def resolution; end
63658
+ def self.inner_class_types
63659
+ @inner_class_types = {}
63660
+ end
63661
+ def self.field_remappings
63662
+ @field_remappings = {}
63663
+ end
63664
+ end
63665
+ # Whether the Capability has been requested.
63666
+ sig { returns(T::Boolean) }
63667
+ def requested; end
63668
+ # The status of the Capability.
63669
+ sig { returns(String) }
63670
+ def status; end
63671
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
63672
+ sig { returns(T::Array[StatusDetail]) }
63673
+ def status_details; end
63674
+ def self.inner_class_types
63675
+ @inner_class_types = {status_details: StatusDetail}
63676
+ end
63677
+ def self.field_remappings
63678
+ @field_remappings = {}
63679
+ end
63680
+ end
63371
63681
  # Can hold storage-type funds on Stripe in GBP.
63372
63682
  sig { returns(T.nilable(Gbp)) }
63373
63683
  def gbp; end
63684
+ # Can hold storage-type funds on Stripe in USD.
63685
+ sig { returns(T.nilable(Usd)) }
63686
+ def usd; end
63374
63687
  def self.inner_class_types
63375
- @inner_class_types = {gbp: Gbp}
63688
+ @inner_class_types = {gbp: Gbp, usd: Usd}
63376
63689
  end
63377
63690
  def self.field_remappings
63378
63691
  @field_remappings = {}
@@ -63789,6 +64102,23 @@ module Stripe
63789
64102
  @field_remappings = {}
63790
64103
  end
63791
64104
  end
64105
+ class RepresentativeDeclaration < ::Stripe::StripeObject
64106
+ # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
64107
+ sig { returns(T.nilable(String)) }
64108
+ def date; end
64109
+ # The IP address from which the representative attestation was made.
64110
+ sig { returns(T.nilable(String)) }
64111
+ def ip; end
64112
+ # The user agent of the browser from which the representative attestation was made.
64113
+ sig { returns(T.nilable(String)) }
64114
+ def user_agent; end
64115
+ def self.inner_class_types
64116
+ @inner_class_types = {}
64117
+ end
64118
+ def self.field_remappings
64119
+ @field_remappings = {}
64120
+ end
64121
+ end
63792
64122
  class TermsOfService < ::Stripe::StripeObject
63793
64123
  class Account < ::Stripe::StripeObject
63794
64124
  # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -64256,6 +64586,9 @@ module Stripe
64256
64586
  # Attestation that all Persons with a specific Relationship value have been provided.
64257
64587
  sig { returns(T.nilable(PersonsProvided)) }
64258
64588
  def persons_provided; end
64589
+ # This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
64590
+ sig { returns(T.nilable(RepresentativeDeclaration)) }
64591
+ def representative_declaration; end
64259
64592
  # Attestations of accepted terms of service agreements.
64260
64593
  sig { returns(T.nilable(TermsOfService)) }
64261
64594
  def terms_of_service; end
@@ -64264,6 +64597,7 @@ module Stripe
64264
64597
  directorship_declaration: DirectorshipDeclaration,
64265
64598
  ownership_declaration: OwnershipDeclaration,
64266
64599
  persons_provided: PersonsProvided,
64600
+ representative_declaration: RepresentativeDeclaration,
64267
64601
  terms_of_service: TermsOfService,
64268
64602
  }
64269
64603
  end
@@ -65197,7 +65531,7 @@ module Stripe
65197
65531
  @field_remappings = {}
65198
65532
  end
65199
65533
  end
65200
- # Attestations from the identity's key people, e.g. owners, executives, directors.
65534
+ # Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
65201
65535
  sig { returns(T.nilable(Attestations)) }
65202
65536
  def attestations; end
65203
65537
  # Information about the company or business.
@@ -65395,6 +65729,9 @@ module Stripe
65395
65729
  # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
65396
65730
  sig { returns(T::Array[String]) }
65397
65731
  def applied_configurations; end
65732
+ # A value indicating if the Account has been closed.
65733
+ sig { returns(T.nilable(T::Boolean)) }
65734
+ def closed; end
65398
65735
  # An Account Configuration which allows the Account to take on a key persona across Stripe products.
65399
65736
  sig { returns(T.nilable(Configuration)) }
65400
65737
  def configuration; end
@@ -66326,6 +66663,39 @@ module Stripe
66326
66663
  module Vault
66327
66664
  # Use the USBankAccounts API to create and manage US bank accounts objects that you can use to receive funds. Note that these are not interchangeable with v1 Tokens.
66328
66665
  class UsBankAccount < APIResource
66666
+ class Verification < ::Stripe::StripeObject
66667
+ class MicrodepositVerificationDetails < ::Stripe::StripeObject
66668
+ # Time when microdeposits will expire and have to be re-sent.
66669
+ sig { returns(String) }
66670
+ def expires; end
66671
+ # Microdeposit type can be amounts or descriptor_type.
66672
+ sig { returns(String) }
66673
+ def microdeposit_type; end
66674
+ # Time when microdeposits were sent.
66675
+ sig { returns(String) }
66676
+ def sent; end
66677
+ def self.inner_class_types
66678
+ @inner_class_types = {}
66679
+ end
66680
+ def self.field_remappings
66681
+ @field_remappings = {}
66682
+ end
66683
+ end
66684
+ # The microdeposit verification details if the status is awaiting verification.
66685
+ sig { returns(T.nilable(MicrodepositVerificationDetails)) }
66686
+ def microdeposit_verification_details; end
66687
+ # The bank account verification status.
66688
+ sig { returns(String) }
66689
+ def status; end
66690
+ def self.inner_class_types
66691
+ @inner_class_types = {
66692
+ microdeposit_verification_details: MicrodepositVerificationDetails,
66693
+ }
66694
+ end
66695
+ def self.field_remappings
66696
+ @field_remappings = {}
66697
+ end
66698
+ end
66329
66699
  # Whether this USBankAccount object was archived.
66330
66700
  sig { returns(T::Boolean) }
66331
66701
  def archived; end
@@ -66353,6 +66723,9 @@ module Stripe
66353
66723
  # The ACH routing number of the bank account.
66354
66724
  sig { returns(T.nilable(String)) }
66355
66725
  def routing_number; end
66726
+ # The bank account verification details.
66727
+ sig { returns(Verification) }
66728
+ def verification; end
66356
66729
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
66357
66730
  sig { returns(T::Boolean) }
66358
66731
  def livemode; end
@@ -74472,6 +74845,7 @@ module Stripe
74472
74845
  module V2
74473
74846
  module Billing
74474
74847
  class PricingPlanSubscriptionService < StripeService
74848
+ attr_reader :components
74475
74849
  # List all Pricing Plan Subscription objects.
74476
74850
  sig {
74477
74851
  params(params: T.any(::Stripe::V2::Billing::PricingPlanSubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
@@ -74494,6 +74868,22 @@ module Stripe
74494
74868
  end
74495
74869
  end
74496
74870
  # typed: true
74871
+ module Stripe
74872
+ module V2
74873
+ module Billing
74874
+ module PricingPlanSubscriptions
74875
+ class ComponentService < StripeService
74876
+ # Retrieve a Pricing Plan Subscription's components.
74877
+ sig {
74878
+ params(id: String, params: T.any(::Stripe::V2::Billing::PricingPlanSubscriptions::ComponentRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Billing::PricingPlanSubscriptionComponents)
74879
+ }
74880
+ def retrieve(id, params = {}, opts = {}); end
74881
+ end
74882
+ end
74883
+ end
74884
+ end
74885
+ end
74886
+ # typed: true
74497
74887
  module Stripe
74498
74888
  module V2
74499
74889
  module Billing
@@ -74699,7 +75089,7 @@ module Stripe
74699
75089
  module Core
74700
75090
  class AccountService < StripeService
74701
75091
  attr_reader :persons
74702
- # Removes access to the Account and its associated resources.
75092
+ # Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history.
74703
75093
  sig {
74704
75094
  params(id: String, params: T.any(::Stripe::V2::Core::AccountCloseParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Account)
74705
75095
  }
@@ -74937,6 +75327,12 @@ module Stripe
74937
75327
  }
74938
75328
  def initiate_confirmation_of_payee(id, params = {}, opts = {}); end
74939
75329
 
75330
+ # List objects that can be used as destinations for outbound money movement via OutboundPayment.
75331
+ sig {
75332
+ params(params: T.any(::Stripe::V2::Core::Vault::GbBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
75333
+ }
75334
+ def list(params = {}, opts = {}); end
75335
+
74940
75336
  # Retrieve a GB bank account.
74941
75337
  sig {
74942
75338
  params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::GbBankAccount)
@@ -74963,6 +75359,12 @@ module Stripe
74963
75359
  }
74964
75360
  def archive(id, params = {}, opts = {}); end
74965
75361
 
75362
+ # Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with.
75363
+ sig {
75364
+ params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountConfirmMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount)
75365
+ }
75366
+ def confirm_microdeposits(id, params = {}, opts = {}); end
75367
+
74966
75368
  # Create a USBankAccount object.
74967
75369
  #
74968
75370
  # ** raises BlockedByStripeError
@@ -74973,12 +75375,24 @@ module Stripe
74973
75375
  }
74974
75376
  def create(params = {}, opts = {}); end
74975
75377
 
75378
+ # List USBankAccount objects. Optionally filter by verification status.
75379
+ sig {
75380
+ params(params: T.any(::Stripe::V2::Core::Vault::UsBankAccountListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
75381
+ }
75382
+ def list(params = {}, opts = {}); end
75383
+
74976
75384
  # Retrieve a USBankAccount object.
74977
75385
  sig {
74978
75386
  params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount)
74979
75387
  }
74980
75388
  def retrieve(id, params = {}, opts = {}); end
74981
75389
 
75390
+ # Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
75391
+ sig {
75392
+ params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountSendMicrodepositsParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::Core::Vault::UsBankAccount)
75393
+ }
75394
+ def send_microdeposits(id, params = {}, opts = {}); end
75395
+
74982
75396
  # Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.
74983
75397
  #
74984
75398
  # ** raises BlockedByStripeError
@@ -75068,6 +75482,12 @@ module Stripe
75068
75482
  params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount)
75069
75483
  }
75070
75484
  def retrieve(id, params = {}, opts = {}); end
75485
+
75486
+ # Updates an existing FinancialAccount.
75487
+ sig {
75488
+ params(id: String, params: T.any(::Stripe::V2::MoneyManagement::FinancialAccountUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::FinancialAccount)
75489
+ }
75490
+ def update(id, params = {}, opts = {}); end
75071
75491
  end
75072
75492
  end
75073
75493
  end
@@ -75146,9 +75566,9 @@ module Stripe
75146
75566
  # Creates an OutboundPayment.
75147
75567
  #
75148
75568
  # ** raises InsufficientFundsError
75569
+ # ** raises FeatureNotEnabledError
75149
75570
  # ** raises QuotaExceededError
75150
75571
  # ** raises RecipientNotNotifiableError
75151
- # ** raises FeatureNotEnabledError
75152
75572
  sig {
75153
75573
  params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment)
75154
75574
  }
@@ -85419,8 +85839,15 @@ module Stripe
85419
85839
  params(_value_settings: T.nilable(Billing::MeterCreateParams::ValueSettings)).returns(T.nilable(Billing::MeterCreateParams::ValueSettings))
85420
85840
  }
85421
85841
  def value_settings=(_value_settings); end
85842
+ # Set of keys that will be used to group meter events by. Each key must be present in the event payload.
85843
+ sig { returns(T.nilable(T::Array[String])) }
85844
+ def dimension_payload_keys; end
85422
85845
  sig {
85423
- params(customer_mapping: T.nilable(Billing::MeterCreateParams::CustomerMapping), default_aggregation: Billing::MeterCreateParams::DefaultAggregation, display_name: String, event_name: String, event_time_window: T.nilable(String), expand: T.nilable(T::Array[String]), value_settings: T.nilable(Billing::MeterCreateParams::ValueSettings)).void
85846
+ params(_dimension_payload_keys: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String]))
85847
+ }
85848
+ def dimension_payload_keys=(_dimension_payload_keys); end
85849
+ sig {
85850
+ params(customer_mapping: T.nilable(Billing::MeterCreateParams::CustomerMapping), default_aggregation: Billing::MeterCreateParams::DefaultAggregation, display_name: String, event_name: String, event_time_window: T.nilable(String), expand: T.nilable(T::Array[String]), value_settings: T.nilable(Billing::MeterCreateParams::ValueSettings), dimension_payload_keys: T.nilable(T::Array[String])).void
85424
85851
  }
85425
85852
  def initialize(
85426
85853
  customer_mapping: nil,
@@ -85429,7 +85856,8 @@ module Stripe
85429
85856
  event_name: nil,
85430
85857
  event_time_window: nil,
85431
85858
  expand: nil,
85432
- value_settings: nil
85859
+ value_settings: nil,
85860
+ dimension_payload_keys: nil
85433
85861
  ); end
85434
85862
  end
85435
85863
  end
@@ -97913,13 +98341,326 @@ end
97913
98341
  module Stripe
97914
98342
  module DelegatedCheckout
97915
98343
  class RequestedSessionUpdateParams < ::Stripe::RequestParams
98344
+ class FulfillmentDetails < ::Stripe::RequestParams
98345
+ class Address < ::Stripe::RequestParams
98346
+ # City, district, suburb, town, or village.
98347
+ sig { returns(String) }
98348
+ def city; end
98349
+ sig { params(_city: String).returns(String) }
98350
+ def city=(_city); end
98351
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
98352
+ sig { returns(String) }
98353
+ def country; end
98354
+ sig { params(_country: String).returns(String) }
98355
+ def country=(_country); end
98356
+ # Address line 1, such as the street, PO Box, or company name.
98357
+ sig { returns(String) }
98358
+ def line1; end
98359
+ sig { params(_line1: String).returns(String) }
98360
+ def line1=(_line1); end
98361
+ # Address line 2, such as the apartment, suite, unit, or building.
98362
+ sig { returns(T.nilable(String)) }
98363
+ def line2; end
98364
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
98365
+ def line2=(_line2); end
98366
+ # ZIP or postal code.
98367
+ sig { returns(String) }
98368
+ def postal_code; end
98369
+ sig { params(_postal_code: String).returns(String) }
98370
+ def postal_code=(_postal_code); end
98371
+ # State, county, province, or region.
98372
+ sig { returns(String) }
98373
+ def state; end
98374
+ sig { params(_state: String).returns(String) }
98375
+ def state=(_state); end
98376
+ sig {
98377
+ params(city: String, country: String, line1: String, line2: T.nilable(String), postal_code: String, state: String).void
98378
+ }
98379
+ def initialize(
98380
+ city: nil,
98381
+ country: nil,
98382
+ line1: nil,
98383
+ line2: nil,
98384
+ postal_code: nil,
98385
+ state: nil
98386
+ ); end
98387
+ end
98388
+ class SelectedFulfillmentOption < ::Stripe::RequestParams
98389
+ class Shipping < ::Stripe::RequestParams
98390
+ # The shipping option identifer.
98391
+ sig { returns(String) }
98392
+ def shipping_option; end
98393
+ sig { params(_shipping_option: String).returns(String) }
98394
+ def shipping_option=(_shipping_option); end
98395
+ sig { params(shipping_option: String).void }
98396
+ def initialize(shipping_option: nil); end
98397
+ end
98398
+ # The shipping fulfillment option.
98399
+ sig {
98400
+ returns(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption::Shipping)
98401
+ }
98402
+ def shipping; end
98403
+ sig {
98404
+ params(_shipping: DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption::Shipping).returns(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption::Shipping)
98405
+ }
98406
+ def shipping=(_shipping); end
98407
+ # The type of fulfillment option.
98408
+ sig { returns(String) }
98409
+ def type; end
98410
+ sig { params(_type: String).returns(String) }
98411
+ def type=(_type); end
98412
+ sig {
98413
+ params(shipping: DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption::Shipping, type: String).void
98414
+ }
98415
+ def initialize(shipping: nil, type: nil); end
98416
+ end
98417
+ # Attribute for param field address
98418
+ sig {
98419
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::Address))
98420
+ }
98421
+ def address; end
98422
+ sig {
98423
+ params(_address: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::Address)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::Address))
98424
+ }
98425
+ def address=(_address); end
98426
+ # The customer's email address.
98427
+ sig { returns(T.nilable(String)) }
98428
+ def email; end
98429
+ sig { params(_email: T.nilable(String)).returns(T.nilable(String)) }
98430
+ def email=(_email); end
98431
+ # The customer's name.
98432
+ sig { returns(T.nilable(String)) }
98433
+ def name; end
98434
+ sig { params(_name: T.nilable(String)).returns(T.nilable(String)) }
98435
+ def name=(_name); end
98436
+ # The customer's phone number.
98437
+ sig { returns(T.nilable(String)) }
98438
+ def phone; end
98439
+ sig { params(_phone: T.nilable(String)).returns(T.nilable(String)) }
98440
+ def phone=(_phone); end
98441
+ # The fulfillment option to select.
98442
+ sig {
98443
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption))
98444
+ }
98445
+ def selected_fulfillment_option; end
98446
+ sig {
98447
+ params(_selected_fulfillment_option: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption))
98448
+ }
98449
+ def selected_fulfillment_option=(_selected_fulfillment_option); end
98450
+ sig {
98451
+ params(address: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String), selected_fulfillment_option: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails::SelectedFulfillmentOption)).void
98452
+ }
98453
+ def initialize(
98454
+ address: nil,
98455
+ email: nil,
98456
+ name: nil,
98457
+ phone: nil,
98458
+ selected_fulfillment_option: nil
98459
+ ); end
98460
+ end
98461
+ class LineItemDetail < ::Stripe::RequestParams
98462
+ # The key of the line item.
98463
+ sig { returns(String) }
98464
+ def key; end
98465
+ sig { params(_key: String).returns(String) }
98466
+ def key=(_key); end
98467
+ # The quantity of the line item.
98468
+ sig { returns(T.nilable(Integer)) }
98469
+ def quantity; end
98470
+ sig { params(_quantity: T.nilable(Integer)).returns(T.nilable(Integer)) }
98471
+ def quantity=(_quantity); end
98472
+ sig { params(key: String, quantity: T.nilable(Integer)).void }
98473
+ def initialize(key: nil, quantity: nil); end
98474
+ end
98475
+ class PaymentMethodData < ::Stripe::RequestParams
98476
+ class BillingDetails < ::Stripe::RequestParams
98477
+ class Address < ::Stripe::RequestParams
98478
+ # City, district, suburb, town, or village.
98479
+ sig { returns(String) }
98480
+ def city; end
98481
+ sig { params(_city: String).returns(String) }
98482
+ def city=(_city); end
98483
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
98484
+ sig { returns(String) }
98485
+ def country; end
98486
+ sig { params(_country: String).returns(String) }
98487
+ def country=(_country); end
98488
+ # Address line 1, such as the street, PO Box, or company name.
98489
+ sig { returns(String) }
98490
+ def line1; end
98491
+ sig { params(_line1: String).returns(String) }
98492
+ def line1=(_line1); end
98493
+ # Address line 2, such as the apartment, suite, unit, or building.
98494
+ sig { returns(T.nilable(String)) }
98495
+ def line2; end
98496
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
98497
+ def line2=(_line2); end
98498
+ # ZIP or postal code.
98499
+ sig { returns(String) }
98500
+ def postal_code; end
98501
+ sig { params(_postal_code: String).returns(String) }
98502
+ def postal_code=(_postal_code); end
98503
+ # State, county, province, or region.
98504
+ sig { returns(String) }
98505
+ def state; end
98506
+ sig { params(_state: String).returns(String) }
98507
+ def state=(_state); end
98508
+ sig {
98509
+ params(city: String, country: String, line1: String, line2: T.nilable(String), postal_code: String, state: String).void
98510
+ }
98511
+ def initialize(
98512
+ city: nil,
98513
+ country: nil,
98514
+ line1: nil,
98515
+ line2: nil,
98516
+ postal_code: nil,
98517
+ state: nil
98518
+ ); end
98519
+ end
98520
+ # The address for the billing details.
98521
+ sig {
98522
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails::Address))
98523
+ }
98524
+ def address; end
98525
+ sig {
98526
+ params(_address: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails::Address)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails::Address))
98527
+ }
98528
+ def address=(_address); end
98529
+ # The email for the billing details.
98530
+ sig { returns(T.nilable(String)) }
98531
+ def email; end
98532
+ sig { params(_email: T.nilable(String)).returns(T.nilable(String)) }
98533
+ def email=(_email); end
98534
+ # The name for the billing details.
98535
+ sig { returns(T.nilable(String)) }
98536
+ def name; end
98537
+ sig { params(_name: T.nilable(String)).returns(T.nilable(String)) }
98538
+ def name=(_name); end
98539
+ # The phone for the billing details.
98540
+ sig { returns(T.nilable(String)) }
98541
+ def phone; end
98542
+ sig { params(_phone: T.nilable(String)).returns(T.nilable(String)) }
98543
+ def phone=(_phone); end
98544
+ sig {
98545
+ params(address: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
98546
+ }
98547
+ def initialize(address: nil, email: nil, name: nil, phone: nil); end
98548
+ end
98549
+ class Card < ::Stripe::RequestParams
98550
+ # The CVC of the card.
98551
+ sig { returns(T.nilable(String)) }
98552
+ def cvc; end
98553
+ sig { params(_cvc: T.nilable(String)).returns(T.nilable(String)) }
98554
+ def cvc=(_cvc); end
98555
+ # The expiration month of the card.
98556
+ sig { returns(Integer) }
98557
+ def exp_month; end
98558
+ sig { params(_exp_month: Integer).returns(Integer) }
98559
+ def exp_month=(_exp_month); end
98560
+ # The expiration year of the card.
98561
+ sig { returns(Integer) }
98562
+ def exp_year; end
98563
+ sig { params(_exp_year: Integer).returns(Integer) }
98564
+ def exp_year=(_exp_year); end
98565
+ # The number of the card.
98566
+ sig { returns(String) }
98567
+ def number; end
98568
+ sig { params(_number: String).returns(String) }
98569
+ def number=(_number); end
98570
+ sig {
98571
+ params(cvc: T.nilable(String), exp_month: Integer, exp_year: Integer, number: String).void
98572
+ }
98573
+ def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end
98574
+ end
98575
+ # The billing details for the payment method data.
98576
+ sig {
98577
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails))
98578
+ }
98579
+ def billing_details; end
98580
+ sig {
98581
+ params(_billing_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails))
98582
+ }
98583
+ def billing_details=(_billing_details); end
98584
+ # The card for the payment method data.
98585
+ sig {
98586
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::Card))
98587
+ }
98588
+ def card; end
98589
+ sig {
98590
+ params(_card: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::Card)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::Card))
98591
+ }
98592
+ def card=(_card); end
98593
+ # The type of the payment method data.
98594
+ sig { returns(T.nilable(String)) }
98595
+ def type; end
98596
+ sig { params(_type: T.nilable(String)).returns(T.nilable(String)) }
98597
+ def type=(_type); end
98598
+ sig {
98599
+ params(billing_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::BillingDetails), card: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData::Card), type: T.nilable(String)).void
98600
+ }
98601
+ def initialize(billing_details: nil, card: nil, type: nil); end
98602
+ end
97916
98603
  # Specifies which fields in the response should be expanded.
97917
98604
  sig { returns(T.nilable(T::Array[String])) }
97918
98605
  def expand; end
97919
98606
  sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
97920
98607
  def expand=(_expand); end
97921
- sig { params(expand: T.nilable(T::Array[String])).void }
97922
- def initialize(expand: nil); end
98608
+ # The details of the fulfillment.
98609
+ sig {
98610
+ returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails))
98611
+ }
98612
+ def fulfillment_details; end
98613
+ sig {
98614
+ params(_fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails))
98615
+ }
98616
+ def fulfillment_details=(_fulfillment_details); end
98617
+ # The details of the line items.
98618
+ sig {
98619
+ returns(T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail]))
98620
+ }
98621
+ def line_item_details; end
98622
+ sig {
98623
+ params(_line_item_details: T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail])).returns(T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail]))
98624
+ }
98625
+ def line_item_details=(_line_item_details); end
98626
+ # The metadata for this requested session.
98627
+ sig { returns(T.nilable(T::Hash[String, String])) }
98628
+ def metadata; end
98629
+ sig {
98630
+ params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
98631
+ }
98632
+ def metadata=(_metadata); end
98633
+ # The payment method for this requested session.
98634
+ sig { returns(T.nilable(String)) }
98635
+ def payment_method; end
98636
+ sig { params(_payment_method: T.nilable(String)).returns(T.nilable(String)) }
98637
+ def payment_method=(_payment_method); end
98638
+ # The payment method data for this requested session.
98639
+ sig { returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)) }
98640
+ def payment_method_data; end
98641
+ sig {
98642
+ params(_payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData)).returns(T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData))
98643
+ }
98644
+ def payment_method_data=(_payment_method_data); end
98645
+ # The shared metadata for this requested session.
98646
+ sig { returns(T.nilable(T::Hash[String, String])) }
98647
+ def shared_metadata; end
98648
+ sig {
98649
+ params(_shared_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
98650
+ }
98651
+ def shared_metadata=(_shared_metadata); end
98652
+ sig {
98653
+ params(expand: T.nilable(T::Array[String]), fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::FulfillmentDetails), line_item_details: T.nilable(T::Array[DelegatedCheckout::RequestedSessionUpdateParams::LineItemDetail]), metadata: T.nilable(T::Hash[String, String]), payment_method: T.nilable(String), payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodData), shared_metadata: T.nilable(T::Hash[String, String])).void
98654
+ }
98655
+ def initialize(
98656
+ expand: nil,
98657
+ fulfillment_details: nil,
98658
+ line_item_details: nil,
98659
+ metadata: nil,
98660
+ payment_method: nil,
98661
+ payment_method_data: nil,
98662
+ shared_metadata: nil
98663
+ ); end
97923
98664
  end
97924
98665
  end
97925
98666
  end
@@ -97927,13 +98668,375 @@ end
97927
98668
  module Stripe
97928
98669
  module DelegatedCheckout
97929
98670
  class RequestedSessionCreateParams < ::Stripe::RequestParams
98671
+ class FulfillmentDetails < ::Stripe::RequestParams
98672
+ class Address < ::Stripe::RequestParams
98673
+ # City, district, suburb, town, or village.
98674
+ sig { returns(String) }
98675
+ def city; end
98676
+ sig { params(_city: String).returns(String) }
98677
+ def city=(_city); end
98678
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
98679
+ sig { returns(String) }
98680
+ def country; end
98681
+ sig { params(_country: String).returns(String) }
98682
+ def country=(_country); end
98683
+ # Address line 1, such as the street, PO Box, or company name.
98684
+ sig { returns(String) }
98685
+ def line1; end
98686
+ sig { params(_line1: String).returns(String) }
98687
+ def line1=(_line1); end
98688
+ # Address line 2, such as the apartment, suite, unit, or building.
98689
+ sig { returns(T.nilable(String)) }
98690
+ def line2; end
98691
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
98692
+ def line2=(_line2); end
98693
+ # ZIP or postal code.
98694
+ sig { returns(String) }
98695
+ def postal_code; end
98696
+ sig { params(_postal_code: String).returns(String) }
98697
+ def postal_code=(_postal_code); end
98698
+ # State, county, province, or region.
98699
+ sig { returns(String) }
98700
+ def state; end
98701
+ sig { params(_state: String).returns(String) }
98702
+ def state=(_state); end
98703
+ sig {
98704
+ params(city: String, country: String, line1: String, line2: T.nilable(String), postal_code: String, state: String).void
98705
+ }
98706
+ def initialize(
98707
+ city: nil,
98708
+ country: nil,
98709
+ line1: nil,
98710
+ line2: nil,
98711
+ postal_code: nil,
98712
+ state: nil
98713
+ ); end
98714
+ end
98715
+ # Attribute for param field address
98716
+ sig {
98717
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails::Address))
98718
+ }
98719
+ def address; end
98720
+ sig {
98721
+ params(_address: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails::Address)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails::Address))
98722
+ }
98723
+ def address=(_address); end
98724
+ # The customer's email address.
98725
+ sig { returns(T.nilable(String)) }
98726
+ def email; end
98727
+ sig { params(_email: T.nilable(String)).returns(T.nilable(String)) }
98728
+ def email=(_email); end
98729
+ # The customer's name.
98730
+ sig { returns(T.nilable(String)) }
98731
+ def name; end
98732
+ sig { params(_name: T.nilable(String)).returns(T.nilable(String)) }
98733
+ def name=(_name); end
98734
+ # The customer's phone number.
98735
+ sig { returns(T.nilable(String)) }
98736
+ def phone; end
98737
+ sig { params(_phone: T.nilable(String)).returns(T.nilable(String)) }
98738
+ def phone=(_phone); end
98739
+ sig {
98740
+ params(address: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
98741
+ }
98742
+ def initialize(address: nil, email: nil, name: nil, phone: nil); end
98743
+ end
98744
+ class LineItemDetail < ::Stripe::RequestParams
98745
+ # The quantity of the line item.
98746
+ sig { returns(Integer) }
98747
+ def quantity; end
98748
+ sig { params(_quantity: Integer).returns(Integer) }
98749
+ def quantity=(_quantity); end
98750
+ # The SKU ID of the line item.
98751
+ sig { returns(String) }
98752
+ def sku_id; end
98753
+ sig { params(_sku_id: String).returns(String) }
98754
+ def sku_id=(_sku_id); end
98755
+ sig { params(quantity: Integer, sku_id: String).void }
98756
+ def initialize(quantity: nil, sku_id: nil); end
98757
+ end
98758
+ class PaymentMethodData < ::Stripe::RequestParams
98759
+ class BillingDetails < ::Stripe::RequestParams
98760
+ class Address < ::Stripe::RequestParams
98761
+ # City, district, suburb, town, or village.
98762
+ sig { returns(String) }
98763
+ def city; end
98764
+ sig { params(_city: String).returns(String) }
98765
+ def city=(_city); end
98766
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
98767
+ sig { returns(String) }
98768
+ def country; end
98769
+ sig { params(_country: String).returns(String) }
98770
+ def country=(_country); end
98771
+ # Address line 1, such as the street, PO Box, or company name.
98772
+ sig { returns(String) }
98773
+ def line1; end
98774
+ sig { params(_line1: String).returns(String) }
98775
+ def line1=(_line1); end
98776
+ # Address line 2, such as the apartment, suite, unit, or building.
98777
+ sig { returns(T.nilable(String)) }
98778
+ def line2; end
98779
+ sig { params(_line2: T.nilable(String)).returns(T.nilable(String)) }
98780
+ def line2=(_line2); end
98781
+ # ZIP or postal code.
98782
+ sig { returns(String) }
98783
+ def postal_code; end
98784
+ sig { params(_postal_code: String).returns(String) }
98785
+ def postal_code=(_postal_code); end
98786
+ # State, county, province, or region.
98787
+ sig { returns(String) }
98788
+ def state; end
98789
+ sig { params(_state: String).returns(String) }
98790
+ def state=(_state); end
98791
+ sig {
98792
+ params(city: String, country: String, line1: String, line2: T.nilable(String), postal_code: String, state: String).void
98793
+ }
98794
+ def initialize(
98795
+ city: nil,
98796
+ country: nil,
98797
+ line1: nil,
98798
+ line2: nil,
98799
+ postal_code: nil,
98800
+ state: nil
98801
+ ); end
98802
+ end
98803
+ # The address for the billing details.
98804
+ sig {
98805
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails::Address))
98806
+ }
98807
+ def address; end
98808
+ sig {
98809
+ params(_address: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails::Address)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails::Address))
98810
+ }
98811
+ def address=(_address); end
98812
+ # The email for the billing details.
98813
+ sig { returns(T.nilable(String)) }
98814
+ def email; end
98815
+ sig { params(_email: T.nilable(String)).returns(T.nilable(String)) }
98816
+ def email=(_email); end
98817
+ # The name for the billing details.
98818
+ sig { returns(T.nilable(String)) }
98819
+ def name; end
98820
+ sig { params(_name: T.nilable(String)).returns(T.nilable(String)) }
98821
+ def name=(_name); end
98822
+ # The phone for the billing details.
98823
+ sig { returns(T.nilable(String)) }
98824
+ def phone; end
98825
+ sig { params(_phone: T.nilable(String)).returns(T.nilable(String)) }
98826
+ def phone=(_phone); end
98827
+ sig {
98828
+ params(address: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
98829
+ }
98830
+ def initialize(address: nil, email: nil, name: nil, phone: nil); end
98831
+ end
98832
+ class Card < ::Stripe::RequestParams
98833
+ # The CVC of the card.
98834
+ sig { returns(T.nilable(String)) }
98835
+ def cvc; end
98836
+ sig { params(_cvc: T.nilable(String)).returns(T.nilable(String)) }
98837
+ def cvc=(_cvc); end
98838
+ # The expiration month of the card.
98839
+ sig { returns(Integer) }
98840
+ def exp_month; end
98841
+ sig { params(_exp_month: Integer).returns(Integer) }
98842
+ def exp_month=(_exp_month); end
98843
+ # The expiration year of the card.
98844
+ sig { returns(Integer) }
98845
+ def exp_year; end
98846
+ sig { params(_exp_year: Integer).returns(Integer) }
98847
+ def exp_year=(_exp_year); end
98848
+ # The number of the card.
98849
+ sig { returns(String) }
98850
+ def number; end
98851
+ sig { params(_number: String).returns(String) }
98852
+ def number=(_number); end
98853
+ sig {
98854
+ params(cvc: T.nilable(String), exp_month: Integer, exp_year: Integer, number: String).void
98855
+ }
98856
+ def initialize(cvc: nil, exp_month: nil, exp_year: nil, number: nil); end
98857
+ end
98858
+ # The billing details for the payment method data.
98859
+ sig {
98860
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails))
98861
+ }
98862
+ def billing_details; end
98863
+ sig {
98864
+ params(_billing_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails))
98865
+ }
98866
+ def billing_details=(_billing_details); end
98867
+ # The card for the payment method data.
98868
+ sig {
98869
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::Card))
98870
+ }
98871
+ def card; end
98872
+ sig {
98873
+ params(_card: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::Card)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::Card))
98874
+ }
98875
+ def card=(_card); end
98876
+ # The type of the payment method data.
98877
+ sig { returns(T.nilable(String)) }
98878
+ def type; end
98879
+ sig { params(_type: T.nilable(String)).returns(T.nilable(String)) }
98880
+ def type=(_type); end
98881
+ sig {
98882
+ params(billing_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::BillingDetails), card: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData::Card), type: T.nilable(String)).void
98883
+ }
98884
+ def initialize(billing_details: nil, card: nil, type: nil); end
98885
+ end
98886
+ class RiskDetails < ::Stripe::RequestParams
98887
+ class ClientDeviceMetadataDetails < ::Stripe::RequestParams
98888
+ # The radar session.
98889
+ sig { returns(T.nilable(String)) }
98890
+ def radar_session; end
98891
+ sig { params(_radar_session: T.nilable(String)).returns(T.nilable(String)) }
98892
+ def radar_session=(_radar_session); end
98893
+ # The referrer of the client device.
98894
+ sig { returns(T.nilable(String)) }
98895
+ def referrer; end
98896
+ sig { params(_referrer: T.nilable(String)).returns(T.nilable(String)) }
98897
+ def referrer=(_referrer); end
98898
+ # The remote IP address of the client device.
98899
+ sig { returns(T.nilable(String)) }
98900
+ def remote_ip; end
98901
+ sig { params(_remote_ip: T.nilable(String)).returns(T.nilable(String)) }
98902
+ def remote_ip=(_remote_ip); end
98903
+ # The time on page in seconds.
98904
+ sig { returns(T.nilable(Integer)) }
98905
+ def time_on_page; end
98906
+ sig { params(_time_on_page: T.nilable(Integer)).returns(T.nilable(Integer)) }
98907
+ def time_on_page=(_time_on_page); end
98908
+ # The user agent of the client device.
98909
+ sig { returns(T.nilable(String)) }
98910
+ def user_agent; end
98911
+ sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) }
98912
+ def user_agent=(_user_agent); end
98913
+ sig {
98914
+ params(radar_session: T.nilable(String), referrer: T.nilable(String), remote_ip: T.nilable(String), time_on_page: T.nilable(Integer), user_agent: T.nilable(String)).void
98915
+ }
98916
+ def initialize(
98917
+ radar_session: nil,
98918
+ referrer: nil,
98919
+ remote_ip: nil,
98920
+ time_on_page: nil,
98921
+ user_agent: nil
98922
+ ); end
98923
+ end
98924
+ # The client device metadata details for this requested session.
98925
+ sig {
98926
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails))
98927
+ }
98928
+ def client_device_metadata_details; end
98929
+ sig {
98930
+ params(_client_device_metadata_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails))
98931
+ }
98932
+ def client_device_metadata_details=(_client_device_metadata_details); end
98933
+ sig {
98934
+ params(client_device_metadata_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails)).void
98935
+ }
98936
+ def initialize(client_device_metadata_details: nil); end
98937
+ end
98938
+ class SellerDetails < ::Stripe::RequestParams
98939
+ # The network profile for the seller.
98940
+ sig { returns(String) }
98941
+ def network_profile; end
98942
+ sig { params(_network_profile: String).returns(String) }
98943
+ def network_profile=(_network_profile); end
98944
+ sig { params(network_profile: String).void }
98945
+ def initialize(network_profile: nil); end
98946
+ end
98947
+ # The currency for this requested session.
98948
+ sig { returns(String) }
98949
+ def currency; end
98950
+ sig { params(_currency: String).returns(String) }
98951
+ def currency=(_currency); end
98952
+ # The customer for this requested session.
98953
+ sig { returns(T.nilable(String)) }
98954
+ def customer; end
98955
+ sig { params(_customer: T.nilable(String)).returns(T.nilable(String)) }
98956
+ def customer=(_customer); end
97930
98957
  # Specifies which fields in the response should be expanded.
97931
98958
  sig { returns(T.nilable(T::Array[String])) }
97932
98959
  def expand; end
97933
98960
  sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
97934
98961
  def expand=(_expand); end
97935
- sig { params(expand: T.nilable(T::Array[String])).void }
97936
- def initialize(expand: nil); end
98962
+ # The details of the fulfillment.
98963
+ sig {
98964
+ returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails))
98965
+ }
98966
+ def fulfillment_details; end
98967
+ sig {
98968
+ params(_fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails))
98969
+ }
98970
+ def fulfillment_details=(_fulfillment_details); end
98971
+ # The details of the line items.
98972
+ sig { returns(T::Array[DelegatedCheckout::RequestedSessionCreateParams::LineItemDetail]) }
98973
+ def line_item_details; end
98974
+ sig {
98975
+ params(_line_item_details: T::Array[DelegatedCheckout::RequestedSessionCreateParams::LineItemDetail]).returns(T::Array[DelegatedCheckout::RequestedSessionCreateParams::LineItemDetail])
98976
+ }
98977
+ def line_item_details=(_line_item_details); end
98978
+ # The metadata for this requested session.
98979
+ sig { returns(T.nilable(T::Hash[String, String])) }
98980
+ def metadata; end
98981
+ sig {
98982
+ params(_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
98983
+ }
98984
+ def metadata=(_metadata); end
98985
+ # The payment method for this requested session.
98986
+ sig { returns(T.nilable(String)) }
98987
+ def payment_method; end
98988
+ sig { params(_payment_method: T.nilable(String)).returns(T.nilable(String)) }
98989
+ def payment_method=(_payment_method); end
98990
+ # The payment method data for this requested session.
98991
+ sig { returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData)) }
98992
+ def payment_method_data; end
98993
+ sig {
98994
+ params(_payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData))
98995
+ }
98996
+ def payment_method_data=(_payment_method_data); end
98997
+ # The risk details for this requested session.
98998
+ sig { returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails)) }
98999
+ def risk_details; end
99000
+ sig {
99001
+ params(_risk_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails)).returns(T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails))
99002
+ }
99003
+ def risk_details=(_risk_details); end
99004
+ # The details of the seller.
99005
+ sig { returns(DelegatedCheckout::RequestedSessionCreateParams::SellerDetails) }
99006
+ def seller_details; end
99007
+ sig {
99008
+ params(_seller_details: DelegatedCheckout::RequestedSessionCreateParams::SellerDetails).returns(DelegatedCheckout::RequestedSessionCreateParams::SellerDetails)
99009
+ }
99010
+ def seller_details=(_seller_details); end
99011
+ # The setup future usage for this requested session.
99012
+ sig { returns(T.nilable(String)) }
99013
+ def setup_future_usage; end
99014
+ sig { params(_setup_future_usage: T.nilable(String)).returns(T.nilable(String)) }
99015
+ def setup_future_usage=(_setup_future_usage); end
99016
+ # The shared metadata for this requested session.
99017
+ sig { returns(T.nilable(T::Hash[String, String])) }
99018
+ def shared_metadata; end
99019
+ sig {
99020
+ params(_shared_metadata: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
99021
+ }
99022
+ def shared_metadata=(_shared_metadata); end
99023
+ sig {
99024
+ params(currency: String, customer: T.nilable(String), expand: T.nilable(T::Array[String]), fulfillment_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::FulfillmentDetails), line_item_details: T::Array[DelegatedCheckout::RequestedSessionCreateParams::LineItemDetail], metadata: T.nilable(T::Hash[String, String]), payment_method: T.nilable(String), payment_method_data: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodData), risk_details: T.nilable(DelegatedCheckout::RequestedSessionCreateParams::RiskDetails), seller_details: DelegatedCheckout::RequestedSessionCreateParams::SellerDetails, setup_future_usage: T.nilable(String), shared_metadata: T.nilable(T::Hash[String, String])).void
99025
+ }
99026
+ def initialize(
99027
+ currency: nil,
99028
+ customer: nil,
99029
+ expand: nil,
99030
+ fulfillment_details: nil,
99031
+ line_item_details: nil,
99032
+ metadata: nil,
99033
+ payment_method: nil,
99034
+ payment_method_data: nil,
99035
+ risk_details: nil,
99036
+ seller_details: nil,
99037
+ setup_future_usage: nil,
99038
+ shared_metadata: nil
99039
+ ); end
97937
99040
  end
97938
99041
  end
97939
99042
  end
@@ -181797,6 +182900,20 @@ module Stripe
181797
182900
  def customer; end
181798
182901
  sig { params(_customer: String).returns(String) }
181799
182902
  def customer=(_customer); end
182903
+ # Key-value pairs used to filter meter events by dimension values. If specified, event summaries will be generated with only matching meter events.
182904
+ sig { returns(T.nilable(T::Hash[String, String])) }
182905
+ def dimension_filters; end
182906
+ sig {
182907
+ params(_dimension_filters: T.nilable(T::Hash[String, String])).returns(T.nilable(T::Hash[String, String]))
182908
+ }
182909
+ def dimension_filters=(_dimension_filters); end
182910
+ # List of dimension payload keys to group by. If specified, event summaries will be grouped by the given dimension payload key values.
182911
+ sig { returns(T.nilable(T::Array[String])) }
182912
+ def dimension_group_by_keys; end
182913
+ sig {
182914
+ params(_dimension_group_by_keys: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String]))
182915
+ }
182916
+ def dimension_group_by_keys=(_dimension_group_by_keys); end
181800
182917
  # The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.
181801
182918
  sig { returns(Integer) }
181802
182919
  def end_time; end
@@ -181833,10 +182950,12 @@ module Stripe
181833
182950
  sig { params(_value_grouping_window: T.nilable(String)).returns(T.nilable(String)) }
181834
182951
  def value_grouping_window=(_value_grouping_window); end
181835
182952
  sig {
181836
- params(customer: String, end_time: Integer, ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), start_time: Integer, starting_after: T.nilable(String), value_grouping_window: T.nilable(String)).void
182953
+ params(customer: String, dimension_filters: T.nilable(T::Hash[String, String]), dimension_group_by_keys: T.nilable(T::Array[String]), end_time: Integer, ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), start_time: Integer, starting_after: T.nilable(String), value_grouping_window: T.nilable(String)).void
181837
182954
  }
181838
182955
  def initialize(
181839
182956
  customer: nil,
182957
+ dimension_filters: nil,
182958
+ dimension_group_by_keys: nil,
181840
182959
  end_time: nil,
181841
182960
  ending_before: nil,
181842
182961
  expand: nil,
@@ -190916,7 +192035,7 @@ module Stripe
190916
192035
  def enabled; end
190917
192036
  sig { params(_enabled: T::Boolean).returns(T::Boolean) }
190918
192037
  def enabled=(_enabled); end
190919
- # If true the payment link to hosted invocie page would be included in email and PDF of the invoice.
192038
+ # If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
190920
192039
  sig { returns(T::Boolean) }
190921
192040
  def include_payment_link; end
190922
192041
  sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) }
@@ -190924,7 +192043,7 @@ module Stripe
190924
192043
  sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void }
190925
192044
  def initialize(enabled: nil, include_payment_link: nil); end
190926
192045
  end
190927
- # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state.
192046
+ # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
190928
192047
  sig {
190929
192048
  returns(T.nilable(V2::Billing::CollectionSettingCreateParams::EmailDelivery::PaymentDue))
190930
192049
  }
@@ -191281,7 +192400,7 @@ module Stripe
191281
192400
  def enabled; end
191282
192401
  sig { params(_enabled: T::Boolean).returns(T::Boolean) }
191283
192402
  def enabled=(_enabled); end
191284
- # If true the payment link to hosted invocie page would be included in email and PDF of the invoice.
192403
+ # If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
191285
192404
  sig { returns(T::Boolean) }
191286
192405
  def include_payment_link; end
191287
192406
  sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) }
@@ -191289,7 +192408,7 @@ module Stripe
191289
192408
  sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void }
191290
192409
  def initialize(enabled: nil, include_payment_link: nil); end
191291
192410
  end
191292
- # Controls emails for when the payment is due. For example after the invoice is finilized and transition to Open state.
192411
+ # Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
191293
192412
  sig {
191294
192413
  returns(T.nilable(V2::Billing::CollectionSettingUpdateParams::EmailDelivery::PaymentDue))
191295
192414
  }
@@ -193702,6 +194821,16 @@ module Stripe
193702
194821
  end
193703
194822
  end
193704
194823
  # typed: true
194824
+ module Stripe
194825
+ module V2
194826
+ module Billing
194827
+ module PricingPlanSubscriptions
194828
+ class ComponentRetrieveParams < ::Stripe::RequestParams; end
194829
+ end
194830
+ end
194831
+ end
194832
+ end
194833
+ # typed: true
193705
194834
  module Stripe
193706
194835
  module V2
193707
194836
  module Billing
@@ -194824,15 +195953,20 @@ module Stripe
194824
195953
  params(_applied_configurations: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String]))
194825
195954
  }
194826
195955
  def applied_configurations=(_applied_configurations); end
195956
+ # Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.
195957
+ sig { returns(T.nilable(T::Boolean)) }
195958
+ def closed; end
195959
+ sig { params(_closed: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
195960
+ def closed=(_closed); end
194827
195961
  # The upper limit on the number of accounts returned by the List Account request.
194828
195962
  sig { returns(T.nilable(Integer)) }
194829
195963
  def limit; end
194830
195964
  sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
194831
195965
  def limit=(_limit); end
194832
195966
  sig {
194833
- params(applied_configurations: T.nilable(T::Array[String]), limit: T.nilable(Integer)).void
195967
+ params(applied_configurations: T.nilable(T::Array[String]), closed: T.nilable(T::Boolean), limit: T.nilable(Integer)).void
194834
195968
  }
194835
- def initialize(applied_configurations: nil, limit: nil); end
195969
+ def initialize(applied_configurations: nil, closed: nil, limit: nil); end
194836
195970
  end
194837
195971
  end
194838
195972
  end
@@ -196545,6 +197679,15 @@ module Stripe
196545
197679
  sig { params(requested: T::Boolean).void }
196546
197680
  def initialize(requested: nil); end
196547
197681
  end
197682
+ class Usd < ::Stripe::RequestParams
197683
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
197684
+ sig { returns(T::Boolean) }
197685
+ def requested; end
197686
+ sig { params(_requested: T::Boolean).returns(T::Boolean) }
197687
+ def requested=(_requested); end
197688
+ sig { params(requested: T::Boolean).void }
197689
+ def initialize(requested: nil); end
197690
+ end
196548
197691
  # Can hold storage-type funds on Stripe in GBP.
196549
197692
  sig {
196550
197693
  returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
@@ -196554,10 +197697,19 @@ module Stripe
196554
197697
  params(_gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
196555
197698
  }
196556
197699
  def gbp=(_gbp); end
197700
+ # Can hold storage-type funds on Stripe in USD.
196557
197701
  sig {
196558
- params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void
197702
+ returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
196559
197703
  }
196560
- def initialize(gbp: nil); end
197704
+ def usd; end
197705
+ sig {
197706
+ params(_usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
197707
+ }
197708
+ def usd=(_usd); end
197709
+ sig {
197710
+ params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void
197711
+ }
197712
+ def initialize(gbp: nil, usd: nil); end
196561
197713
  end
196562
197714
  class InboundTransfers < ::Stripe::RequestParams
196563
197715
  class BankAccounts < ::Stripe::RequestParams
@@ -196943,6 +198095,27 @@ module Stripe
196943
198095
  ownership_exemption_reason: nil
196944
198096
  ); end
196945
198097
  end
198098
+ class RepresentativeDeclaration < ::Stripe::RequestParams
198099
+ # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
198100
+ sig { returns(T.nilable(String)) }
198101
+ def date; end
198102
+ sig { params(_date: T.nilable(String)).returns(T.nilable(String)) }
198103
+ def date=(_date); end
198104
+ # The IP address from which the representative attestation was made.
198105
+ sig { returns(T.nilable(String)) }
198106
+ def ip; end
198107
+ sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) }
198108
+ def ip=(_ip); end
198109
+ # The user agent of the browser from which the representative attestation was made.
198110
+ sig { returns(T.nilable(String)) }
198111
+ def user_agent; end
198112
+ sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) }
198113
+ def user_agent=(_user_agent); end
198114
+ sig {
198115
+ params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void
198116
+ }
198117
+ def initialize(date: nil, ip: nil, user_agent: nil); end
198118
+ end
196946
198119
  class TermsOfService < ::Stripe::RequestParams
196947
198120
  class Account < ::Stripe::RequestParams
196948
198121
  # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -197524,6 +198697,15 @@ module Stripe
197524
198697
  params(_persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided))
197525
198698
  }
197526
198699
  def persons_provided=(_persons_provided); end
198700
+ # This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
198701
+ sig {
198702
+ returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration))
198703
+ }
198704
+ def representative_declaration; end
198705
+ sig {
198706
+ params(_representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration))
198707
+ }
198708
+ def representative_declaration=(_representative_declaration); end
197527
198709
  # Attestations of accepted terms of service agreements.
197528
198710
  sig {
197529
198711
  returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService))
@@ -197534,12 +198716,13 @@ module Stripe
197534
198716
  }
197535
198717
  def terms_of_service=(_terms_of_service); end
197536
198718
  sig {
197537
- params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void
198719
+ params(directorship_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService)).void
197538
198720
  }
197539
198721
  def initialize(
197540
198722
  directorship_declaration: nil,
197541
198723
  ownership_declaration: nil,
197542
198724
  persons_provided: nil,
198725
+ representative_declaration: nil,
197543
198726
  terms_of_service: nil
197544
198727
  ); end
197545
198728
  end
@@ -198862,7 +200045,7 @@ module Stripe
198862
200045
  surname: nil
198863
200046
  ); end
198864
200047
  end
198865
- # Attestations from the identity's key people, e.g. owners, executives, directors.
200048
+ # Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
198866
200049
  sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations)) }
198867
200050
  def attestations; end
198868
200051
  sig {
@@ -200737,6 +201920,15 @@ module Stripe
200737
201920
  sig { params(requested: T.nilable(T::Boolean)).void }
200738
201921
  def initialize(requested: nil); end
200739
201922
  end
201923
+ class Usd < ::Stripe::RequestParams
201924
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
201925
+ sig { returns(T.nilable(T::Boolean)) }
201926
+ def requested; end
201927
+ sig { params(_requested: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) }
201928
+ def requested=(_requested); end
201929
+ sig { params(requested: T.nilable(T::Boolean)).void }
201930
+ def initialize(requested: nil); end
201931
+ end
200740
201932
  # Can hold storage-type funds on Stripe in GBP.
200741
201933
  sig {
200742
201934
  returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
@@ -200746,10 +201938,19 @@ module Stripe
200746
201938
  params(_gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
200747
201939
  }
200748
201940
  def gbp=(_gbp); end
201941
+ # Can hold storage-type funds on Stripe in USD.
200749
201942
  sig {
200750
- params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void
201943
+ returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
200751
201944
  }
200752
- def initialize(gbp: nil); end
201945
+ def usd; end
201946
+ sig {
201947
+ params(_usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
201948
+ }
201949
+ def usd=(_usd); end
201950
+ sig {
201951
+ params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp), usd: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd)).void
201952
+ }
201953
+ def initialize(gbp: nil, usd: nil); end
200753
201954
  end
200754
201955
  class InboundTransfers < ::Stripe::RequestParams
200755
201956
  class BankAccounts < ::Stripe::RequestParams
@@ -201140,6 +202341,27 @@ module Stripe
201140
202341
  ownership_exemption_reason: nil
201141
202342
  ); end
201142
202343
  end
202344
+ class RepresentativeDeclaration < ::Stripe::RequestParams
202345
+ # The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
202346
+ sig { returns(T.nilable(String)) }
202347
+ def date; end
202348
+ sig { params(_date: T.nilable(String)).returns(T.nilable(String)) }
202349
+ def date=(_date); end
202350
+ # The IP address from which the representative attestation was made.
202351
+ sig { returns(T.nilable(String)) }
202352
+ def ip; end
202353
+ sig { params(_ip: T.nilable(String)).returns(T.nilable(String)) }
202354
+ def ip=(_ip); end
202355
+ # The user agent of the browser from which the representative attestation was made.
202356
+ sig { returns(T.nilable(String)) }
202357
+ def user_agent; end
202358
+ sig { params(_user_agent: T.nilable(String)).returns(T.nilable(String)) }
202359
+ def user_agent=(_user_agent); end
202360
+ sig {
202361
+ params(date: T.nilable(String), ip: T.nilable(String), user_agent: T.nilable(String)).void
202362
+ }
202363
+ def initialize(date: nil, ip: nil, user_agent: nil); end
202364
+ end
201143
202365
  class TermsOfService < ::Stripe::RequestParams
201144
202366
  class Account < ::Stripe::RequestParams
201145
202367
  # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
@@ -201751,6 +202973,15 @@ module Stripe
201751
202973
  params(_persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided))
201752
202974
  }
201753
202975
  def persons_provided=(_persons_provided); end
202976
+ # This hash is used to attest that the representative is authorized to act as the representative of their legal entity.
202977
+ sig {
202978
+ returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration))
202979
+ }
202980
+ def representative_declaration; end
202981
+ sig {
202982
+ params(_representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration))
202983
+ }
202984
+ def representative_declaration=(_representative_declaration); end
201754
202985
  # Attestations of accepted terms of service agreements.
201755
202986
  sig {
201756
202987
  returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService))
@@ -201761,12 +202992,13 @@ module Stripe
201761
202992
  }
201762
202993
  def terms_of_service=(_terms_of_service); end
201763
202994
  sig {
201764
- params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void
202995
+ params(directorship_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::DirectorshipDeclaration), ownership_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::OwnershipDeclaration), persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided), representative_declaration: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::RepresentativeDeclaration), terms_of_service: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService)).void
201765
202996
  }
201766
202997
  def initialize(
201767
202998
  directorship_declaration: nil,
201768
202999
  ownership_declaration: nil,
201769
203000
  persons_provided: nil,
203001
+ representative_declaration: nil,
201770
203002
  terms_of_service: nil
201771
203003
  ); end
201772
203004
  end
@@ -203089,7 +204321,7 @@ module Stripe
203089
204321
  surname: nil
203090
204322
  ); end
203091
204323
  end
203092
- # Attestations from the identity's key people, e.g. owners, executives, directors.
204324
+ # Attestations from the identity's key people, e.g. owners, executives, directors, representatives.
203093
204325
  sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations)) }
203094
204326
  def attestations; end
203095
204327
  sig {
@@ -204937,20 +206169,55 @@ module Stripe
204937
206169
  module V2
204938
206170
  module Core
204939
206171
  class EventListParams < ::Stripe::RequestParams
206172
+ # Filter for events created after the specified timestamp.
206173
+ sig { returns(T.nilable(String)) }
206174
+ def gt; end
206175
+ sig { params(_gt: T.nilable(String)).returns(T.nilable(String)) }
206176
+ def gt=(_gt); end
206177
+ # Filter for events created at or after the specified timestamp.
206178
+ sig { returns(T.nilable(String)) }
206179
+ def gte; end
206180
+ sig { params(_gte: T.nilable(String)).returns(T.nilable(String)) }
206181
+ def gte=(_gte); end
204940
206182
  # The page size.
204941
206183
  sig { returns(T.nilable(Integer)) }
204942
206184
  def limit; end
204943
206185
  sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
204944
206186
  def limit=(_limit); end
206187
+ # Filter for events created before the specified timestamp.
206188
+ sig { returns(T.nilable(String)) }
206189
+ def lt; end
206190
+ sig { params(_lt: T.nilable(String)).returns(T.nilable(String)) }
206191
+ def lt=(_lt); end
206192
+ # Filter for events created at or before the specified timestamp.
206193
+ sig { returns(T.nilable(String)) }
206194
+ def lte; end
206195
+ sig { params(_lte: T.nilable(String)).returns(T.nilable(String)) }
206196
+ def lte=(_lte); end
204945
206197
  # Primary object ID used to retrieve related events.
204946
206198
  #
204947
206199
  # To avoid conflict with Ruby's ':object_id', this attribute has been renamed. If using a hash parameter map instead, please use the original name ':object_id' with NO trailing underscore as the provided param key.
204948
- sig { returns(String) }
206200
+ sig { returns(T.nilable(String)) }
204949
206201
  def object_id_; end
204950
- sig { params(_object_id_: String).returns(String) }
206202
+ sig { params(_object_id_: T.nilable(String)).returns(T.nilable(String)) }
204951
206203
  def object_id_=(_object_id_); end
204952
- sig { params(limit: T.nilable(Integer), object_id_: String).void }
204953
- def initialize(limit: nil, object_id_: nil); end
206204
+ # An array of up to 20 strings containing specific event names.
206205
+ sig { returns(T.nilable(T::Array[String])) }
206206
+ def types; end
206207
+ sig { params(_types: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
206208
+ def types=(_types); end
206209
+ sig {
206210
+ params(gt: T.nilable(String), gte: T.nilable(String), limit: T.nilable(Integer), lt: T.nilable(String), lte: T.nilable(String), object_id_: T.nilable(String), types: T.nilable(T::Array[String])).void
206211
+ }
206212
+ def initialize(
206213
+ gt: nil,
206214
+ gte: nil,
206215
+ limit: nil,
206216
+ lt: nil,
206217
+ lte: nil,
206218
+ object_id_: nil,
206219
+ types: nil
206220
+ ); end
204954
206221
  end
204955
206222
  end
204956
206223
  end
@@ -205209,6 +206476,24 @@ module Stripe
205209
206476
  end
205210
206477
  end
205211
206478
  # typed: true
206479
+ module Stripe
206480
+ module V2
206481
+ module Core
206482
+ module Vault
206483
+ class GbBankAccountListParams < ::Stripe::RequestParams
206484
+ # Optionally set the maximum number of results per page. Defaults to 10.
206485
+ sig { returns(T.nilable(Integer)) }
206486
+ def limit; end
206487
+ sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
206488
+ def limit=(_limit); end
206489
+ sig { params(limit: T.nilable(Integer)).void }
206490
+ def initialize(limit: nil); end
206491
+ end
206492
+ end
206493
+ end
206494
+ end
206495
+ end
206496
+ # typed: true
205212
206497
  module Stripe
205213
206498
  module V2
205214
206499
  module Core
@@ -205330,6 +206615,29 @@ module Stripe
205330
206615
  end
205331
206616
  end
205332
206617
  # typed: true
206618
+ module Stripe
206619
+ module V2
206620
+ module Core
206621
+ module Vault
206622
+ class UsBankAccountListParams < ::Stripe::RequestParams
206623
+ # Optionally set the maximum number of results per page. Defaults to 10.
206624
+ sig { returns(T.nilable(Integer)) }
206625
+ def limit; end
206626
+ sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
206627
+ def limit=(_limit); end
206628
+ # Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.
206629
+ sig { returns(T.nilable(String)) }
206630
+ def verification_status; end
206631
+ sig { params(_verification_status: T.nilable(String)).returns(T.nilable(String)) }
206632
+ def verification_status=(_verification_status); end
206633
+ sig { params(limit: T.nilable(Integer), verification_status: T.nilable(String)).void }
206634
+ def initialize(limit: nil, verification_status: nil); end
206635
+ end
206636
+ end
206637
+ end
206638
+ end
206639
+ end
206640
+ # typed: true
205333
206641
  module Stripe
205334
206642
  module V2
205335
206643
  module Core
@@ -205415,6 +206723,43 @@ module Stripe
205415
206723
  end
205416
206724
  end
205417
206725
  # typed: true
206726
+ module Stripe
206727
+ module V2
206728
+ module Core
206729
+ module Vault
206730
+ class UsBankAccountConfirmMicrodepositsParams < ::Stripe::RequestParams
206731
+ # Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
206732
+ sig { returns(T.nilable(T::Array[Integer])) }
206733
+ def amounts; end
206734
+ sig {
206735
+ params(_amounts: T.nilable(T::Array[Integer])).returns(T.nilable(T::Array[Integer]))
206736
+ }
206737
+ def amounts=(_amounts); end
206738
+ # Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
206739
+ sig { returns(T.nilable(String)) }
206740
+ def descriptor_code; end
206741
+ sig { params(_descriptor_code: T.nilable(String)).returns(T.nilable(String)) }
206742
+ def descriptor_code=(_descriptor_code); end
206743
+ sig {
206744
+ params(amounts: T.nilable(T::Array[Integer]), descriptor_code: T.nilable(String)).void
206745
+ }
206746
+ def initialize(amounts: nil, descriptor_code: nil); end
206747
+ end
206748
+ end
206749
+ end
206750
+ end
206751
+ end
206752
+ # typed: true
206753
+ module Stripe
206754
+ module V2
206755
+ module Core
206756
+ module Vault
206757
+ class UsBankAccountSendMicrodepositsParams < ::Stripe::RequestParams; end
206758
+ end
206759
+ end
206760
+ end
206761
+ end
206762
+ # typed: true
205418
206763
  module Stripe
205419
206764
  module V2
205420
206765
  module MoneyManagement
@@ -205559,6 +206904,31 @@ module Stripe
205559
206904
  end
205560
206905
  end
205561
206906
  # typed: true
206907
+ module Stripe
206908
+ module V2
206909
+ module MoneyManagement
206910
+ class FinancialAccountUpdateParams < ::Stripe::RequestParams
206911
+ # A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.
206912
+ sig { returns(T.nilable(String)) }
206913
+ def display_name; end
206914
+ sig { params(_display_name: T.nilable(String)).returns(T.nilable(String)) }
206915
+ def display_name=(_display_name); end
206916
+ # Metadata associated with the FinancialAccount.
206917
+ sig { returns(T.nilable(T::Hash[String, T.nilable(String)])) }
206918
+ def metadata; end
206919
+ sig {
206920
+ params(_metadata: T.nilable(T::Hash[String, T.nilable(String)])).returns(T.nilable(T::Hash[String, T.nilable(String)]))
206921
+ }
206922
+ def metadata=(_metadata); end
206923
+ sig {
206924
+ params(display_name: T.nilable(String), metadata: T.nilable(T::Hash[String, T.nilable(String)])).void
206925
+ }
206926
+ def initialize(display_name: nil, metadata: nil); end
206927
+ end
206928
+ end
206929
+ end
206930
+ end
206931
+ # typed: true
205562
206932
  module Stripe
205563
206933
  module V2
205564
206934
  module MoneyManagement
@@ -207526,6 +208896,7 @@ module Stripe
207526
208896
  module TestHelpers
207527
208897
  class MoneyManagementRecipientVerificationsParams < ::Stripe::RequestParams
207528
208898
  # Expected match level of the RecipientVerification to be created: `match`, `close_match`, `no_match`, `unavailable`.
208899
+ # For `close_match`, the simulated response appends "close_match" to the provided name in match_result_details.matched_name.
207529
208900
  sig { returns(String) }
207530
208901
  def match_result; end
207531
208902
  sig { params(_match_result: String).returns(String) }