stripe 17.1.0.pre.alpha.2 → 17.1.0.pre.alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +18 -1
- data/lib/stripe/object_types.rb +4 -0
- data/lib/stripe/params/billing/meter_create_params.rb +5 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +18 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +244 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -2
- data/lib/stripe/params/v2/core/account_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +24 -1
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +1 -0
- data/lib/stripe/params.rb +15 -0
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +323 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/core/account.rb +57 -2
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +35 -1
- data/lib/stripe/resources.rb +3 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +8 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +11 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +33 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +11 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +1 -1
- data/lib/stripe/services.rb +4 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +1897 -32
- metadata +24 -2
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
|
|
@@ -17422,6 +17428,309 @@ module Stripe
|
|
|
17422
17428
|
end
|
|
17423
17429
|
end
|
|
17424
17430
|
# typed: true
|
|
17431
|
+
module Stripe
|
|
17432
|
+
module DelegatedCheckout
|
|
17433
|
+
# A requested session is a session that has been requested by a customer.
|
|
17434
|
+
class RequestedSession < APIResource
|
|
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
|
|
17589
|
+
def self.inner_class_types
|
|
17590
|
+
@inner_class_types = {}
|
|
17591
|
+
end
|
|
17592
|
+
def self.field_remappings
|
|
17593
|
+
@field_remappings = {}
|
|
17594
|
+
end
|
|
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
|
|
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).
|
|
17642
|
+
sig { returns(String) }
|
|
17643
|
+
def currency; end
|
|
17644
|
+
# The customer for this requested session.
|
|
17645
|
+
sig { returns(T.nilable(String)) }
|
|
17646
|
+
def customer; end
|
|
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.
|
|
17651
|
+
sig { returns(T.nilable(FulfillmentDetails)) }
|
|
17652
|
+
def fulfillment_details; end
|
|
17653
|
+
# Unique identifier for the object.
|
|
17654
|
+
sig { returns(String) }
|
|
17655
|
+
def id; end
|
|
17656
|
+
# The line items to be purchased.
|
|
17657
|
+
sig { returns(T::Array[LineItemDetail]) }
|
|
17658
|
+
def line_item_details; end
|
|
17659
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
17660
|
+
sig { returns(T::Boolean) }
|
|
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
|
|
17665
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
17666
|
+
sig { returns(String) }
|
|
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
|
|
17695
|
+
# Confirms a requested session
|
|
17696
|
+
sig {
|
|
17697
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17698
|
+
}
|
|
17699
|
+
def confirm(params = {}, opts = {}); end
|
|
17700
|
+
|
|
17701
|
+
# Confirms a requested session
|
|
17702
|
+
sig {
|
|
17703
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17704
|
+
}
|
|
17705
|
+
def self.confirm(requested_session, params = {}, opts = {}); end
|
|
17706
|
+
|
|
17707
|
+
# Creates a requested session
|
|
17708
|
+
sig {
|
|
17709
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17710
|
+
}
|
|
17711
|
+
def self.create(params = {}, opts = {}); end
|
|
17712
|
+
|
|
17713
|
+
# Expires a requested session
|
|
17714
|
+
sig {
|
|
17715
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17716
|
+
}
|
|
17717
|
+
def expire(params = {}, opts = {}); end
|
|
17718
|
+
|
|
17719
|
+
# Expires a requested session
|
|
17720
|
+
sig {
|
|
17721
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17722
|
+
}
|
|
17723
|
+
def self.expire(requested_session, params = {}, opts = {}); end
|
|
17724
|
+
|
|
17725
|
+
# Updates a requested session
|
|
17726
|
+
sig {
|
|
17727
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
17728
|
+
}
|
|
17729
|
+
def self.update(requested_session, params = {}, opts = {}); end
|
|
17730
|
+
end
|
|
17731
|
+
end
|
|
17732
|
+
end
|
|
17733
|
+
# typed: true
|
|
17425
17734
|
module Stripe
|
|
17426
17735
|
# A dispute occurs when a customer questions your charge with their card issuer.
|
|
17427
17736
|
# When this happens, you have the opportunity to respond to the dispute with
|
|
@@ -19264,6 +19573,97 @@ module Stripe
|
|
|
19264
19573
|
end
|
|
19265
19574
|
end
|
|
19266
19575
|
# typed: true
|
|
19576
|
+
module Stripe
|
|
19577
|
+
module Identity
|
|
19578
|
+
# A BlocklistEntry represents an entry in our identity verification blocklist.
|
|
19579
|
+
# It helps prevent fraudulent users from repeatedly attempting verification with similar information.
|
|
19580
|
+
# When you create a BlocklistEntry, we store data from a specified VerificationReport,
|
|
19581
|
+
# such as document details or facial biometrics.
|
|
19582
|
+
# This allows us to compare future verification attempts against these entries.
|
|
19583
|
+
# If a match is found, we categorize the new verification as unverified.
|
|
19584
|
+
#
|
|
19585
|
+
# To learn more, see [Identity Verification Blocklist](https://stripe.com/docs/identity/review-tools#block-list)
|
|
19586
|
+
class BlocklistEntry < APIResource
|
|
19587
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
19588
|
+
sig { returns(Integer) }
|
|
19589
|
+
def created; end
|
|
19590
|
+
# Time at which you disabled the BlocklistEntry. Measured in seconds since the Unix epoch.
|
|
19591
|
+
sig { returns(T.nilable(Integer)) }
|
|
19592
|
+
def disabled_at; end
|
|
19593
|
+
# Time at which the BlocklistEntry expires. Measured in seconds since the Unix epoch.
|
|
19594
|
+
sig { returns(T.nilable(Integer)) }
|
|
19595
|
+
def expires_at; end
|
|
19596
|
+
# Unique identifier for the object.
|
|
19597
|
+
sig { returns(String) }
|
|
19598
|
+
def id; end
|
|
19599
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
19600
|
+
sig { returns(T::Boolean) }
|
|
19601
|
+
def livemode; end
|
|
19602
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
19603
|
+
sig { returns(String) }
|
|
19604
|
+
def object; end
|
|
19605
|
+
# The current status of the BlocklistEntry.
|
|
19606
|
+
sig { returns(String) }
|
|
19607
|
+
def status; end
|
|
19608
|
+
# The type of BlocklistEntry.
|
|
19609
|
+
sig { returns(String) }
|
|
19610
|
+
def type; end
|
|
19611
|
+
# The verification report the BlocklistEntry was created from.
|
|
19612
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationReport))) }
|
|
19613
|
+
def verification_report; end
|
|
19614
|
+
# The verification session the BlocklistEntry was created from.
|
|
19615
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::VerificationSession))) }
|
|
19616
|
+
def verification_session; end
|
|
19617
|
+
# Creates a BlocklistEntry object from a verification report.
|
|
19618
|
+
#
|
|
19619
|
+
# A blocklist entry prevents future identity verifications that match the same identity information.
|
|
19620
|
+
# You can create blocklist entries from verification reports that contain document extracted data
|
|
19621
|
+
# or a selfie.
|
|
19622
|
+
#
|
|
19623
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
|
19624
|
+
sig {
|
|
19625
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
19626
|
+
}
|
|
19627
|
+
def self.create(params = {}, opts = {}); end
|
|
19628
|
+
|
|
19629
|
+
# Disables a BlocklistEntry object.
|
|
19630
|
+
#
|
|
19631
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
19632
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
19633
|
+
# must be created using the same verification report.
|
|
19634
|
+
#
|
|
19635
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
19636
|
+
sig {
|
|
19637
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
19638
|
+
}
|
|
19639
|
+
def disable(params = {}, opts = {}); end
|
|
19640
|
+
|
|
19641
|
+
# Disables a BlocklistEntry object.
|
|
19642
|
+
#
|
|
19643
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
19644
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
19645
|
+
# must be created using the same verification report.
|
|
19646
|
+
#
|
|
19647
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
19648
|
+
sig {
|
|
19649
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
19650
|
+
}
|
|
19651
|
+
def self.disable(id, params = {}, opts = {}); end
|
|
19652
|
+
|
|
19653
|
+
# Returns a list of BlocklistEntry objects associated with your account.
|
|
19654
|
+
#
|
|
19655
|
+
# The blocklist entries are returned sorted by creation date, with the most recently created
|
|
19656
|
+
# entries appearing first.
|
|
19657
|
+
#
|
|
19658
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
19659
|
+
sig {
|
|
19660
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
|
|
19661
|
+
}
|
|
19662
|
+
def self.list(params = {}, opts = {}); end
|
|
19663
|
+
end
|
|
19664
|
+
end
|
|
19665
|
+
end
|
|
19666
|
+
# typed: true
|
|
19267
19667
|
module Stripe
|
|
19268
19668
|
module Identity
|
|
19269
19669
|
# A VerificationReport is the result of an attempt to collect and verify data from a user.
|
|
@@ -19415,6 +19815,9 @@ module Stripe
|
|
|
19415
19815
|
# Sex as it appears in the document.
|
|
19416
19816
|
sig { returns(T.nilable(String)) }
|
|
19417
19817
|
def unparsed_sex; end
|
|
19818
|
+
# If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
19819
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::BlocklistEntry))) }
|
|
19820
|
+
def blocked_by_entry; end
|
|
19418
19821
|
def self.inner_class_types
|
|
19419
19822
|
@inner_class_types = {
|
|
19420
19823
|
address: Address,
|
|
@@ -19619,6 +20022,9 @@ module Stripe
|
|
|
19619
20022
|
# Status of this `selfie` check.
|
|
19620
20023
|
sig { returns(String) }
|
|
19621
20024
|
def status; end
|
|
20025
|
+
# If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
20026
|
+
sig { returns(T.nilable(T.any(String, ::Stripe::Identity::BlocklistEntry))) }
|
|
20027
|
+
def blocked_by_entry; end
|
|
19622
20028
|
def self.inner_class_types
|
|
19623
20029
|
@inner_class_types = {error: Error}
|
|
19624
20030
|
end
|
|
@@ -57875,7 +58281,7 @@ module Stripe
|
|
|
57875
58281
|
# If true an email for the invoice would be generated and sent out.
|
|
57876
58282
|
sig { returns(T::Boolean) }
|
|
57877
58283
|
def enabled; end
|
|
57878
|
-
# If true the payment link to hosted
|
|
58284
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
57879
58285
|
sig { returns(T::Boolean) }
|
|
57880
58286
|
def include_payment_link; end
|
|
57881
58287
|
def self.inner_class_types
|
|
@@ -57885,7 +58291,7 @@ module Stripe
|
|
|
57885
58291
|
@field_remappings = {}
|
|
57886
58292
|
end
|
|
57887
58293
|
end
|
|
57888
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
58294
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
57889
58295
|
sig { returns(T.nilable(PaymentDue)) }
|
|
57890
58296
|
def payment_due; end
|
|
57891
58297
|
def self.inner_class_types
|
|
@@ -58179,7 +58585,7 @@ module Stripe
|
|
|
58179
58585
|
# If true an email for the invoice would be generated and sent out.
|
|
58180
58586
|
sig { returns(T::Boolean) }
|
|
58181
58587
|
def enabled; end
|
|
58182
|
-
# If true the payment link to hosted
|
|
58588
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
58183
58589
|
sig { returns(T::Boolean) }
|
|
58184
58590
|
def include_payment_link; end
|
|
58185
58591
|
def self.inner_class_types
|
|
@@ -58189,7 +58595,7 @@ module Stripe
|
|
|
58189
58595
|
@field_remappings = {}
|
|
58190
58596
|
end
|
|
58191
58597
|
end
|
|
58192
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
58598
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
58193
58599
|
sig { returns(T.nilable(PaymentDue)) }
|
|
58194
58600
|
def payment_due; end
|
|
58195
58601
|
def self.inner_class_types
|
|
@@ -58444,7 +58850,7 @@ module Stripe
|
|
|
58444
58850
|
# If true an email for the invoice would be generated and sent out.
|
|
58445
58851
|
sig { returns(T::Boolean) }
|
|
58446
58852
|
def enabled; end
|
|
58447
|
-
# If true the payment link to hosted
|
|
58853
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
58448
58854
|
sig { returns(T::Boolean) }
|
|
58449
58855
|
def include_payment_link; end
|
|
58450
58856
|
def self.inner_class_types
|
|
@@ -58454,7 +58860,7 @@ module Stripe
|
|
|
58454
58860
|
@field_remappings = {}
|
|
58455
58861
|
end
|
|
58456
58862
|
end
|
|
58457
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
58863
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
58458
58864
|
sig { returns(T.nilable(PaymentDue)) }
|
|
58459
58865
|
def payment_due; end
|
|
58460
58866
|
def self.inner_class_types
|
|
@@ -59742,6 +60148,45 @@ module Stripe
|
|
|
59742
60148
|
end
|
|
59743
60149
|
end
|
|
59744
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
|
|
59745
60190
|
module Stripe
|
|
59746
60191
|
module V2
|
|
59747
60192
|
module Billing
|
|
@@ -63202,11 +63647,45 @@ module Stripe
|
|
|
63202
63647
|
@field_remappings = {}
|
|
63203
63648
|
end
|
|
63204
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
|
|
63205
63681
|
# Can hold storage-type funds on Stripe in GBP.
|
|
63206
63682
|
sig { returns(T.nilable(Gbp)) }
|
|
63207
63683
|
def gbp; end
|
|
63684
|
+
# Can hold storage-type funds on Stripe in USD.
|
|
63685
|
+
sig { returns(T.nilable(Usd)) }
|
|
63686
|
+
def usd; end
|
|
63208
63687
|
def self.inner_class_types
|
|
63209
|
-
@inner_class_types = {gbp: Gbp}
|
|
63688
|
+
@inner_class_types = {gbp: Gbp, usd: Usd}
|
|
63210
63689
|
end
|
|
63211
63690
|
def self.field_remappings
|
|
63212
63691
|
@field_remappings = {}
|
|
@@ -63623,6 +64102,23 @@ module Stripe
|
|
|
63623
64102
|
@field_remappings = {}
|
|
63624
64103
|
end
|
|
63625
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
|
|
63626
64122
|
class TermsOfService < ::Stripe::StripeObject
|
|
63627
64123
|
class Account < ::Stripe::StripeObject
|
|
63628
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.
|
|
@@ -64090,6 +64586,9 @@ module Stripe
|
|
|
64090
64586
|
# Attestation that all Persons with a specific Relationship value have been provided.
|
|
64091
64587
|
sig { returns(T.nilable(PersonsProvided)) }
|
|
64092
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
|
|
64093
64592
|
# Attestations of accepted terms of service agreements.
|
|
64094
64593
|
sig { returns(T.nilable(TermsOfService)) }
|
|
64095
64594
|
def terms_of_service; end
|
|
@@ -64098,6 +64597,7 @@ module Stripe
|
|
|
64098
64597
|
directorship_declaration: DirectorshipDeclaration,
|
|
64099
64598
|
ownership_declaration: OwnershipDeclaration,
|
|
64100
64599
|
persons_provided: PersonsProvided,
|
|
64600
|
+
representative_declaration: RepresentativeDeclaration,
|
|
64101
64601
|
terms_of_service: TermsOfService,
|
|
64102
64602
|
}
|
|
64103
64603
|
end
|
|
@@ -65031,7 +65531,7 @@ module Stripe
|
|
|
65031
65531
|
@field_remappings = {}
|
|
65032
65532
|
end
|
|
65033
65533
|
end
|
|
65034
|
-
# 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.
|
|
65035
65535
|
sig { returns(T.nilable(Attestations)) }
|
|
65036
65536
|
def attestations; end
|
|
65037
65537
|
# Information about the company or business.
|
|
@@ -65229,6 +65729,9 @@ module Stripe
|
|
|
65229
65729
|
# Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
|
65230
65730
|
sig { returns(T::Array[String]) }
|
|
65231
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
|
|
65232
65735
|
# An Account Configuration which allows the Account to take on a key persona across Stripe products.
|
|
65233
65736
|
sig { returns(T.nilable(Configuration)) }
|
|
65234
65737
|
def configuration; end
|
|
@@ -66160,6 +66663,39 @@ module Stripe
|
|
|
66160
66663
|
module Vault
|
|
66161
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.
|
|
66162
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
|
|
66163
66699
|
# Whether this USBankAccount object was archived.
|
|
66164
66700
|
sig { returns(T::Boolean) }
|
|
66165
66701
|
def archived; end
|
|
@@ -66187,6 +66723,9 @@ module Stripe
|
|
|
66187
66723
|
# The ACH routing number of the bank account.
|
|
66188
66724
|
sig { returns(T.nilable(String)) }
|
|
66189
66725
|
def routing_number; end
|
|
66726
|
+
# The bank account verification details.
|
|
66727
|
+
sig { returns(Verification) }
|
|
66728
|
+
def verification; end
|
|
66190
66729
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
66191
66730
|
sig { returns(T::Boolean) }
|
|
66192
66731
|
def livemode; end
|
|
@@ -68426,6 +68965,7 @@ module Stripe
|
|
|
68426
68965
|
attr_reader :credit_notes
|
|
68427
68966
|
attr_reader :customers
|
|
68428
68967
|
attr_reader :customer_sessions
|
|
68968
|
+
attr_reader :delegated_checkout
|
|
68429
68969
|
attr_reader :disputes
|
|
68430
68970
|
attr_reader :entitlements
|
|
68431
68971
|
attr_reader :ephemeral_keys
|
|
@@ -69778,6 +70318,48 @@ module Stripe
|
|
|
69778
70318
|
end
|
|
69779
70319
|
end
|
|
69780
70320
|
# typed: true
|
|
70321
|
+
module Stripe
|
|
70322
|
+
class DelegatedCheckoutService < StripeService
|
|
70323
|
+
attr_reader :requested_sessions
|
|
70324
|
+
end
|
|
70325
|
+
end
|
|
70326
|
+
# typed: true
|
|
70327
|
+
module Stripe
|
|
70328
|
+
module DelegatedCheckout
|
|
70329
|
+
class RequestedSessionService < StripeService
|
|
70330
|
+
# Confirms a requested session
|
|
70331
|
+
sig {
|
|
70332
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionConfirmParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
70333
|
+
}
|
|
70334
|
+
def confirm(requested_session, params = {}, opts = {}); end
|
|
70335
|
+
|
|
70336
|
+
# Creates a requested session
|
|
70337
|
+
sig {
|
|
70338
|
+
params(params: T.any(::Stripe::DelegatedCheckout::RequestedSessionCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
70339
|
+
}
|
|
70340
|
+
def create(params = {}, opts = {}); end
|
|
70341
|
+
|
|
70342
|
+
# Expires a requested session
|
|
70343
|
+
sig {
|
|
70344
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionExpireParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
70345
|
+
}
|
|
70346
|
+
def expire(requested_session, params = {}, opts = {}); end
|
|
70347
|
+
|
|
70348
|
+
# Retrieves a requested session
|
|
70349
|
+
sig {
|
|
70350
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
70351
|
+
}
|
|
70352
|
+
def retrieve(requested_session, params = {}, opts = {}); end
|
|
70353
|
+
|
|
70354
|
+
# Updates a requested session
|
|
70355
|
+
sig {
|
|
70356
|
+
params(requested_session: String, params: T.any(::Stripe::DelegatedCheckout::RequestedSessionUpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::DelegatedCheckout::RequestedSession)
|
|
70357
|
+
}
|
|
70358
|
+
def update(requested_session, params = {}, opts = {}); end
|
|
70359
|
+
end
|
|
70360
|
+
end
|
|
70361
|
+
end
|
|
70362
|
+
# typed: true
|
|
69781
70363
|
module Stripe
|
|
69782
70364
|
class DisputeService < StripeService
|
|
69783
70365
|
# Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.
|
|
@@ -70195,11 +70777,61 @@ end
|
|
|
70195
70777
|
# typed: true
|
|
70196
70778
|
module Stripe
|
|
70197
70779
|
class IdentityService < StripeService
|
|
70780
|
+
attr_reader :blocklist_entries
|
|
70198
70781
|
attr_reader :verification_reports
|
|
70199
70782
|
attr_reader :verification_sessions
|
|
70200
70783
|
end
|
|
70201
70784
|
end
|
|
70202
70785
|
# typed: true
|
|
70786
|
+
module Stripe
|
|
70787
|
+
module Identity
|
|
70788
|
+
class BlocklistEntryService < StripeService
|
|
70789
|
+
# Creates a BlocklistEntry object from a verification report.
|
|
70790
|
+
#
|
|
70791
|
+
# A blocklist entry prevents future identity verifications that match the same identity information.
|
|
70792
|
+
# You can create blocklist entries from verification reports that contain document extracted data
|
|
70793
|
+
# or a selfie.
|
|
70794
|
+
#
|
|
70795
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#add-a-blocklist-entry)
|
|
70796
|
+
sig {
|
|
70797
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
70798
|
+
}
|
|
70799
|
+
def create(params = {}, opts = {}); end
|
|
70800
|
+
|
|
70801
|
+
# Disables a BlocklistEntry object.
|
|
70802
|
+
#
|
|
70803
|
+
# After a BlocklistEntry is disabled, it will no longer block future verifications that match
|
|
70804
|
+
# the same information. This action is irreversible. To re-enable it, a new BlocklistEntry
|
|
70805
|
+
# must be created using the same verification report.
|
|
70806
|
+
#
|
|
70807
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#disable-a-blocklist-entry)
|
|
70808
|
+
sig {
|
|
70809
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryDisableParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
70810
|
+
}
|
|
70811
|
+
def disable(id, params = {}, opts = {}); end
|
|
70812
|
+
|
|
70813
|
+
# Returns a list of BlocklistEntry objects associated with your account.
|
|
70814
|
+
#
|
|
70815
|
+
# The blocklist entries are returned sorted by creation date, with the most recently created
|
|
70816
|
+
# entries appearing first.
|
|
70817
|
+
#
|
|
70818
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
70819
|
+
sig {
|
|
70820
|
+
params(params: T.any(::Stripe::Identity::BlocklistEntryListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::ListObject)
|
|
70821
|
+
}
|
|
70822
|
+
def list(params = {}, opts = {}); end
|
|
70823
|
+
|
|
70824
|
+
# Retrieves a BlocklistEntry object by its identifier.
|
|
70825
|
+
#
|
|
70826
|
+
# Related guide: [Identity Verification Blocklist](https://docs.stripe.com/docs/identity/review-tools#block-list)
|
|
70827
|
+
sig {
|
|
70828
|
+
params(id: String, params: T.any(::Stripe::Identity::BlocklistEntryRetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::Identity::BlocklistEntry)
|
|
70829
|
+
}
|
|
70830
|
+
def retrieve(id, params = {}, opts = {}); end
|
|
70831
|
+
end
|
|
70832
|
+
end
|
|
70833
|
+
end
|
|
70834
|
+
# typed: true
|
|
70203
70835
|
module Stripe
|
|
70204
70836
|
module Identity
|
|
70205
70837
|
class VerificationReportService < StripeService
|
|
@@ -74213,6 +74845,7 @@ module Stripe
|
|
|
74213
74845
|
module V2
|
|
74214
74846
|
module Billing
|
|
74215
74847
|
class PricingPlanSubscriptionService < StripeService
|
|
74848
|
+
attr_reader :components
|
|
74216
74849
|
# List all Pricing Plan Subscription objects.
|
|
74217
74850
|
sig {
|
|
74218
74851
|
params(params: T.any(::Stripe::V2::Billing::PricingPlanSubscriptionListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::ListObject)
|
|
@@ -74235,6 +74868,22 @@ module Stripe
|
|
|
74235
74868
|
end
|
|
74236
74869
|
end
|
|
74237
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
|
|
74238
74887
|
module Stripe
|
|
74239
74888
|
module V2
|
|
74240
74889
|
module Billing
|
|
@@ -74440,7 +75089,7 @@ module Stripe
|
|
|
74440
75089
|
module Core
|
|
74441
75090
|
class AccountService < StripeService
|
|
74442
75091
|
attr_reader :persons
|
|
74443
|
-
# 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.
|
|
74444
75093
|
sig {
|
|
74445
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)
|
|
74446
75095
|
}
|
|
@@ -74678,6 +75327,12 @@ module Stripe
|
|
|
74678
75327
|
}
|
|
74679
75328
|
def initiate_confirmation_of_payee(id, params = {}, opts = {}); end
|
|
74680
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
|
+
|
|
74681
75336
|
# Retrieve a GB bank account.
|
|
74682
75337
|
sig {
|
|
74683
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)
|
|
@@ -74704,6 +75359,12 @@ module Stripe
|
|
|
74704
75359
|
}
|
|
74705
75360
|
def archive(id, params = {}, opts = {}); end
|
|
74706
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
|
+
|
|
74707
75368
|
# Create a USBankAccount object.
|
|
74708
75369
|
#
|
|
74709
75370
|
# ** raises BlockedByStripeError
|
|
@@ -74714,12 +75375,24 @@ module Stripe
|
|
|
74714
75375
|
}
|
|
74715
75376
|
def create(params = {}, opts = {}); end
|
|
74716
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
|
+
|
|
74717
75384
|
# Retrieve a USBankAccount object.
|
|
74718
75385
|
sig {
|
|
74719
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)
|
|
74720
75387
|
}
|
|
74721
75388
|
def retrieve(id, params = {}, opts = {}); end
|
|
74722
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
|
+
|
|
74723
75396
|
# Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.
|
|
74724
75397
|
#
|
|
74725
75398
|
# ** raises BlockedByStripeError
|
|
@@ -74809,6 +75482,12 @@ module Stripe
|
|
|
74809
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)
|
|
74810
75483
|
}
|
|
74811
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
|
|
74812
75491
|
end
|
|
74813
75492
|
end
|
|
74814
75493
|
end
|
|
@@ -74887,9 +75566,9 @@ module Stripe
|
|
|
74887
75566
|
# Creates an OutboundPayment.
|
|
74888
75567
|
#
|
|
74889
75568
|
# ** raises InsufficientFundsError
|
|
75569
|
+
# ** raises FeatureNotEnabledError
|
|
74890
75570
|
# ** raises QuotaExceededError
|
|
74891
75571
|
# ** raises RecipientNotNotifiableError
|
|
74892
|
-
# ** raises FeatureNotEnabledError
|
|
74893
75572
|
sig {
|
|
74894
75573
|
params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentCreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(::Stripe::V2::MoneyManagement::OutboundPayment)
|
|
74895
75574
|
}
|
|
@@ -85160,8 +85839,15 @@ module Stripe
|
|
|
85160
85839
|
params(_value_settings: T.nilable(Billing::MeterCreateParams::ValueSettings)).returns(T.nilable(Billing::MeterCreateParams::ValueSettings))
|
|
85161
85840
|
}
|
|
85162
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
|
|
85163
85845
|
sig {
|
|
85164
|
-
params(
|
|
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
|
|
85165
85851
|
}
|
|
85166
85852
|
def initialize(
|
|
85167
85853
|
customer_mapping: nil,
|
|
@@ -85170,7 +85856,8 @@ module Stripe
|
|
|
85170
85856
|
event_name: nil,
|
|
85171
85857
|
event_time_window: nil,
|
|
85172
85858
|
expand: nil,
|
|
85173
|
-
value_settings: nil
|
|
85859
|
+
value_settings: nil,
|
|
85860
|
+
dimension_payload_keys: nil
|
|
85174
85861
|
); end
|
|
85175
85862
|
end
|
|
85176
85863
|
end
|
|
@@ -97651,6 +98338,742 @@ module Stripe
|
|
|
97651
98338
|
end
|
|
97652
98339
|
end
|
|
97653
98340
|
# typed: true
|
|
98341
|
+
module Stripe
|
|
98342
|
+
module DelegatedCheckout
|
|
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
|
|
98603
|
+
# Specifies which fields in the response should be expanded.
|
|
98604
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
98605
|
+
def expand; end
|
|
98606
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
98607
|
+
def expand=(_expand); 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
|
|
98664
|
+
end
|
|
98665
|
+
end
|
|
98666
|
+
end
|
|
98667
|
+
# typed: true
|
|
98668
|
+
module Stripe
|
|
98669
|
+
module DelegatedCheckout
|
|
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
|
|
98957
|
+
# Specifies which fields in the response should be expanded.
|
|
98958
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
98959
|
+
def expand; end
|
|
98960
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
98961
|
+
def expand=(_expand); 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
|
|
99040
|
+
end
|
|
99041
|
+
end
|
|
99042
|
+
end
|
|
99043
|
+
# typed: true
|
|
99044
|
+
module Stripe
|
|
99045
|
+
module DelegatedCheckout
|
|
99046
|
+
class RequestedSessionConfirmParams < ::Stripe::RequestParams
|
|
99047
|
+
# Specifies which fields in the response should be expanded.
|
|
99048
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
99049
|
+
def expand; end
|
|
99050
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
99051
|
+
def expand=(_expand); end
|
|
99052
|
+
# The PaymentMethod to use with the requested session.
|
|
99053
|
+
sig { returns(T.nilable(String)) }
|
|
99054
|
+
def payment_method; end
|
|
99055
|
+
sig { params(_payment_method: T.nilable(String)).returns(T.nilable(String)) }
|
|
99056
|
+
def payment_method=(_payment_method); end
|
|
99057
|
+
sig { params(expand: T.nilable(T::Array[String]), payment_method: T.nilable(String)).void }
|
|
99058
|
+
def initialize(expand: nil, payment_method: nil); end
|
|
99059
|
+
end
|
|
99060
|
+
end
|
|
99061
|
+
end
|
|
99062
|
+
# typed: true
|
|
99063
|
+
module Stripe
|
|
99064
|
+
module DelegatedCheckout
|
|
99065
|
+
class RequestedSessionExpireParams < ::Stripe::RequestParams
|
|
99066
|
+
# Specifies which fields in the response should be expanded.
|
|
99067
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
99068
|
+
def expand; end
|
|
99069
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
99070
|
+
def expand=(_expand); end
|
|
99071
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
|
99072
|
+
def initialize(expand: nil); end
|
|
99073
|
+
end
|
|
99074
|
+
end
|
|
99075
|
+
end
|
|
99076
|
+
# typed: true
|
|
97654
99077
|
module Stripe
|
|
97655
99078
|
class DisputeListParams < ::Stripe::RequestParams
|
|
97656
99079
|
class Created < ::Stripe::RequestParams
|
|
@@ -99505,6 +100928,146 @@ module Stripe
|
|
|
99505
100928
|
end
|
|
99506
100929
|
end
|
|
99507
100930
|
# typed: true
|
|
100931
|
+
module Stripe
|
|
100932
|
+
module Identity
|
|
100933
|
+
class BlocklistEntryListParams < ::Stripe::RequestParams
|
|
100934
|
+
class Created < ::Stripe::RequestParams
|
|
100935
|
+
# Minimum value to filter by (exclusive)
|
|
100936
|
+
sig { returns(T.nilable(Integer)) }
|
|
100937
|
+
def gt; end
|
|
100938
|
+
sig { params(_gt: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
100939
|
+
def gt=(_gt); end
|
|
100940
|
+
# Minimum value to filter by (inclusive)
|
|
100941
|
+
sig { returns(T.nilable(Integer)) }
|
|
100942
|
+
def gte; end
|
|
100943
|
+
sig { params(_gte: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
100944
|
+
def gte=(_gte); end
|
|
100945
|
+
# Maximum value to filter by (exclusive)
|
|
100946
|
+
sig { returns(T.nilable(Integer)) }
|
|
100947
|
+
def lt; end
|
|
100948
|
+
sig { params(_lt: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
100949
|
+
def lt=(_lt); end
|
|
100950
|
+
# Maximum value to filter by (inclusive)
|
|
100951
|
+
sig { returns(T.nilable(Integer)) }
|
|
100952
|
+
def lte; end
|
|
100953
|
+
sig { params(_lte: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
100954
|
+
def lte=(_lte); end
|
|
100955
|
+
sig {
|
|
100956
|
+
params(gt: T.nilable(Integer), gte: T.nilable(Integer), lt: T.nilable(Integer), lte: T.nilable(Integer)).void
|
|
100957
|
+
}
|
|
100958
|
+
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
|
100959
|
+
end
|
|
100960
|
+
# Only return BlocklistEntries that were created during the given date interval.
|
|
100961
|
+
sig { returns(T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer))) }
|
|
100962
|
+
def created; end
|
|
100963
|
+
sig {
|
|
100964
|
+
params(_created: T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer))).returns(T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer)))
|
|
100965
|
+
}
|
|
100966
|
+
def created=(_created); end
|
|
100967
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
100968
|
+
sig { returns(T.nilable(String)) }
|
|
100969
|
+
def ending_before; end
|
|
100970
|
+
sig { params(_ending_before: T.nilable(String)).returns(T.nilable(String)) }
|
|
100971
|
+
def ending_before=(_ending_before); end
|
|
100972
|
+
# Specifies which fields in the response should be expanded.
|
|
100973
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
100974
|
+
def expand; end
|
|
100975
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
100976
|
+
def expand=(_expand); end
|
|
100977
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
100978
|
+
sig { returns(T.nilable(Integer)) }
|
|
100979
|
+
def limit; end
|
|
100980
|
+
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
100981
|
+
def limit=(_limit); end
|
|
100982
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
100983
|
+
sig { returns(T.nilable(String)) }
|
|
100984
|
+
def starting_after; end
|
|
100985
|
+
sig { params(_starting_after: T.nilable(String)).returns(T.nilable(String)) }
|
|
100986
|
+
def starting_after=(_starting_after); end
|
|
100987
|
+
# Only return blocklist entries with the specified status.
|
|
100988
|
+
sig { returns(T.nilable(String)) }
|
|
100989
|
+
def status; end
|
|
100990
|
+
sig { params(_status: T.nilable(String)).returns(T.nilable(String)) }
|
|
100991
|
+
def status=(_status); end
|
|
100992
|
+
# Only return blocklist entries of the specified type.
|
|
100993
|
+
sig { returns(T.nilable(String)) }
|
|
100994
|
+
def type; end
|
|
100995
|
+
sig { params(_type: T.nilable(String)).returns(T.nilable(String)) }
|
|
100996
|
+
def type=(_type); end
|
|
100997
|
+
# Only return blocklist entries created from this verification report.
|
|
100998
|
+
sig { returns(T.nilable(String)) }
|
|
100999
|
+
def verification_report; end
|
|
101000
|
+
sig { params(_verification_report: T.nilable(String)).returns(T.nilable(String)) }
|
|
101001
|
+
def verification_report=(_verification_report); end
|
|
101002
|
+
sig {
|
|
101003
|
+
params(created: T.nilable(T.any(Identity::BlocklistEntryListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), status: T.nilable(String), type: T.nilable(String), verification_report: T.nilable(String)).void
|
|
101004
|
+
}
|
|
101005
|
+
def initialize(
|
|
101006
|
+
created: nil,
|
|
101007
|
+
ending_before: nil,
|
|
101008
|
+
expand: nil,
|
|
101009
|
+
limit: nil,
|
|
101010
|
+
starting_after: nil,
|
|
101011
|
+
status: nil,
|
|
101012
|
+
type: nil,
|
|
101013
|
+
verification_report: nil
|
|
101014
|
+
); end
|
|
101015
|
+
end
|
|
101016
|
+
end
|
|
101017
|
+
end
|
|
101018
|
+
# typed: true
|
|
101019
|
+
module Stripe
|
|
101020
|
+
module Identity
|
|
101021
|
+
class BlocklistEntryCreateParams < ::Stripe::RequestParams
|
|
101022
|
+
# When true, the created BlocklistEntry will be used to retroactively unverify matching verifications.
|
|
101023
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
101024
|
+
def check_existing_verifications; end
|
|
101025
|
+
sig {
|
|
101026
|
+
params(_check_existing_verifications: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean))
|
|
101027
|
+
}
|
|
101028
|
+
def check_existing_verifications=(_check_existing_verifications); end
|
|
101029
|
+
# The type of blocklist entry to be created.
|
|
101030
|
+
sig { returns(String) }
|
|
101031
|
+
def entry_type; end
|
|
101032
|
+
sig { params(_entry_type: String).returns(String) }
|
|
101033
|
+
def entry_type=(_entry_type); end
|
|
101034
|
+
# Specifies which fields in the response should be expanded.
|
|
101035
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
101036
|
+
def expand; end
|
|
101037
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
101038
|
+
def expand=(_expand); end
|
|
101039
|
+
# The identifier of the VerificationReport to create the BlocklistEntry from.
|
|
101040
|
+
sig { returns(String) }
|
|
101041
|
+
def verification_report; end
|
|
101042
|
+
sig { params(_verification_report: String).returns(String) }
|
|
101043
|
+
def verification_report=(_verification_report); end
|
|
101044
|
+
sig {
|
|
101045
|
+
params(check_existing_verifications: T.nilable(T::Boolean), entry_type: String, expand: T.nilable(T::Array[String]), verification_report: String).void
|
|
101046
|
+
}
|
|
101047
|
+
def initialize(
|
|
101048
|
+
check_existing_verifications: nil,
|
|
101049
|
+
entry_type: nil,
|
|
101050
|
+
expand: nil,
|
|
101051
|
+
verification_report: nil
|
|
101052
|
+
); end
|
|
101053
|
+
end
|
|
101054
|
+
end
|
|
101055
|
+
end
|
|
101056
|
+
# typed: true
|
|
101057
|
+
module Stripe
|
|
101058
|
+
module Identity
|
|
101059
|
+
class BlocklistEntryDisableParams < ::Stripe::RequestParams
|
|
101060
|
+
# Specifies which fields in the response should be expanded.
|
|
101061
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
101062
|
+
def expand; end
|
|
101063
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
101064
|
+
def expand=(_expand); end
|
|
101065
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
|
101066
|
+
def initialize(expand: nil); end
|
|
101067
|
+
end
|
|
101068
|
+
end
|
|
101069
|
+
end
|
|
101070
|
+
# typed: true
|
|
99508
101071
|
module Stripe
|
|
99509
101072
|
module Identity
|
|
99510
101073
|
class VerificationReportListParams < ::Stripe::RequestParams
|
|
@@ -99534,6 +101097,11 @@ module Stripe
|
|
|
99534
101097
|
}
|
|
99535
101098
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
|
99536
101099
|
end
|
|
101100
|
+
# Only return VerificationReports that were blocked by this BlocklistEntry id.
|
|
101101
|
+
sig { returns(T.nilable(String)) }
|
|
101102
|
+
def blocked_by_entry; end
|
|
101103
|
+
sig { params(_blocked_by_entry: T.nilable(String)).returns(T.nilable(String)) }
|
|
101104
|
+
def blocked_by_entry=(_blocked_by_entry); end
|
|
99537
101105
|
# A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.
|
|
99538
101106
|
sig { returns(T.nilable(String)) }
|
|
99539
101107
|
def client_reference_id; end
|
|
@@ -99577,9 +101145,10 @@ module Stripe
|
|
|
99577
101145
|
sig { params(_verification_session: T.nilable(String)).returns(T.nilable(String)) }
|
|
99578
101146
|
def verification_session=(_verification_session); end
|
|
99579
101147
|
sig {
|
|
99580
|
-
params(client_reference_id: T.nilable(String), created: T.nilable(T.any(Identity::VerificationReportListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), type: T.nilable(String), verification_session: T.nilable(String)).void
|
|
101148
|
+
params(blocked_by_entry: T.nilable(String), client_reference_id: T.nilable(String), created: T.nilable(T.any(Identity::VerificationReportListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String), type: T.nilable(String), verification_session: T.nilable(String)).void
|
|
99581
101149
|
}
|
|
99582
101150
|
def initialize(
|
|
101151
|
+
blocked_by_entry: nil,
|
|
99583
101152
|
client_reference_id: nil,
|
|
99584
101153
|
created: nil,
|
|
99585
101154
|
ending_before: nil,
|
|
@@ -181331,6 +182900,20 @@ module Stripe
|
|
|
181331
182900
|
def customer; end
|
|
181332
182901
|
sig { params(_customer: String).returns(String) }
|
|
181333
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
|
|
181334
182917
|
# The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.
|
|
181335
182918
|
sig { returns(Integer) }
|
|
181336
182919
|
def end_time; end
|
|
@@ -181367,10 +182950,12 @@ module Stripe
|
|
|
181367
182950
|
sig { params(_value_grouping_window: T.nilable(String)).returns(T.nilable(String)) }
|
|
181368
182951
|
def value_grouping_window=(_value_grouping_window); end
|
|
181369
182952
|
sig {
|
|
181370
|
-
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
|
|
181371
182954
|
}
|
|
181372
182955
|
def initialize(
|
|
181373
182956
|
customer: nil,
|
|
182957
|
+
dimension_filters: nil,
|
|
182958
|
+
dimension_group_by_keys: nil,
|
|
181374
182959
|
end_time: nil,
|
|
181375
182960
|
ending_before: nil,
|
|
181376
182961
|
expand: nil,
|
|
@@ -182533,6 +184118,20 @@ module Stripe
|
|
|
182533
184118
|
end
|
|
182534
184119
|
end
|
|
182535
184120
|
# typed: true
|
|
184121
|
+
module Stripe
|
|
184122
|
+
module DelegatedCheckout
|
|
184123
|
+
class RequestedSessionRetrieveParams < ::Stripe::RequestParams
|
|
184124
|
+
# Specifies which fields in the response should be expanded.
|
|
184125
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
184126
|
+
def expand; end
|
|
184127
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
184128
|
+
def expand=(_expand); end
|
|
184129
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
|
184130
|
+
def initialize(expand: nil); end
|
|
184131
|
+
end
|
|
184132
|
+
end
|
|
184133
|
+
end
|
|
184134
|
+
# typed: true
|
|
182536
184135
|
module Stripe
|
|
182537
184136
|
class DisputeRetrieveParams < ::Stripe::RequestParams
|
|
182538
184137
|
# Specifies which fields in the response should be expanded.
|
|
@@ -183228,6 +184827,20 @@ module Stripe
|
|
|
183228
184827
|
end
|
|
183229
184828
|
end
|
|
183230
184829
|
# typed: true
|
|
184830
|
+
module Stripe
|
|
184831
|
+
module Identity
|
|
184832
|
+
class BlocklistEntryRetrieveParams < ::Stripe::RequestParams
|
|
184833
|
+
# Specifies which fields in the response should be expanded.
|
|
184834
|
+
sig { returns(T.nilable(T::Array[String])) }
|
|
184835
|
+
def expand; end
|
|
184836
|
+
sig { params(_expand: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String])) }
|
|
184837
|
+
def expand=(_expand); end
|
|
184838
|
+
sig { params(expand: T.nilable(T::Array[String])).void }
|
|
184839
|
+
def initialize(expand: nil); end
|
|
184840
|
+
end
|
|
184841
|
+
end
|
|
184842
|
+
end
|
|
184843
|
+
# typed: true
|
|
183231
184844
|
module Stripe
|
|
183232
184845
|
module Identity
|
|
183233
184846
|
class VerificationReportRetrieveParams < ::Stripe::RequestParams
|
|
@@ -190422,7 +192035,7 @@ module Stripe
|
|
|
190422
192035
|
def enabled; end
|
|
190423
192036
|
sig { params(_enabled: T::Boolean).returns(T::Boolean) }
|
|
190424
192037
|
def enabled=(_enabled); end
|
|
190425
|
-
# If true the payment link to hosted
|
|
192038
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
190426
192039
|
sig { returns(T::Boolean) }
|
|
190427
192040
|
def include_payment_link; end
|
|
190428
192041
|
sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) }
|
|
@@ -190430,7 +192043,7 @@ module Stripe
|
|
|
190430
192043
|
sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void }
|
|
190431
192044
|
def initialize(enabled: nil, include_payment_link: nil); end
|
|
190432
192045
|
end
|
|
190433
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
192046
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
190434
192047
|
sig {
|
|
190435
192048
|
returns(T.nilable(V2::Billing::CollectionSettingCreateParams::EmailDelivery::PaymentDue))
|
|
190436
192049
|
}
|
|
@@ -190787,7 +192400,7 @@ module Stripe
|
|
|
190787
192400
|
def enabled; end
|
|
190788
192401
|
sig { params(_enabled: T::Boolean).returns(T::Boolean) }
|
|
190789
192402
|
def enabled=(_enabled); end
|
|
190790
|
-
# If true the payment link to hosted
|
|
192403
|
+
# If true the payment link to hosted invoice page would be included in email and PDF of the invoice.
|
|
190791
192404
|
sig { returns(T::Boolean) }
|
|
190792
192405
|
def include_payment_link; end
|
|
190793
192406
|
sig { params(_include_payment_link: T::Boolean).returns(T::Boolean) }
|
|
@@ -190795,7 +192408,7 @@ module Stripe
|
|
|
190795
192408
|
sig { params(enabled: T::Boolean, include_payment_link: T::Boolean).void }
|
|
190796
192409
|
def initialize(enabled: nil, include_payment_link: nil); end
|
|
190797
192410
|
end
|
|
190798
|
-
# Controls emails for when the payment is due. For example after the invoice is
|
|
192411
|
+
# Controls emails for when the payment is due. For example after the invoice is finalized and transitions to Open state.
|
|
190799
192412
|
sig {
|
|
190800
192413
|
returns(T.nilable(V2::Billing::CollectionSettingUpdateParams::EmailDelivery::PaymentDue))
|
|
190801
192414
|
}
|
|
@@ -193208,6 +194821,16 @@ module Stripe
|
|
|
193208
194821
|
end
|
|
193209
194822
|
end
|
|
193210
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
|
|
193211
194834
|
module Stripe
|
|
193212
194835
|
module V2
|
|
193213
194836
|
module Billing
|
|
@@ -194330,15 +195953,20 @@ module Stripe
|
|
|
194330
195953
|
params(_applied_configurations: T.nilable(T::Array[String])).returns(T.nilable(T::Array[String]))
|
|
194331
195954
|
}
|
|
194332
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
|
|
194333
195961
|
# The upper limit on the number of accounts returned by the List Account request.
|
|
194334
195962
|
sig { returns(T.nilable(Integer)) }
|
|
194335
195963
|
def limit; end
|
|
194336
195964
|
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
194337
195965
|
def limit=(_limit); end
|
|
194338
195966
|
sig {
|
|
194339
|
-
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
|
|
194340
195968
|
}
|
|
194341
|
-
def initialize(applied_configurations: nil, limit: nil); end
|
|
195969
|
+
def initialize(applied_configurations: nil, closed: nil, limit: nil); end
|
|
194342
195970
|
end
|
|
194343
195971
|
end
|
|
194344
195972
|
end
|
|
@@ -196051,6 +197679,15 @@ module Stripe
|
|
|
196051
197679
|
sig { params(requested: T::Boolean).void }
|
|
196052
197680
|
def initialize(requested: nil); end
|
|
196053
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
|
|
196054
197691
|
# Can hold storage-type funds on Stripe in GBP.
|
|
196055
197692
|
sig {
|
|
196056
197693
|
returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
|
|
@@ -196060,10 +197697,19 @@ module Stripe
|
|
|
196060
197697
|
params(_gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
|
|
196061
197698
|
}
|
|
196062
197699
|
def gbp=(_gbp); end
|
|
197700
|
+
# Can hold storage-type funds on Stripe in USD.
|
|
197701
|
+
sig {
|
|
197702
|
+
returns(T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
|
|
197703
|
+
}
|
|
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
|
|
196063
197709
|
sig {
|
|
196064
|
-
params(gbp: T.nilable(V2::Core::AccountCreateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void
|
|
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
|
|
196065
197711
|
}
|
|
196066
|
-
def initialize(gbp: nil); end
|
|
197712
|
+
def initialize(gbp: nil, usd: nil); end
|
|
196067
197713
|
end
|
|
196068
197714
|
class InboundTransfers < ::Stripe::RequestParams
|
|
196069
197715
|
class BankAccounts < ::Stripe::RequestParams
|
|
@@ -196449,6 +198095,27 @@ module Stripe
|
|
|
196449
198095
|
ownership_exemption_reason: nil
|
|
196450
198096
|
); end
|
|
196451
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
|
|
196452
198119
|
class TermsOfService < ::Stripe::RequestParams
|
|
196453
198120
|
class Account < ::Stripe::RequestParams
|
|
196454
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.
|
|
@@ -197030,6 +198697,15 @@ module Stripe
|
|
|
197030
198697
|
params(_persons_provided: T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::PersonsProvided))
|
|
197031
198698
|
}
|
|
197032
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
|
|
197033
198709
|
# Attestations of accepted terms of service agreements.
|
|
197034
198710
|
sig {
|
|
197035
198711
|
returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations::TermsOfService))
|
|
@@ -197040,12 +198716,13 @@ module Stripe
|
|
|
197040
198716
|
}
|
|
197041
198717
|
def terms_of_service=(_terms_of_service); end
|
|
197042
198718
|
sig {
|
|
197043
|
-
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
|
|
197044
198720
|
}
|
|
197045
198721
|
def initialize(
|
|
197046
198722
|
directorship_declaration: nil,
|
|
197047
198723
|
ownership_declaration: nil,
|
|
197048
198724
|
persons_provided: nil,
|
|
198725
|
+
representative_declaration: nil,
|
|
197049
198726
|
terms_of_service: nil
|
|
197050
198727
|
); end
|
|
197051
198728
|
end
|
|
@@ -198368,7 +200045,7 @@ module Stripe
|
|
|
198368
200045
|
surname: nil
|
|
198369
200046
|
); end
|
|
198370
200047
|
end
|
|
198371
|
-
# 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.
|
|
198372
200049
|
sig { returns(T.nilable(V2::Core::AccountCreateParams::Identity::Attestations)) }
|
|
198373
200050
|
def attestations; end
|
|
198374
200051
|
sig {
|
|
@@ -200243,6 +201920,15 @@ module Stripe
|
|
|
200243
201920
|
sig { params(requested: T.nilable(T::Boolean)).void }
|
|
200244
201921
|
def initialize(requested: nil); end
|
|
200245
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
|
|
200246
201932
|
# Can hold storage-type funds on Stripe in GBP.
|
|
200247
201933
|
sig {
|
|
200248
201934
|
returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
|
|
@@ -200252,10 +201938,19 @@ module Stripe
|
|
|
200252
201938
|
params(_gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp))
|
|
200253
201939
|
}
|
|
200254
201940
|
def gbp=(_gbp); end
|
|
201941
|
+
# Can hold storage-type funds on Stripe in USD.
|
|
201942
|
+
sig {
|
|
201943
|
+
returns(T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Usd))
|
|
201944
|
+
}
|
|
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
|
|
200255
201950
|
sig {
|
|
200256
|
-
params(gbp: T.nilable(V2::Core::AccountUpdateParams::Configuration::Storer::Capabilities::HoldsCurrencies::Gbp)).void
|
|
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
|
|
200257
201952
|
}
|
|
200258
|
-
def initialize(gbp: nil); end
|
|
201953
|
+
def initialize(gbp: nil, usd: nil); end
|
|
200259
201954
|
end
|
|
200260
201955
|
class InboundTransfers < ::Stripe::RequestParams
|
|
200261
201956
|
class BankAccounts < ::Stripe::RequestParams
|
|
@@ -200646,6 +202341,27 @@ module Stripe
|
|
|
200646
202341
|
ownership_exemption_reason: nil
|
|
200647
202342
|
); end
|
|
200648
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
|
|
200649
202365
|
class TermsOfService < ::Stripe::RequestParams
|
|
200650
202366
|
class Account < ::Stripe::RequestParams
|
|
200651
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.
|
|
@@ -201257,6 +202973,15 @@ module Stripe
|
|
|
201257
202973
|
params(_persons_provided: T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided)).returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::PersonsProvided))
|
|
201258
202974
|
}
|
|
201259
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
|
|
201260
202985
|
# Attestations of accepted terms of service agreements.
|
|
201261
202986
|
sig {
|
|
201262
202987
|
returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations::TermsOfService))
|
|
@@ -201267,12 +202992,13 @@ module Stripe
|
|
|
201267
202992
|
}
|
|
201268
202993
|
def terms_of_service=(_terms_of_service); end
|
|
201269
202994
|
sig {
|
|
201270
|
-
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
|
|
201271
202996
|
}
|
|
201272
202997
|
def initialize(
|
|
201273
202998
|
directorship_declaration: nil,
|
|
201274
202999
|
ownership_declaration: nil,
|
|
201275
203000
|
persons_provided: nil,
|
|
203001
|
+
representative_declaration: nil,
|
|
201276
203002
|
terms_of_service: nil
|
|
201277
203003
|
); end
|
|
201278
203004
|
end
|
|
@@ -202595,7 +204321,7 @@ module Stripe
|
|
|
202595
204321
|
surname: nil
|
|
202596
204322
|
); end
|
|
202597
204323
|
end
|
|
202598
|
-
# 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.
|
|
202599
204325
|
sig { returns(T.nilable(V2::Core::AccountUpdateParams::Identity::Attestations)) }
|
|
202600
204326
|
def attestations; end
|
|
202601
204327
|
sig {
|
|
@@ -204443,20 +206169,55 @@ module Stripe
|
|
|
204443
206169
|
module V2
|
|
204444
206170
|
module Core
|
|
204445
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
|
|
204446
206182
|
# The page size.
|
|
204447
206183
|
sig { returns(T.nilable(Integer)) }
|
|
204448
206184
|
def limit; end
|
|
204449
206185
|
sig { params(_limit: T.nilable(Integer)).returns(T.nilable(Integer)) }
|
|
204450
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
|
|
204451
206197
|
# Primary object ID used to retrieve related events.
|
|
204452
206198
|
#
|
|
204453
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.
|
|
204454
|
-
sig { returns(String) }
|
|
206200
|
+
sig { returns(T.nilable(String)) }
|
|
204455
206201
|
def object_id_; end
|
|
204456
|
-
sig { params(_object_id_: String).returns(String) }
|
|
206202
|
+
sig { params(_object_id_: T.nilable(String)).returns(T.nilable(String)) }
|
|
204457
206203
|
def object_id_=(_object_id_); end
|
|
204458
|
-
|
|
204459
|
-
|
|
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
|
|
204460
206221
|
end
|
|
204461
206222
|
end
|
|
204462
206223
|
end
|
|
@@ -204715,6 +206476,24 @@ module Stripe
|
|
|
204715
206476
|
end
|
|
204716
206477
|
end
|
|
204717
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
|
|
204718
206497
|
module Stripe
|
|
204719
206498
|
module V2
|
|
204720
206499
|
module Core
|
|
@@ -204836,6 +206615,29 @@ module Stripe
|
|
|
204836
206615
|
end
|
|
204837
206616
|
end
|
|
204838
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
|
|
204839
206641
|
module Stripe
|
|
204840
206642
|
module V2
|
|
204841
206643
|
module Core
|
|
@@ -204921,6 +206723,43 @@ module Stripe
|
|
|
204921
206723
|
end
|
|
204922
206724
|
end
|
|
204923
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
|
|
204924
206763
|
module Stripe
|
|
204925
206764
|
module V2
|
|
204926
206765
|
module MoneyManagement
|
|
@@ -205065,6 +206904,31 @@ module Stripe
|
|
|
205065
206904
|
end
|
|
205066
206905
|
end
|
|
205067
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
|
|
205068
206932
|
module Stripe
|
|
205069
206933
|
module V2
|
|
205070
206934
|
module MoneyManagement
|
|
@@ -207032,6 +208896,7 @@ module Stripe
|
|
|
207032
208896
|
module TestHelpers
|
|
207033
208897
|
class MoneyManagementRecipientVerificationsParams < ::Stripe::RequestParams
|
|
207034
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.
|
|
207035
208900
|
sig { returns(String) }
|
|
207036
208901
|
def match_result; end
|
|
207037
208902
|
sig { params(_match_result: String).returns(String) }
|