stripe 15.1.0.pre.beta.2 → 15.2.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +6 -0
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +15 -0
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_person_created_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +1 -1
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_event_destination_ping_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +1 -1
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/object_types.rb +0 -1
- data/lib/stripe/resources/account.rb +2 -2
- data/lib/stripe/resources/charge.rb +2 -2
- data/lib/stripe/resources/checkout/session.rb +7 -3
- data/lib/stripe/resources/confirmation_token.rb +5 -3
- data/lib/stripe/resources/customer.rb +2 -2
- data/lib/stripe/resources/invoice.rb +10 -2
- data/lib/stripe/resources/order.rb +3 -3
- data/lib/stripe/resources/payment_intent.rb +4 -4
- data/lib/stripe/resources/payment_method.rb +2 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +22 -1
- data/lib/stripe/resources/quote.rb +6 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1 -1
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +2 -0
- data/lib/stripe/resources/subscription.rb +8 -2
- data/lib/stripe/resources/subscription_schedule.rb +6 -0
- data/lib/stripe/resources/tax/calculation.rb +2 -2
- data/lib/stripe/resources/tax/registration.rb +60 -0
- data/lib/stripe/resources/tax/transaction.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +2 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +1 -4
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
- data/lib/stripe/resources/v2/core/account.rb +44 -13
- data/lib/stripe/resources/v2/core/account_link.rb +3 -1
- data/lib/stripe/resources/v2/core/person.rb +4 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +4 -2
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +5 -3
- data/lib/stripe/resources/v2/event.rb +2 -2
- data/lib/stripe/resources/v2/event_destination.rb +2 -2
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +2 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +2 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +3 -1
- data/lib/stripe/resources/v2/money_management/financial_account.rb +3 -1
- data/lib/stripe/resources/v2/money_management/financial_address.rb +2 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +3 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +8 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +3 -1
- data/lib/stripe/resources/v2/money_management/payout_method.rb +4 -2
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +2 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +2 -0
- data/lib/stripe/resources.rb +11 -1
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +2 -2
- data/lib/stripe/services/charge_service.rb +2 -2
- data/lib/stripe/services/checkout/session_service.rb +4 -0
- data/lib/stripe/services/customer_payment_method_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/customer_tax_id_service.rb +1 -1
- data/lib/stripe/services/external_account_service.rb +1 -1
- data/lib/stripe/services/invoice_service.rb +9 -1
- data/lib/stripe/services/order_service.rb +2 -2
- data/lib/stripe/services/payment_intent_service.rb +4 -4
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -20
- data/lib/stripe/services/quote_service.rb +4 -0
- data/lib/stripe/services/subscription_schedule_service.rb +4 -0
- data/lib/stripe/services/subscription_service.rb +5 -1
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/registration_service.rb +39 -0
- data/lib/stripe/services/tax_id_service.rb +1 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -3
- data/lib/stripe/services/treasury/outbound_payment_service.rb +1 -4
- data/lib/stripe/services/v2/core/account_service.rb +15 -7
- data/lib/stripe/services/v2/core/accounts/person_service.rb +8 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +1 -1
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +5 -5
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +16 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +465 -190
- metadata +13 -3
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
data/rbi/stripe.rbi
CHANGED
@@ -927,6 +927,30 @@ module Stripe
|
|
927
927
|
sig { returns(T::Array[StatusDetail]) }
|
928
928
|
attr_reader :status_details
|
929
929
|
end
|
930
|
+
class StripeBalance < Stripe::StripeObject
|
931
|
+
class Payouts < Stripe::StripeObject
|
932
|
+
class StatusDetail < Stripe::StripeObject
|
933
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
934
|
+
sig { returns(String) }
|
935
|
+
attr_reader :code
|
936
|
+
# Machine-readable code explaining how to make the Capability active.
|
937
|
+
sig { returns(String) }
|
938
|
+
attr_reader :resolution
|
939
|
+
end
|
940
|
+
# Whether the Capability has been requested.
|
941
|
+
sig { returns(T::Boolean) }
|
942
|
+
attr_reader :requested
|
943
|
+
# The status of the Capability.
|
944
|
+
sig { returns(String) }
|
945
|
+
attr_reader :status
|
946
|
+
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
947
|
+
sig { returns(T::Array[StatusDetail]) }
|
948
|
+
attr_reader :status_details
|
949
|
+
end
|
950
|
+
# Allows the account to do payouts using their Stripe Balance (/v1/balance).
|
951
|
+
sig { returns(T.nilable(Payouts)) }
|
952
|
+
attr_reader :payouts
|
953
|
+
end
|
930
954
|
class SwishPayments < Stripe::StripeObject
|
931
955
|
class StatusDetail < Stripe::StripeObject
|
932
956
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
@@ -1123,6 +1147,9 @@ module Stripe
|
|
1123
1147
|
# Allow the merchant to process SEPA Direct Debit payments.
|
1124
1148
|
sig { returns(T.nilable(SepaDebitPayments)) }
|
1125
1149
|
attr_reader :sepa_debit_payments
|
1150
|
+
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
1151
|
+
sig { returns(T.nilable(StripeBalance)) }
|
1152
|
+
attr_reader :stripe_balance
|
1126
1153
|
# Allow the merchant to process Swish payments.
|
1127
1154
|
sig { returns(T.nilable(SwishPayments)) }
|
1128
1155
|
attr_reader :swish_payments
|
@@ -1292,6 +1319,25 @@ module Stripe
|
|
1292
1319
|
attr_reader :status_details
|
1293
1320
|
end
|
1294
1321
|
class StripeBalance < Stripe::StripeObject
|
1322
|
+
class Payouts < Stripe::StripeObject
|
1323
|
+
class StatusDetail < Stripe::StripeObject
|
1324
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
1325
|
+
sig { returns(String) }
|
1326
|
+
attr_reader :code
|
1327
|
+
# Machine-readable code explaining how to make the Capability active.
|
1328
|
+
sig { returns(String) }
|
1329
|
+
attr_reader :resolution
|
1330
|
+
end
|
1331
|
+
# Whether the Capability has been requested.
|
1332
|
+
sig { returns(T::Boolean) }
|
1333
|
+
attr_reader :requested
|
1334
|
+
# The status of the Capability.
|
1335
|
+
sig { returns(String) }
|
1336
|
+
attr_reader :status
|
1337
|
+
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
1338
|
+
sig { returns(T::Array[StatusDetail]) }
|
1339
|
+
attr_reader :status_details
|
1340
|
+
end
|
1295
1341
|
class StripeTransfers < Stripe::StripeObject
|
1296
1342
|
class StatusDetail < Stripe::StripeObject
|
1297
1343
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
@@ -1311,7 +1357,10 @@ module Stripe
|
|
1311
1357
|
sig { returns(T::Array[StatusDetail]) }
|
1312
1358
|
attr_reader :status_details
|
1313
1359
|
end
|
1314
|
-
# Allows the
|
1360
|
+
# Allows the account to do payouts using their Stripe Balance (/v1/balance).
|
1361
|
+
sig { returns(T.nilable(Payouts)) }
|
1362
|
+
attr_reader :payouts
|
1363
|
+
# Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
1315
1364
|
sig { returns(T.nilable(StripeTransfers)) }
|
1316
1365
|
attr_reader :stripe_transfers
|
1317
1366
|
end
|
@@ -1321,7 +1370,7 @@ module Stripe
|
|
1321
1370
|
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
1322
1371
|
sig { returns(T.nilable(Cards)) }
|
1323
1372
|
attr_reader :cards
|
1324
|
-
# Capabilities that enable the recipient to
|
1373
|
+
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
1325
1374
|
sig { returns(T.nilable(StripeBalance)) }
|
1326
1375
|
attr_reader :stripe_balance
|
1327
1376
|
end
|
@@ -1875,6 +1924,9 @@ module Stripe
|
|
1875
1924
|
attr_reader :type
|
1876
1925
|
end
|
1877
1926
|
class Relationship < Stripe::StripeObject
|
1927
|
+
# Whether the individual is an authorizer of the Account’s legal entity.
|
1928
|
+
sig { returns(T.nilable(T::Boolean)) }
|
1929
|
+
attr_reader :authorizer
|
1878
1930
|
# Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
1879
1931
|
sig { returns(T.nilable(T::Boolean)) }
|
1880
1932
|
attr_reader :director
|
@@ -2088,22 +2140,9 @@ module Stripe
|
|
2088
2140
|
sig { returns(Deadline) }
|
2089
2141
|
attr_reader :deadline
|
2090
2142
|
end
|
2091
|
-
class RestrictsPayouts < Stripe::StripeObject
|
2092
|
-
class Deadline < Stripe::StripeObject
|
2093
|
-
# The current status of the requirement's impact.
|
2094
|
-
sig { returns(String) }
|
2095
|
-
attr_reader :status
|
2096
|
-
end
|
2097
|
-
# Details about when in the Account's lifecycle the requirement must be collected by the avoid the earliest specified impact.
|
2098
|
-
sig { returns(Deadline) }
|
2099
|
-
attr_reader :deadline
|
2100
|
-
end
|
2101
2143
|
# The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
|
2102
2144
|
sig { returns(T.nilable(T::Array[RestrictsCapability])) }
|
2103
2145
|
attr_reader :restricts_capabilities
|
2104
|
-
# Details about payouts restrictions that will be enforced if the requirement is not collected and satisfactory to Stripe.
|
2105
|
-
sig { returns(T.nilable(RestrictsPayouts)) }
|
2106
|
-
attr_reader :restricts_payouts
|
2107
2146
|
end
|
2108
2147
|
class MinimumDeadline < Stripe::StripeObject
|
2109
2148
|
# The current status of the requirement's impact.
|
@@ -2207,6 +2246,9 @@ module Stripe
|
|
2207
2246
|
# Information about the requirements for the Account, including what information needs to be collected, and by when.
|
2208
2247
|
sig { returns(T.nilable(Requirements)) }
|
2209
2248
|
attr_reader :requirements
|
2249
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2250
|
+
sig { returns(T::Boolean) }
|
2251
|
+
attr_reader :livemode
|
2210
2252
|
end
|
2211
2253
|
end
|
2212
2254
|
end
|
@@ -2215,7 +2257,7 @@ end
|
|
2215
2257
|
module Stripe
|
2216
2258
|
module V2
|
2217
2259
|
module Core
|
2218
|
-
# AccountLinks are the means by which a Merchant grants an Account permission to access Stripe-hosted
|
2260
|
+
# AccountLinks are the means by which a Merchant grants an Account permission to access Stripe-hosted applications, such as Recipient Onboarding. This API is only available for users enrolled in the public preview for Global Payouts.
|
2219
2261
|
class AccountLink < APIResource
|
2220
2262
|
class UseCase < Stripe::StripeObject
|
2221
2263
|
class AccountOnboarding < Stripe::StripeObject
|
@@ -2268,6 +2310,9 @@ module Stripe
|
|
2268
2310
|
# The use case of AccountLink the user is requesting.
|
2269
2311
|
sig { returns(UseCase) }
|
2270
2312
|
attr_reader :use_case
|
2313
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2314
|
+
sig { returns(T::Boolean) }
|
2315
|
+
attr_reader :livemode
|
2271
2316
|
end
|
2272
2317
|
end
|
2273
2318
|
end
|
@@ -2447,6 +2492,9 @@ module Stripe
|
|
2447
2492
|
attr_reader :type
|
2448
2493
|
end
|
2449
2494
|
class Relationship < Stripe::StripeObject
|
2495
|
+
# Whether the individual is an authorizer of the Account’s legal entity.
|
2496
|
+
sig { returns(T.nilable(T::Boolean)) }
|
2497
|
+
attr_reader :authorizer
|
2450
2498
|
# Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
|
2451
2499
|
sig { returns(T.nilable(T::Boolean)) }
|
2452
2500
|
attr_reader :director
|
@@ -2616,6 +2664,9 @@ module Stripe
|
|
2616
2664
|
# Time at which the object was last updated. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
2617
2665
|
sig { returns(String) }
|
2618
2666
|
attr_reader :updated
|
2667
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2668
|
+
sig { returns(T::Boolean) }
|
2669
|
+
attr_reader :livemode
|
2619
2670
|
end
|
2620
2671
|
end
|
2621
2672
|
end
|
@@ -2670,9 +2721,12 @@ module Stripe
|
|
2670
2721
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
2671
2722
|
sig { returns(String) }
|
2672
2723
|
attr_reader :object
|
2673
|
-
# A hosted
|
2674
|
-
sig { returns(String) }
|
2724
|
+
# A link to the Stripe-hosted receipt that is provided when money movement is considered regulated under Stripe’s money transmission licenses. The receipt link remains active for 60 days from the Adjustment creation date. After this period, the link will expire and the receipt url value will be null.
|
2725
|
+
sig { returns(T.nilable(String)) }
|
2675
2726
|
attr_reader :receipt_url
|
2727
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2728
|
+
sig { returns(T::Boolean) }
|
2729
|
+
attr_reader :livemode
|
2676
2730
|
end
|
2677
2731
|
end
|
2678
2732
|
end
|
@@ -2695,12 +2749,12 @@ module Stripe
|
|
2695
2749
|
# The unique id of this auth session.
|
2696
2750
|
sig { returns(String) }
|
2697
2751
|
attr_reader :id
|
2698
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2699
|
-
sig { returns(T::Boolean) }
|
2700
|
-
attr_reader :livemode
|
2701
2752
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
2702
2753
|
sig { returns(String) }
|
2703
2754
|
attr_reader :object
|
2755
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2756
|
+
sig { returns(T::Boolean) }
|
2757
|
+
attr_reader :livemode
|
2704
2758
|
end
|
2705
2759
|
end
|
2706
2760
|
end
|
@@ -2727,9 +2781,6 @@ module Stripe
|
|
2727
2781
|
# The unique id of this meter event adjustment.
|
2728
2782
|
sig { returns(String) }
|
2729
2783
|
attr_reader :id
|
2730
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2731
|
-
sig { returns(T::Boolean) }
|
2732
|
-
attr_reader :livemode
|
2733
2784
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
2734
2785
|
sig { returns(String) }
|
2735
2786
|
attr_reader :object
|
@@ -2739,6 +2790,9 @@ module Stripe
|
|
2739
2790
|
# Open Enum. Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.
|
2740
2791
|
sig { returns(String) }
|
2741
2792
|
attr_reader :type
|
2793
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2794
|
+
sig { returns(T::Boolean) }
|
2795
|
+
attr_reader :livemode
|
2742
2796
|
end
|
2743
2797
|
end
|
2744
2798
|
end
|
@@ -2758,9 +2812,6 @@ module Stripe
|
|
2758
2812
|
# A unique identifier for the event. If not provided, one will be generated. We recommend using a globally unique identifier for this. We’ll enforce uniqueness within a rolling 24 hour period.
|
2759
2813
|
sig { returns(String) }
|
2760
2814
|
attr_reader :identifier
|
2761
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2762
|
-
sig { returns(T::Boolean) }
|
2763
|
-
attr_reader :livemode
|
2764
2815
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
2765
2816
|
sig { returns(String) }
|
2766
2817
|
attr_reader :object
|
@@ -2773,6 +2824,9 @@ module Stripe
|
|
2773
2824
|
# 5 minutes in the future. Defaults to current timestamp if not specified.
|
2774
2825
|
sig { returns(String) }
|
2775
2826
|
attr_reader :timestamp
|
2827
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2828
|
+
sig { returns(T::Boolean) }
|
2829
|
+
attr_reader :livemode
|
2776
2830
|
end
|
2777
2831
|
end
|
2778
2832
|
end
|
@@ -2825,7 +2879,7 @@ module Stripe
|
|
2825
2879
|
# If this is a `other` FinancialAccount, this hash indicates what the actual type is. Upgrade your API version to see it reflected in `type`.
|
2826
2880
|
sig { returns(T.nilable(Other)) }
|
2827
2881
|
attr_reader :other
|
2828
|
-
# An enum
|
2882
|
+
# Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.
|
2829
2883
|
sig { returns(String) }
|
2830
2884
|
attr_reader :status
|
2831
2885
|
# If this is a `storage` FinancialAccount, this hash includes details specific to `storage` FinancialAccounts.
|
@@ -2835,6 +2889,9 @@ module Stripe
|
|
2835
2889
|
# It contains additional information specific to the FinancialAccount type.
|
2836
2890
|
sig { returns(String) }
|
2837
2891
|
attr_reader :type
|
2892
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2893
|
+
sig { returns(T::Boolean) }
|
2894
|
+
attr_reader :livemode
|
2838
2895
|
end
|
2839
2896
|
end
|
2840
2897
|
end
|
@@ -2912,6 +2969,9 @@ module Stripe
|
|
2912
2969
|
# Closed Enum. An enum representing the status of the FinancialAddress. This indicates whether or not the FinancialAddress can be used for any money movement flows.
|
2913
2970
|
sig { returns(String) }
|
2914
2971
|
attr_reader :status
|
2972
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2973
|
+
sig { returns(T::Boolean) }
|
2974
|
+
attr_reader :livemode
|
2915
2975
|
end
|
2916
2976
|
end
|
2917
2977
|
end
|
@@ -2926,6 +2986,9 @@ module Stripe
|
|
2926
2986
|
# The status of the request, signifying whether a simulated credit was initiated.
|
2927
2987
|
sig { returns(String) }
|
2928
2988
|
attr_reader :status
|
2989
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
2990
|
+
sig { returns(T::Boolean) }
|
2991
|
+
attr_reader :livemode
|
2929
2992
|
end
|
2930
2993
|
end
|
2931
2994
|
end
|
@@ -2942,6 +3005,9 @@ module Stripe
|
|
2942
3005
|
# Closed Enum. The status of the request.
|
2943
3006
|
sig { returns(String) }
|
2944
3007
|
attr_reader :status
|
3008
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3009
|
+
sig { returns(T::Boolean) }
|
3010
|
+
attr_reader :livemode
|
2945
3011
|
end
|
2946
3012
|
end
|
2947
3013
|
end
|
@@ -3040,7 +3106,7 @@ module Stripe
|
|
3040
3106
|
sig { returns(String) }
|
3041
3107
|
attr_reader :object
|
3042
3108
|
# A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.
|
3043
|
-
sig { returns(String) }
|
3109
|
+
sig { returns(T.nilable(String)) }
|
3044
3110
|
attr_reader :receipt_url
|
3045
3111
|
# A nested object containing information about the destination of the InboundTransfer.
|
3046
3112
|
sig { returns(To) }
|
@@ -3048,6 +3114,9 @@ module Stripe
|
|
3048
3114
|
# A list of history objects, representing changes in the state of the InboundTransfer.
|
3049
3115
|
sig { returns(T::Array[TransferHistory]) }
|
3050
3116
|
attr_reader :transfer_history
|
3117
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3118
|
+
sig { returns(T::Boolean) }
|
3119
|
+
attr_reader :livemode
|
3051
3120
|
end
|
3052
3121
|
end
|
3053
3122
|
end
|
@@ -3104,9 +3173,6 @@ module Stripe
|
|
3104
3173
|
# Unique identifier for the object.
|
3105
3174
|
sig { returns(String) }
|
3106
3175
|
attr_reader :id
|
3107
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3108
|
-
sig { returns(T::Boolean) }
|
3109
|
-
attr_reader :livemode
|
3110
3176
|
# Metadata.
|
3111
3177
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
3112
3178
|
attr_reader :metadata
|
@@ -3131,6 +3197,9 @@ module Stripe
|
|
3131
3197
|
# Time at which the object was last updated.
|
3132
3198
|
sig { returns(String) }
|
3133
3199
|
attr_reader :updated
|
3200
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3201
|
+
sig { returns(T::Boolean) }
|
3202
|
+
attr_reader :livemode
|
3134
3203
|
# Amazon EventBridge configuration.
|
3135
3204
|
sig { returns(T.nilable(AmazonEventbridge)) }
|
3136
3205
|
attr_reader :amazon_eventbridge
|
@@ -3170,9 +3239,6 @@ module Stripe
|
|
3170
3239
|
# Unique identifier for the event.
|
3171
3240
|
sig { returns(String) }
|
3172
3241
|
attr_reader :id
|
3173
|
-
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3174
|
-
sig { returns(T::Boolean) }
|
3175
|
-
attr_reader :livemode
|
3176
3242
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
3177
3243
|
sig { returns(String) }
|
3178
3244
|
attr_reader :object
|
@@ -3182,6 +3248,9 @@ module Stripe
|
|
3182
3248
|
# The type of the event.
|
3183
3249
|
sig { returns(String) }
|
3184
3250
|
attr_reader :type
|
3251
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3252
|
+
sig { returns(T::Boolean) }
|
3253
|
+
attr_reader :livemode
|
3185
3254
|
end
|
3186
3255
|
end
|
3187
3256
|
end
|
@@ -3303,8 +3372,8 @@ module Stripe
|
|
3303
3372
|
# The quote for this OutboundPayment. Only required for countries with regulatory mandates to display fee estimates before OutboundPayment creation.
|
3304
3373
|
sig { returns(T.nilable(String)) }
|
3305
3374
|
attr_reader :outbound_payment_quote
|
3306
|
-
# A hosted
|
3307
|
-
sig { returns(String) }
|
3375
|
+
# A link to the Stripe-hosted receipt for this OutboundPayment. The receipt link remains active for 60 days from the OutboundPayment creation date. After this period, the link will expire and the receipt url value will be null.
|
3376
|
+
sig { returns(T.nilable(String)) }
|
3308
3377
|
attr_reader :receipt_url
|
3309
3378
|
# Details about the OutboundPayment notification settings for recipient.
|
3310
3379
|
sig { returns(RecipientNotification) }
|
@@ -3330,6 +3399,9 @@ module Stripe
|
|
3330
3399
|
# A unique identifier that can be used to track this OutboundPayment with recipient bank. Banks might call this a “reference number” or something similar.
|
3331
3400
|
sig { returns(TraceId) }
|
3332
3401
|
attr_reader :trace_id
|
3402
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3403
|
+
sig { returns(T::Boolean) }
|
3404
|
+
attr_reader :livemode
|
3333
3405
|
end
|
3334
3406
|
end
|
3335
3407
|
end
|
@@ -3367,6 +3439,15 @@ module Stripe
|
|
3367
3439
|
sig { returns(String) }
|
3368
3440
|
attr_reader :exchange_rate
|
3369
3441
|
end
|
3442
|
+
# The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes.
|
3443
|
+
sig { returns(String) }
|
3444
|
+
attr_reader :lock_duration
|
3445
|
+
# Time at which the rate lock will expire, measured in seconds since the Unix epoch.
|
3446
|
+
sig { returns(String) }
|
3447
|
+
attr_reader :lock_expires_at
|
3448
|
+
# Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active or expired.
|
3449
|
+
sig { returns(String) }
|
3450
|
+
attr_reader :lock_status
|
3370
3451
|
# Key pair: from currency Value: exchange rate going from_currency -> to_currency.
|
3371
3452
|
sig { returns(T::Hash[String, Rates]) }
|
3372
3453
|
attr_reader :rates
|
@@ -3413,6 +3494,9 @@ module Stripe
|
|
3413
3494
|
# Details about the recipient of an OutboundPaymentQuote.
|
3414
3495
|
sig { returns(To) }
|
3415
3496
|
attr_reader :to
|
3497
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3498
|
+
sig { returns(T::Boolean) }
|
3499
|
+
attr_reader :livemode
|
3416
3500
|
end
|
3417
3501
|
end
|
3418
3502
|
end
|
@@ -3523,8 +3607,8 @@ module Stripe
|
|
3523
3607
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
3524
3608
|
sig { returns(String) }
|
3525
3609
|
attr_reader :object
|
3526
|
-
# A hosted
|
3527
|
-
sig { returns(String) }
|
3610
|
+
# A link to the Stripe-hosted receipt for this OutboundTransfer. The receipt link remains active for 60 days from the OutboundTransfer creation date. After this period, the link will expire and the receipt url value will be null.
|
3611
|
+
sig { returns(T.nilable(String)) }
|
3528
3612
|
attr_reader :receipt_url
|
3529
3613
|
# The description that appears on the receiving end for an OutboundTransfer (for example, bank statement for external bank transfer).
|
3530
3614
|
sig { returns(String) }
|
@@ -3547,6 +3631,9 @@ module Stripe
|
|
3547
3631
|
# A unique identifier that can be used to track this OutboundTransfer with recipient bank. Banks might call this a “reference number” or something similar.
|
3548
3632
|
sig { returns(TraceId) }
|
3549
3633
|
attr_reader :trace_id
|
3634
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3635
|
+
sig { returns(T::Boolean) }
|
3636
|
+
attr_reader :livemode
|
3550
3637
|
end
|
3551
3638
|
end
|
3552
3639
|
end
|
@@ -3558,10 +3645,10 @@ module Stripe
|
|
3558
3645
|
# Use the PayoutMethods API to list and interact with PayoutMethod objects.
|
3559
3646
|
class PayoutMethod < APIResource
|
3560
3647
|
class UsageStatus < Stripe::StripeObject
|
3561
|
-
# Payments status.
|
3648
|
+
# Payments status - used when sending OutboundPayments (sending funds to recipients).
|
3562
3649
|
sig { returns(String) }
|
3563
3650
|
attr_reader :payments
|
3564
|
-
# Transfers status.
|
3651
|
+
# Transfers status - used when making an OutboundTransfer (sending funds to yourself).
|
3565
3652
|
sig { returns(String) }
|
3566
3653
|
attr_reader :transfers
|
3567
3654
|
end
|
@@ -3627,6 +3714,9 @@ module Stripe
|
|
3627
3714
|
# Indicates whether the payout method has met the necessary requirements for outbound money movement.
|
3628
3715
|
sig { returns(UsageStatus) }
|
3629
3716
|
attr_reader :usage_status
|
3717
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3718
|
+
sig { returns(T::Boolean) }
|
3719
|
+
attr_reader :livemode
|
3630
3720
|
# The PayoutMethodBankAccount object details.
|
3631
3721
|
sig { returns(T.nilable(BankAccount)) }
|
3632
3722
|
attr_reader :bank_account
|
@@ -3680,6 +3770,9 @@ module Stripe
|
|
3680
3770
|
# The intended money movement flow this payout method should be set up for, specified in params.
|
3681
3771
|
sig { returns(String) }
|
3682
3772
|
attr_reader :usage_intent
|
3773
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3774
|
+
sig { returns(T::Boolean) }
|
3775
|
+
attr_reader :livemode
|
3683
3776
|
end
|
3684
3777
|
end
|
3685
3778
|
end
|
@@ -3732,6 +3825,9 @@ module Stripe
|
|
3732
3825
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
3733
3826
|
sig { returns(String) }
|
3734
3827
|
attr_reader :object
|
3828
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3829
|
+
sig { returns(T::Boolean) }
|
3830
|
+
attr_reader :livemode
|
3735
3831
|
end
|
3736
3832
|
end
|
3737
3833
|
end
|
@@ -3741,7 +3837,7 @@ module Stripe
|
|
3741
3837
|
module V2
|
3742
3838
|
module Core
|
3743
3839
|
module Vault
|
3744
|
-
# Use the
|
3840
|
+
# Use the GBBankAccounts API to create and manage GB bank account objects
|
3745
3841
|
class GbBankAccount < APIResource
|
3746
3842
|
class ConfirmationOfPayee < Stripe::StripeObject
|
3747
3843
|
class Result < Stripe::StripeObject
|
@@ -3803,7 +3899,7 @@ module Stripe
|
|
3803
3899
|
# Creation time.
|
3804
3900
|
sig { returns(String) }
|
3805
3901
|
attr_reader :created
|
3806
|
-
# The ID of the
|
3902
|
+
# The ID of the GBBankAccount object.
|
3807
3903
|
sig { returns(String) }
|
3808
3904
|
attr_reader :id
|
3809
3905
|
# The last 4 digits of the account number or IBAN.
|
@@ -3815,6 +3911,9 @@ module Stripe
|
|
3815
3911
|
# The Sort Code of the bank account.
|
3816
3912
|
sig { returns(String) }
|
3817
3913
|
attr_reader :sort_code
|
3914
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3915
|
+
sig { returns(T::Boolean) }
|
3916
|
+
attr_reader :livemode
|
3818
3917
|
end
|
3819
3918
|
end
|
3820
3919
|
end
|
@@ -3825,9 +3924,9 @@ module Stripe
|
|
3825
3924
|
module V2
|
3826
3925
|
module Core
|
3827
3926
|
module Vault
|
3828
|
-
# Use the
|
3927
|
+
# 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.
|
3829
3928
|
class UsBankAccount < APIResource
|
3830
|
-
# Whether this
|
3929
|
+
# Whether this USBankAccount object was archived.
|
3831
3930
|
sig { returns(T::Boolean) }
|
3832
3931
|
attr_reader :archived
|
3833
3932
|
# Closed Enum. The type of bank account (checking or savings).
|
@@ -3842,7 +3941,7 @@ module Stripe
|
|
3842
3941
|
# The fedwire routing number of the bank account.
|
3843
3942
|
sig { returns(T.nilable(String)) }
|
3844
3943
|
attr_reader :fedwire_routing_number
|
3845
|
-
# The ID of the
|
3944
|
+
# The ID of the USBankAccount object.
|
3846
3945
|
sig { returns(String) }
|
3847
3946
|
attr_reader :id
|
3848
3947
|
# The last 4 digits of the account number.
|
@@ -3854,6 +3953,9 @@ module Stripe
|
|
3854
3953
|
# The ACH routing number of the bank account.
|
3855
3954
|
sig { returns(T.nilable(String)) }
|
3856
3955
|
attr_reader :routing_number
|
3956
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3957
|
+
sig { returns(T::Boolean) }
|
3958
|
+
attr_reader :livemode
|
3857
3959
|
end
|
3858
3960
|
end
|
3859
3961
|
end
|
@@ -4008,6 +4110,9 @@ module Stripe
|
|
4008
4110
|
# Open Enum. The type of flow that caused the ReceivedCredit.
|
4009
4111
|
sig { returns(String) }
|
4010
4112
|
attr_reader :type
|
4113
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
4114
|
+
sig { returns(T::Boolean) }
|
4115
|
+
attr_reader :livemode
|
4011
4116
|
# This object stores details about the originating Stripe transaction that resulted in the ReceivedCredit. Present if `type` field value is `balance_transfer`.
|
4012
4117
|
sig { returns(T.nilable(BalanceTransfer)) }
|
4013
4118
|
attr_reader :balance_transfer
|
@@ -4138,6 +4243,9 @@ module Stripe
|
|
4138
4243
|
# Open Enum. The type of the ReceivedDebit.
|
4139
4244
|
sig { returns(String) }
|
4140
4245
|
attr_reader :type
|
4246
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
4247
|
+
sig { returns(T::Boolean) }
|
4248
|
+
attr_reader :livemode
|
4141
4249
|
# This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if `type` field value is `bank_transfer`.
|
4142
4250
|
sig { returns(T.nilable(BankTransfer)) }
|
4143
4251
|
attr_reader :bank_transfer
|
@@ -4234,6 +4342,9 @@ module Stripe
|
|
4234
4342
|
# Timestamps for when the Transaction transitioned to a particular status.
|
4235
4343
|
sig { returns(StatusTransitions) }
|
4236
4344
|
attr_reader :status_transitions
|
4345
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
4346
|
+
sig { returns(T::Boolean) }
|
4347
|
+
attr_reader :livemode
|
4237
4348
|
end
|
4238
4349
|
end
|
4239
4350
|
end
|
@@ -4313,6 +4424,9 @@ module Stripe
|
|
4313
4424
|
# Details copied from the transaction that this TransactionEntry belongs to.
|
4314
4425
|
sig { returns(TransactionDetails) }
|
4315
4426
|
attr_reader :transaction_details
|
4427
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
4428
|
+
sig { returns(T::Boolean) }
|
4429
|
+
attr_reader :livemode
|
4316
4430
|
end
|
4317
4431
|
end
|
4318
4432
|
end
|
@@ -5297,7 +5411,7 @@ module Stripe
|
|
5297
5411
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
5298
5412
|
sig { returns(T.nilable(String)) }
|
5299
5413
|
attr_accessor :currency
|
5300
|
-
# The routing number, sort code, or other country-
|
5414
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
5301
5415
|
sig { returns(T.nilable(String)) }
|
5302
5416
|
attr_accessor :routing_number
|
5303
5417
|
sig {
|
@@ -7486,7 +7600,7 @@ module Stripe
|
|
7486
7600
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
7487
7601
|
sig { returns(T.nilable(String)) }
|
7488
7602
|
attr_accessor :currency
|
7489
|
-
# The routing number, sort code, or other country-
|
7603
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
7490
7604
|
sig { returns(T.nilable(String)) }
|
7491
7605
|
attr_accessor :routing_number
|
7492
7606
|
sig {
|
@@ -17604,7 +17718,7 @@ module Stripe
|
|
17604
17718
|
# The lodging category
|
17605
17719
|
sig { returns(T.nilable(String)) }
|
17606
17720
|
attr_accessor :category
|
17607
|
-
#
|
17721
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
17608
17722
|
sig { returns(Integer) }
|
17609
17723
|
attr_accessor :checkin_at
|
17610
17724
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -18424,7 +18538,7 @@ module Stripe
|
|
18424
18538
|
# The lodging category
|
18425
18539
|
sig { returns(T.nilable(String)) }
|
18426
18540
|
attr_accessor :category
|
18427
|
-
#
|
18541
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
18428
18542
|
sig { returns(Integer) }
|
18429
18543
|
attr_accessor :checkin_at
|
18430
18544
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -18791,7 +18905,7 @@ module Stripe
|
|
18791
18905
|
attr_reader :name
|
18792
18906
|
end
|
18793
18907
|
class TaxId < Stripe::StripeObject
|
18794
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
18908
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
18795
18909
|
sig { returns(String) }
|
18796
18910
|
attr_reader :type
|
18797
18911
|
# The value of the tax ID.
|
@@ -18991,7 +19105,7 @@ module Stripe
|
|
18991
19105
|
attr_reader :state
|
18992
19106
|
end
|
18993
19107
|
class TaxId < Stripe::StripeObject
|
18994
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
19108
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
18995
19109
|
sig { returns(String) }
|
18996
19110
|
attr_reader :type
|
18997
19111
|
# The value of the tax ID.
|
@@ -20177,7 +20291,7 @@ module Stripe
|
|
20177
20291
|
# specified on Checkout Sessions in `payment` mode. If blank or `auto`, `pay` is used.
|
20178
20292
|
sig { returns(T.nilable(String)) }
|
20179
20293
|
attr_reader :submit_type
|
20180
|
-
# The ID of the
|
20294
|
+
# The ID of the [Subscription](https://stripe.com/docs/api/subscriptions) for Checkout Sessions in `subscription` mode.
|
20181
20295
|
sig { returns(T.nilable(T.any(String, Stripe::Subscription))) }
|
20182
20296
|
attr_reader :subscription
|
20183
20297
|
# The URL the customer will be directed to after the payment or
|
@@ -22287,6 +22401,9 @@ module Stripe
|
|
22287
22401
|
# A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
22288
22402
|
sig { returns(T.nilable(Integer)) }
|
22289
22403
|
attr_accessor :billing_cycle_anchor
|
22404
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
22405
|
+
sig { returns(T.nilable(String)) }
|
22406
|
+
attr_accessor :billing_mode
|
22290
22407
|
# The tax rates that will apply to any subscription item that does not have
|
22291
22408
|
# `tax_rates` set. Invoices created will have their `default_tax_rates` populated
|
22292
22409
|
# from the subscription.
|
@@ -22331,11 +22448,12 @@ module Stripe
|
|
22331
22448
|
}
|
22332
22449
|
attr_accessor :trial_settings
|
22333
22450
|
sig {
|
22334
|
-
params(application_fee_percent: T.nilable(Float), billing_cycle_anchor: T.nilable(Integer), default_tax_rates: T.nilable(T::Array[String]), description: T.nilable(String), invoice_settings: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::InvoiceSettings), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::TransferData), trial_end: T.nilable(Integer), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::TrialSettings)).void
|
22451
|
+
params(application_fee_percent: T.nilable(Float), billing_cycle_anchor: T.nilable(Integer), billing_mode: T.nilable(String), default_tax_rates: T.nilable(T::Array[String]), description: T.nilable(String), invoice_settings: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::InvoiceSettings), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::TransferData), trial_end: T.nilable(Integer), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Checkout::Session::CreateParams::SubscriptionData::TrialSettings)).void
|
22335
22452
|
}
|
22336
22453
|
def initialize(
|
22337
22454
|
application_fee_percent: nil,
|
22338
22455
|
billing_cycle_anchor: nil,
|
22456
|
+
billing_mode: nil,
|
22339
22457
|
default_tax_rates: nil,
|
22340
22458
|
description: nil,
|
22341
22459
|
invoice_settings: nil,
|
@@ -23491,6 +23609,9 @@ module Stripe
|
|
23491
23609
|
end
|
23492
23610
|
class PaymentMethodPreview < Stripe::StripeObject
|
23493
23611
|
class AcssDebit < Stripe::StripeObject
|
23612
|
+
# Account number of the bank account.
|
23613
|
+
sig { returns(T.nilable(String)) }
|
23614
|
+
attr_reader :account_number
|
23494
23615
|
# Name of the bank associated with the bank account.
|
23495
23616
|
sig { returns(T.nilable(String)) }
|
23496
23617
|
attr_reader :bank_name
|
@@ -25400,7 +25521,7 @@ module Stripe
|
|
25400
25521
|
}
|
25401
25522
|
def initialize(plan: nil); end
|
25402
25523
|
end
|
25403
|
-
# Installment configuration for payments
|
25524
|
+
# Installment configuration for payments confirmed using this ConfirmationToken.
|
25404
25525
|
sig {
|
25405
25526
|
returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodOptions::Card::Installments))
|
25406
25527
|
}
|
@@ -25410,7 +25531,7 @@ module Stripe
|
|
25410
25531
|
}
|
25411
25532
|
def initialize(installments: nil); end
|
25412
25533
|
end
|
25413
|
-
#
|
25534
|
+
# Configuration for any card payments confirmed using this ConfirmationToken.
|
25414
25535
|
sig {
|
25415
25536
|
returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodOptions::Card))
|
25416
25537
|
}
|
@@ -25475,7 +25596,7 @@ module Stripe
|
|
25475
25596
|
# If provided, this hash will be used to create a PaymentMethod.
|
25476
25597
|
sig { returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodData)) }
|
25477
25598
|
attr_accessor :payment_method_data
|
25478
|
-
#
|
25599
|
+
# Payment-method-specific configuration for this ConfirmationToken.
|
25479
25600
|
sig { returns(T.nilable(::Stripe::ConfirmationToken::CreateParams::PaymentMethodOptions)) }
|
25480
25601
|
attr_accessor :payment_method_options
|
25481
25602
|
# Return URL used to confirm the Intent.
|
@@ -27429,7 +27550,7 @@ module Stripe
|
|
27429
27550
|
def initialize(ip_address: nil, validate_location: nil); end
|
27430
27551
|
end
|
27431
27552
|
class TaxIdDatum < Stripe::RequestParams
|
27432
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
27553
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
27433
27554
|
sig { returns(String) }
|
27434
27555
|
attr_accessor :type
|
27435
27556
|
# Value of the tax ID.
|
@@ -27533,7 +27654,7 @@ module Stripe
|
|
27533
27654
|
); end
|
27534
27655
|
end
|
27535
27656
|
class ListPaymentMethodsParams < Stripe::RequestParams
|
27536
|
-
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
27657
|
+
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
27537
27658
|
sig { returns(T.nilable(String)) }
|
27538
27659
|
attr_accessor :allow_redisplay
|
27539
27660
|
# 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.
|
@@ -32923,7 +33044,7 @@ module Stripe
|
|
32923
33044
|
attr_reader :tracking_number
|
32924
33045
|
end
|
32925
33046
|
class CustomerTaxId < Stripe::StripeObject
|
32926
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
33047
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
32927
33048
|
sig { returns(String) }
|
32928
33049
|
attr_reader :type
|
32929
33050
|
# The value of the tax ID.
|
@@ -35904,7 +36025,7 @@ module Stripe
|
|
35904
36025
|
def initialize(ip_address: nil); end
|
35905
36026
|
end
|
35906
36027
|
class TaxId < Stripe::RequestParams
|
35907
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
36028
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
35908
36029
|
sig { returns(String) }
|
35909
36030
|
attr_accessor :type
|
35910
36031
|
# Value of the tax ID.
|
@@ -37233,6 +37354,9 @@ module Stripe
|
|
37233
37354
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
37234
37355
|
sig { returns(T.nilable(String)) }
|
37235
37356
|
attr_accessor :billing_behavior
|
37357
|
+
# Configure billing_mode to opt in improved credit proration behavior.When the schedule creates a subscription, the subscription's `billing_mode` will be set to the same value as the schedule's `billing_mode`.
|
37358
|
+
sig { returns(T.nilable(String)) }
|
37359
|
+
attr_accessor :billing_mode
|
37236
37360
|
# Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
37237
37361
|
sig { returns(T.nilable(String)) }
|
37238
37362
|
attr_accessor :end_behavior
|
@@ -37250,11 +37374,12 @@ module Stripe
|
|
37250
37374
|
sig { returns(T.nilable(String)) }
|
37251
37375
|
attr_accessor :proration_behavior
|
37252
37376
|
sig {
|
37253
|
-
params(amendments: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Amendment]), billing_behavior: T.nilable(String), end_behavior: T.nilable(String), phases: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Phase]), prebilling: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling]))), proration_behavior: T.nilable(String)).void
|
37377
|
+
params(amendments: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Amendment]), billing_behavior: T.nilable(String), billing_mode: T.nilable(String), end_behavior: T.nilable(String), phases: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Phase]), prebilling: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::Invoice::CreatePreviewParams::ScheduleDetails::Prebilling]))), proration_behavior: T.nilable(String)).void
|
37254
37378
|
}
|
37255
37379
|
def initialize(
|
37256
37380
|
amendments: nil,
|
37257
37381
|
billing_behavior: nil,
|
37382
|
+
billing_mode: nil,
|
37258
37383
|
end_behavior: nil,
|
37259
37384
|
phases: nil,
|
37260
37385
|
prebilling: nil,
|
@@ -37413,6 +37538,9 @@ module Stripe
|
|
37413
37538
|
# For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.
|
37414
37539
|
sig { returns(T.nilable(T.any(String, Integer))) }
|
37415
37540
|
attr_accessor :billing_cycle_anchor
|
37541
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
37542
|
+
sig { returns(T.nilable(String)) }
|
37543
|
+
attr_accessor :billing_mode
|
37416
37544
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
37417
37545
|
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
37418
37546
|
attr_accessor :cancel_at
|
@@ -37451,10 +37579,11 @@ module Stripe
|
|
37451
37579
|
sig { returns(T.nilable(T.any(String, Integer))) }
|
37452
37580
|
attr_accessor :trial_end
|
37453
37581
|
sig {
|
37454
|
-
params(billing_cycle_anchor: T.nilable(T.any(String, Integer)), cancel_at: T.nilable(T.nilable(T.any(String, Integer))), cancel_at_period_end: T.nilable(T::Boolean), cancel_now: T.nilable(T::Boolean), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), items: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::SubscriptionDetails::Item]), prebilling: T.nilable(::Stripe::Invoice::CreatePreviewParams::SubscriptionDetails::Prebilling), proration_behavior: T.nilable(String), proration_date: T.nilable(Integer), resume_at: T.nilable(String), start_date: T.nilable(Integer), trial_end: T.nilable(T.any(String, Integer))).void
|
37582
|
+
params(billing_cycle_anchor: T.nilable(T.any(String, Integer)), billing_mode: T.nilable(String), cancel_at: T.nilable(T.nilable(T.any(String, Integer))), cancel_at_period_end: T.nilable(T::Boolean), cancel_now: T.nilable(T::Boolean), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), items: T.nilable(T::Array[::Stripe::Invoice::CreatePreviewParams::SubscriptionDetails::Item]), prebilling: T.nilable(::Stripe::Invoice::CreatePreviewParams::SubscriptionDetails::Prebilling), proration_behavior: T.nilable(String), proration_date: T.nilable(Integer), resume_at: T.nilable(String), start_date: T.nilable(Integer), trial_end: T.nilable(T.any(String, Integer))).void
|
37455
37583
|
}
|
37456
37584
|
def initialize(
|
37457
37585
|
billing_cycle_anchor: nil,
|
37586
|
+
billing_mode: nil,
|
37458
37587
|
cancel_at: nil,
|
37459
37588
|
cancel_at_period_end: nil,
|
37460
37589
|
cancel_now: nil,
|
@@ -44872,7 +45001,7 @@ module Stripe
|
|
44872
45001
|
sig { returns(T.nilable(ProrationDetails)) }
|
44873
45002
|
attr_reader :proration_details
|
44874
45003
|
# The subscription that the subscription item belongs to
|
44875
|
-
sig { returns(String) }
|
45004
|
+
sig { returns(T.nilable(String)) }
|
44876
45005
|
attr_reader :subscription
|
44877
45006
|
# The subscription item that generated this line item
|
44878
45007
|
sig { returns(String) }
|
@@ -46182,7 +46311,7 @@ module Stripe
|
|
46182
46311
|
end
|
46183
46312
|
class TaxDetails < Stripe::StripeObject
|
46184
46313
|
class TaxId < Stripe::StripeObject
|
46185
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
46314
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
46186
46315
|
sig { returns(String) }
|
46187
46316
|
attr_reader :type
|
46188
46317
|
# The value of the tax ID.
|
@@ -47383,7 +47512,7 @@ module Stripe
|
|
47383
47512
|
end
|
47384
47513
|
class TaxDetails < Stripe::RequestParams
|
47385
47514
|
class TaxId < Stripe::RequestParams
|
47386
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
47515
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
47387
47516
|
sig { returns(String) }
|
47388
47517
|
attr_accessor :type
|
47389
47518
|
# Value of the tax ID.
|
@@ -48514,7 +48643,7 @@ module Stripe
|
|
48514
48643
|
end
|
48515
48644
|
class TaxDetails < Stripe::RequestParams
|
48516
48645
|
class TaxId < Stripe::RequestParams
|
48517
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
48646
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
48518
48647
|
sig { returns(String) }
|
48519
48648
|
attr_accessor :type
|
48520
48649
|
# Value of the tax ID.
|
@@ -53335,7 +53464,7 @@ module Stripe
|
|
53335
53464
|
# The lodging category
|
53336
53465
|
sig { returns(T.nilable(String)) }
|
53337
53466
|
attr_accessor :category
|
53338
|
-
#
|
53467
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
53339
53468
|
sig { returns(Integer) }
|
53340
53469
|
attr_accessor :checkin_at
|
53341
53470
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -57039,7 +57168,7 @@ module Stripe
|
|
57039
57168
|
# The lodging category
|
57040
57169
|
sig { returns(T.nilable(String)) }
|
57041
57170
|
attr_accessor :category
|
57042
|
-
#
|
57171
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
57043
57172
|
sig { returns(Integer) }
|
57044
57173
|
attr_accessor :checkin_at
|
57045
57174
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -60691,7 +60820,7 @@ module Stripe
|
|
60691
60820
|
# The lodging category
|
60692
60821
|
sig { returns(T.nilable(String)) }
|
60693
60822
|
attr_accessor :category
|
60694
|
-
#
|
60823
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
60695
60824
|
sig { returns(Integer) }
|
60696
60825
|
attr_accessor :checkin_at
|
60697
60826
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -61536,7 +61665,7 @@ module Stripe
|
|
61536
61665
|
# The lodging category
|
61537
61666
|
sig { returns(T.nilable(String)) }
|
61538
61667
|
attr_accessor :category
|
61539
|
-
#
|
61668
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
61540
61669
|
sig { returns(Integer) }
|
61541
61670
|
attr_accessor :checkin_at
|
61542
61671
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -66948,6 +67077,9 @@ module Stripe
|
|
66948
67077
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
66949
67078
|
class PaymentMethod < APIResource
|
66950
67079
|
class AcssDebit < Stripe::StripeObject
|
67080
|
+
# Account number of the bank account.
|
67081
|
+
sig { returns(T.nilable(String)) }
|
67082
|
+
attr_reader :account_number
|
66951
67083
|
# Name of the bank associated with the bank account.
|
66952
67084
|
sig { returns(T.nilable(String)) }
|
66953
67085
|
attr_reader :bank_name
|
@@ -76433,6 +76565,35 @@ module Stripe
|
|
76433
76565
|
# Redaction Jobs store the status of a redaction request. They are created
|
76434
76566
|
# when a redaction request is made and track the redaction validation and execution.
|
76435
76567
|
class RedactionJob < APIResource
|
76568
|
+
class Objects < Stripe::StripeObject
|
76569
|
+
# Attribute for field charges
|
76570
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76571
|
+
attr_reader :charges
|
76572
|
+
# Attribute for field checkout_sessions
|
76573
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76574
|
+
attr_reader :checkout_sessions
|
76575
|
+
# Attribute for field customers
|
76576
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76577
|
+
attr_reader :customers
|
76578
|
+
# Attribute for field identity_verification_sessions
|
76579
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76580
|
+
attr_reader :identity_verification_sessions
|
76581
|
+
# Attribute for field invoices
|
76582
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76583
|
+
attr_reader :invoices
|
76584
|
+
# Attribute for field issuing_cardholders
|
76585
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76586
|
+
attr_reader :issuing_cardholders
|
76587
|
+
# Attribute for field payment_intents
|
76588
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76589
|
+
attr_reader :payment_intents
|
76590
|
+
# Attribute for field radar_value_list_items
|
76591
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76592
|
+
attr_reader :radar_value_list_items
|
76593
|
+
# Attribute for field setup_intents
|
76594
|
+
sig { returns(T.nilable(T::Array[String])) }
|
76595
|
+
attr_reader :setup_intents
|
76596
|
+
end
|
76436
76597
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
76437
76598
|
sig { returns(Integer) }
|
76438
76599
|
attr_reader :created
|
@@ -76443,7 +76604,7 @@ module Stripe
|
|
76443
76604
|
sig { returns(String) }
|
76444
76605
|
attr_reader :object
|
76445
76606
|
# The objects at the root level that are subject to redaction.
|
76446
|
-
sig { returns(T.nilable(
|
76607
|
+
sig { returns(T.nilable(Objects)) }
|
76447
76608
|
attr_reader :objects
|
76448
76609
|
# The status field represents the current state of the redaction job. It can take on any of the following values: VALIDATING, READY, REDACTING, SUCCEEDED, CANCELED, FAILED.
|
76449
76610
|
sig { returns(String) }
|
@@ -76633,44 +76794,6 @@ module Stripe
|
|
76633
76794
|
end
|
76634
76795
|
end
|
76635
76796
|
# typed: true
|
76636
|
-
module Stripe
|
76637
|
-
module Privacy
|
76638
|
-
# The objects to redact, grouped by type. All redactable objects associated with these objects will be redacted as well.
|
76639
|
-
class RedactionJobRootObjects < APIResource
|
76640
|
-
# Attribute for field charges
|
76641
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76642
|
-
attr_reader :charges
|
76643
|
-
# Attribute for field checkout_sessions
|
76644
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76645
|
-
attr_reader :checkout_sessions
|
76646
|
-
# Attribute for field customers
|
76647
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76648
|
-
attr_reader :customers
|
76649
|
-
# Attribute for field identity_verification_sessions
|
76650
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76651
|
-
attr_reader :identity_verification_sessions
|
76652
|
-
# Attribute for field invoices
|
76653
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76654
|
-
attr_reader :invoices
|
76655
|
-
# Attribute for field issuing_cardholders
|
76656
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76657
|
-
attr_reader :issuing_cardholders
|
76658
|
-
# String representing the object's type. Objects of the same type share the same value.
|
76659
|
-
sig { returns(String) }
|
76660
|
-
attr_reader :object
|
76661
|
-
# Attribute for field payment_intents
|
76662
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76663
|
-
attr_reader :payment_intents
|
76664
|
-
# Attribute for field radar_value_list_items
|
76665
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76666
|
-
attr_reader :radar_value_list_items
|
76667
|
-
# Attribute for field setup_intents
|
76668
|
-
sig { returns(T.nilable(T::Array[String])) }
|
76669
|
-
attr_reader :setup_intents
|
76670
|
-
end
|
76671
|
-
end
|
76672
|
-
end
|
76673
|
-
# typed: true
|
76674
76797
|
module Stripe
|
76675
76798
|
module Privacy
|
76676
76799
|
# Validation errors
|
@@ -77982,6 +78105,9 @@ module Stripe
|
|
77982
78105
|
# Whether the subscription will always start a new billing period when the quote is accepted.
|
77983
78106
|
sig { returns(T.nilable(String)) }
|
77984
78107
|
attr_reader :billing_cycle_anchor
|
78108
|
+
# The [billing mode](/api/subscriptions/create#create_subscription-billing_mode) that will be set on the subscription once the quote is accepted.
|
78109
|
+
sig { returns(String) }
|
78110
|
+
attr_reader :billing_mode
|
77985
78111
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
77986
78112
|
sig { returns(T.nilable(String)) }
|
77987
78113
|
attr_reader :description
|
@@ -79153,6 +79279,9 @@ module Stripe
|
|
79153
79279
|
# When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.
|
79154
79280
|
sig { returns(T.nilable(T.nilable(String))) }
|
79155
79281
|
attr_accessor :billing_cycle_anchor
|
79282
|
+
# Configure billing_mode to opt in improved credit proration behavior.Once a quote that creates a subscription or subscription schedule is accepted,all future operations on the subscription or subscription schedule will be processed based on this billing_mode.
|
79283
|
+
sig { returns(T.nilable(String)) }
|
79284
|
+
attr_accessor :billing_mode
|
79156
79285
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
79157
79286
|
sig { returns(T.nilable(String)) }
|
79158
79287
|
attr_accessor :description
|
@@ -79186,12 +79315,13 @@ module Stripe
|
|
79186
79315
|
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
79187
79316
|
attr_accessor :trial_period_days
|
79188
79317
|
sig {
|
79189
|
-
params(bill_on_acceptance: T.nilable(::Stripe::Quote::CreateParams::SubscriptionData::BillOnAcceptance), billing_behavior: T.nilable(String), billing_cycle_anchor: T.nilable(T.nilable(String)), description: T.nilable(String), effective_date: T.nilable(T.nilable(T.any(String, T.any(String, Integer)))), end_behavior: T.nilable(String), from_subscription: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), prebilling: T.nilable(T.nilable(T.any(String, ::Stripe::Quote::CreateParams::SubscriptionData::Prebilling))), proration_behavior: T.nilable(String), trial_period_days: T.nilable(T.nilable(T.any(String, Integer)))).void
|
79318
|
+
params(bill_on_acceptance: T.nilable(::Stripe::Quote::CreateParams::SubscriptionData::BillOnAcceptance), billing_behavior: T.nilable(String), billing_cycle_anchor: T.nilable(T.nilable(String)), billing_mode: T.nilable(String), description: T.nilable(String), effective_date: T.nilable(T.nilable(T.any(String, T.any(String, Integer)))), end_behavior: T.nilable(String), from_subscription: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), prebilling: T.nilable(T.nilable(T.any(String, ::Stripe::Quote::CreateParams::SubscriptionData::Prebilling))), proration_behavior: T.nilable(String), trial_period_days: T.nilable(T.nilable(T.any(String, Integer)))).void
|
79190
79319
|
}
|
79191
79320
|
def initialize(
|
79192
79321
|
bill_on_acceptance: nil,
|
79193
79322
|
billing_behavior: nil,
|
79194
79323
|
billing_cycle_anchor: nil,
|
79324
|
+
billing_mode: nil,
|
79195
79325
|
description: nil,
|
79196
79326
|
effective_date: nil,
|
79197
79327
|
end_behavior: nil,
|
@@ -81376,7 +81506,7 @@ module Stripe
|
|
81376
81506
|
attr_reader :tracking_number
|
81377
81507
|
end
|
81378
81508
|
class CustomerTaxId < Stripe::StripeObject
|
81379
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
81509
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
81380
81510
|
sig { returns(String) }
|
81381
81511
|
attr_reader :type
|
81382
81512
|
# The value of the tax ID.
|
@@ -82443,6 +82573,9 @@ module Stripe
|
|
82443
82573
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
82444
82574
|
sig { returns(String) }
|
82445
82575
|
attr_reader :billing_behavior
|
82576
|
+
# The [billing mode](/api/subscriptions/create#create_subscription-billing_mode) that will be used to process all future operations for the subscription schedule.
|
82577
|
+
sig { returns(String) }
|
82578
|
+
attr_reader :billing_mode
|
82446
82579
|
# Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
|
82447
82580
|
sig { returns(T.nilable(Integer)) }
|
82448
82581
|
attr_reader :canceled_at
|
@@ -91236,6 +91369,9 @@ module Stripe
|
|
91236
91369
|
# The fixed values used to calculate the `billing_cycle_anchor`.
|
91237
91370
|
sig { returns(T.nilable(BillingCycleAnchorConfig)) }
|
91238
91371
|
attr_reader :billing_cycle_anchor_config
|
91372
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
91373
|
+
sig { returns(String) }
|
91374
|
+
attr_reader :billing_mode
|
91239
91375
|
# A date in the future at which the subscription will automatically get canceled
|
91240
91376
|
sig { returns(T.nilable(Integer)) }
|
91241
91377
|
attr_reader :cancel_at
|
@@ -92938,6 +93074,9 @@ module Stripe
|
|
92938
93074
|
# Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurence of the day_of_month at the hour, minute, and second UTC.
|
92939
93075
|
sig { returns(T.nilable(::Stripe::Subscription::CreateParams::BillingCycleAnchorConfig)) }
|
92940
93076
|
attr_accessor :billing_cycle_anchor_config
|
93077
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
93078
|
+
sig { returns(T.nilable(String)) }
|
93079
|
+
attr_accessor :billing_mode
|
92941
93080
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
92942
93081
|
sig { returns(T.nilable(Integer)) }
|
92943
93082
|
attr_accessor :cancel_at
|
@@ -93037,7 +93176,7 @@ module Stripe
|
|
93037
93176
|
sig { returns(T.nilable(::Stripe::Subscription::CreateParams::TrialSettings)) }
|
93038
93177
|
attr_accessor :trial_settings
|
93039
93178
|
sig {
|
93040
|
-
params(add_invoice_items: T.nilable(T::Array[::Stripe::Subscription::CreateParams::AddInvoiceItem]), application_fee_percent: T.nilable(T.nilable(T.any(String, Float))), automatic_tax: T.nilable(::Stripe::Subscription::CreateParams::AutomaticTax), backdate_start_date: T.nilable(Integer), billing_cycle_anchor: T.nilable(Integer), billing_cycle_anchor_config: T.nilable(::Stripe::Subscription::CreateParams::BillingCycleAnchorConfig), cancel_at: T.nilable(Integer), cancel_at_period_end: T.nilable(T::Boolean), collection_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), days_until_due: T.nilable(Integer), default_payment_method: T.nilable(String), default_source: T.nilable(String), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), description: T.nilable(String), discounts: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::Subscription::CreateParams::Discount]))), expand: T.nilable(T::Array[String]), invoice_settings: T.nilable(::Stripe::Subscription::CreateParams::InvoiceSettings), items: T.nilable(T::Array[::Stripe::Subscription::CreateParams::Item]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), off_session: T.nilable(T::Boolean), on_behalf_of: T.nilable(T.nilable(String)), payment_behavior: T.nilable(String), payment_settings: T.nilable(::Stripe::Subscription::CreateParams::PaymentSettings), pending_invoice_item_interval: T.nilable(T.nilable(T.any(String, ::Stripe::Subscription::CreateParams::PendingInvoiceItemInterval))), prebilling: T.nilable(::Stripe::Subscription::CreateParams::Prebilling), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Subscription::CreateParams::TransferData), trial_end: T.nilable(T.any(String, Integer)), trial_from_plan: T.nilable(T::Boolean), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Subscription::CreateParams::TrialSettings)).void
|
93179
|
+
params(add_invoice_items: T.nilable(T::Array[::Stripe::Subscription::CreateParams::AddInvoiceItem]), application_fee_percent: T.nilable(T.nilable(T.any(String, Float))), automatic_tax: T.nilable(::Stripe::Subscription::CreateParams::AutomaticTax), backdate_start_date: T.nilable(Integer), billing_cycle_anchor: T.nilable(Integer), billing_cycle_anchor_config: T.nilable(::Stripe::Subscription::CreateParams::BillingCycleAnchorConfig), billing_mode: T.nilable(String), cancel_at: T.nilable(Integer), cancel_at_period_end: T.nilable(T::Boolean), collection_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), days_until_due: T.nilable(Integer), default_payment_method: T.nilable(String), default_source: T.nilable(String), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), description: T.nilable(String), discounts: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::Subscription::CreateParams::Discount]))), expand: T.nilable(T::Array[String]), invoice_settings: T.nilable(::Stripe::Subscription::CreateParams::InvoiceSettings), items: T.nilable(T::Array[::Stripe::Subscription::CreateParams::Item]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), off_session: T.nilable(T::Boolean), on_behalf_of: T.nilable(T.nilable(String)), payment_behavior: T.nilable(String), payment_settings: T.nilable(::Stripe::Subscription::CreateParams::PaymentSettings), pending_invoice_item_interval: T.nilable(T.nilable(T.any(String, ::Stripe::Subscription::CreateParams::PendingInvoiceItemInterval))), prebilling: T.nilable(::Stripe::Subscription::CreateParams::Prebilling), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Subscription::CreateParams::TransferData), trial_end: T.nilable(T.any(String, Integer)), trial_from_plan: T.nilable(T::Boolean), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Subscription::CreateParams::TrialSettings)).void
|
93041
93180
|
}
|
93042
93181
|
def initialize(
|
93043
93182
|
add_invoice_items: nil,
|
@@ -93046,6 +93185,7 @@ module Stripe
|
|
93046
93185
|
backdate_start_date: nil,
|
93047
93186
|
billing_cycle_anchor: nil,
|
93048
93187
|
billing_cycle_anchor_config: nil,
|
93188
|
+
billing_mode: nil,
|
93049
93189
|
cancel_at: nil,
|
93050
93190
|
cancel_at_period_end: nil,
|
93051
93191
|
collection_method: nil,
|
@@ -93119,7 +93259,7 @@ module Stripe
|
|
93119
93259
|
end
|
93120
93260
|
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, you can no longer update the subscription or its [metadata](https://stripe.com/metadata).
|
93121
93261
|
#
|
93122
|
-
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.
|
93262
|
+
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
|
93123
93263
|
#
|
93124
93264
|
# By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
|
93125
93265
|
sig {
|
@@ -93129,7 +93269,7 @@ module Stripe
|
|
93129
93269
|
|
93130
93270
|
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, you can no longer update the subscription or its [metadata](https://stripe.com/metadata).
|
93131
93271
|
#
|
93132
|
-
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.
|
93272
|
+
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
|
93133
93273
|
#
|
93134
93274
|
# By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
|
93135
93275
|
sig {
|
@@ -94036,6 +94176,9 @@ module Stripe
|
|
94036
94176
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
94037
94177
|
sig { returns(String) }
|
94038
94178
|
attr_reader :billing_behavior
|
94179
|
+
# The [billing mode](/api/subscriptions/create#create_subscription-billing_mode) that will be used to process all future operations for the subscription schedule.
|
94180
|
+
sig { returns(String) }
|
94181
|
+
attr_reader :billing_mode
|
94039
94182
|
# Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.
|
94040
94183
|
sig { returns(T.nilable(Integer)) }
|
94041
94184
|
attr_reader :canceled_at
|
@@ -94847,6 +94990,9 @@ module Stripe
|
|
94847
94990
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
94848
94991
|
sig { returns(T.nilable(String)) }
|
94849
94992
|
attr_accessor :billing_behavior
|
94993
|
+
# Configure billing_mode to opt in improved credit proration behavior.When the schedule creates a subscription, the subscription's `billing_mode` will be set to the same value as the schedule's `billing_mode`.
|
94994
|
+
sig { returns(T.nilable(String)) }
|
94995
|
+
attr_accessor :billing_mode
|
94850
94996
|
# The identifier of the customer to create the subscription schedule for.
|
94851
94997
|
sig { returns(T.nilable(String)) }
|
94852
94998
|
attr_accessor :customer
|
@@ -94878,10 +95024,11 @@ module Stripe
|
|
94878
95024
|
sig { returns(T.nilable(T.any(Integer, String))) }
|
94879
95025
|
attr_accessor :start_date
|
94880
95026
|
sig {
|
94881
|
-
params(billing_behavior: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), default_settings: T.nilable(::Stripe::SubscriptionSchedule::CreateParams::DefaultSettings), end_behavior: T.nilable(String), expand: T.nilable(T::Array[String]), from_subscription: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phases: T.nilable(T::Array[::Stripe::SubscriptionSchedule::CreateParams::Phase]), prebilling: T.nilable(::Stripe::SubscriptionSchedule::CreateParams::Prebilling), start_date: T.nilable(T.any(Integer, String))).void
|
95027
|
+
params(billing_behavior: T.nilable(String), billing_mode: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), default_settings: T.nilable(::Stripe::SubscriptionSchedule::CreateParams::DefaultSettings), end_behavior: T.nilable(String), expand: T.nilable(T::Array[String]), from_subscription: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phases: T.nilable(T::Array[::Stripe::SubscriptionSchedule::CreateParams::Phase]), prebilling: T.nilable(::Stripe::SubscriptionSchedule::CreateParams::Prebilling), start_date: T.nilable(T.any(Integer, String))).void
|
94882
95028
|
}
|
94883
95029
|
def initialize(
|
94884
95030
|
billing_behavior: nil,
|
95031
|
+
billing_mode: nil,
|
94885
95032
|
customer: nil,
|
94886
95033
|
customer_account: nil,
|
94887
95034
|
default_settings: nil,
|
@@ -96383,7 +96530,7 @@ module Stripe
|
|
96383
96530
|
attr_reader :state
|
96384
96531
|
end
|
96385
96532
|
class TaxId < Stripe::StripeObject
|
96386
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
96533
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
96387
96534
|
sig { returns(String) }
|
96388
96535
|
attr_reader :type
|
96389
96536
|
# The value of the tax ID.
|
@@ -96638,7 +96785,7 @@ module Stripe
|
|
96638
96785
|
); end
|
96639
96786
|
end
|
96640
96787
|
class TaxId < Stripe::RequestParams
|
96641
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
96788
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
96642
96789
|
sig { returns(String) }
|
96643
96790
|
attr_accessor :type
|
96644
96791
|
# Value of the tax ID.
|
@@ -97212,6 +97359,11 @@ module Stripe
|
|
97212
97359
|
sig { returns(String) }
|
97213
97360
|
attr_reader :type
|
97214
97361
|
end
|
97362
|
+
class Bf < Stripe::StripeObject
|
97363
|
+
# Type of registration in `country`.
|
97364
|
+
sig { returns(String) }
|
97365
|
+
attr_reader :type
|
97366
|
+
end
|
97215
97367
|
class Bg < Stripe::StripeObject
|
97216
97368
|
class Standard < Stripe::StripeObject
|
97217
97369
|
# Place of supply scheme used in an EU standard registration.
|
@@ -97273,6 +97425,11 @@ module Stripe
|
|
97273
97425
|
sig { returns(String) }
|
97274
97426
|
attr_reader :type
|
97275
97427
|
end
|
97428
|
+
class Cm < Stripe::StripeObject
|
97429
|
+
# Type of registration in `country`.
|
97430
|
+
sig { returns(String) }
|
97431
|
+
attr_reader :type
|
97432
|
+
end
|
97276
97433
|
class Co < Stripe::StripeObject
|
97277
97434
|
# Type of registration in `country`.
|
97278
97435
|
sig { returns(String) }
|
@@ -97283,6 +97440,11 @@ module Stripe
|
|
97283
97440
|
sig { returns(String) }
|
97284
97441
|
attr_reader :type
|
97285
97442
|
end
|
97443
|
+
class Cv < Stripe::StripeObject
|
97444
|
+
# Type of registration in `country`.
|
97445
|
+
sig { returns(String) }
|
97446
|
+
attr_reader :type
|
97447
|
+
end
|
97286
97448
|
class Cy < Stripe::StripeObject
|
97287
97449
|
class Standard < Stripe::StripeObject
|
97288
97450
|
# Place of supply scheme used in an EU standard registration.
|
@@ -97906,6 +98068,9 @@ module Stripe
|
|
97906
98068
|
# Attribute for field be
|
97907
98069
|
sig { returns(Be) }
|
97908
98070
|
attr_reader :be
|
98071
|
+
# Attribute for field bf
|
98072
|
+
sig { returns(Bf) }
|
98073
|
+
attr_reader :bf
|
97909
98074
|
# Attribute for field bg
|
97910
98075
|
sig { returns(Bg) }
|
97911
98076
|
attr_reader :bg
|
@@ -97933,12 +98098,18 @@ module Stripe
|
|
97933
98098
|
# Attribute for field cl
|
97934
98099
|
sig { returns(Cl) }
|
97935
98100
|
attr_reader :cl
|
98101
|
+
# Attribute for field cm
|
98102
|
+
sig { returns(Cm) }
|
98103
|
+
attr_reader :cm
|
97936
98104
|
# Attribute for field co
|
97937
98105
|
sig { returns(Co) }
|
97938
98106
|
attr_reader :co
|
97939
98107
|
# Attribute for field cr
|
97940
98108
|
sig { returns(Cr) }
|
97941
98109
|
attr_reader :cr
|
98110
|
+
# Attribute for field cv
|
98111
|
+
sig { returns(Cv) }
|
98112
|
+
attr_reader :cv
|
97942
98113
|
# Attribute for field cy
|
97943
98114
|
sig { returns(Cy) }
|
97944
98115
|
attr_reader :cy
|
@@ -98324,6 +98495,13 @@ module Stripe
|
|
98324
98495
|
}
|
98325
98496
|
def initialize(standard: nil, type: nil); end
|
98326
98497
|
end
|
98498
|
+
class Bf < Stripe::RequestParams
|
98499
|
+
# Type of registration to be created in `country`.
|
98500
|
+
sig { returns(String) }
|
98501
|
+
attr_accessor :type
|
98502
|
+
sig { params(type: String).void }
|
98503
|
+
def initialize(type: nil); end
|
98504
|
+
end
|
98327
98505
|
class Bg < Stripe::RequestParams
|
98328
98506
|
class Standard < Stripe::RequestParams
|
98329
98507
|
# Place of supply scheme used in an EU standard registration.
|
@@ -98415,6 +98593,13 @@ module Stripe
|
|
98415
98593
|
sig { params(type: String).void }
|
98416
98594
|
def initialize(type: nil); end
|
98417
98595
|
end
|
98596
|
+
class Cm < Stripe::RequestParams
|
98597
|
+
# Type of registration to be created in `country`.
|
98598
|
+
sig { returns(String) }
|
98599
|
+
attr_accessor :type
|
98600
|
+
sig { params(type: String).void }
|
98601
|
+
def initialize(type: nil); end
|
98602
|
+
end
|
98418
98603
|
class Co < Stripe::RequestParams
|
98419
98604
|
# Type of registration to be created in `country`.
|
98420
98605
|
sig { returns(String) }
|
@@ -98429,6 +98614,13 @@ module Stripe
|
|
98429
98614
|
sig { params(type: String).void }
|
98430
98615
|
def initialize(type: nil); end
|
98431
98616
|
end
|
98617
|
+
class Cv < Stripe::RequestParams
|
98618
|
+
# Type of registration to be created in `country`.
|
98619
|
+
sig { returns(String) }
|
98620
|
+
attr_accessor :type
|
98621
|
+
sig { params(type: String).void }
|
98622
|
+
def initialize(type: nil); end
|
98623
|
+
end
|
98432
98624
|
class Cy < Stripe::RequestParams
|
98433
98625
|
class Standard < Stripe::RequestParams
|
98434
98626
|
# Place of supply scheme used in an EU standard registration.
|
@@ -99366,6 +99558,9 @@ module Stripe
|
|
99366
99558
|
# Options for the registration in BE.
|
99367
99559
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be)) }
|
99368
99560
|
attr_accessor :be
|
99561
|
+
# Options for the registration in BF.
|
99562
|
+
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bf)) }
|
99563
|
+
attr_accessor :bf
|
99369
99564
|
# Options for the registration in BG.
|
99370
99565
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg)) }
|
99371
99566
|
attr_accessor :bg
|
@@ -99393,12 +99588,18 @@ module Stripe
|
|
99393
99588
|
# Options for the registration in CL.
|
99394
99589
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl)) }
|
99395
99590
|
attr_accessor :cl
|
99591
|
+
# Options for the registration in CM.
|
99592
|
+
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cm)) }
|
99593
|
+
attr_accessor :cm
|
99396
99594
|
# Options for the registration in CO.
|
99397
99595
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co)) }
|
99398
99596
|
attr_accessor :co
|
99399
99597
|
# Options for the registration in CR.
|
99400
99598
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr)) }
|
99401
99599
|
attr_accessor :cr
|
99600
|
+
# Options for the registration in CV.
|
99601
|
+
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cv)) }
|
99602
|
+
attr_accessor :cv
|
99402
99603
|
# Options for the registration in CY.
|
99403
99604
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy)) }
|
99404
99605
|
attr_accessor :cy
|
@@ -99616,7 +99817,7 @@ module Stripe
|
|
99616
99817
|
sig { returns(T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)) }
|
99617
99818
|
attr_accessor :zw
|
99618
99819
|
sig {
|
99619
|
-
params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
|
99820
|
+
params(ae: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Be), bf: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bf), bg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cl), cm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cm), co: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cr), cv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cv), cy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::Registration::CreateParams::CountryOptions::Zw)).void
|
99620
99821
|
}
|
99621
99822
|
def initialize(
|
99622
99823
|
ae: nil,
|
@@ -99631,6 +99832,7 @@ module Stripe
|
|
99631
99832
|
bb: nil,
|
99632
99833
|
bd: nil,
|
99633
99834
|
be: nil,
|
99835
|
+
bf: nil,
|
99634
99836
|
bg: nil,
|
99635
99837
|
bh: nil,
|
99636
99838
|
bj: nil,
|
@@ -99640,8 +99842,10 @@ module Stripe
|
|
99640
99842
|
cd: nil,
|
99641
99843
|
ch: nil,
|
99642
99844
|
cl: nil,
|
99845
|
+
cm: nil,
|
99643
99846
|
co: nil,
|
99644
99847
|
cr: nil,
|
99848
|
+
cv: nil,
|
99645
99849
|
cy: nil,
|
99646
99850
|
cz: nil,
|
99647
99851
|
de: nil,
|
@@ -99946,7 +100150,7 @@ module Stripe
|
|
99946
100150
|
attr_reader :state
|
99947
100151
|
end
|
99948
100152
|
class TaxId < Stripe::StripeObject
|
99949
|
-
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
|
100153
|
+
# The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
99950
100154
|
sig { returns(String) }
|
99951
100155
|
attr_reader :type
|
99952
100156
|
# The value of the tax ID.
|
@@ -100436,7 +100640,7 @@ module Stripe
|
|
100436
100640
|
# The account or customer the tax ID belongs to.
|
100437
100641
|
sig { returns(T.nilable(Owner)) }
|
100438
100642
|
attr_reader :owner
|
100439
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
100643
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`
|
100440
100644
|
sig { returns(String) }
|
100441
100645
|
attr_reader :type
|
100442
100646
|
# Value of the tax ID.
|
@@ -100521,7 +100725,7 @@ module Stripe
|
|
100521
100725
|
# The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.
|
100522
100726
|
sig { returns(T.nilable(::Stripe::TaxId::CreateParams::Owner)) }
|
100523
100727
|
attr_accessor :owner
|
100524
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
100728
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
100525
100729
|
sig { returns(String) }
|
100526
100730
|
attr_accessor :type
|
100527
100731
|
# Value of the tax ID.
|
@@ -107317,13 +107521,10 @@ module Stripe
|
|
107317
107521
|
# Billing phone number (including extension).
|
107318
107522
|
sig { returns(T.nilable(T.nilable(String))) }
|
107319
107523
|
attr_accessor :phone
|
107320
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
107321
|
-
sig { returns(T.nilable(String)) }
|
107322
|
-
attr_accessor :tax_id
|
107323
107524
|
sig {
|
107324
|
-
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))
|
107525
|
+
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
|
107325
107526
|
}
|
107326
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil
|
107527
|
+
def initialize(address: nil, email: nil, name: nil, phone: nil); end
|
107327
107528
|
end
|
107328
107529
|
class UsBankAccount < Stripe::RequestParams
|
107329
107530
|
# Account holder type: individual or company.
|
@@ -109388,7 +109589,7 @@ module Stripe
|
|
109388
109589
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
109389
109590
|
sig { returns(T.nilable(String)) }
|
109390
109591
|
attr_accessor :currency
|
109391
|
-
# The routing number, sort code, or other country-
|
109592
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
109392
109593
|
sig { returns(T.nilable(String)) }
|
109393
109594
|
attr_accessor :routing_number
|
109394
109595
|
sig {
|
@@ -111692,7 +111893,7 @@ module Stripe
|
|
111692
111893
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
111693
111894
|
sig { returns(T.nilable(String)) }
|
111694
111895
|
attr_accessor :currency
|
111695
|
-
# The routing number, sort code, or other country-
|
111896
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
111696
111897
|
sig { returns(T.nilable(String)) }
|
111697
111898
|
attr_accessor :routing_number
|
111698
111899
|
sig {
|
@@ -114282,7 +114483,7 @@ module Stripe
|
|
114282
114483
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
114283
114484
|
sig { returns(T.nilable(String)) }
|
114284
114485
|
attr_accessor :currency
|
114285
|
-
# The routing number, sort code, or other country-
|
114486
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
114286
114487
|
sig { returns(T.nilable(String)) }
|
114287
114488
|
attr_accessor :routing_number
|
114288
114489
|
sig {
|
@@ -119570,7 +119771,7 @@ module Stripe
|
|
119570
119771
|
# The lodging category
|
119571
119772
|
sig { returns(T.nilable(String)) }
|
119572
119773
|
attr_accessor :category
|
119573
|
-
#
|
119774
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
119574
119775
|
sig { returns(Integer) }
|
119575
119776
|
attr_accessor :checkin_at
|
119576
119777
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -120394,7 +120595,7 @@ module Stripe
|
|
120394
120595
|
# The lodging category
|
120395
120596
|
sig { returns(T.nilable(String)) }
|
120396
120597
|
attr_accessor :category
|
120397
|
-
#
|
120598
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
120398
120599
|
sig { returns(Integer) }
|
120399
120600
|
attr_accessor :checkin_at
|
120400
120601
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -122772,6 +122973,9 @@ module Stripe
|
|
122772
122973
|
# A future timestamp to anchor the subscription's billing cycle for new subscriptions.
|
122773
122974
|
sig { returns(T.nilable(Integer)) }
|
122774
122975
|
attr_accessor :billing_cycle_anchor
|
122976
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
122977
|
+
sig { returns(T.nilable(String)) }
|
122978
|
+
attr_accessor :billing_mode
|
122775
122979
|
# The tax rates that will apply to any subscription item that does not have
|
122776
122980
|
# `tax_rates` set. Invoices created will have their `default_tax_rates` populated
|
122777
122981
|
# from the subscription.
|
@@ -122816,11 +123020,12 @@ module Stripe
|
|
122816
123020
|
}
|
122817
123021
|
attr_accessor :trial_settings
|
122818
123022
|
sig {
|
122819
|
-
params(application_fee_percent: T.nilable(Float), billing_cycle_anchor: T.nilable(Integer), default_tax_rates: T.nilable(T::Array[String]), description: T.nilable(String), invoice_settings: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TransferData), trial_end: T.nilable(Integer), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings)).void
|
123023
|
+
params(application_fee_percent: T.nilable(Float), billing_cycle_anchor: T.nilable(Integer), billing_mode: T.nilable(String), default_tax_rates: T.nilable(T::Array[String]), description: T.nilable(String), invoice_settings: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::InvoiceSettings), metadata: T.nilable(T::Hash[String, String]), on_behalf_of: T.nilable(String), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TransferData), trial_end: T.nilable(Integer), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::Checkout::SessionService::CreateParams::SubscriptionData::TrialSettings)).void
|
122820
123024
|
}
|
122821
123025
|
def initialize(
|
122822
123026
|
application_fee_percent: nil,
|
122823
123027
|
billing_cycle_anchor: nil,
|
123028
|
+
billing_mode: nil,
|
122824
123029
|
default_tax_rates: nil,
|
122825
123030
|
description: nil,
|
122826
123031
|
invoice_settings: nil,
|
@@ -124633,7 +124838,7 @@ module Stripe
|
|
124633
124838
|
}
|
124634
124839
|
def initialize(plan: nil); end
|
124635
124840
|
end
|
124636
|
-
# Installment configuration for payments
|
124841
|
+
# Installment configuration for payments confirmed using this ConfirmationToken.
|
124637
124842
|
sig {
|
124638
124843
|
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodOptions::Card::Installments))
|
124639
124844
|
}
|
@@ -124643,7 +124848,7 @@ module Stripe
|
|
124643
124848
|
}
|
124644
124849
|
def initialize(installments: nil); end
|
124645
124850
|
end
|
124646
|
-
#
|
124851
|
+
# Configuration for any card payments confirmed using this ConfirmationToken.
|
124647
124852
|
sig {
|
124648
124853
|
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodOptions::Card))
|
124649
124854
|
}
|
@@ -124712,7 +124917,7 @@ module Stripe
|
|
124712
124917
|
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData))
|
124713
124918
|
}
|
124714
124919
|
attr_accessor :payment_method_data
|
124715
|
-
#
|
124920
|
+
# Payment-method-specific configuration for this ConfirmationToken.
|
124716
124921
|
sig {
|
124717
124922
|
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodOptions))
|
124718
124923
|
}
|
@@ -128565,7 +128770,7 @@ module Stripe
|
|
128565
128770
|
def initialize(ip_address: nil, validate_location: nil); end
|
128566
128771
|
end
|
128567
128772
|
class TaxIdDatum < Stripe::RequestParams
|
128568
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
128773
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
128569
128774
|
sig { returns(String) }
|
128570
128775
|
attr_accessor :type
|
128571
128776
|
# Value of the tax ID.
|
@@ -129170,7 +129375,7 @@ module Stripe
|
|
129170
129375
|
# Specifies which fields in the response should be expanded.
|
129171
129376
|
sig { returns(T.nilable(T::Array[String])) }
|
129172
129377
|
attr_accessor :expand
|
129173
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
129378
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
129174
129379
|
sig { returns(String) }
|
129175
129380
|
attr_accessor :type
|
129176
129381
|
# Value of the tax ID.
|
@@ -129208,7 +129413,7 @@ end
|
|
129208
129413
|
module Stripe
|
129209
129414
|
class CustomerPaymentMethodService < StripeService
|
129210
129415
|
class ListParams < Stripe::RequestParams
|
129211
|
-
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
129416
|
+
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
129212
129417
|
sig { returns(T.nilable(String)) }
|
129213
129418
|
attr_accessor :allow_redisplay
|
129214
129419
|
# 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.
|
@@ -134178,7 +134383,7 @@ module Stripe
|
|
134178
134383
|
def initialize(ip_address: nil); end
|
134179
134384
|
end
|
134180
134385
|
class TaxId < Stripe::RequestParams
|
134181
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
134386
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
134182
134387
|
sig { returns(String) }
|
134183
134388
|
attr_accessor :type
|
134184
134389
|
# Value of the tax ID.
|
@@ -135515,6 +135720,9 @@ module Stripe
|
|
135515
135720
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
135516
135721
|
sig { returns(T.nilable(String)) }
|
135517
135722
|
attr_accessor :billing_behavior
|
135723
|
+
# Configure billing_mode to opt in improved credit proration behavior.When the schedule creates a subscription, the subscription's `billing_mode` will be set to the same value as the schedule's `billing_mode`.
|
135724
|
+
sig { returns(T.nilable(String)) }
|
135725
|
+
attr_accessor :billing_mode
|
135518
135726
|
# Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
|
135519
135727
|
sig { returns(T.nilable(String)) }
|
135520
135728
|
attr_accessor :end_behavior
|
@@ -135532,11 +135740,12 @@ module Stripe
|
|
135532
135740
|
sig { returns(T.nilable(String)) }
|
135533
135741
|
attr_accessor :proration_behavior
|
135534
135742
|
sig {
|
135535
|
-
params(amendments: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Amendment]), billing_behavior: T.nilable(String), end_behavior: T.nilable(String), phases: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Phase]), prebilling: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Prebilling]))), proration_behavior: T.nilable(String)).void
|
135743
|
+
params(amendments: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Amendment]), billing_behavior: T.nilable(String), billing_mode: T.nilable(String), end_behavior: T.nilable(String), phases: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Phase]), prebilling: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::InvoiceService::CreatePreviewParams::ScheduleDetails::Prebilling]))), proration_behavior: T.nilable(String)).void
|
135536
135744
|
}
|
135537
135745
|
def initialize(
|
135538
135746
|
amendments: nil,
|
135539
135747
|
billing_behavior: nil,
|
135748
|
+
billing_mode: nil,
|
135540
135749
|
end_behavior: nil,
|
135541
135750
|
phases: nil,
|
135542
135751
|
prebilling: nil,
|
@@ -135695,6 +135904,9 @@ module Stripe
|
|
135695
135904
|
# For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.
|
135696
135905
|
sig { returns(T.nilable(T.any(String, Integer))) }
|
135697
135906
|
attr_accessor :billing_cycle_anchor
|
135907
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
135908
|
+
sig { returns(T.nilable(String)) }
|
135909
|
+
attr_accessor :billing_mode
|
135698
135910
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
135699
135911
|
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
135700
135912
|
attr_accessor :cancel_at
|
@@ -135733,10 +135945,11 @@ module Stripe
|
|
135733
135945
|
sig { returns(T.nilable(T.any(String, Integer))) }
|
135734
135946
|
attr_accessor :trial_end
|
135735
135947
|
sig {
|
135736
|
-
params(billing_cycle_anchor: T.nilable(T.any(String, Integer)), cancel_at: T.nilable(T.nilable(T.any(String, Integer))), cancel_at_period_end: T.nilable(T::Boolean), cancel_now: T.nilable(T::Boolean), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), items: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::SubscriptionDetails::Item]), prebilling: T.nilable(::Stripe::InvoiceService::CreatePreviewParams::SubscriptionDetails::Prebilling), proration_behavior: T.nilable(String), proration_date: T.nilable(Integer), resume_at: T.nilable(String), start_date: T.nilable(Integer), trial_end: T.nilable(T.any(String, Integer))).void
|
135948
|
+
params(billing_cycle_anchor: T.nilable(T.any(String, Integer)), billing_mode: T.nilable(String), cancel_at: T.nilable(T.nilable(T.any(String, Integer))), cancel_at_period_end: T.nilable(T::Boolean), cancel_now: T.nilable(T::Boolean), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), items: T.nilable(T::Array[::Stripe::InvoiceService::CreatePreviewParams::SubscriptionDetails::Item]), prebilling: T.nilable(::Stripe::InvoiceService::CreatePreviewParams::SubscriptionDetails::Prebilling), proration_behavior: T.nilable(String), proration_date: T.nilable(Integer), resume_at: T.nilable(String), start_date: T.nilable(Integer), trial_end: T.nilable(T.any(String, Integer))).void
|
135737
135949
|
}
|
135738
135950
|
def initialize(
|
135739
135951
|
billing_cycle_anchor: nil,
|
135952
|
+
billing_mode: nil,
|
135740
135953
|
cancel_at: nil,
|
135741
135954
|
cancel_at_period_end: nil,
|
135742
135955
|
cancel_now: nil,
|
@@ -141016,7 +141229,7 @@ module Stripe
|
|
141016
141229
|
end
|
141017
141230
|
class TaxDetails < Stripe::RequestParams
|
141018
141231
|
class TaxId < Stripe::RequestParams
|
141019
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
141232
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
141020
141233
|
sig { returns(String) }
|
141021
141234
|
attr_accessor :type
|
141022
141235
|
# Value of the tax ID.
|
@@ -142158,7 +142371,7 @@ module Stripe
|
|
142158
142371
|
end
|
142159
142372
|
class TaxDetails < Stripe::RequestParams
|
142160
142373
|
class TaxId < Stripe::RequestParams
|
142161
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
142374
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
142162
142375
|
sig { returns(String) }
|
142163
142376
|
attr_accessor :type
|
142164
142377
|
# Value of the tax ID.
|
@@ -143073,7 +143286,7 @@ module Stripe
|
|
143073
143286
|
# The lodging category
|
143074
143287
|
sig { returns(T.nilable(String)) }
|
143075
143288
|
attr_accessor :category
|
143076
|
-
#
|
143289
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
143077
143290
|
sig { returns(Integer) }
|
143078
143291
|
attr_accessor :checkin_at
|
143079
143292
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -146853,7 +147066,7 @@ module Stripe
|
|
146853
147066
|
# The lodging category
|
146854
147067
|
sig { returns(T.nilable(String)) }
|
146855
147068
|
attr_accessor :category
|
146856
|
-
#
|
147069
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
146857
147070
|
sig { returns(Integer) }
|
146858
147071
|
attr_accessor :checkin_at
|
146859
147072
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -150567,7 +150780,7 @@ module Stripe
|
|
150567
150780
|
# The lodging category
|
150568
150781
|
sig { returns(T.nilable(String)) }
|
150569
150782
|
attr_accessor :category
|
150570
|
-
#
|
150783
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
150571
150784
|
sig { returns(Integer) }
|
150572
150785
|
attr_accessor :checkin_at
|
150573
150786
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -151418,7 +151631,7 @@ module Stripe
|
|
151418
151631
|
# The lodging category
|
151419
151632
|
sig { returns(T.nilable(String)) }
|
151420
151633
|
attr_accessor :category
|
151421
|
-
#
|
151634
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
151422
151635
|
sig { returns(Integer) }
|
151423
151636
|
attr_accessor :checkin_at
|
151424
151637
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
@@ -161624,24 +161837,11 @@ module Stripe
|
|
161624
161837
|
}
|
161625
161838
|
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil); end
|
161626
161839
|
end
|
161627
|
-
class RetrieveParams < Stripe::RequestParams
|
161628
|
-
# Specifies which fields in the response should be expanded.
|
161629
|
-
sig { returns(T.nilable(T::Array[String])) }
|
161630
|
-
attr_accessor :expand
|
161631
|
-
sig { params(expand: T.nilable(T::Array[String])).void }
|
161632
|
-
def initialize(expand: nil); end
|
161633
|
-
end
|
161634
161840
|
# List validation errors method
|
161635
161841
|
sig {
|
161636
161842
|
params(job: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
|
161637
161843
|
}
|
161638
161844
|
def list(job, params = {}, opts = {}); end
|
161639
|
-
|
161640
|
-
# Retrieve validation error method
|
161641
|
-
sig {
|
161642
|
-
params(job: String, error: String, params: T.any(::Stripe::Privacy::RedactionJobValidationErrorService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Privacy::RedactionJobValidationError)
|
161643
|
-
}
|
161644
|
-
def retrieve(job, error, params = {}, opts = {}); end
|
161645
161845
|
end
|
161646
161846
|
end
|
161647
161847
|
end
|
@@ -163333,6 +163533,9 @@ module Stripe
|
|
163333
163533
|
# When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.
|
163334
163534
|
sig { returns(T.nilable(T.nilable(String))) }
|
163335
163535
|
attr_accessor :billing_cycle_anchor
|
163536
|
+
# Configure billing_mode to opt in improved credit proration behavior.Once a quote that creates a subscription or subscription schedule is accepted,all future operations on the subscription or subscription schedule will be processed based on this billing_mode.
|
163537
|
+
sig { returns(T.nilable(String)) }
|
163538
|
+
attr_accessor :billing_mode
|
163336
163539
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
163337
163540
|
sig { returns(T.nilable(String)) }
|
163338
163541
|
attr_accessor :description
|
@@ -163366,12 +163569,13 @@ module Stripe
|
|
163366
163569
|
sig { returns(T.nilable(T.nilable(T.any(String, Integer)))) }
|
163367
163570
|
attr_accessor :trial_period_days
|
163368
163571
|
sig {
|
163369
|
-
params(bill_on_acceptance: T.nilable(::Stripe::QuoteService::CreateParams::SubscriptionData::BillOnAcceptance), billing_behavior: T.nilable(String), billing_cycle_anchor: T.nilable(T.nilable(String)), description: T.nilable(String), effective_date: T.nilable(T.nilable(T.any(String, T.any(String, Integer)))), end_behavior: T.nilable(String), from_subscription: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), prebilling: T.nilable(T.nilable(T.any(String, ::Stripe::QuoteService::CreateParams::SubscriptionData::Prebilling))), proration_behavior: T.nilable(String), trial_period_days: T.nilable(T.nilable(T.any(String, Integer)))).void
|
163572
|
+
params(bill_on_acceptance: T.nilable(::Stripe::QuoteService::CreateParams::SubscriptionData::BillOnAcceptance), billing_behavior: T.nilable(String), billing_cycle_anchor: T.nilable(T.nilable(String)), billing_mode: T.nilable(String), description: T.nilable(String), effective_date: T.nilable(T.nilable(T.any(String, T.any(String, Integer)))), end_behavior: T.nilable(String), from_subscription: T.nilable(String), metadata: T.nilable(T::Hash[String, String]), prebilling: T.nilable(T.nilable(T.any(String, ::Stripe::QuoteService::CreateParams::SubscriptionData::Prebilling))), proration_behavior: T.nilable(String), trial_period_days: T.nilable(T.nilable(T.any(String, Integer)))).void
|
163370
163573
|
}
|
163371
163574
|
def initialize(
|
163372
163575
|
bill_on_acceptance: nil,
|
163373
163576
|
billing_behavior: nil,
|
163374
163577
|
billing_cycle_anchor: nil,
|
163578
|
+
billing_mode: nil,
|
163375
163579
|
description: nil,
|
163376
163580
|
effective_date: nil,
|
163377
163581
|
end_behavior: nil,
|
@@ -172707,6 +172911,9 @@ module Stripe
|
|
172707
172911
|
returns(T.nilable(::Stripe::SubscriptionService::CreateParams::BillingCycleAnchorConfig))
|
172708
172912
|
}
|
172709
172913
|
attr_accessor :billing_cycle_anchor_config
|
172914
|
+
# Configure billing_mode in each subscription to opt in improved credit proration behavior.
|
172915
|
+
sig { returns(T.nilable(String)) }
|
172916
|
+
attr_accessor :billing_mode
|
172710
172917
|
# A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period.
|
172711
172918
|
sig { returns(T.nilable(Integer)) }
|
172712
172919
|
attr_accessor :cancel_at
|
@@ -172806,7 +173013,7 @@ module Stripe
|
|
172806
173013
|
sig { returns(T.nilable(::Stripe::SubscriptionService::CreateParams::TrialSettings)) }
|
172807
173014
|
attr_accessor :trial_settings
|
172808
173015
|
sig {
|
172809
|
-
params(add_invoice_items: T.nilable(T::Array[::Stripe::SubscriptionService::CreateParams::AddInvoiceItem]), application_fee_percent: T.nilable(T.nilable(T.any(String, Float))), automatic_tax: T.nilable(::Stripe::SubscriptionService::CreateParams::AutomaticTax), backdate_start_date: T.nilable(Integer), billing_cycle_anchor: T.nilable(Integer), billing_cycle_anchor_config: T.nilable(::Stripe::SubscriptionService::CreateParams::BillingCycleAnchorConfig), cancel_at: T.nilable(Integer), cancel_at_period_end: T.nilable(T::Boolean), collection_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), days_until_due: T.nilable(Integer), default_payment_method: T.nilable(String), default_source: T.nilable(String), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), description: T.nilable(String), discounts: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::SubscriptionService::CreateParams::Discount]))), expand: T.nilable(T::Array[String]), invoice_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::InvoiceSettings), items: T.nilable(T::Array[::Stripe::SubscriptionService::CreateParams::Item]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), off_session: T.nilable(T::Boolean), on_behalf_of: T.nilable(T.nilable(String)), payment_behavior: T.nilable(String), payment_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::PaymentSettings), pending_invoice_item_interval: T.nilable(T.nilable(T.any(String, ::Stripe::SubscriptionService::CreateParams::PendingInvoiceItemInterval))), prebilling: T.nilable(::Stripe::SubscriptionService::CreateParams::Prebilling), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::SubscriptionService::CreateParams::TransferData), trial_end: T.nilable(T.any(String, Integer)), trial_from_plan: T.nilable(T::Boolean), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::TrialSettings)).void
|
173016
|
+
params(add_invoice_items: T.nilable(T::Array[::Stripe::SubscriptionService::CreateParams::AddInvoiceItem]), application_fee_percent: T.nilable(T.nilable(T.any(String, Float))), automatic_tax: T.nilable(::Stripe::SubscriptionService::CreateParams::AutomaticTax), backdate_start_date: T.nilable(Integer), billing_cycle_anchor: T.nilable(Integer), billing_cycle_anchor_config: T.nilable(::Stripe::SubscriptionService::CreateParams::BillingCycleAnchorConfig), billing_mode: T.nilable(String), cancel_at: T.nilable(Integer), cancel_at_period_end: T.nilable(T::Boolean), collection_method: T.nilable(String), currency: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), days_until_due: T.nilable(Integer), default_payment_method: T.nilable(String), default_source: T.nilable(String), default_tax_rates: T.nilable(T.nilable(T.any(String, T::Array[String]))), description: T.nilable(String), discounts: T.nilable(T.nilable(T.any(String, T::Array[::Stripe::SubscriptionService::CreateParams::Discount]))), expand: T.nilable(T::Array[String]), invoice_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::InvoiceSettings), items: T.nilable(T::Array[::Stripe::SubscriptionService::CreateParams::Item]), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), off_session: T.nilable(T::Boolean), on_behalf_of: T.nilable(T.nilable(String)), payment_behavior: T.nilable(String), payment_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::PaymentSettings), pending_invoice_item_interval: T.nilable(T.nilable(T.any(String, ::Stripe::SubscriptionService::CreateParams::PendingInvoiceItemInterval))), prebilling: T.nilable(::Stripe::SubscriptionService::CreateParams::Prebilling), proration_behavior: T.nilable(String), transfer_data: T.nilable(::Stripe::SubscriptionService::CreateParams::TransferData), trial_end: T.nilable(T.any(String, Integer)), trial_from_plan: T.nilable(T::Boolean), trial_period_days: T.nilable(Integer), trial_settings: T.nilable(::Stripe::SubscriptionService::CreateParams::TrialSettings)).void
|
172810
173017
|
}
|
172811
173018
|
def initialize(
|
172812
173019
|
add_invoice_items: nil,
|
@@ -172815,6 +173022,7 @@ module Stripe
|
|
172815
173022
|
backdate_start_date: nil,
|
172816
173023
|
billing_cycle_anchor: nil,
|
172817
173024
|
billing_cycle_anchor_config: nil,
|
173025
|
+
billing_mode: nil,
|
172818
173026
|
cancel_at: nil,
|
172819
173027
|
cancel_at_period_end: nil,
|
172820
173028
|
collection_method: nil,
|
@@ -172888,7 +173096,7 @@ module Stripe
|
|
172888
173096
|
end
|
172889
173097
|
# Cancels a customer's subscription immediately. The customer won't be charged again for the subscription. After it's canceled, you can no longer update the subscription or its [metadata](https://stripe.com/metadata).
|
172890
173098
|
#
|
172891
|
-
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed.
|
173099
|
+
# Any pending invoice items that you've created are still charged at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations are also left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations are removed if invoice_now and prorate are both set to true.
|
172892
173100
|
#
|
172893
173101
|
# By default, upon subscription cancellation, Stripe stops automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all.
|
172894
173102
|
sig {
|
@@ -174121,6 +174329,9 @@ module Stripe
|
|
174121
174329
|
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
174122
174330
|
sig { returns(T.nilable(String)) }
|
174123
174331
|
attr_accessor :billing_behavior
|
174332
|
+
# Configure billing_mode to opt in improved credit proration behavior.When the schedule creates a subscription, the subscription's `billing_mode` will be set to the same value as the schedule's `billing_mode`.
|
174333
|
+
sig { returns(T.nilable(String)) }
|
174334
|
+
attr_accessor :billing_mode
|
174124
174335
|
# The identifier of the customer to create the subscription schedule for.
|
174125
174336
|
sig { returns(T.nilable(String)) }
|
174126
174337
|
attr_accessor :customer
|
@@ -174156,10 +174367,11 @@ module Stripe
|
|
174156
174367
|
sig { returns(T.nilable(T.any(Integer, String))) }
|
174157
174368
|
attr_accessor :start_date
|
174158
174369
|
sig {
|
174159
|
-
params(billing_behavior: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), default_settings: T.nilable(::Stripe::SubscriptionScheduleService::CreateParams::DefaultSettings), end_behavior: T.nilable(String), expand: T.nilable(T::Array[String]), from_subscription: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phases: T.nilable(T::Array[::Stripe::SubscriptionScheduleService::CreateParams::Phase]), prebilling: T.nilable(::Stripe::SubscriptionScheduleService::CreateParams::Prebilling), start_date: T.nilable(T.any(Integer, String))).void
|
174370
|
+
params(billing_behavior: T.nilable(String), billing_mode: T.nilable(String), customer: T.nilable(String), customer_account: T.nilable(String), default_settings: T.nilable(::Stripe::SubscriptionScheduleService::CreateParams::DefaultSettings), end_behavior: T.nilable(String), expand: T.nilable(T::Array[String]), from_subscription: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phases: T.nilable(T::Array[::Stripe::SubscriptionScheduleService::CreateParams::Phase]), prebilling: T.nilable(::Stripe::SubscriptionScheduleService::CreateParams::Prebilling), start_date: T.nilable(T.any(Integer, String))).void
|
174160
174371
|
}
|
174161
174372
|
def initialize(
|
174162
174373
|
billing_behavior: nil,
|
174374
|
+
billing_mode: nil,
|
174163
174375
|
customer: nil,
|
174164
174376
|
customer_account: nil,
|
174165
174377
|
default_settings: nil,
|
@@ -175625,7 +175837,7 @@ module Stripe
|
|
175625
175837
|
); end
|
175626
175838
|
end
|
175627
175839
|
class TaxId < Stripe::RequestParams
|
175628
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
175840
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
175629
175841
|
sig { returns(String) }
|
175630
175842
|
attr_accessor :type
|
175631
175843
|
# Value of the tax ID.
|
@@ -176065,6 +176277,13 @@ module Stripe
|
|
176065
176277
|
}
|
176066
176278
|
def initialize(standard: nil, type: nil); end
|
176067
176279
|
end
|
176280
|
+
class Bf < Stripe::RequestParams
|
176281
|
+
# Type of registration to be created in `country`.
|
176282
|
+
sig { returns(String) }
|
176283
|
+
attr_accessor :type
|
176284
|
+
sig { params(type: String).void }
|
176285
|
+
def initialize(type: nil); end
|
176286
|
+
end
|
176068
176287
|
class Bg < Stripe::RequestParams
|
176069
176288
|
class Standard < Stripe::RequestParams
|
176070
176289
|
# Place of supply scheme used in an EU standard registration.
|
@@ -176156,6 +176375,13 @@ module Stripe
|
|
176156
176375
|
sig { params(type: String).void }
|
176157
176376
|
def initialize(type: nil); end
|
176158
176377
|
end
|
176378
|
+
class Cm < Stripe::RequestParams
|
176379
|
+
# Type of registration to be created in `country`.
|
176380
|
+
sig { returns(String) }
|
176381
|
+
attr_accessor :type
|
176382
|
+
sig { params(type: String).void }
|
176383
|
+
def initialize(type: nil); end
|
176384
|
+
end
|
176159
176385
|
class Co < Stripe::RequestParams
|
176160
176386
|
# Type of registration to be created in `country`.
|
176161
176387
|
sig { returns(String) }
|
@@ -176170,6 +176396,13 @@ module Stripe
|
|
176170
176396
|
sig { params(type: String).void }
|
176171
176397
|
def initialize(type: nil); end
|
176172
176398
|
end
|
176399
|
+
class Cv < Stripe::RequestParams
|
176400
|
+
# Type of registration to be created in `country`.
|
176401
|
+
sig { returns(String) }
|
176402
|
+
attr_accessor :type
|
176403
|
+
sig { params(type: String).void }
|
176404
|
+
def initialize(type: nil); end
|
176405
|
+
end
|
176173
176406
|
class Cy < Stripe::RequestParams
|
176174
176407
|
class Standard < Stripe::RequestParams
|
176175
176408
|
# Place of supply scheme used in an EU standard registration.
|
@@ -177131,6 +177364,11 @@ module Stripe
|
|
177131
177364
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be))
|
177132
177365
|
}
|
177133
177366
|
attr_accessor :be
|
177367
|
+
# Options for the registration in BF.
|
177368
|
+
sig {
|
177369
|
+
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf))
|
177370
|
+
}
|
177371
|
+
attr_accessor :bf
|
177134
177372
|
# Options for the registration in BG.
|
177135
177373
|
sig {
|
177136
177374
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg))
|
@@ -177176,6 +177414,11 @@ module Stripe
|
|
177176
177414
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl))
|
177177
177415
|
}
|
177178
177416
|
attr_accessor :cl
|
177417
|
+
# Options for the registration in CM.
|
177418
|
+
sig {
|
177419
|
+
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm))
|
177420
|
+
}
|
177421
|
+
attr_accessor :cm
|
177179
177422
|
# Options for the registration in CO.
|
177180
177423
|
sig {
|
177181
177424
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co))
|
@@ -177186,6 +177429,11 @@ module Stripe
|
|
177186
177429
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr))
|
177187
177430
|
}
|
177188
177431
|
attr_accessor :cr
|
177432
|
+
# Options for the registration in CV.
|
177433
|
+
sig {
|
177434
|
+
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv))
|
177435
|
+
}
|
177436
|
+
attr_accessor :cv
|
177189
177437
|
# Options for the registration in CY.
|
177190
177438
|
sig {
|
177191
177439
|
returns(T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy))
|
@@ -177547,7 +177795,7 @@ module Stripe
|
|
177547
177795
|
}
|
177548
177796
|
attr_accessor :zw
|
177549
177797
|
sig {
|
177550
|
-
params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
|
177798
|
+
params(ae: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ae), al: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Al), am: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Am), ao: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ao), at: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::At), au: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Au), aw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Aw), az: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Az), ba: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ba), bb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bb), bd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bd), be: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Be), bf: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bf), bg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bg), bh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bh), bj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bj), bs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Bs), by: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::By), ca: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ca), cd: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cd), ch: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ch), cl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cl), cm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cm), co: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Co), cr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cr), cv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cv), cy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cy), cz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Cz), de: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::De), dk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Dk), ec: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ec), ee: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ee), eg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Eg), es: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Es), et: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Et), fi: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fi), fr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Fr), gb: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gb), ge: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ge), gn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gn), gr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Gr), hr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hr), hu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Hu), id: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Id), ie: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ie), in_: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::In), is: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Is), it: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::It), jp: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Jp), ke: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ke), kg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kg), kh: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kh), kr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kr), kz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Kz), la: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::La), lt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lt), lu: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lu), lv: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Lv), ma: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ma), md: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Md), me: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Me), mk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mk), mr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mr), mt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mt), mx: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Mx), my: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::My), ng: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ng), nl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nl), no: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::No), np: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Np), nz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Nz), om: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Om), pe: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pe), ph: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ph), pl: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pl), pt: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Pt), ro: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ro), rs: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Rs), ru: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ru), sa: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sa), se: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Se), sg: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sg), si: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Si), sk: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sk), sn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sn), sr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Sr), th: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Th), tj: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tj), tr: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tr), tz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Tz), ug: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Ug), us: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Us), uy: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uy), uz: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Uz), vn: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Vn), za: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Za), zm: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zm), zw: T.nilable(::Stripe::Tax::RegistrationService::CreateParams::CountryOptions::Zw)).void
|
177551
177799
|
}
|
177552
177800
|
def initialize(
|
177553
177801
|
ae: nil,
|
@@ -177562,6 +177810,7 @@ module Stripe
|
|
177562
177810
|
bb: nil,
|
177563
177811
|
bd: nil,
|
177564
177812
|
be: nil,
|
177813
|
+
bf: nil,
|
177565
177814
|
bg: nil,
|
177566
177815
|
bh: nil,
|
177567
177816
|
bj: nil,
|
@@ -177571,8 +177820,10 @@ module Stripe
|
|
177571
177820
|
cd: nil,
|
177572
177821
|
ch: nil,
|
177573
177822
|
cl: nil,
|
177823
|
+
cm: nil,
|
177574
177824
|
co: nil,
|
177575
177825
|
cr: nil,
|
177826
|
+
cv: nil,
|
177576
177827
|
cy: nil,
|
177577
177828
|
cz: nil,
|
177578
177829
|
de: nil,
|
@@ -178110,7 +178361,7 @@ module Stripe
|
|
178110
178361
|
# The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.
|
178111
178362
|
sig { returns(T.nilable(::Stripe::TaxIdService::CreateParams::Owner)) }
|
178112
178363
|
attr_accessor :owner
|
178113
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
178364
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
178114
178365
|
sig { returns(String) }
|
178115
178366
|
attr_accessor :type
|
178116
178367
|
# Value of the tax ID.
|
@@ -183053,13 +183304,10 @@ module Stripe
|
|
183053
183304
|
# Billing phone number (including extension).
|
183054
183305
|
sig { returns(T.nilable(T.nilable(String))) }
|
183055
183306
|
attr_accessor :phone
|
183056
|
-
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
183057
|
-
sig { returns(T.nilable(String)) }
|
183058
|
-
attr_accessor :tax_id
|
183059
183307
|
sig {
|
183060
|
-
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))
|
183308
|
+
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::Treasury::OutboundPaymentService::CreateParams::DestinationPaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
|
183061
183309
|
}
|
183062
|
-
def initialize(address: nil, email: nil, name: nil, phone: nil
|
183310
|
+
def initialize(address: nil, email: nil, name: nil, phone: nil); end
|
183063
183311
|
end
|
183064
183312
|
class UsBankAccount < Stripe::RequestParams
|
183065
183313
|
# Account holder type: individual or company.
|
@@ -184056,7 +184304,7 @@ module Stripe
|
|
184056
184304
|
# The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
|
184057
184305
|
sig { returns(T.nilable(String)) }
|
184058
184306
|
attr_accessor :currency
|
184059
|
-
# The routing number, sort code, or other country-
|
184307
|
+
# The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
|
184060
184308
|
sig { returns(T.nilable(String)) }
|
184061
184309
|
attr_accessor :routing_number
|
184062
184310
|
sig {
|
@@ -184254,7 +184502,7 @@ module Stripe
|
|
184254
184502
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
184255
184503
|
sig { returns(T.nilable(String)) }
|
184256
184504
|
attr_accessor :ip_address
|
184257
|
-
# The data source used
|
184505
|
+
# The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
|
184258
184506
|
sig { returns(T.nilable(String)) }
|
184259
184507
|
attr_accessor :location_source
|
184260
184508
|
sig {
|
@@ -185212,7 +185460,7 @@ module Stripe
|
|
185212
185460
|
sig { params(requested: T::Boolean).void }
|
185213
185461
|
def initialize(requested: nil); end
|
185214
185462
|
end
|
185215
|
-
# Allows the
|
185463
|
+
# Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
185216
185464
|
sig {
|
185217
185465
|
returns(T.nilable(::Stripe::V2::Core::AccountService::CreateParams::Configuration::Recipient::Capabilities::StripeBalance::StripeTransfers))
|
185218
185466
|
}
|
@@ -185232,7 +185480,7 @@ module Stripe
|
|
185232
185480
|
returns(T.nilable(::Stripe::V2::Core::AccountService::CreateParams::Configuration::Recipient::Capabilities::Cards))
|
185233
185481
|
}
|
185234
185482
|
attr_accessor :cards
|
185235
|
-
# Capabilities that enable the recipient to
|
185483
|
+
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
185236
185484
|
sig {
|
185237
185485
|
returns(T.nilable(::Stripe::V2::Core::AccountService::CreateParams::Configuration::Recipient::Capabilities::StripeBalance))
|
185238
185486
|
}
|
@@ -186406,13 +186654,21 @@ module Stripe
|
|
186406
186654
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
186407
186655
|
sig { returns(T.nilable(String)) }
|
186408
186656
|
attr_accessor :ip_address
|
186409
|
-
# The data source used
|
186657
|
+
# The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
|
186410
186658
|
sig { returns(T.nilable(String)) }
|
186411
186659
|
attr_accessor :location_source
|
186660
|
+
# A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
|
186661
|
+
sig { returns(T.nilable(String)) }
|
186662
|
+
attr_accessor :validate_location
|
186412
186663
|
sig {
|
186413
|
-
params(exempt: T.nilable(String), ip_address: T.nilable(String), location_source: T.nilable(String)).void
|
186664
|
+
params(exempt: T.nilable(String), ip_address: T.nilable(String), location_source: T.nilable(String), validate_location: T.nilable(String)).void
|
186414
186665
|
}
|
186415
|
-
def initialize(
|
186666
|
+
def initialize(
|
186667
|
+
exempt: nil,
|
186668
|
+
ip_address: nil,
|
186669
|
+
location_source: nil,
|
186670
|
+
validate_location: nil
|
186671
|
+
); end
|
186416
186672
|
end
|
186417
186673
|
class Billing < Stripe::RequestParams
|
186418
186674
|
class Invoice < Stripe::RequestParams
|
@@ -187367,7 +187623,7 @@ module Stripe
|
|
187367
187623
|
sig { params(requested: T.nilable(T::Boolean)).void }
|
187368
187624
|
def initialize(requested: nil); end
|
187369
187625
|
end
|
187370
|
-
# Allows the
|
187626
|
+
# Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
187371
187627
|
sig {
|
187372
187628
|
returns(T.nilable(::Stripe::V2::Core::AccountService::UpdateParams::Configuration::Recipient::Capabilities::StripeBalance::StripeTransfers))
|
187373
187629
|
}
|
@@ -187387,7 +187643,7 @@ module Stripe
|
|
187387
187643
|
returns(T.nilable(::Stripe::V2::Core::AccountService::UpdateParams::Configuration::Recipient::Capabilities::Cards))
|
187388
187644
|
}
|
187389
187645
|
attr_accessor :cards
|
187390
|
-
# Capabilities that enable the recipient to
|
187646
|
+
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
187391
187647
|
sig {
|
187392
187648
|
returns(T.nilable(::Stripe::V2::Core::AccountService::UpdateParams::Configuration::Recipient::Capabilities::StripeBalance))
|
187393
187649
|
}
|
@@ -188842,6 +189098,9 @@ module Stripe
|
|
188842
189098
|
def initialize(type: nil, value: nil); end
|
188843
189099
|
end
|
188844
189100
|
class Relationship < Stripe::RequestParams
|
189101
|
+
# Whether the individual is an authorizer of the Account’s legal entity.
|
189102
|
+
sig { returns(T.nilable(T::Boolean)) }
|
189103
|
+
attr_accessor :authorizer
|
188845
189104
|
# Indicates whether the person is a director of the associated legal entity.
|
188846
189105
|
sig { returns(T.nilable(T::Boolean)) }
|
188847
189106
|
attr_accessor :director
|
@@ -188864,9 +189123,10 @@ module Stripe
|
|
188864
189123
|
sig { returns(T.nilable(String)) }
|
188865
189124
|
attr_accessor :title
|
188866
189125
|
sig {
|
188867
|
-
params(director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), legal_guardian: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(String), representative: T.nilable(T::Boolean), title: T.nilable(String)).void
|
189126
|
+
params(authorizer: T.nilable(T::Boolean), director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), legal_guardian: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(String), representative: T.nilable(T::Boolean), title: T.nilable(String)).void
|
188868
189127
|
}
|
188869
189128
|
def initialize(
|
189129
|
+
authorizer: nil,
|
188870
189130
|
director: nil,
|
188871
189131
|
executive: nil,
|
188872
189132
|
legal_guardian: nil,
|
@@ -189367,6 +189627,9 @@ module Stripe
|
|
189367
189627
|
def initialize(type: nil, value: nil); end
|
189368
189628
|
end
|
189369
189629
|
class Relationship < Stripe::RequestParams
|
189630
|
+
# Whether the individual is an authorizer of the Account’s legal entity.
|
189631
|
+
sig { returns(T.nilable(T::Boolean)) }
|
189632
|
+
attr_accessor :authorizer
|
189370
189633
|
# Indicates whether the person is a director of the associated legal entity.
|
189371
189634
|
sig { returns(T.nilable(T::Boolean)) }
|
189372
189635
|
attr_accessor :director
|
@@ -189389,9 +189652,10 @@ module Stripe
|
|
189389
189652
|
sig { returns(T.nilable(String)) }
|
189390
189653
|
attr_accessor :title
|
189391
189654
|
sig {
|
189392
|
-
params(director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), legal_guardian: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(String), representative: T.nilable(T::Boolean), title: T.nilable(String)).void
|
189655
|
+
params(authorizer: T.nilable(T::Boolean), director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), legal_guardian: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(String), representative: T.nilable(T::Boolean), title: T.nilable(String)).void
|
189393
189656
|
}
|
189394
189657
|
def initialize(
|
189658
|
+
authorizer: nil,
|
189395
189659
|
director: nil,
|
189396
189660
|
executive: nil,
|
189397
189661
|
legal_guardian: nil,
|
@@ -190054,7 +190318,7 @@ module Stripe
|
|
190054
190318
|
}
|
190055
190319
|
def acknowledge_confirmation_of_payee(id, params = {}, opts = {}); end
|
190056
190320
|
|
190057
|
-
# Archive a
|
190321
|
+
# Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations
|
190058
190322
|
# and will not appear in the outbound destination list.
|
190059
190323
|
sig {
|
190060
190324
|
params(id: String, params: T.any(::Stripe::V2::Core::Vault::GbBankAccountService::ArchiveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::GbBankAccount)
|
@@ -190133,8 +190397,8 @@ module Stripe
|
|
190133
190397
|
}
|
190134
190398
|
def initialize(fedwire_routing_number: nil, routing_number: nil); end
|
190135
190399
|
end
|
190136
|
-
# Archive a
|
190137
|
-
# Archived
|
190400
|
+
# Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
190401
|
+
# Archived USBankAccount objects cannot be used as outbound destinations
|
190138
190402
|
# and will not appear in the outbound destination list.
|
190139
190403
|
#
|
190140
190404
|
# ** raises ControlledByDashboardError
|
@@ -190143,7 +190407,7 @@ module Stripe
|
|
190143
190407
|
}
|
190144
190408
|
def archive(id, params = {}, opts = {}); end
|
190145
190409
|
|
190146
|
-
# Create a
|
190410
|
+
# Create a USBankAccount object.
|
190147
190411
|
#
|
190148
190412
|
# ** raises BlockedByStripeError
|
190149
190413
|
# ** raises InvalidPaymentMethodError
|
@@ -190153,13 +190417,13 @@ module Stripe
|
|
190153
190417
|
}
|
190154
190418
|
def create(params = {}, opts = {}); end
|
190155
190419
|
|
190156
|
-
# Retrieve a
|
190420
|
+
# Retrieve a USBankAccount object.
|
190157
190421
|
sig {
|
190158
190422
|
params(id: String, params: T.any(::Stripe::V2::Core::Vault::UsBankAccountService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::Core::Vault::UsBankAccount)
|
190159
190423
|
}
|
190160
190424
|
def retrieve(id, params = {}, opts = {}); end
|
190161
190425
|
|
190162
|
-
# Update a
|
190426
|
+
# Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.
|
190163
190427
|
#
|
190164
190428
|
# ** raises BlockedByStripeError
|
190165
190429
|
# ** raises InvalidPaymentMethodError
|
@@ -190698,12 +190962,23 @@ module Stripe
|
|
190698
190962
|
params(amount: Stripe::V2::Amount, delivery_options: T.nilable(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::CreateParams::DeliveryOptions), from: ::Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::CreateParams::From, to: ::Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::CreateParams::To).void
|
190699
190963
|
}
|
190700
190964
|
def initialize(amount: nil, delivery_options: nil, from: nil, to: nil); end
|
190965
|
+
end
|
190966
|
+
class RetrieveParams < Stripe::RequestParams
|
190967
|
+
|
190701
190968
|
end
|
190702
190969
|
# Creates an OutboundPaymentQuote usable in an OutboundPayment.
|
190970
|
+
#
|
190971
|
+
# ** raises FeatureNotEnabledError
|
190703
190972
|
sig {
|
190704
190973
|
params(params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote)
|
190705
190974
|
}
|
190706
190975
|
def create(params = {}, opts = {}); end
|
190976
|
+
|
190977
|
+
# Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID.
|
190978
|
+
sig {
|
190979
|
+
params(id: String, params: T.any(::Stripe::V2::MoneyManagement::OutboundPaymentQuoteService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::V2::MoneyManagement::OutboundPaymentQuote)
|
190980
|
+
}
|
190981
|
+
def retrieve(id, params = {}, opts = {}); end
|
190707
190982
|
end
|
190708
190983
|
end
|
190709
190984
|
end
|