stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/resources/account.rb +23 -745
  6. data/lib/stripe/resources/account_link.rb +0 -10
  7. data/lib/stripe/resources/account_notice.rb +0 -22
  8. data/lib/stripe/resources/account_session.rb +0 -125
  9. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  10. data/lib/stripe/resources/application.rb +0 -3
  11. data/lib/stripe/resources/application_fee.rb +0 -24
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  13. data/lib/stripe/resources/apps/secret.rb +0 -25
  14. data/lib/stripe/resources/balance.rb +0 -31
  15. data/lib/stripe/resources/balance_transaction.rb +0 -29
  16. data/lib/stripe/resources/bank_account.rb +0 -29
  17. data/lib/stripe/resources/billing/alert.rb +0 -22
  18. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  19. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  20. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  21. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  22. data/lib/stripe/resources/billing/meter.rb +0 -25
  23. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  29. data/lib/stripe/resources/capability.rb +2 -29
  30. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  31. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  32. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  33. data/lib/stripe/resources/card.rb +2 -34
  34. data/lib/stripe/resources/cash_balance.rb +0 -5
  35. data/lib/stripe/resources/charge.rb +4 -665
  36. data/lib/stripe/resources/checkout/session.rb +4 -512
  37. data/lib/stripe/resources/climate/order.rb +0 -40
  38. data/lib/stripe/resources/climate/product.rb +0 -13
  39. data/lib/stripe/resources/climate/supplier.rb +0 -13
  40. data/lib/stripe/resources/confirmation_token.rb +2 -337
  41. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  42. data/lib/stripe/resources/country_spec.rb +0 -13
  43. data/lib/stripe/resources/coupon.rb +0 -39
  44. data/lib/stripe/resources/credit_note.rb +0 -138
  45. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  46. data/lib/stripe/resources/customer.rb +1 -156
  47. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  48. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  49. data/lib/stripe/resources/customer_session.rb +0 -24
  50. data/lib/stripe/resources/discount.rb +0 -12
  51. data/lib/stripe/resources/dispute.rb +4 -152
  52. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  53. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  54. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  55. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  56. data/lib/stripe/resources/event.rb +0 -27
  57. data/lib/stripe/resources/exchange_rate.rb +0 -5
  58. data/lib/stripe/resources/file.rb +0 -23
  59. data/lib/stripe/resources/file_link.rb +0 -22
  60. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  61. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  62. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  63. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  64. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  65. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  66. data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
  67. data/lib/stripe/resources/forwarding/request.rb +0 -31
  68. data/lib/stripe/resources/funding_instructions.rb +0 -107
  69. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  70. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  71. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  72. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  73. data/lib/stripe/resources/invoice.rb +6 -1276
  74. data/lib/stripe/resources/invoice_item.rb +0 -91
  75. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  76. data/lib/stripe/resources/invoice_payment.rb +0 -16
  77. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  78. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  79. data/lib/stripe/resources/issuing/card.rb +0 -128
  80. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  81. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  82. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  83. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  84. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  85. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  86. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  87. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  88. data/lib/stripe/resources/issuing/token.rb +0 -46
  89. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  90. data/lib/stripe/resources/line_item.rb +0 -23
  91. data/lib/stripe/resources/login_link.rb +0 -2
  92. data/lib/stripe/resources/mandate.rb +0 -45
  93. data/lib/stripe/resources/margin.rb +0 -19
  94. data/lib/stripe/resources/order.rb +3 -391
  95. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  96. data/lib/stripe/resources/payment_intent.rb +2 -1768
  97. data/lib/stripe/resources/payment_link.rb +15 -213
  98. data/lib/stripe/resources/payment_method.rb +2 -345
  99. data/lib/stripe/resources/payment_method_configuration.rb +0 -293
  100. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  101. data/lib/stripe/resources/payment_record.rb +0 -109
  102. data/lib/stripe/resources/payout.rb +0 -49
  103. data/lib/stripe/resources/person.rb +2 -92
  104. data/lib/stripe/resources/plan.rb +0 -69
  105. data/lib/stripe/resources/price.rb +0 -133
  106. data/lib/stripe/resources/product.rb +0 -100
  107. data/lib/stripe/resources/product_feature.rb +0 -4
  108. data/lib/stripe/resources/promotion_code.rb +0 -40
  109. data/lib/stripe/resources/quote.rb +0 -458
  110. data/lib/stripe/resources/quote_line.rb +0 -66
  111. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  112. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  113. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  114. data/lib/stripe/resources/radar/value_list.rb +0 -26
  115. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  116. data/lib/stripe/resources/refund.rb +0 -92
  117. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  118. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  119. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  120. data/lib/stripe/resources/reversal.rb +0 -9
  121. data/lib/stripe/resources/review.rb +0 -27
  122. data/lib/stripe/resources/setup_attempt.rb +2 -103
  123. data/lib/stripe/resources/setup_intent.rb +2 -539
  124. data/lib/stripe/resources/shipping_rate.rb +0 -44
  125. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  126. data/lib/stripe/resources/source.rb +6 -338
  127. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  128. data/lib/stripe/resources/source_transaction.rb +0 -29
  129. data/lib/stripe/resources/subscription.rb +0 -338
  130. data/lib/stripe/resources/subscription_item.rb +0 -69
  131. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  132. data/lib/stripe/resources/tax/association.rb +0 -11
  133. data/lib/stripe/resources/tax/calculation.rb +2 -89
  134. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  135. data/lib/stripe/resources/tax/form.rb +2 -35
  136. data/lib/stripe/resources/tax/registration.rb +421 -213
  137. data/lib/stripe/resources/tax/settings.rb +0 -20
  138. data/lib/stripe/resources/tax/transaction.rb +1 -66
  139. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  140. data/lib/stripe/resources/tax_code.rb +0 -6
  141. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  142. data/lib/stripe/resources/tax_id.rb +2 -28
  143. data/lib/stripe/resources/tax_rate.rb +0 -45
  144. data/lib/stripe/resources/terminal/configuration.rb +0 -164
  145. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  146. data/lib/stripe/resources/terminal/location.rb +0 -33
  147. data/lib/stripe/resources/terminal/reader.rb +0 -129
  148. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  149. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  150. data/lib/stripe/resources/token.rb +4 -192
  151. data/lib/stripe/resources/topup.rb +0 -36
  152. data/lib/stripe/resources/transfer.rb +0 -35
  153. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  154. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  155. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  156. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  157. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  158. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  159. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  160. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  161. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  162. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  163. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  164. data/lib/stripe/resources/usage_record.rb +0 -5
  165. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  166. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  167. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  168. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  169. data/lib/stripe/resources/v2/event.rb +0 -8
  170. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  171. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  172. data/lib/stripe/services/account_capability_service.rb +0 -1
  173. data/lib/stripe/services/account_external_account_service.rb +0 -43
  174. data/lib/stripe/services/account_link_service.rb +0 -7
  175. data/lib/stripe/services/account_notice_service.rb +0 -9
  176. data/lib/stripe/services/account_person_service.rb +0 -139
  177. data/lib/stripe/services/account_service.rb +8 -519
  178. data/lib/stripe/services/account_session_service.rb +0 -76
  179. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  180. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  181. data/lib/stripe/services/application_fee_service.rb +0 -8
  182. data/lib/stripe/services/apps/secret_service.rb +0 -16
  183. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  184. data/lib/stripe/services/billing/alert_service.rb +0 -12
  185. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  186. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  187. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  188. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  189. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  190. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  191. data/lib/stripe/services/billing/meter_service.rb +0 -12
  192. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
  193. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  194. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  195. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  196. data/lib/stripe/services/charge_service.rb +0 -274
  197. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  198. data/lib/stripe/services/checkout/session_service.rb +2 -273
  199. data/lib/stripe/services/climate/order_service.rb +0 -11
  200. data/lib/stripe/services/climate/product_service.rb +0 -3
  201. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  202. data/lib/stripe/services/country_spec_service.rb +0 -3
  203. data/lib/stripe/services/coupon_service.rb +0 -22
  204. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  205. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  206. data/lib/stripe/services/credit_note_service.rb +0 -61
  207. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  208. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  209. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  210. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  211. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  212. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  213. data/lib/stripe/services/customer_service.rb +1 -92
  214. data/lib/stripe/services/customer_session_service.rb +0 -10
  215. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  216. data/lib/stripe/services/dispute_service.rb +2 -67
  217. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  218. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  219. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  220. data/lib/stripe/services/event_service.rb +0 -10
  221. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  222. data/lib/stripe/services/file_link_service.rb +0 -14
  223. data/lib/stripe/services/file_service.rb +0 -13
  224. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  225. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  226. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  227. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  228. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  229. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
  230. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  231. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  232. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  233. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  234. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  235. data/lib/stripe/services/invoice_item_service.rb +0 -66
  236. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  237. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  238. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  239. data/lib/stripe/services/invoice_service.rb +2 -810
  240. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  241. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  242. data/lib/stripe/services/issuing/card_service.rb +0 -70
  243. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  244. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  245. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  246. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  247. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  248. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  249. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  250. data/lib/stripe/services/issuing/token_service.rb +0 -10
  251. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  252. data/lib/stripe/services/margin_service.rb +0 -11
  253. data/lib/stripe/services/order_line_item_service.rb +0 -3
  254. data/lib/stripe/services/order_service.rb +2 -266
  255. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  256. data/lib/stripe/services/payment_intent_service.rb +0 -1309
  257. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  258. data/lib/stripe/services/payment_link_service.rb +15 -135
  259. data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
  260. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  261. data/lib/stripe/services/payment_method_service.rb +0 -113
  262. data/lib/stripe/services/payment_record_service.rb +0 -68
  263. data/lib/stripe/services/payout_service.rb +0 -23
  264. data/lib/stripe/services/plan_service.rb +0 -43
  265. data/lib/stripe/services/price_service.rb +0 -87
  266. data/lib/stripe/services/product_feature_service.rb +0 -4
  267. data/lib/stripe/services/product_service.rb +0 -74
  268. data/lib/stripe/services/promotion_code_service.rb +0 -25
  269. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  270. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  271. data/lib/stripe/services/quote_line_service.rb +0 -3
  272. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  273. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  274. data/lib/stripe/services/quote_service.rb +0 -309
  275. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  276. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  277. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  278. data/lib/stripe/services/refund_service.rb +0 -21
  279. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  280. data/lib/stripe/services/review_service.rb +0 -7
  281. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  282. data/lib/stripe/services/setup_intent_service.rb +0 -447
  283. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  284. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  285. data/lib/stripe/services/source_service.rb +0 -92
  286. data/lib/stripe/services/source_transaction_service.rb +0 -3
  287. data/lib/stripe/services/subscription_item_service.rb +0 -56
  288. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  289. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  290. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  291. data/lib/stripe/services/subscription_service.rb +0 -245
  292. data/lib/stripe/services/tax/association_service.rb +0 -1
  293. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  294. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  295. data/lib/stripe/services/tax/form_service.rb +0 -7
  296. data/lib/stripe/services/tax/registration_service.rb +274 -108
  297. data/lib/stripe/services/tax/settings_service.rb +0 -8
  298. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  299. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  300. data/lib/stripe/services/tax_code_service.rb +0 -3
  301. data/lib/stripe/services/tax_id_service.rb +1 -12
  302. data/lib/stripe/services/tax_rate_service.rb +0 -27
  303. data/lib/stripe/services/terminal/configuration_service.rb +0 -108
  304. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  305. data/lib/stripe/services/terminal/location_service.rb +0 -21
  306. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  307. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
  308. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  309. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  310. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  311. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  312. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  313. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  314. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  315. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  316. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  317. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  318. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  319. data/lib/stripe/services/token_service.rb +4 -184
  320. data/lib/stripe/services/topup_service.rb +0 -21
  321. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  322. data/lib/stripe/services/transfer_service.rb +0 -19
  323. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  324. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  325. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  326. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  327. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  328. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  329. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  330. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  331. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  332. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  333. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  334. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  335. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  336. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  337. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  338. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  339. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  340. data/lib/stripe/stripe_client.rb +1 -1
  341. data/lib/stripe/stripe_object.rb +3 -3
  342. data/lib/stripe/util.rb +1 -1
  343. data/lib/stripe/version.rb +1 -1
  344. data/rbi/stripe/resources/account.rbi +29 -1001
  345. data/rbi/stripe/resources/account_link.rbi +0 -13
  346. data/rbi/stripe/resources/account_notice.rbi +0 -27
  347. data/rbi/stripe/resources/account_session.rbi +0 -166
  348. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  349. data/rbi/stripe/resources/application.rbi +0 -3
  350. data/rbi/stripe/resources/application_fee.rbi +0 -28
  351. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  352. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  353. data/rbi/stripe/resources/balance.rbi +0 -33
  354. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  355. data/rbi/stripe/resources/bank_account.rbi +0 -29
  356. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  357. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  358. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  359. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  360. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  361. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  362. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  363. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  364. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  365. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  366. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
  367. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  368. data/rbi/stripe/resources/capability.rbi +2 -29
  369. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  370. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  371. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  372. data/rbi/stripe/resources/card.rbi +3 -34
  373. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  374. data/rbi/stripe/resources/charge.rbi +6 -738
  375. data/rbi/stripe/resources/checkout/session.rbi +4 -636
  376. data/rbi/stripe/resources/climate/order.rbi +0 -48
  377. data/rbi/stripe/resources/climate/product.rbi +0 -16
  378. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  379. data/rbi/stripe/resources/confirmation_token.rbi +3 -364
  380. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  381. data/rbi/stripe/resources/country_spec.rbi +0 -16
  382. data/rbi/stripe/resources/coupon.rbi +0 -48
  383. data/rbi/stripe/resources/credit_note.rbi +0 -159
  384. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  385. data/rbi/stripe/resources/customer.rbi +1 -188
  386. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  387. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  388. data/rbi/stripe/resources/customer_session.rbi +0 -31
  389. data/rbi/stripe/resources/discount.rbi +0 -12
  390. data/rbi/stripe/resources/dispute.rbi +4 -166
  391. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  392. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  393. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  394. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  395. data/rbi/stripe/resources/event.rbi +0 -31
  396. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  397. data/rbi/stripe/resources/file.rbi +0 -29
  398. data/rbi/stripe/resources/file_link.rbi +0 -28
  399. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  400. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  401. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  402. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  403. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  404. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  405. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
  406. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  407. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  408. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  409. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  410. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  411. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  412. data/rbi/stripe/resources/invoice.rbi +7 -1663
  413. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  414. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  415. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  416. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  417. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  418. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  419. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  420. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  421. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  422. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  423. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  424. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  425. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  426. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  427. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  428. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  429. data/rbi/stripe/resources/line_item.rbi +0 -23
  430. data/rbi/stripe/resources/login_link.rbi +0 -2
  431. data/rbi/stripe/resources/mandate.rbi +0 -47
  432. data/rbi/stripe/resources/margin.rbi +0 -24
  433. data/rbi/stripe/resources/order.rbi +3 -492
  434. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  435. data/rbi/stripe/resources/payment_intent.rbi +3 -2224
  436. data/rbi/stripe/resources/payment_link.rbi +14 -291
  437. data/rbi/stripe/resources/payment_method.rbi +3 -382
  438. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
  439. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  440. data/rbi/stripe/resources/payment_record.rbi +0 -134
  441. data/rbi/stripe/resources/payout.rbi +0 -58
  442. data/rbi/stripe/resources/person.rbi +2 -92
  443. data/rbi/stripe/resources/plan.rbi +0 -78
  444. data/rbi/stripe/resources/price.rbi +0 -153
  445. data/rbi/stripe/resources/product.rbi +0 -120
  446. data/rbi/stripe/resources/product_feature.rbi +0 -4
  447. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  448. data/rbi/stripe/resources/quote.rbi +0 -593
  449. data/rbi/stripe/resources/quote_line.rbi +0 -66
  450. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  451. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  452. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  453. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  454. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  455. data/rbi/stripe/resources/refund.rbi +0 -100
  456. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  457. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  458. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  459. data/rbi/stripe/resources/reversal.rbi +0 -9
  460. data/rbi/stripe/resources/review.rbi +0 -32
  461. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  462. data/rbi/stripe/resources/setup_intent.rbi +3 -688
  463. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  464. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  465. data/rbi/stripe/resources/source.rbi +9 -365
  466. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  467. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  468. data/rbi/stripe/resources/subscription.rbi +0 -431
  469. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  470. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  471. data/rbi/stripe/resources/tax/association.rbi +0 -13
  472. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  473. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  474. data/rbi/stripe/resources/tax/form.rbi +2 -40
  475. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  476. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  477. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  478. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  479. data/rbi/stripe/resources/tax_code.rbi +0 -9
  480. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  481. data/rbi/stripe/resources/tax_id.rbi +2 -34
  482. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  483. data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
  484. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  485. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  486. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  487. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  488. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  489. data/rbi/stripe/resources/token.rbi +5 -235
  490. data/rbi/stripe/resources/topup.rbi +0 -44
  491. data/rbi/stripe/resources/transfer.rbi +0 -41
  492. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  493. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  494. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  495. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  496. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  497. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  498. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  499. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  500. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  501. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  502. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  503. data/rbi/stripe/resources/usage_record.rbi +0 -5
  504. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  505. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  506. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  507. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  508. data/rbi/stripe/resources/v2/event.rbi +0 -8
  509. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  510. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  511. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  512. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  513. data/rbi/stripe/services/account_link_service.rbi +0 -9
  514. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  515. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  516. data/rbi/stripe/services/account_person_service.rbi +0 -174
  517. data/rbi/stripe/services/account_service.rbi +10 -773
  518. data/rbi/stripe/services/account_session_service.rbi +0 -116
  519. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  520. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  521. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  522. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  523. data/rbi/stripe/services/balance_service.rbi +0 -1
  524. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  525. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  526. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  527. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  528. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  529. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  530. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  531. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  532. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  533. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
  534. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  535. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  536. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  537. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  538. data/rbi/stripe/services/charge_service.rbi +0 -346
  539. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  540. data/rbi/stripe/services/checkout/session_service.rbi +2 -395
  541. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  542. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  543. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  544. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  545. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  546. data/rbi/stripe/services/coupon_service.rbi +0 -30
  547. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  548. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  549. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  550. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  551. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  552. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  553. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  554. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  555. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  556. data/rbi/stripe/services/customer_service.rbi +1 -117
  557. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  558. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  559. data/rbi/stripe/services/dispute_service.rbi +2 -80
  560. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  561. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  562. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  563. data/rbi/stripe/services/event_service.rbi +0 -13
  564. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  565. data/rbi/stripe/services/file_link_service.rbi +0 -19
  566. data/rbi/stripe/services/file_service.rbi +0 -18
  567. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  568. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  569. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  570. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  571. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  572. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
  573. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  574. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  575. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  576. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  577. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  578. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  579. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  580. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  581. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  582. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  583. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  584. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  585. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  586. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  587. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  588. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  589. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  590. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  591. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  592. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  593. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  594. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  595. data/rbi/stripe/services/mandate_service.rbi +0 -1
  596. data/rbi/stripe/services/margin_service.rbi +0 -15
  597. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  598. data/rbi/stripe/services/order_service.rbi +2 -365
  599. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  600. data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
  601. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  602. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  603. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
  604. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  605. data/rbi/stripe/services/payment_method_service.rbi +0 -149
  606. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  607. data/rbi/stripe/services/payout_service.rbi +0 -31
  608. data/rbi/stripe/services/plan_service.rbi +0 -51
  609. data/rbi/stripe/services/price_service.rbi +0 -106
  610. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  611. data/rbi/stripe/services/product_service.rbi +0 -93
  612. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  613. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  614. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  615. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  616. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  617. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  618. data/rbi/stripe/services/quote_service.rbi +0 -440
  619. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  620. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  621. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  622. data/rbi/stripe/services/refund_service.rbi +0 -27
  623. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  624. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  625. data/rbi/stripe/services/review_service.rbi +0 -11
  626. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  627. data/rbi/stripe/services/setup_intent_service.rbi +0 -595
  628. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  629. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  630. data/rbi/stripe/services/source_service.rbi +0 -119
  631. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  632. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  633. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  634. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  635. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  636. data/rbi/stripe/services/subscription_service.rbi +0 -337
  637. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  638. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  639. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  640. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  641. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  642. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  643. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  644. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  645. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  646. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  647. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  648. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
  649. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  650. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  651. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  652. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  653. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
  654. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  655. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  656. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  657. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  658. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  659. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  660. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  661. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  662. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  663. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  664. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  665. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  666. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  667. data/rbi/stripe/services/token_service.rbi +5 -226
  668. data/rbi/stripe/services/topup_service.rbi +0 -28
  669. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  670. data/rbi/stripe/services/transfer_service.rbi +0 -24
  671. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  672. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  673. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  674. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  675. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  676. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  677. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  678. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  679. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  680. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  681. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  682. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  683. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  684. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  685. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  686. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  687. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  688. metadata +2 -2
@@ -9,19 +9,15 @@ module Stripe
9
9
  # Minimum value to filter by (exclusive)
10
10
  sig { returns(Integer) }
11
11
  attr_accessor :gt
12
-
13
12
  # Minimum value to filter by (inclusive)
14
13
  sig { returns(Integer) }
15
14
  attr_accessor :gte
16
-
17
15
  # Maximum value to filter by (exclusive)
18
16
  sig { returns(Integer) }
19
17
  attr_accessor :lt
20
-
21
18
  # Maximum value to filter by (inclusive)
22
19
  sig { returns(Integer) }
23
20
  attr_accessor :lte
24
-
25
21
  sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
26
22
  def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
27
23
  end
@@ -30,35 +26,27 @@ module Stripe
30
26
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
31
27
  sig { returns(T::Boolean) }
32
28
  attr_accessor :attach_to_self
33
-
34
29
  # A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
35
30
  sig { returns(T.any(::Stripe::SetupIntentService::ListParams::Created, Integer)) }
36
31
  attr_accessor :created
37
-
38
32
  # Only return SetupIntents for the customer specified by this customer ID.
39
33
  sig { returns(String) }
40
34
  attr_accessor :customer
41
-
42
35
  # 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.
43
36
  sig { returns(String) }
44
37
  attr_accessor :ending_before
45
-
46
38
  # Specifies which fields in the response should be expanded.
47
39
  sig { returns(T::Array[String]) }
48
40
  attr_accessor :expand
49
-
50
41
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
51
42
  sig { returns(Integer) }
52
43
  attr_accessor :limit
53
-
54
44
  # Only return SetupIntents that associate with the specified payment method.
55
45
  sig { returns(String) }
56
46
  attr_accessor :payment_method
57
-
58
47
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
59
48
  sig { returns(String) }
60
49
  attr_accessor :starting_after
61
-
62
50
  sig {
63
51
  params(attach_to_self: T::Boolean, created: T.any(::Stripe::SetupIntentService::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_method: String, starting_after: String).void
64
52
  }
@@ -80,11 +68,9 @@ module Stripe
80
68
  # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
81
69
  sig { returns(String) }
82
70
  attr_accessor :allow_redirects
83
-
84
71
  # Whether this feature is enabled.
85
72
  sig { returns(T::Boolean) }
86
73
  attr_accessor :enabled
87
-
88
74
  sig { params(allow_redirects: String, enabled: T::Boolean).void }
89
75
  def initialize(allow_redirects: nil, enabled: nil); end
90
76
  end
@@ -97,34 +83,28 @@ module Stripe
97
83
  # The IP address from which the Mandate was accepted by the customer.
98
84
  sig { returns(String) }
99
85
  attr_accessor :ip_address
100
-
101
86
  # The user agent of the browser from which the Mandate was accepted by the customer.
102
87
  sig { returns(String) }
103
88
  attr_accessor :user_agent
104
-
105
89
  sig { params(ip_address: String, user_agent: String).void }
106
90
  def initialize(ip_address: nil, user_agent: nil); end
107
91
  end
108
92
  # The time at which the customer accepted the Mandate.
109
93
  sig { returns(Integer) }
110
94
  attr_accessor :accepted_at
111
-
112
95
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
113
96
  sig {
114
97
  returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Offline)
115
98
  }
116
99
  attr_accessor :offline
117
-
118
100
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
119
101
  sig {
120
102
  returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Online)
121
103
  }
122
104
  attr_accessor :online
123
-
124
105
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
125
106
  sig { returns(String) }
126
107
  attr_accessor :type
127
-
128
108
  sig {
129
109
  params(accepted_at: Integer, offline: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance::Online, type: String).void
130
110
  }
@@ -133,7 +113,6 @@ module Stripe
133
113
  # This hash contains details about the customer acceptance of the Mandate.
134
114
  sig { returns(::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance) }
135
115
  attr_accessor :customer_acceptance
136
-
137
116
  sig {
138
117
  params(customer_acceptance: ::Stripe::SetupIntentService::CreateParams::MandateData::CustomerAcceptance).void
139
118
  }
@@ -144,15 +123,12 @@ module Stripe
144
123
  # Customer's bank account number.
145
124
  sig { returns(String) }
146
125
  attr_accessor :account_number
147
-
148
126
  # Institution number of the customer's bank.
149
127
  sig { returns(String) }
150
128
  attr_accessor :institution_number
151
-
152
129
  # Transit number of the customer's bank.
153
130
  sig { returns(String) }
154
131
  attr_accessor :transit_number
155
-
156
132
  sig {
157
133
  params(account_number: String, institution_number: String, transit_number: String).void
158
134
  }
@@ -177,11 +153,9 @@ module Stripe
177
153
  # The account number for the bank account.
178
154
  sig { returns(String) }
179
155
  attr_accessor :account_number
180
-
181
156
  # Bank-State-Branch number of the bank account.
182
157
  sig { returns(String) }
183
158
  attr_accessor :bsb_number
184
-
185
159
  sig { params(account_number: String, bsb_number: String).void }
186
160
  def initialize(account_number: nil, bsb_number: nil); end
187
161
  end
@@ -189,11 +163,9 @@ module Stripe
189
163
  # Account number of the bank account that the funds will be debited from.
190
164
  sig { returns(String) }
191
165
  attr_accessor :account_number
192
-
193
166
  # Sort code of the bank account. (e.g., `10-20-30`)
194
167
  sig { returns(String) }
195
168
  attr_accessor :sort_code
196
-
197
169
  sig { params(account_number: String, sort_code: String).void }
198
170
  def initialize(account_number: nil, sort_code: nil); end
199
171
  end
@@ -205,27 +177,21 @@ module Stripe
205
177
  # City, district, suburb, town, or village.
206
178
  sig { returns(String) }
207
179
  attr_accessor :city
208
-
209
180
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
210
181
  sig { returns(String) }
211
182
  attr_accessor :country
212
-
213
183
  # Address line 1 (e.g., street, PO Box, or company name).
214
184
  sig { returns(String) }
215
185
  attr_accessor :line1
216
-
217
186
  # Address line 2 (e.g., apartment, suite, unit, or building).
218
187
  sig { returns(String) }
219
188
  attr_accessor :line2
220
-
221
189
  # ZIP or postal code.
222
190
  sig { returns(String) }
223
191
  attr_accessor :postal_code
224
-
225
192
  # State, county, province, or region.
226
193
  sig { returns(String) }
227
194
  attr_accessor :state
228
-
229
195
  sig {
230
196
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
231
197
  }
@@ -243,19 +209,15 @@ module Stripe
243
209
  returns(T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address))
244
210
  }
245
211
  attr_accessor :address
246
-
247
212
  # Email address.
248
213
  sig { returns(T.nilable(String)) }
249
214
  attr_accessor :email
250
-
251
215
  # Full name.
252
216
  sig { returns(T.nilable(String)) }
253
217
  attr_accessor :name
254
-
255
218
  # Billing phone number (including extension).
256
219
  sig { returns(T.nilable(String)) }
257
220
  attr_accessor :phone
258
-
259
221
  sig {
260
222
  params(address: T.nilable(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
261
223
  }
@@ -268,7 +230,6 @@ module Stripe
268
230
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
269
231
  sig { returns(String) }
270
232
  attr_accessor :tax_id
271
-
272
233
  sig { params(tax_id: String).void }
273
234
  def initialize(tax_id: nil); end
274
235
  end
@@ -282,7 +243,6 @@ module Stripe
282
243
  # The customer's bank.
283
244
  sig { returns(String) }
284
245
  attr_accessor :bank
285
-
286
246
  sig { params(bank: String).void }
287
247
  def initialize(bank: nil); end
288
248
  end
@@ -290,11 +250,9 @@ module Stripe
290
250
  # Account holder type for FPX transaction
291
251
  sig { returns(String) }
292
252
  attr_accessor :account_holder_type
293
-
294
253
  # The customer's bank.
295
254
  sig { returns(String) }
296
255
  attr_accessor :bank
297
-
298
256
  sig { params(account_holder_type: String, bank: String).void }
299
257
  def initialize(account_holder_type: nil, bank: nil); end
300
258
  end
@@ -311,7 +269,6 @@ module Stripe
311
269
  # Bank where the account is held.
312
270
  sig { returns(String) }
313
271
  attr_accessor :bank
314
-
315
272
  sig { params(bank: String).void }
316
273
  def initialize(bank: nil); end
317
274
  end
@@ -319,7 +276,6 @@ module Stripe
319
276
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
320
277
  sig { returns(String) }
321
278
  attr_accessor :bank
322
-
323
279
  sig { params(bank: String).void }
324
280
  def initialize(bank: nil); end
325
281
  end
@@ -334,15 +290,12 @@ module Stripe
334
290
  # The day of birth, between 1 and 31.
335
291
  sig { returns(Integer) }
336
292
  attr_accessor :day
337
-
338
293
  # The month of birth, between 1 and 12.
339
294
  sig { returns(Integer) }
340
295
  attr_accessor :month
341
-
342
296
  # The four-digit year of birth.
343
297
  sig { returns(Integer) }
344
298
  attr_accessor :year
345
-
346
299
  sig { params(day: Integer, month: Integer, year: Integer).void }
347
300
  def initialize(day: nil, month: nil, year: nil); end
348
301
  end
@@ -351,7 +304,6 @@ module Stripe
351
304
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna::Dob)
352
305
  }
353
306
  attr_accessor :dob
354
-
355
307
  sig {
356
308
  params(dob: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna::Dob).void
357
309
  }
@@ -379,7 +331,6 @@ module Stripe
379
331
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
380
332
  sig { returns(String) }
381
333
  attr_accessor :funding
382
-
383
334
  sig { params(funding: String).void }
384
335
  def initialize(funding: nil); end
385
336
  end
@@ -390,7 +341,6 @@ module Stripe
390
341
  # The customer's bank.
391
342
  sig { returns(String) }
392
343
  attr_accessor :bank
393
-
394
344
  sig { params(bank: String).void }
395
345
  def initialize(bank: nil); end
396
346
  end
@@ -407,15 +357,12 @@ module Stripe
407
357
  # The account number for the bank account.
408
358
  sig { returns(String) }
409
359
  attr_accessor :account_number
410
-
411
360
  # Bank-State-Branch number of the bank account.
412
361
  sig { returns(String) }
413
362
  attr_accessor :bsb_number
414
-
415
363
  # The PayID alias for the bank account.
416
364
  sig { returns(String) }
417
365
  attr_accessor :pay_id
418
-
419
366
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
420
367
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
421
368
  end
@@ -432,7 +379,6 @@ module Stripe
432
379
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
433
380
  sig { returns(String) }
434
381
  attr_accessor :session
435
-
436
382
  sig { params(session: String).void }
437
383
  def initialize(session: nil); end
438
384
  end
@@ -441,15 +387,12 @@ module Stripe
441
387
  # The day of birth, between 1 and 31.
442
388
  sig { returns(Integer) }
443
389
  attr_accessor :day
444
-
445
390
  # The month of birth, between 1 and 12.
446
391
  sig { returns(Integer) }
447
392
  attr_accessor :month
448
-
449
393
  # The four-digit year of birth.
450
394
  sig { returns(Integer) }
451
395
  attr_accessor :year
452
-
453
396
  sig { params(day: Integer, month: Integer, year: Integer).void }
454
397
  def initialize(day: nil, month: nil, year: nil); end
455
398
  end
@@ -458,7 +401,6 @@ module Stripe
458
401
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung::Dob)
459
402
  }
460
403
  attr_accessor :dob
461
-
462
404
  sig {
463
405
  params(dob: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung::Dob).void
464
406
  }
@@ -474,7 +416,6 @@ module Stripe
474
416
  # IBAN of the bank account.
475
417
  sig { returns(String) }
476
418
  attr_accessor :iban
477
-
478
419
  sig { params(iban: String).void }
479
420
  def initialize(iban: nil); end
480
421
  end
@@ -485,7 +426,6 @@ module Stripe
485
426
  # Two-letter ISO code representing the country the bank account is located in.
486
427
  sig { returns(String) }
487
428
  attr_accessor :country
488
-
489
429
  sig { params(country: String).void }
490
430
  def initialize(country: nil); end
491
431
  end
@@ -499,23 +439,18 @@ module Stripe
499
439
  # Account holder type: individual or company.
500
440
  sig { returns(String) }
501
441
  attr_accessor :account_holder_type
502
-
503
442
  # Account number of the bank account.
504
443
  sig { returns(String) }
505
444
  attr_accessor :account_number
506
-
507
445
  # Account type: checkings or savings. Defaults to checking if omitted.
508
446
  sig { returns(String) }
509
447
  attr_accessor :account_type
510
-
511
448
  # The ID of a Financial Connections Account to use as a payment method.
512
449
  sig { returns(String) }
513
450
  attr_accessor :financial_connections_account
514
-
515
451
  # Routing number of the bank account.
516
452
  sig { returns(String) }
517
453
  attr_accessor :routing_number
518
-
519
454
  sig {
520
455
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
521
456
  }
@@ -536,235 +471,180 @@ module Stripe
536
471
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
537
472
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AcssDebit) }
538
473
  attr_accessor :acss_debit
539
-
540
474
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
541
475
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Affirm) }
542
476
  attr_accessor :affirm
543
-
544
477
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
545
478
  sig {
546
479
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AfterpayClearpay)
547
480
  }
548
481
  attr_accessor :afterpay_clearpay
549
-
550
482
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
551
483
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alipay) }
552
484
  attr_accessor :alipay
553
-
554
485
  # 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. The field defaults to `unspecified`.
555
486
  sig { returns(String) }
556
487
  attr_accessor :allow_redisplay
557
-
558
488
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
559
489
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alma) }
560
490
  attr_accessor :alma
561
-
562
491
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
563
492
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AmazonPay) }
564
493
  attr_accessor :amazon_pay
565
-
566
494
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
567
495
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AuBecsDebit) }
568
496
  attr_accessor :au_becs_debit
569
-
570
497
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
571
498
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BacsDebit) }
572
499
  attr_accessor :bacs_debit
573
-
574
500
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
575
501
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact) }
576
502
  attr_accessor :bancontact
577
-
578
503
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
579
504
  sig {
580
505
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails)
581
506
  }
582
507
  attr_accessor :billing_details
583
-
584
508
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
585
509
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Blik) }
586
510
  attr_accessor :blik
587
-
588
511
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
589
512
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Boleto) }
590
513
  attr_accessor :boleto
591
-
592
514
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
593
515
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Cashapp) }
594
516
  attr_accessor :cashapp
595
-
596
517
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
597
518
  sig {
598
519
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::CustomerBalance)
599
520
  }
600
521
  attr_accessor :customer_balance
601
-
602
522
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
603
523
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Eps) }
604
524
  attr_accessor :eps
605
-
606
525
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
607
526
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Fpx) }
608
527
  attr_accessor :fpx
609
-
610
528
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
611
529
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Giropay) }
612
530
  attr_accessor :giropay
613
-
614
531
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
615
532
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Gopay) }
616
533
  attr_accessor :gopay
617
-
618
534
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
619
535
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Grabpay) }
620
536
  attr_accessor :grabpay
621
-
622
537
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
623
538
  sig {
624
539
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::IdBankTransfer)
625
540
  }
626
541
  attr_accessor :id_bank_transfer
627
-
628
542
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
629
543
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Ideal) }
630
544
  attr_accessor :ideal
631
-
632
545
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
633
546
  sig {
634
547
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::InteracPresent)
635
548
  }
636
549
  attr_accessor :interac_present
637
-
638
550
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
639
551
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KakaoPay) }
640
552
  attr_accessor :kakao_pay
641
-
642
553
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
643
554
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna) }
644
555
  attr_accessor :klarna
645
-
646
556
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
647
557
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Konbini) }
648
558
  attr_accessor :konbini
649
-
650
559
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
651
560
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KrCard) }
652
561
  attr_accessor :kr_card
653
-
654
562
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
655
563
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Link) }
656
564
  attr_accessor :link
657
-
658
565
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
659
566
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::MbWay) }
660
567
  attr_accessor :mb_way
661
-
662
568
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
663
569
  sig { returns(T::Hash[String, String]) }
664
570
  attr_accessor :metadata
665
-
666
571
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
667
572
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Mobilepay) }
668
573
  attr_accessor :mobilepay
669
-
670
574
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
671
575
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Multibanco) }
672
576
  attr_accessor :multibanco
673
-
674
577
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
675
578
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::NaverPay) }
676
579
  attr_accessor :naver_pay
677
-
678
580
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
679
581
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Oxxo) }
680
582
  attr_accessor :oxxo
681
-
682
583
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
683
584
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::P24) }
684
585
  attr_accessor :p24
685
-
686
586
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
687
587
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payco) }
688
588
  attr_accessor :payco
689
-
690
589
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
691
590
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paynow) }
692
591
  attr_accessor :paynow
693
-
694
592
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
695
593
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paypal) }
696
594
  attr_accessor :paypal
697
-
698
595
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
699
596
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payto) }
700
597
  attr_accessor :payto
701
-
702
598
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
703
599
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Pix) }
704
600
  attr_accessor :pix
705
-
706
601
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
707
602
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Promptpay) }
708
603
  attr_accessor :promptpay
709
-
710
604
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
711
605
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Qris) }
712
606
  attr_accessor :qris
713
-
714
607
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
715
608
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RadarOptions) }
716
609
  attr_accessor :radar_options
717
-
718
610
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
719
611
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung) }
720
612
  attr_accessor :rechnung
721
-
722
613
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
723
614
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay) }
724
615
  attr_accessor :revolut_pay
725
-
726
616
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
727
617
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay) }
728
618
  attr_accessor :samsung_pay
729
-
730
619
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
731
620
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SepaDebit) }
732
621
  attr_accessor :sepa_debit
733
-
734
622
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
735
623
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Shopeepay) }
736
624
  attr_accessor :shopeepay
737
-
738
625
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
739
626
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Sofort) }
740
627
  attr_accessor :sofort
741
-
742
628
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
743
629
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Swish) }
744
630
  attr_accessor :swish
745
-
746
631
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
747
632
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Twint) }
748
633
  attr_accessor :twint
749
-
750
634
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
751
635
  sig { returns(String) }
752
636
  attr_accessor :type
753
-
754
637
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
755
638
  sig {
756
639
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::UsBankAccount)
757
640
  }
758
641
  attr_accessor :us_bank_account
759
-
760
642
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
761
643
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::WechatPay) }
762
644
  attr_accessor :wechat_pay
763
-
764
645
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
765
646
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Zip) }
766
647
  attr_accessor :zip
767
-
768
648
  sig {
769
649
  params(acss_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData::Zip).void
770
650
  }
@@ -834,23 +714,18 @@ module Stripe
834
714
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
835
715
  sig { returns(T.nilable(String)) }
836
716
  attr_accessor :custom_mandate_url
837
-
838
717
  # List of Stripe products where this mandate can be selected automatically.
839
718
  sig { returns(T::Array[String]) }
840
719
  attr_accessor :default_for
841
-
842
720
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
843
721
  sig { returns(String) }
844
722
  attr_accessor :interval_description
845
-
846
723
  # Payment schedule for the mandate.
847
724
  sig { returns(String) }
848
725
  attr_accessor :payment_schedule
849
-
850
726
  # Transaction type of the mandate.
851
727
  sig { returns(String) }
852
728
  attr_accessor :transaction_type
853
-
854
729
  sig {
855
730
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
856
731
  }
@@ -865,17 +740,14 @@ module Stripe
865
740
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
866
741
  sig { returns(String) }
867
742
  attr_accessor :currency
868
-
869
743
  # Additional fields for Mandate creation
870
744
  sig {
871
745
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
872
746
  }
873
747
  attr_accessor :mandate_options
874
-
875
748
  # Bank account verification method.
876
749
  sig { returns(String) }
877
750
  attr_accessor :verification_method
878
-
879
751
  sig {
880
752
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
881
753
  }
@@ -889,7 +761,6 @@ module Stripe
889
761
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
890
762
  sig { returns(T.nilable(String)) }
891
763
  attr_accessor :reference_prefix
892
-
893
764
  sig { params(reference_prefix: T.nilable(String)).void }
894
765
  def initialize(reference_prefix: nil); end
895
766
  end
@@ -898,7 +769,6 @@ module Stripe
898
769
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
899
770
  }
900
771
  attr_accessor :mandate_options
901
-
902
772
  sig {
903
773
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
904
774
  }
@@ -909,43 +779,33 @@ module Stripe
909
779
  # Amount to be charged for future payments.
910
780
  sig { returns(Integer) }
911
781
  attr_accessor :amount
912
-
913
782
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
914
783
  sig { returns(String) }
915
784
  attr_accessor :amount_type
916
-
917
785
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
918
786
  sig { returns(String) }
919
787
  attr_accessor :currency
920
-
921
788
  # A description of the mandate or subscription that is meant to be displayed to the customer.
922
789
  sig { returns(String) }
923
790
  attr_accessor :description
924
-
925
791
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
926
792
  sig { returns(Integer) }
927
793
  attr_accessor :end_date
928
-
929
794
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
930
795
  sig { returns(String) }
931
796
  attr_accessor :interval
932
-
933
797
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
934
798
  sig { returns(Integer) }
935
799
  attr_accessor :interval_count
936
-
937
800
  # Unique identifier for the mandate or subscription.
938
801
  sig { returns(String) }
939
802
  attr_accessor :reference
940
-
941
803
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
942
804
  sig { returns(Integer) }
943
805
  attr_accessor :start_date
944
-
945
806
  # Specifies the type of mandates supported. Possible values are `india`.
946
807
  sig { returns(T::Array[String]) }
947
808
  attr_accessor :supported_types
948
-
949
809
  sig {
950
810
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
951
811
  }
@@ -970,19 +830,16 @@ module Stripe
970
830
  # messageExtension: CB-AVALGO
971
831
  sig { returns(String) }
972
832
  attr_accessor :cb_avalgo
973
-
974
833
  # The exemption indicator returned from Cartes Bancaires in the ARes.
975
834
  # message extension: CB-EXEMPTION; string (4 characters)
976
835
  # This is a 3 byte bitmap (low significant byte first and most significant
977
836
  # bit first) that has been Base64 encoded
978
837
  sig { returns(String) }
979
838
  attr_accessor :cb_exemption
980
-
981
839
  # The risk score returned from Cartes Bancaires in the ARes.
982
840
  # message extension: CB-SCORE; numeric value 0-99
983
841
  sig { returns(Integer) }
984
842
  attr_accessor :cb_score
985
-
986
843
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
987
844
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
988
845
  end
@@ -991,7 +848,6 @@ module Stripe
991
848
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
992
849
  }
993
850
  attr_accessor :cartes_bancaires
994
-
995
851
  sig {
996
852
  params(cartes_bancaires: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
997
853
  }
@@ -1000,19 +856,16 @@ module Stripe
1000
856
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
1001
857
  sig { returns(String) }
1002
858
  attr_accessor :ares_trans_status
1003
-
1004
859
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
1005
860
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
1006
861
  # (Most 3D Secure providers will return the base64-encoded version, which
1007
862
  # is what you should specify here.)
1008
863
  sig { returns(String) }
1009
864
  attr_accessor :cryptogram
1010
-
1011
865
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
1012
866
  # provider and indicates what degree of authentication was performed.
1013
867
  sig { returns(String) }
1014
868
  attr_accessor :electronic_commerce_indicator
1015
-
1016
869
  # Network specific 3DS fields. Network specific arguments require an
1017
870
  # explicit card brand choice. The parameter `payment_method_options.card.network``
1018
871
  # must be populated accordingly
@@ -1020,21 +873,17 @@ module Stripe
1020
873
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
1021
874
  }
1022
875
  attr_accessor :network_options
1023
-
1024
876
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
1025
877
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
1026
878
  sig { returns(String) }
1027
879
  attr_accessor :requestor_challenge_indicator
1028
-
1029
880
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
1030
881
  # Transaction ID (dsTransID).
1031
882
  sig { returns(String) }
1032
883
  attr_accessor :transaction_id
1033
-
1034
884
  # The version of 3D Secure that was performed.
1035
885
  sig { returns(String) }
1036
886
  attr_accessor :version
1037
-
1038
887
  sig {
1039
888
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
1040
889
  }
@@ -1053,28 +902,23 @@ module Stripe
1053
902
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::MandateOptions)
1054
903
  }
1055
904
  attr_accessor :mandate_options
1056
-
1057
905
  # When specified, this parameter signals that a card has been collected
1058
906
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
1059
907
  # parameter can only be provided during confirmation.
1060
908
  sig { returns(T::Boolean) }
1061
909
  attr_accessor :moto
1062
-
1063
910
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
1064
911
  sig { returns(String) }
1065
912
  attr_accessor :network
1066
-
1067
913
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1068
914
  sig { returns(String) }
1069
915
  attr_accessor :request_three_d_secure
1070
-
1071
916
  # If 3D Secure authentication was performed with a third-party provider,
1072
917
  # the authentication details to use for this setup.
1073
918
  sig {
1074
919
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure)
1075
920
  }
1076
921
  attr_accessor :three_d_secure
1077
-
1078
922
  sig {
1079
923
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card::ThreeDSecure).void
1080
924
  }
@@ -1093,7 +937,6 @@ module Stripe
1093
937
  # [Deprecated] This is a legacy parameter that no longer has any function.
1094
938
  sig { returns(String) }
1095
939
  attr_accessor :persistent_token
1096
-
1097
940
  sig { params(persistent_token: String).void }
1098
941
  def initialize(persistent_token: nil); end
1099
942
  end
@@ -1101,15 +944,12 @@ module Stripe
1101
944
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1102
945
  sig { returns(String) }
1103
946
  attr_accessor :billing_agreement_id
1104
-
1105
947
  # Attribute for param field currency
1106
948
  sig { returns(String) }
1107
949
  attr_accessor :currency
1108
-
1109
950
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1110
951
  sig { returns(T::Array[String]) }
1111
952
  attr_accessor :subsellers
1112
-
1113
953
  sig {
1114
954
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
1115
955
  }
@@ -1120,31 +960,24 @@ module Stripe
1120
960
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
1121
961
  sig { returns(Integer) }
1122
962
  attr_accessor :amount
1123
-
1124
963
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1125
964
  sig { returns(String) }
1126
965
  attr_accessor :amount_type
1127
-
1128
966
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1129
967
  sig { returns(String) }
1130
968
  attr_accessor :end_date
1131
-
1132
969
  # The periodicity at which payments will be collected.
1133
970
  sig { returns(String) }
1134
971
  attr_accessor :payment_schedule
1135
-
1136
972
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1137
973
  sig { returns(Integer) }
1138
974
  attr_accessor :payments_per_period
1139
-
1140
975
  # The purpose for which payments are made. Defaults to retail.
1141
976
  sig { returns(String) }
1142
977
  attr_accessor :purpose
1143
-
1144
978
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1145
979
  sig { returns(String) }
1146
980
  attr_accessor :start_date
1147
-
1148
981
  sig {
1149
982
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
1150
983
  }
@@ -1163,7 +996,6 @@ module Stripe
1163
996
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto::MandateOptions)
1164
997
  }
1165
998
  attr_accessor :mandate_options
1166
-
1167
999
  sig {
1168
1000
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto::MandateOptions).void
1169
1001
  }
@@ -1174,7 +1006,6 @@ module Stripe
1174
1006
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
1175
1007
  sig { returns(T.nilable(String)) }
1176
1008
  attr_accessor :reference_prefix
1177
-
1178
1009
  sig { params(reference_prefix: T.nilable(String)).void }
1179
1010
  def initialize(reference_prefix: nil); end
1180
1011
  end
@@ -1183,7 +1014,6 @@ module Stripe
1183
1014
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
1184
1015
  }
1185
1016
  attr_accessor :mandate_options
1186
-
1187
1017
  sig {
1188
1018
  params(mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
1189
1019
  }
@@ -1195,11 +1025,9 @@ module Stripe
1195
1025
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1196
1026
  sig { returns(T::Array[String]) }
1197
1027
  attr_accessor :account_subcategories
1198
-
1199
1028
  # ID of the institution to use to filter for selectable accounts.
1200
1029
  sig { returns(String) }
1201
1030
  attr_accessor :institution
1202
-
1203
1031
  sig { params(account_subcategories: T::Array[String], institution: String).void }
1204
1032
  def initialize(account_subcategories: nil, institution: nil); end
1205
1033
  end
@@ -1207,7 +1035,6 @@ module Stripe
1207
1035
  # Settings for configuring manual entry of account details.
1208
1036
  sig { returns(String) }
1209
1037
  attr_accessor :mode
1210
-
1211
1038
  sig { params(mode: String).void }
1212
1039
  def initialize(mode: nil); end
1213
1040
  end
@@ -1216,25 +1043,20 @@ module Stripe
1216
1043
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
1217
1044
  }
1218
1045
  attr_accessor :filters
1219
-
1220
1046
  # Customize manual entry behavior
1221
1047
  sig {
1222
1048
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
1223
1049
  }
1224
1050
  attr_accessor :manual_entry
1225
-
1226
1051
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
1227
1052
  sig { returns(T::Array[String]) }
1228
1053
  attr_accessor :permissions
1229
-
1230
1054
  # List of data features that you would like to retrieve upon account creation.
1231
1055
  sig { returns(T::Array[String]) }
1232
1056
  attr_accessor :prefetch
1233
-
1234
1057
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
1235
1058
  sig { returns(String) }
1236
1059
  attr_accessor :return_url
1237
-
1238
1060
  sig {
1239
1061
  params(filters: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
1240
1062
  }
@@ -1250,7 +1072,6 @@ module Stripe
1250
1072
  # The method used to collect offline mandate customer acceptance.
1251
1073
  sig { returns(T.nilable(String)) }
1252
1074
  attr_accessor :collection_method
1253
-
1254
1075
  sig { params(collection_method: T.nilable(String)).void }
1255
1076
  def initialize(collection_method: nil); end
1256
1077
  end
@@ -1258,7 +1079,6 @@ module Stripe
1258
1079
  # Triggers validations to run across the selected networks
1259
1080
  sig { returns(T::Array[String]) }
1260
1081
  attr_accessor :requested
1261
-
1262
1082
  sig { params(requested: T::Array[String]).void }
1263
1083
  def initialize(requested: nil); end
1264
1084
  end
@@ -1267,23 +1087,19 @@ module Stripe
1267
1087
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
1268
1088
  }
1269
1089
  attr_accessor :financial_connections
1270
-
1271
1090
  # Additional fields for Mandate creation
1272
1091
  sig {
1273
1092
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
1274
1093
  }
1275
1094
  attr_accessor :mandate_options
1276
-
1277
1095
  # Additional fields for network related functions
1278
1096
  sig {
1279
1097
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::Networks)
1280
1098
  }
1281
1099
  attr_accessor :networks
1282
-
1283
1100
  # Bank account verification method.
1284
1101
  sig { returns(String) }
1285
1102
  attr_accessor :verification_method
1286
-
1287
1103
  sig {
1288
1104
  params(financial_connections: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
1289
1105
  }
@@ -1297,47 +1113,37 @@ module Stripe
1297
1113
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
1298
1114
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit) }
1299
1115
  attr_accessor :acss_debit
1300
-
1301
1116
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
1302
1117
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AmazonPay) }
1303
1118
  attr_accessor :amazon_pay
1304
-
1305
1119
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
1306
1120
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit) }
1307
1121
  attr_accessor :bacs_debit
1308
-
1309
1122
  # Configuration for any card setup attempted on this SetupIntent.
1310
1123
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card) }
1311
1124
  attr_accessor :card
1312
-
1313
1125
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
1314
1126
  sig {
1315
1127
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::CardPresent)
1316
1128
  }
1317
1129
  attr_accessor :card_present
1318
-
1319
1130
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1320
1131
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Link) }
1321
1132
  attr_accessor :link
1322
-
1323
1133
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1324
1134
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Paypal) }
1325
1135
  attr_accessor :paypal
1326
-
1327
1136
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1328
1137
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto) }
1329
1138
  attr_accessor :payto
1330
-
1331
1139
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1332
1140
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit) }
1333
1141
  attr_accessor :sepa_debit
1334
-
1335
1142
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
1336
1143
  sig {
1337
1144
  returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount)
1338
1145
  }
1339
1146
  attr_accessor :us_bank_account
1340
-
1341
1147
  sig {
1342
1148
  params(acss_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions::UsBankAccount).void
1343
1149
  }
@@ -1358,11 +1164,9 @@ module Stripe
1358
1164
  # Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
1359
1165
  sig { returns(Integer) }
1360
1166
  attr_accessor :amount
1361
-
1362
1167
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1363
1168
  sig { returns(String) }
1364
1169
  attr_accessor :currency
1365
-
1366
1170
  sig { params(amount: Integer, currency: String).void }
1367
1171
  def initialize(amount: nil, currency: nil); end
1368
1172
  end
@@ -1371,90 +1175,70 @@ module Stripe
1371
1175
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
1372
1176
  sig { returns(T::Boolean) }
1373
1177
  attr_accessor :attach_to_self
1374
-
1375
1178
  # When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
1376
1179
  sig { returns(::Stripe::SetupIntentService::CreateParams::AutomaticPaymentMethods) }
1377
1180
  attr_accessor :automatic_payment_methods
1378
-
1379
1181
  # Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.
1380
1182
  sig { returns(T::Boolean) }
1381
1183
  attr_accessor :confirm
1382
-
1383
1184
  # ID of the ConfirmationToken used to confirm this SetupIntent.
1384
1185
  #
1385
1186
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
1386
1187
  sig { returns(String) }
1387
1188
  attr_accessor :confirmation_token
1388
-
1389
1189
  # ID of the Customer this SetupIntent belongs to, if one exists.
1390
1190
  #
1391
1191
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
1392
1192
  sig { returns(String) }
1393
1193
  attr_accessor :customer
1394
-
1395
1194
  # An arbitrary string attached to the object. Often useful for displaying to users.
1396
1195
  sig { returns(String) }
1397
1196
  attr_accessor :description
1398
-
1399
1197
  # Specifies which fields in the response should be expanded.
1400
1198
  sig { returns(T::Array[String]) }
1401
1199
  attr_accessor :expand
1402
-
1403
1200
  # Indicates the directions of money movement for which this payment method is intended to be used.
1404
1201
  #
1405
1202
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
1406
1203
  sig { returns(T::Array[String]) }
1407
1204
  attr_accessor :flow_directions
1408
-
1409
1205
  # This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1410
1206
  sig { returns(T.nilable(::Stripe::SetupIntentService::CreateParams::MandateData)) }
1411
1207
  attr_accessor :mandate_data
1412
-
1413
1208
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1414
1209
  sig { returns(T::Hash[String, String]) }
1415
1210
  attr_accessor :metadata
1416
-
1417
1211
  # The Stripe account ID created for this SetupIntent.
1418
1212
  sig { returns(String) }
1419
1213
  attr_accessor :on_behalf_of
1420
-
1421
1214
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
1422
1215
  sig { returns(String) }
1423
1216
  attr_accessor :payment_method
1424
-
1425
1217
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
1426
1218
  sig { returns(String) }
1427
1219
  attr_accessor :payment_method_configuration
1428
-
1429
1220
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
1430
1221
  # value in the SetupIntent.
1431
1222
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodData) }
1432
1223
  attr_accessor :payment_method_data
1433
-
1434
1224
  # Payment method-specific configuration for this SetupIntent.
1435
1225
  sig { returns(::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions) }
1436
1226
  attr_accessor :payment_method_options
1437
-
1438
1227
  # The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
1439
1228
  sig { returns(T::Array[String]) }
1440
1229
  attr_accessor :payment_method_types
1441
-
1442
1230
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
1443
1231
  sig { returns(String) }
1444
1232
  attr_accessor :return_url
1445
-
1446
1233
  # If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
1447
1234
  sig { returns(::Stripe::SetupIntentService::CreateParams::SingleUse) }
1448
1235
  attr_accessor :single_use
1449
-
1450
1236
  # Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
1451
1237
  sig { returns(String) }
1452
1238
  attr_accessor :usage
1453
-
1454
1239
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
1455
1240
  sig { returns(T::Boolean) }
1456
1241
  attr_accessor :use_stripe_sdk
1457
-
1458
1242
  sig {
1459
1243
  params(attach_to_self: T::Boolean, automatic_payment_methods: ::Stripe::SetupIntentService::CreateParams::AutomaticPaymentMethods, confirm: T::Boolean, confirmation_token: String, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntentService::CreateParams::MandateData), metadata: T::Hash[String, String], on_behalf_of: String, payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntentService::CreateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::CreateParams::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: String, single_use: ::Stripe::SetupIntentService::CreateParams::SingleUse, usage: String, use_stripe_sdk: T::Boolean).void
1460
1244
  }
@@ -1485,11 +1269,9 @@ module Stripe
1485
1269
  # The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
1486
1270
  sig { returns(String) }
1487
1271
  attr_accessor :client_secret
1488
-
1489
1272
  # Specifies which fields in the response should be expanded.
1490
1273
  sig { returns(T::Array[String]) }
1491
1274
  attr_accessor :expand
1492
-
1493
1275
  sig { params(client_secret: String, expand: T::Array[String]).void }
1494
1276
  def initialize(client_secret: nil, expand: nil); end
1495
1277
  end
@@ -1499,15 +1281,12 @@ module Stripe
1499
1281
  # Customer's bank account number.
1500
1282
  sig { returns(String) }
1501
1283
  attr_accessor :account_number
1502
-
1503
1284
  # Institution number of the customer's bank.
1504
1285
  sig { returns(String) }
1505
1286
  attr_accessor :institution_number
1506
-
1507
1287
  # Transit number of the customer's bank.
1508
1288
  sig { returns(String) }
1509
1289
  attr_accessor :transit_number
1510
-
1511
1290
  sig {
1512
1291
  params(account_number: String, institution_number: String, transit_number: String).void
1513
1292
  }
@@ -1532,11 +1311,9 @@ module Stripe
1532
1311
  # The account number for the bank account.
1533
1312
  sig { returns(String) }
1534
1313
  attr_accessor :account_number
1535
-
1536
1314
  # Bank-State-Branch number of the bank account.
1537
1315
  sig { returns(String) }
1538
1316
  attr_accessor :bsb_number
1539
-
1540
1317
  sig { params(account_number: String, bsb_number: String).void }
1541
1318
  def initialize(account_number: nil, bsb_number: nil); end
1542
1319
  end
@@ -1544,11 +1321,9 @@ module Stripe
1544
1321
  # Account number of the bank account that the funds will be debited from.
1545
1322
  sig { returns(String) }
1546
1323
  attr_accessor :account_number
1547
-
1548
1324
  # Sort code of the bank account. (e.g., `10-20-30`)
1549
1325
  sig { returns(String) }
1550
1326
  attr_accessor :sort_code
1551
-
1552
1327
  sig { params(account_number: String, sort_code: String).void }
1553
1328
  def initialize(account_number: nil, sort_code: nil); end
1554
1329
  end
@@ -1560,27 +1335,21 @@ module Stripe
1560
1335
  # City, district, suburb, town, or village.
1561
1336
  sig { returns(String) }
1562
1337
  attr_accessor :city
1563
-
1564
1338
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1565
1339
  sig { returns(String) }
1566
1340
  attr_accessor :country
1567
-
1568
1341
  # Address line 1 (e.g., street, PO Box, or company name).
1569
1342
  sig { returns(String) }
1570
1343
  attr_accessor :line1
1571
-
1572
1344
  # Address line 2 (e.g., apartment, suite, unit, or building).
1573
1345
  sig { returns(String) }
1574
1346
  attr_accessor :line2
1575
-
1576
1347
  # ZIP or postal code.
1577
1348
  sig { returns(String) }
1578
1349
  attr_accessor :postal_code
1579
-
1580
1350
  # State, county, province, or region.
1581
1351
  sig { returns(String) }
1582
1352
  attr_accessor :state
1583
-
1584
1353
  sig {
1585
1354
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1586
1355
  }
@@ -1598,19 +1367,15 @@ module Stripe
1598
1367
  returns(T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address))
1599
1368
  }
1600
1369
  attr_accessor :address
1601
-
1602
1370
  # Email address.
1603
1371
  sig { returns(T.nilable(String)) }
1604
1372
  attr_accessor :email
1605
-
1606
1373
  # Full name.
1607
1374
  sig { returns(T.nilable(String)) }
1608
1375
  attr_accessor :name
1609
-
1610
1376
  # Billing phone number (including extension).
1611
1377
  sig { returns(T.nilable(String)) }
1612
1378
  attr_accessor :phone
1613
-
1614
1379
  sig {
1615
1380
  params(address: T.nilable(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
1616
1381
  }
@@ -1623,7 +1388,6 @@ module Stripe
1623
1388
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
1624
1389
  sig { returns(String) }
1625
1390
  attr_accessor :tax_id
1626
-
1627
1391
  sig { params(tax_id: String).void }
1628
1392
  def initialize(tax_id: nil); end
1629
1393
  end
@@ -1637,7 +1401,6 @@ module Stripe
1637
1401
  # The customer's bank.
1638
1402
  sig { returns(String) }
1639
1403
  attr_accessor :bank
1640
-
1641
1404
  sig { params(bank: String).void }
1642
1405
  def initialize(bank: nil); end
1643
1406
  end
@@ -1645,11 +1408,9 @@ module Stripe
1645
1408
  # Account holder type for FPX transaction
1646
1409
  sig { returns(String) }
1647
1410
  attr_accessor :account_holder_type
1648
-
1649
1411
  # The customer's bank.
1650
1412
  sig { returns(String) }
1651
1413
  attr_accessor :bank
1652
-
1653
1414
  sig { params(account_holder_type: String, bank: String).void }
1654
1415
  def initialize(account_holder_type: nil, bank: nil); end
1655
1416
  end
@@ -1666,7 +1427,6 @@ module Stripe
1666
1427
  # Bank where the account is held.
1667
1428
  sig { returns(String) }
1668
1429
  attr_accessor :bank
1669
-
1670
1430
  sig { params(bank: String).void }
1671
1431
  def initialize(bank: nil); end
1672
1432
  end
@@ -1674,7 +1434,6 @@ module Stripe
1674
1434
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
1675
1435
  sig { returns(String) }
1676
1436
  attr_accessor :bank
1677
-
1678
1437
  sig { params(bank: String).void }
1679
1438
  def initialize(bank: nil); end
1680
1439
  end
@@ -1689,15 +1448,12 @@ module Stripe
1689
1448
  # The day of birth, between 1 and 31.
1690
1449
  sig { returns(Integer) }
1691
1450
  attr_accessor :day
1692
-
1693
1451
  # The month of birth, between 1 and 12.
1694
1452
  sig { returns(Integer) }
1695
1453
  attr_accessor :month
1696
-
1697
1454
  # The four-digit year of birth.
1698
1455
  sig { returns(Integer) }
1699
1456
  attr_accessor :year
1700
-
1701
1457
  sig { params(day: Integer, month: Integer, year: Integer).void }
1702
1458
  def initialize(day: nil, month: nil, year: nil); end
1703
1459
  end
@@ -1706,7 +1462,6 @@ module Stripe
1706
1462
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna::Dob)
1707
1463
  }
1708
1464
  attr_accessor :dob
1709
-
1710
1465
  sig {
1711
1466
  params(dob: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna::Dob).void
1712
1467
  }
@@ -1734,7 +1489,6 @@ module Stripe
1734
1489
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
1735
1490
  sig { returns(String) }
1736
1491
  attr_accessor :funding
1737
-
1738
1492
  sig { params(funding: String).void }
1739
1493
  def initialize(funding: nil); end
1740
1494
  end
@@ -1745,7 +1499,6 @@ module Stripe
1745
1499
  # The customer's bank.
1746
1500
  sig { returns(String) }
1747
1501
  attr_accessor :bank
1748
-
1749
1502
  sig { params(bank: String).void }
1750
1503
  def initialize(bank: nil); end
1751
1504
  end
@@ -1762,15 +1515,12 @@ module Stripe
1762
1515
  # The account number for the bank account.
1763
1516
  sig { returns(String) }
1764
1517
  attr_accessor :account_number
1765
-
1766
1518
  # Bank-State-Branch number of the bank account.
1767
1519
  sig { returns(String) }
1768
1520
  attr_accessor :bsb_number
1769
-
1770
1521
  # The PayID alias for the bank account.
1771
1522
  sig { returns(String) }
1772
1523
  attr_accessor :pay_id
1773
-
1774
1524
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
1775
1525
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
1776
1526
  end
@@ -1787,7 +1537,6 @@ module Stripe
1787
1537
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1788
1538
  sig { returns(String) }
1789
1539
  attr_accessor :session
1790
-
1791
1540
  sig { params(session: String).void }
1792
1541
  def initialize(session: nil); end
1793
1542
  end
@@ -1796,15 +1545,12 @@ module Stripe
1796
1545
  # The day of birth, between 1 and 31.
1797
1546
  sig { returns(Integer) }
1798
1547
  attr_accessor :day
1799
-
1800
1548
  # The month of birth, between 1 and 12.
1801
1549
  sig { returns(Integer) }
1802
1550
  attr_accessor :month
1803
-
1804
1551
  # The four-digit year of birth.
1805
1552
  sig { returns(Integer) }
1806
1553
  attr_accessor :year
1807
-
1808
1554
  sig { params(day: Integer, month: Integer, year: Integer).void }
1809
1555
  def initialize(day: nil, month: nil, year: nil); end
1810
1556
  end
@@ -1813,7 +1559,6 @@ module Stripe
1813
1559
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung::Dob)
1814
1560
  }
1815
1561
  attr_accessor :dob
1816
-
1817
1562
  sig {
1818
1563
  params(dob: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung::Dob).void
1819
1564
  }
@@ -1829,7 +1574,6 @@ module Stripe
1829
1574
  # IBAN of the bank account.
1830
1575
  sig { returns(String) }
1831
1576
  attr_accessor :iban
1832
-
1833
1577
  sig { params(iban: String).void }
1834
1578
  def initialize(iban: nil); end
1835
1579
  end
@@ -1840,7 +1584,6 @@ module Stripe
1840
1584
  # Two-letter ISO code representing the country the bank account is located in.
1841
1585
  sig { returns(String) }
1842
1586
  attr_accessor :country
1843
-
1844
1587
  sig { params(country: String).void }
1845
1588
  def initialize(country: nil); end
1846
1589
  end
@@ -1854,23 +1597,18 @@ module Stripe
1854
1597
  # Account holder type: individual or company.
1855
1598
  sig { returns(String) }
1856
1599
  attr_accessor :account_holder_type
1857
-
1858
1600
  # Account number of the bank account.
1859
1601
  sig { returns(String) }
1860
1602
  attr_accessor :account_number
1861
-
1862
1603
  # Account type: checkings or savings. Defaults to checking if omitted.
1863
1604
  sig { returns(String) }
1864
1605
  attr_accessor :account_type
1865
-
1866
1606
  # The ID of a Financial Connections Account to use as a payment method.
1867
1607
  sig { returns(String) }
1868
1608
  attr_accessor :financial_connections_account
1869
-
1870
1609
  # Routing number of the bank account.
1871
1610
  sig { returns(String) }
1872
1611
  attr_accessor :routing_number
1873
-
1874
1612
  sig {
1875
1613
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
1876
1614
  }
@@ -1891,235 +1629,180 @@ module Stripe
1891
1629
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1892
1630
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AcssDebit) }
1893
1631
  attr_accessor :acss_debit
1894
-
1895
1632
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1896
1633
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Affirm) }
1897
1634
  attr_accessor :affirm
1898
-
1899
1635
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1900
1636
  sig {
1901
1637
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AfterpayClearpay)
1902
1638
  }
1903
1639
  attr_accessor :afterpay_clearpay
1904
-
1905
1640
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
1906
1641
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alipay) }
1907
1642
  attr_accessor :alipay
1908
-
1909
1643
  # 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. The field defaults to `unspecified`.
1910
1644
  sig { returns(String) }
1911
1645
  attr_accessor :allow_redisplay
1912
-
1913
1646
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
1914
1647
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alma) }
1915
1648
  attr_accessor :alma
1916
-
1917
1649
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
1918
1650
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AmazonPay) }
1919
1651
  attr_accessor :amazon_pay
1920
-
1921
1652
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1922
1653
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AuBecsDebit) }
1923
1654
  attr_accessor :au_becs_debit
1924
-
1925
1655
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1926
1656
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BacsDebit) }
1927
1657
  attr_accessor :bacs_debit
1928
-
1929
1658
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
1930
1659
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact) }
1931
1660
  attr_accessor :bancontact
1932
-
1933
1661
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
1934
1662
  sig {
1935
1663
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails)
1936
1664
  }
1937
1665
  attr_accessor :billing_details
1938
-
1939
1666
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
1940
1667
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Blik) }
1941
1668
  attr_accessor :blik
1942
-
1943
1669
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
1944
1670
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Boleto) }
1945
1671
  attr_accessor :boleto
1946
-
1947
1672
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
1948
1673
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Cashapp) }
1949
1674
  attr_accessor :cashapp
1950
-
1951
1675
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
1952
1676
  sig {
1953
1677
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::CustomerBalance)
1954
1678
  }
1955
1679
  attr_accessor :customer_balance
1956
-
1957
1680
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
1958
1681
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Eps) }
1959
1682
  attr_accessor :eps
1960
-
1961
1683
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
1962
1684
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Fpx) }
1963
1685
  attr_accessor :fpx
1964
-
1965
1686
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1966
1687
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Giropay) }
1967
1688
  attr_accessor :giropay
1968
-
1969
1689
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1970
1690
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Gopay) }
1971
1691
  attr_accessor :gopay
1972
-
1973
1692
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1974
1693
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Grabpay) }
1975
1694
  attr_accessor :grabpay
1976
-
1977
1695
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1978
1696
  sig {
1979
1697
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::IdBankTransfer)
1980
1698
  }
1981
1699
  attr_accessor :id_bank_transfer
1982
-
1983
1700
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1984
1701
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Ideal) }
1985
1702
  attr_accessor :ideal
1986
-
1987
1703
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
1988
1704
  sig {
1989
1705
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::InteracPresent)
1990
1706
  }
1991
1707
  attr_accessor :interac_present
1992
-
1993
1708
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
1994
1709
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KakaoPay) }
1995
1710
  attr_accessor :kakao_pay
1996
-
1997
1711
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
1998
1712
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna) }
1999
1713
  attr_accessor :klarna
2000
-
2001
1714
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
2002
1715
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Konbini) }
2003
1716
  attr_accessor :konbini
2004
-
2005
1717
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
2006
1718
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KrCard) }
2007
1719
  attr_accessor :kr_card
2008
-
2009
1720
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
2010
1721
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Link) }
2011
1722
  attr_accessor :link
2012
-
2013
1723
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2014
1724
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::MbWay) }
2015
1725
  attr_accessor :mb_way
2016
-
2017
1726
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2018
1727
  sig { returns(T::Hash[String, String]) }
2019
1728
  attr_accessor :metadata
2020
-
2021
1729
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2022
1730
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Mobilepay) }
2023
1731
  attr_accessor :mobilepay
2024
-
2025
1732
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
2026
1733
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Multibanco) }
2027
1734
  attr_accessor :multibanco
2028
-
2029
1735
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
2030
1736
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::NaverPay) }
2031
1737
  attr_accessor :naver_pay
2032
-
2033
1738
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
2034
1739
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Oxxo) }
2035
1740
  attr_accessor :oxxo
2036
-
2037
1741
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
2038
1742
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::P24) }
2039
1743
  attr_accessor :p24
2040
-
2041
1744
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
2042
1745
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payco) }
2043
1746
  attr_accessor :payco
2044
-
2045
1747
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
2046
1748
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paynow) }
2047
1749
  attr_accessor :paynow
2048
-
2049
1750
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2050
1751
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paypal) }
2051
1752
  attr_accessor :paypal
2052
-
2053
1753
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2054
1754
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payto) }
2055
1755
  attr_accessor :payto
2056
-
2057
1756
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2058
1757
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Pix) }
2059
1758
  attr_accessor :pix
2060
-
2061
1759
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2062
1760
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Promptpay) }
2063
1761
  attr_accessor :promptpay
2064
-
2065
1762
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2066
1763
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Qris) }
2067
1764
  attr_accessor :qris
2068
-
2069
1765
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2070
1766
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RadarOptions) }
2071
1767
  attr_accessor :radar_options
2072
-
2073
1768
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2074
1769
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung) }
2075
1770
  attr_accessor :rechnung
2076
-
2077
1771
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2078
1772
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay) }
2079
1773
  attr_accessor :revolut_pay
2080
-
2081
1774
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
2082
1775
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay) }
2083
1776
  attr_accessor :samsung_pay
2084
-
2085
1777
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2086
1778
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SepaDebit) }
2087
1779
  attr_accessor :sepa_debit
2088
-
2089
1780
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2090
1781
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Shopeepay) }
2091
1782
  attr_accessor :shopeepay
2092
-
2093
1783
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2094
1784
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Sofort) }
2095
1785
  attr_accessor :sofort
2096
-
2097
1786
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2098
1787
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Swish) }
2099
1788
  attr_accessor :swish
2100
-
2101
1789
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
2102
1790
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Twint) }
2103
1791
  attr_accessor :twint
2104
-
2105
1792
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
2106
1793
  sig { returns(String) }
2107
1794
  attr_accessor :type
2108
-
2109
1795
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
2110
1796
  sig {
2111
1797
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::UsBankAccount)
2112
1798
  }
2113
1799
  attr_accessor :us_bank_account
2114
-
2115
1800
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
2116
1801
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::WechatPay) }
2117
1802
  attr_accessor :wechat_pay
2118
-
2119
1803
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
2120
1804
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Zip) }
2121
1805
  attr_accessor :zip
2122
-
2123
1806
  sig {
2124
1807
  params(acss_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData::Zip).void
2125
1808
  }
@@ -2189,23 +1872,18 @@ module Stripe
2189
1872
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2190
1873
  sig { returns(T.nilable(String)) }
2191
1874
  attr_accessor :custom_mandate_url
2192
-
2193
1875
  # List of Stripe products where this mandate can be selected automatically.
2194
1876
  sig { returns(T::Array[String]) }
2195
1877
  attr_accessor :default_for
2196
-
2197
1878
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2198
1879
  sig { returns(String) }
2199
1880
  attr_accessor :interval_description
2200
-
2201
1881
  # Payment schedule for the mandate.
2202
1882
  sig { returns(String) }
2203
1883
  attr_accessor :payment_schedule
2204
-
2205
1884
  # Transaction type of the mandate.
2206
1885
  sig { returns(String) }
2207
1886
  attr_accessor :transaction_type
2208
-
2209
1887
  sig {
2210
1888
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
2211
1889
  }
@@ -2220,17 +1898,14 @@ module Stripe
2220
1898
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2221
1899
  sig { returns(String) }
2222
1900
  attr_accessor :currency
2223
-
2224
1901
  # Additional fields for Mandate creation
2225
1902
  sig {
2226
1903
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
2227
1904
  }
2228
1905
  attr_accessor :mandate_options
2229
-
2230
1906
  # Bank account verification method.
2231
1907
  sig { returns(String) }
2232
1908
  attr_accessor :verification_method
2233
-
2234
1909
  sig {
2235
1910
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
2236
1911
  }
@@ -2244,7 +1919,6 @@ module Stripe
2244
1919
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
2245
1920
  sig { returns(T.nilable(String)) }
2246
1921
  attr_accessor :reference_prefix
2247
-
2248
1922
  sig { params(reference_prefix: T.nilable(String)).void }
2249
1923
  def initialize(reference_prefix: nil); end
2250
1924
  end
@@ -2253,7 +1927,6 @@ module Stripe
2253
1927
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
2254
1928
  }
2255
1929
  attr_accessor :mandate_options
2256
-
2257
1930
  sig {
2258
1931
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
2259
1932
  }
@@ -2264,43 +1937,33 @@ module Stripe
2264
1937
  # Amount to be charged for future payments.
2265
1938
  sig { returns(Integer) }
2266
1939
  attr_accessor :amount
2267
-
2268
1940
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
2269
1941
  sig { returns(String) }
2270
1942
  attr_accessor :amount_type
2271
-
2272
1943
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2273
1944
  sig { returns(String) }
2274
1945
  attr_accessor :currency
2275
-
2276
1946
  # A description of the mandate or subscription that is meant to be displayed to the customer.
2277
1947
  sig { returns(String) }
2278
1948
  attr_accessor :description
2279
-
2280
1949
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
2281
1950
  sig { returns(Integer) }
2282
1951
  attr_accessor :end_date
2283
-
2284
1952
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
2285
1953
  sig { returns(String) }
2286
1954
  attr_accessor :interval
2287
-
2288
1955
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
2289
1956
  sig { returns(Integer) }
2290
1957
  attr_accessor :interval_count
2291
-
2292
1958
  # Unique identifier for the mandate or subscription.
2293
1959
  sig { returns(String) }
2294
1960
  attr_accessor :reference
2295
-
2296
1961
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
2297
1962
  sig { returns(Integer) }
2298
1963
  attr_accessor :start_date
2299
-
2300
1964
  # Specifies the type of mandates supported. Possible values are `india`.
2301
1965
  sig { returns(T::Array[String]) }
2302
1966
  attr_accessor :supported_types
2303
-
2304
1967
  sig {
2305
1968
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
2306
1969
  }
@@ -2325,19 +1988,16 @@ module Stripe
2325
1988
  # messageExtension: CB-AVALGO
2326
1989
  sig { returns(String) }
2327
1990
  attr_accessor :cb_avalgo
2328
-
2329
1991
  # The exemption indicator returned from Cartes Bancaires in the ARes.
2330
1992
  # message extension: CB-EXEMPTION; string (4 characters)
2331
1993
  # This is a 3 byte bitmap (low significant byte first and most significant
2332
1994
  # bit first) that has been Base64 encoded
2333
1995
  sig { returns(String) }
2334
1996
  attr_accessor :cb_exemption
2335
-
2336
1997
  # The risk score returned from Cartes Bancaires in the ARes.
2337
1998
  # message extension: CB-SCORE; numeric value 0-99
2338
1999
  sig { returns(Integer) }
2339
2000
  attr_accessor :cb_score
2340
-
2341
2001
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
2342
2002
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
2343
2003
  end
@@ -2346,7 +2006,6 @@ module Stripe
2346
2006
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
2347
2007
  }
2348
2008
  attr_accessor :cartes_bancaires
2349
-
2350
2009
  sig {
2351
2010
  params(cartes_bancaires: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
2352
2011
  }
@@ -2355,19 +2014,16 @@ module Stripe
2355
2014
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
2356
2015
  sig { returns(String) }
2357
2016
  attr_accessor :ares_trans_status
2358
-
2359
2017
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
2360
2018
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
2361
2019
  # (Most 3D Secure providers will return the base64-encoded version, which
2362
2020
  # is what you should specify here.)
2363
2021
  sig { returns(String) }
2364
2022
  attr_accessor :cryptogram
2365
-
2366
2023
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
2367
2024
  # provider and indicates what degree of authentication was performed.
2368
2025
  sig { returns(String) }
2369
2026
  attr_accessor :electronic_commerce_indicator
2370
-
2371
2027
  # Network specific 3DS fields. Network specific arguments require an
2372
2028
  # explicit card brand choice. The parameter `payment_method_options.card.network``
2373
2029
  # must be populated accordingly
@@ -2375,21 +2031,17 @@ module Stripe
2375
2031
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
2376
2032
  }
2377
2033
  attr_accessor :network_options
2378
-
2379
2034
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
2380
2035
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
2381
2036
  sig { returns(String) }
2382
2037
  attr_accessor :requestor_challenge_indicator
2383
-
2384
2038
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
2385
2039
  # Transaction ID (dsTransID).
2386
2040
  sig { returns(String) }
2387
2041
  attr_accessor :transaction_id
2388
-
2389
2042
  # The version of 3D Secure that was performed.
2390
2043
  sig { returns(String) }
2391
2044
  attr_accessor :version
2392
-
2393
2045
  sig {
2394
2046
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
2395
2047
  }
@@ -2408,28 +2060,23 @@ module Stripe
2408
2060
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::MandateOptions)
2409
2061
  }
2410
2062
  attr_accessor :mandate_options
2411
-
2412
2063
  # When specified, this parameter signals that a card has been collected
2413
2064
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
2414
2065
  # parameter can only be provided during confirmation.
2415
2066
  sig { returns(T::Boolean) }
2416
2067
  attr_accessor :moto
2417
-
2418
2068
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
2419
2069
  sig { returns(String) }
2420
2070
  attr_accessor :network
2421
-
2422
2071
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
2423
2072
  sig { returns(String) }
2424
2073
  attr_accessor :request_three_d_secure
2425
-
2426
2074
  # If 3D Secure authentication was performed with a third-party provider,
2427
2075
  # the authentication details to use for this setup.
2428
2076
  sig {
2429
2077
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure)
2430
2078
  }
2431
2079
  attr_accessor :three_d_secure
2432
-
2433
2080
  sig {
2434
2081
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure).void
2435
2082
  }
@@ -2448,7 +2095,6 @@ module Stripe
2448
2095
  # [Deprecated] This is a legacy parameter that no longer has any function.
2449
2096
  sig { returns(String) }
2450
2097
  attr_accessor :persistent_token
2451
-
2452
2098
  sig { params(persistent_token: String).void }
2453
2099
  def initialize(persistent_token: nil); end
2454
2100
  end
@@ -2456,15 +2102,12 @@ module Stripe
2456
2102
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2457
2103
  sig { returns(String) }
2458
2104
  attr_accessor :billing_agreement_id
2459
-
2460
2105
  # Attribute for param field currency
2461
2106
  sig { returns(String) }
2462
2107
  attr_accessor :currency
2463
-
2464
2108
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2465
2109
  sig { returns(T::Array[String]) }
2466
2110
  attr_accessor :subsellers
2467
-
2468
2111
  sig {
2469
2112
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
2470
2113
  }
@@ -2475,31 +2118,24 @@ module Stripe
2475
2118
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
2476
2119
  sig { returns(Integer) }
2477
2120
  attr_accessor :amount
2478
-
2479
2121
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2480
2122
  sig { returns(String) }
2481
2123
  attr_accessor :amount_type
2482
-
2483
2124
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2484
2125
  sig { returns(String) }
2485
2126
  attr_accessor :end_date
2486
-
2487
2127
  # The periodicity at which payments will be collected.
2488
2128
  sig { returns(String) }
2489
2129
  attr_accessor :payment_schedule
2490
-
2491
2130
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2492
2131
  sig { returns(Integer) }
2493
2132
  attr_accessor :payments_per_period
2494
-
2495
2133
  # The purpose for which payments are made. Defaults to retail.
2496
2134
  sig { returns(String) }
2497
2135
  attr_accessor :purpose
2498
-
2499
2136
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2500
2137
  sig { returns(String) }
2501
2138
  attr_accessor :start_date
2502
-
2503
2139
  sig {
2504
2140
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
2505
2141
  }
@@ -2518,7 +2154,6 @@ module Stripe
2518
2154
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto::MandateOptions)
2519
2155
  }
2520
2156
  attr_accessor :mandate_options
2521
-
2522
2157
  sig {
2523
2158
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto::MandateOptions).void
2524
2159
  }
@@ -2529,7 +2164,6 @@ module Stripe
2529
2164
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
2530
2165
  sig { returns(T.nilable(String)) }
2531
2166
  attr_accessor :reference_prefix
2532
-
2533
2167
  sig { params(reference_prefix: T.nilable(String)).void }
2534
2168
  def initialize(reference_prefix: nil); end
2535
2169
  end
@@ -2538,7 +2172,6 @@ module Stripe
2538
2172
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
2539
2173
  }
2540
2174
  attr_accessor :mandate_options
2541
-
2542
2175
  sig {
2543
2176
  params(mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
2544
2177
  }
@@ -2550,11 +2183,9 @@ module Stripe
2550
2183
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2551
2184
  sig { returns(T::Array[String]) }
2552
2185
  attr_accessor :account_subcategories
2553
-
2554
2186
  # ID of the institution to use to filter for selectable accounts.
2555
2187
  sig { returns(String) }
2556
2188
  attr_accessor :institution
2557
-
2558
2189
  sig { params(account_subcategories: T::Array[String], institution: String).void }
2559
2190
  def initialize(account_subcategories: nil, institution: nil); end
2560
2191
  end
@@ -2562,7 +2193,6 @@ module Stripe
2562
2193
  # Settings for configuring manual entry of account details.
2563
2194
  sig { returns(String) }
2564
2195
  attr_accessor :mode
2565
-
2566
2196
  sig { params(mode: String).void }
2567
2197
  def initialize(mode: nil); end
2568
2198
  end
@@ -2571,25 +2201,20 @@ module Stripe
2571
2201
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
2572
2202
  }
2573
2203
  attr_accessor :filters
2574
-
2575
2204
  # Customize manual entry behavior
2576
2205
  sig {
2577
2206
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
2578
2207
  }
2579
2208
  attr_accessor :manual_entry
2580
-
2581
2209
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2582
2210
  sig { returns(T::Array[String]) }
2583
2211
  attr_accessor :permissions
2584
-
2585
2212
  # List of data features that you would like to retrieve upon account creation.
2586
2213
  sig { returns(T::Array[String]) }
2587
2214
  attr_accessor :prefetch
2588
-
2589
2215
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
2590
2216
  sig { returns(String) }
2591
2217
  attr_accessor :return_url
2592
-
2593
2218
  sig {
2594
2219
  params(filters: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
2595
2220
  }
@@ -2605,7 +2230,6 @@ module Stripe
2605
2230
  # The method used to collect offline mandate customer acceptance.
2606
2231
  sig { returns(T.nilable(String)) }
2607
2232
  attr_accessor :collection_method
2608
-
2609
2233
  sig { params(collection_method: T.nilable(String)).void }
2610
2234
  def initialize(collection_method: nil); end
2611
2235
  end
@@ -2613,7 +2237,6 @@ module Stripe
2613
2237
  # Triggers validations to run across the selected networks
2614
2238
  sig { returns(T::Array[String]) }
2615
2239
  attr_accessor :requested
2616
-
2617
2240
  sig { params(requested: T::Array[String]).void }
2618
2241
  def initialize(requested: nil); end
2619
2242
  end
@@ -2622,23 +2245,19 @@ module Stripe
2622
2245
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
2623
2246
  }
2624
2247
  attr_accessor :financial_connections
2625
-
2626
2248
  # Additional fields for Mandate creation
2627
2249
  sig {
2628
2250
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
2629
2251
  }
2630
2252
  attr_accessor :mandate_options
2631
-
2632
2253
  # Additional fields for network related functions
2633
2254
  sig {
2634
2255
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks)
2635
2256
  }
2636
2257
  attr_accessor :networks
2637
-
2638
2258
  # Bank account verification method.
2639
2259
  sig { returns(String) }
2640
2260
  attr_accessor :verification_method
2641
-
2642
2261
  sig {
2643
2262
  params(financial_connections: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
2644
2263
  }
@@ -2652,47 +2271,37 @@ module Stripe
2652
2271
  # If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
2653
2272
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit) }
2654
2273
  attr_accessor :acss_debit
2655
-
2656
2274
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
2657
2275
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AmazonPay) }
2658
2276
  attr_accessor :amazon_pay
2659
-
2660
2277
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
2661
2278
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit) }
2662
2279
  attr_accessor :bacs_debit
2663
-
2664
2280
  # Configuration for any card setup attempted on this SetupIntent.
2665
2281
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card) }
2666
2282
  attr_accessor :card
2667
-
2668
2283
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
2669
2284
  sig {
2670
2285
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::CardPresent)
2671
2286
  }
2672
2287
  attr_accessor :card_present
2673
-
2674
2288
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2675
2289
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Link) }
2676
2290
  attr_accessor :link
2677
-
2678
2291
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2679
2292
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Paypal) }
2680
2293
  attr_accessor :paypal
2681
-
2682
2294
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2683
2295
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto) }
2684
2296
  attr_accessor :payto
2685
-
2686
2297
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2687
2298
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit) }
2688
2299
  attr_accessor :sepa_debit
2689
-
2690
2300
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
2691
2301
  sig {
2692
2302
  returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount)
2693
2303
  }
2694
2304
  attr_accessor :us_bank_account
2695
-
2696
2305
  sig {
2697
2306
  params(acss_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions::UsBankAccount).void
2698
2307
  }
@@ -2714,52 +2323,41 @@ module Stripe
2714
2323
  # It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
2715
2324
  sig { returns(T::Boolean) }
2716
2325
  attr_accessor :attach_to_self
2717
-
2718
2326
  # ID of the Customer this SetupIntent belongs to, if one exists.
2719
2327
  #
2720
2328
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
2721
2329
  sig { returns(String) }
2722
2330
  attr_accessor :customer
2723
-
2724
2331
  # An arbitrary string attached to the object. Often useful for displaying to users.
2725
2332
  sig { returns(String) }
2726
2333
  attr_accessor :description
2727
-
2728
2334
  # Specifies which fields in the response should be expanded.
2729
2335
  sig { returns(T::Array[String]) }
2730
2336
  attr_accessor :expand
2731
-
2732
2337
  # Indicates the directions of money movement for which this payment method is intended to be used.
2733
2338
  #
2734
2339
  # Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
2735
2340
  sig { returns(T::Array[String]) }
2736
2341
  attr_accessor :flow_directions
2737
-
2738
2342
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2739
2343
  sig { returns(T.nilable(T::Hash[String, String])) }
2740
2344
  attr_accessor :metadata
2741
-
2742
2345
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.
2743
2346
  sig { returns(String) }
2744
2347
  attr_accessor :payment_method
2745
-
2746
2348
  # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
2747
2349
  sig { returns(String) }
2748
2350
  attr_accessor :payment_method_configuration
2749
-
2750
2351
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
2751
2352
  # value in the SetupIntent.
2752
2353
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodData) }
2753
2354
  attr_accessor :payment_method_data
2754
-
2755
2355
  # Payment method-specific configuration for this SetupIntent.
2756
2356
  sig { returns(::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions) }
2757
2357
  attr_accessor :payment_method_options
2758
-
2759
2358
  # The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
2760
2359
  sig { returns(T::Array[String]) }
2761
2360
  attr_accessor :payment_method_types
2762
-
2763
2361
  sig {
2764
2362
  params(attach_to_self: T::Boolean, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], metadata: T.nilable(T::Hash[String, String]), payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::UpdateParams::PaymentMethodOptions, payment_method_types: T::Array[String]).void
2765
2363
  }
@@ -2781,11 +2379,9 @@ module Stripe
2781
2379
  # Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
2782
2380
  sig { returns(String) }
2783
2381
  attr_accessor :cancellation_reason
2784
-
2785
2382
  # Specifies which fields in the response should be expanded.
2786
2383
  sig { returns(T::Array[String]) }
2787
2384
  attr_accessor :expand
2788
-
2789
2385
  sig { params(cancellation_reason: String, expand: T::Array[String]).void }
2790
2386
  def initialize(cancellation_reason: nil, expand: nil); end
2791
2387
  end
@@ -2799,34 +2395,28 @@ module Stripe
2799
2395
  # The IP address from which the Mandate was accepted by the customer.
2800
2396
  sig { returns(String) }
2801
2397
  attr_accessor :ip_address
2802
-
2803
2398
  # The user agent of the browser from which the Mandate was accepted by the customer.
2804
2399
  sig { returns(String) }
2805
2400
  attr_accessor :user_agent
2806
-
2807
2401
  sig { params(ip_address: String, user_agent: String).void }
2808
2402
  def initialize(ip_address: nil, user_agent: nil); end
2809
2403
  end
2810
2404
  # The time at which the customer accepted the Mandate.
2811
2405
  sig { returns(Integer) }
2812
2406
  attr_accessor :accepted_at
2813
-
2814
2407
  # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
2815
2408
  sig {
2816
2409
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Offline)
2817
2410
  }
2818
2411
  attr_accessor :offline
2819
-
2820
2412
  # If this is a Mandate accepted online, this hash contains details about the online acceptance.
2821
2413
  sig {
2822
2414
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Online)
2823
2415
  }
2824
2416
  attr_accessor :online
2825
-
2826
2417
  # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
2827
2418
  sig { returns(String) }
2828
2419
  attr_accessor :type
2829
-
2830
2420
  sig {
2831
2421
  params(accepted_at: Integer, offline: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance::Online, type: String).void
2832
2422
  }
@@ -2837,7 +2427,6 @@ module Stripe
2837
2427
  returns(::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance)
2838
2428
  }
2839
2429
  attr_accessor :customer_acceptance
2840
-
2841
2430
  sig {
2842
2431
  params(customer_acceptance: ::Stripe::SetupIntentService::ConfirmParams::MandateData::CustomerAcceptance).void
2843
2432
  }
@@ -2848,15 +2437,12 @@ module Stripe
2848
2437
  # Customer's bank account number.
2849
2438
  sig { returns(String) }
2850
2439
  attr_accessor :account_number
2851
-
2852
2440
  # Institution number of the customer's bank.
2853
2441
  sig { returns(String) }
2854
2442
  attr_accessor :institution_number
2855
-
2856
2443
  # Transit number of the customer's bank.
2857
2444
  sig { returns(String) }
2858
2445
  attr_accessor :transit_number
2859
-
2860
2446
  sig {
2861
2447
  params(account_number: String, institution_number: String, transit_number: String).void
2862
2448
  }
@@ -2881,11 +2467,9 @@ module Stripe
2881
2467
  # The account number for the bank account.
2882
2468
  sig { returns(String) }
2883
2469
  attr_accessor :account_number
2884
-
2885
2470
  # Bank-State-Branch number of the bank account.
2886
2471
  sig { returns(String) }
2887
2472
  attr_accessor :bsb_number
2888
-
2889
2473
  sig { params(account_number: String, bsb_number: String).void }
2890
2474
  def initialize(account_number: nil, bsb_number: nil); end
2891
2475
  end
@@ -2893,11 +2477,9 @@ module Stripe
2893
2477
  # Account number of the bank account that the funds will be debited from.
2894
2478
  sig { returns(String) }
2895
2479
  attr_accessor :account_number
2896
-
2897
2480
  # Sort code of the bank account. (e.g., `10-20-30`)
2898
2481
  sig { returns(String) }
2899
2482
  attr_accessor :sort_code
2900
-
2901
2483
  sig { params(account_number: String, sort_code: String).void }
2902
2484
  def initialize(account_number: nil, sort_code: nil); end
2903
2485
  end
@@ -2909,27 +2491,21 @@ module Stripe
2909
2491
  # City, district, suburb, town, or village.
2910
2492
  sig { returns(String) }
2911
2493
  attr_accessor :city
2912
-
2913
2494
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2914
2495
  sig { returns(String) }
2915
2496
  attr_accessor :country
2916
-
2917
2497
  # Address line 1 (e.g., street, PO Box, or company name).
2918
2498
  sig { returns(String) }
2919
2499
  attr_accessor :line1
2920
-
2921
2500
  # Address line 2 (e.g., apartment, suite, unit, or building).
2922
2501
  sig { returns(String) }
2923
2502
  attr_accessor :line2
2924
-
2925
2503
  # ZIP or postal code.
2926
2504
  sig { returns(String) }
2927
2505
  attr_accessor :postal_code
2928
-
2929
2506
  # State, county, province, or region.
2930
2507
  sig { returns(String) }
2931
2508
  attr_accessor :state
2932
-
2933
2509
  sig {
2934
2510
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2935
2511
  }
@@ -2947,19 +2523,15 @@ module Stripe
2947
2523
  returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address))
2948
2524
  }
2949
2525
  attr_accessor :address
2950
-
2951
2526
  # Email address.
2952
2527
  sig { returns(T.nilable(String)) }
2953
2528
  attr_accessor :email
2954
-
2955
2529
  # Full name.
2956
2530
  sig { returns(T.nilable(String)) }
2957
2531
  attr_accessor :name
2958
-
2959
2532
  # Billing phone number (including extension).
2960
2533
  sig { returns(T.nilable(String)) }
2961
2534
  attr_accessor :phone
2962
-
2963
2535
  sig {
2964
2536
  params(address: T.nilable(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
2965
2537
  }
@@ -2972,7 +2544,6 @@ module Stripe
2972
2544
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
2973
2545
  sig { returns(String) }
2974
2546
  attr_accessor :tax_id
2975
-
2976
2547
  sig { params(tax_id: String).void }
2977
2548
  def initialize(tax_id: nil); end
2978
2549
  end
@@ -2986,7 +2557,6 @@ module Stripe
2986
2557
  # The customer's bank.
2987
2558
  sig { returns(String) }
2988
2559
  attr_accessor :bank
2989
-
2990
2560
  sig { params(bank: String).void }
2991
2561
  def initialize(bank: nil); end
2992
2562
  end
@@ -2994,11 +2564,9 @@ module Stripe
2994
2564
  # Account holder type for FPX transaction
2995
2565
  sig { returns(String) }
2996
2566
  attr_accessor :account_holder_type
2997
-
2998
2567
  # The customer's bank.
2999
2568
  sig { returns(String) }
3000
2569
  attr_accessor :bank
3001
-
3002
2570
  sig { params(account_holder_type: String, bank: String).void }
3003
2571
  def initialize(account_holder_type: nil, bank: nil); end
3004
2572
  end
@@ -3015,7 +2583,6 @@ module Stripe
3015
2583
  # Bank where the account is held.
3016
2584
  sig { returns(String) }
3017
2585
  attr_accessor :bank
3018
-
3019
2586
  sig { params(bank: String).void }
3020
2587
  def initialize(bank: nil); end
3021
2588
  end
@@ -3023,7 +2590,6 @@ module Stripe
3023
2590
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
3024
2591
  sig { returns(String) }
3025
2592
  attr_accessor :bank
3026
-
3027
2593
  sig { params(bank: String).void }
3028
2594
  def initialize(bank: nil); end
3029
2595
  end
@@ -3038,15 +2604,12 @@ module Stripe
3038
2604
  # The day of birth, between 1 and 31.
3039
2605
  sig { returns(Integer) }
3040
2606
  attr_accessor :day
3041
-
3042
2607
  # The month of birth, between 1 and 12.
3043
2608
  sig { returns(Integer) }
3044
2609
  attr_accessor :month
3045
-
3046
2610
  # The four-digit year of birth.
3047
2611
  sig { returns(Integer) }
3048
2612
  attr_accessor :year
3049
-
3050
2613
  sig { params(day: Integer, month: Integer, year: Integer).void }
3051
2614
  def initialize(day: nil, month: nil, year: nil); end
3052
2615
  end
@@ -3055,7 +2618,6 @@ module Stripe
3055
2618
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna::Dob)
3056
2619
  }
3057
2620
  attr_accessor :dob
3058
-
3059
2621
  sig {
3060
2622
  params(dob: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna::Dob).void
3061
2623
  }
@@ -3083,7 +2645,6 @@ module Stripe
3083
2645
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
3084
2646
  sig { returns(String) }
3085
2647
  attr_accessor :funding
3086
-
3087
2648
  sig { params(funding: String).void }
3088
2649
  def initialize(funding: nil); end
3089
2650
  end
@@ -3094,7 +2655,6 @@ module Stripe
3094
2655
  # The customer's bank.
3095
2656
  sig { returns(String) }
3096
2657
  attr_accessor :bank
3097
-
3098
2658
  sig { params(bank: String).void }
3099
2659
  def initialize(bank: nil); end
3100
2660
  end
@@ -3111,15 +2671,12 @@ module Stripe
3111
2671
  # The account number for the bank account.
3112
2672
  sig { returns(String) }
3113
2673
  attr_accessor :account_number
3114
-
3115
2674
  # Bank-State-Branch number of the bank account.
3116
2675
  sig { returns(String) }
3117
2676
  attr_accessor :bsb_number
3118
-
3119
2677
  # The PayID alias for the bank account.
3120
2678
  sig { returns(String) }
3121
2679
  attr_accessor :pay_id
3122
-
3123
2680
  sig { params(account_number: String, bsb_number: String, pay_id: String).void }
3124
2681
  def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
3125
2682
  end
@@ -3136,7 +2693,6 @@ module Stripe
3136
2693
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
3137
2694
  sig { returns(String) }
3138
2695
  attr_accessor :session
3139
-
3140
2696
  sig { params(session: String).void }
3141
2697
  def initialize(session: nil); end
3142
2698
  end
@@ -3145,15 +2701,12 @@ module Stripe
3145
2701
  # The day of birth, between 1 and 31.
3146
2702
  sig { returns(Integer) }
3147
2703
  attr_accessor :day
3148
-
3149
2704
  # The month of birth, between 1 and 12.
3150
2705
  sig { returns(Integer) }
3151
2706
  attr_accessor :month
3152
-
3153
2707
  # The four-digit year of birth.
3154
2708
  sig { returns(Integer) }
3155
2709
  attr_accessor :year
3156
-
3157
2710
  sig { params(day: Integer, month: Integer, year: Integer).void }
3158
2711
  def initialize(day: nil, month: nil, year: nil); end
3159
2712
  end
@@ -3162,7 +2715,6 @@ module Stripe
3162
2715
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob)
3163
2716
  }
3164
2717
  attr_accessor :dob
3165
-
3166
2718
  sig {
3167
2719
  params(dob: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung::Dob).void
3168
2720
  }
@@ -3178,7 +2730,6 @@ module Stripe
3178
2730
  # IBAN of the bank account.
3179
2731
  sig { returns(String) }
3180
2732
  attr_accessor :iban
3181
-
3182
2733
  sig { params(iban: String).void }
3183
2734
  def initialize(iban: nil); end
3184
2735
  end
@@ -3189,7 +2740,6 @@ module Stripe
3189
2740
  # Two-letter ISO code representing the country the bank account is located in.
3190
2741
  sig { returns(String) }
3191
2742
  attr_accessor :country
3192
-
3193
2743
  sig { params(country: String).void }
3194
2744
  def initialize(country: nil); end
3195
2745
  end
@@ -3203,23 +2753,18 @@ module Stripe
3203
2753
  # Account holder type: individual or company.
3204
2754
  sig { returns(String) }
3205
2755
  attr_accessor :account_holder_type
3206
-
3207
2756
  # Account number of the bank account.
3208
2757
  sig { returns(String) }
3209
2758
  attr_accessor :account_number
3210
-
3211
2759
  # Account type: checkings or savings. Defaults to checking if omitted.
3212
2760
  sig { returns(String) }
3213
2761
  attr_accessor :account_type
3214
-
3215
2762
  # The ID of a Financial Connections Account to use as a payment method.
3216
2763
  sig { returns(String) }
3217
2764
  attr_accessor :financial_connections_account
3218
-
3219
2765
  # Routing number of the bank account.
3220
2766
  sig { returns(String) }
3221
2767
  attr_accessor :routing_number
3222
-
3223
2768
  sig {
3224
2769
  params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
3225
2770
  }
@@ -3240,237 +2785,182 @@ module Stripe
3240
2785
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
3241
2786
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AcssDebit) }
3242
2787
  attr_accessor :acss_debit
3243
-
3244
2788
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
3245
2789
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Affirm) }
3246
2790
  attr_accessor :affirm
3247
-
3248
2791
  # If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
3249
2792
  sig {
3250
2793
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AfterpayClearpay)
3251
2794
  }
3252
2795
  attr_accessor :afterpay_clearpay
3253
-
3254
2796
  # If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
3255
2797
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alipay) }
3256
2798
  attr_accessor :alipay
3257
-
3258
2799
  # 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. The field defaults to `unspecified`.
3259
2800
  sig { returns(String) }
3260
2801
  attr_accessor :allow_redisplay
3261
-
3262
2802
  # If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
3263
2803
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alma) }
3264
2804
  attr_accessor :alma
3265
-
3266
2805
  # If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
3267
2806
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AmazonPay) }
3268
2807
  attr_accessor :amazon_pay
3269
-
3270
2808
  # If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
3271
2809
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AuBecsDebit) }
3272
2810
  attr_accessor :au_becs_debit
3273
-
3274
2811
  # If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
3275
2812
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BacsDebit) }
3276
2813
  attr_accessor :bacs_debit
3277
-
3278
2814
  # If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
3279
2815
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact) }
3280
2816
  attr_accessor :bancontact
3281
-
3282
2817
  # Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
3283
2818
  sig {
3284
2819
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails)
3285
2820
  }
3286
2821
  attr_accessor :billing_details
3287
-
3288
2822
  # If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
3289
2823
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Blik) }
3290
2824
  attr_accessor :blik
3291
-
3292
2825
  # If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
3293
2826
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Boleto) }
3294
2827
  attr_accessor :boleto
3295
-
3296
2828
  # If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
3297
2829
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Cashapp) }
3298
2830
  attr_accessor :cashapp
3299
-
3300
2831
  # If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
3301
2832
  sig {
3302
2833
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::CustomerBalance)
3303
2834
  }
3304
2835
  attr_accessor :customer_balance
3305
-
3306
2836
  # If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
3307
2837
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Eps) }
3308
2838
  attr_accessor :eps
3309
-
3310
2839
  # If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
3311
2840
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Fpx) }
3312
2841
  attr_accessor :fpx
3313
-
3314
2842
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3315
2843
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Giropay) }
3316
2844
  attr_accessor :giropay
3317
-
3318
2845
  # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3319
2846
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Gopay) }
3320
2847
  attr_accessor :gopay
3321
-
3322
2848
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3323
2849
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Grabpay) }
3324
2850
  attr_accessor :grabpay
3325
-
3326
2851
  # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3327
2852
  sig {
3328
2853
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::IdBankTransfer)
3329
2854
  }
3330
2855
  attr_accessor :id_bank_transfer
3331
-
3332
2856
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3333
2857
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Ideal) }
3334
2858
  attr_accessor :ideal
3335
-
3336
2859
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
3337
2860
  sig {
3338
2861
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::InteracPresent)
3339
2862
  }
3340
2863
  attr_accessor :interac_present
3341
-
3342
2864
  # If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
3343
2865
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KakaoPay) }
3344
2866
  attr_accessor :kakao_pay
3345
-
3346
2867
  # If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
3347
2868
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna) }
3348
2869
  attr_accessor :klarna
3349
-
3350
2870
  # If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
3351
2871
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Konbini) }
3352
2872
  attr_accessor :konbini
3353
-
3354
2873
  # If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
3355
2874
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KrCard) }
3356
2875
  attr_accessor :kr_card
3357
-
3358
2876
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3359
2877
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Link) }
3360
2878
  attr_accessor :link
3361
-
3362
2879
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3363
2880
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::MbWay) }
3364
2881
  attr_accessor :mb_way
3365
-
3366
2882
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3367
2883
  sig { returns(T::Hash[String, String]) }
3368
2884
  attr_accessor :metadata
3369
-
3370
2885
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
3371
2886
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Mobilepay) }
3372
2887
  attr_accessor :mobilepay
3373
-
3374
2888
  # If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
3375
2889
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Multibanco) }
3376
2890
  attr_accessor :multibanco
3377
-
3378
2891
  # If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
3379
2892
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::NaverPay) }
3380
2893
  attr_accessor :naver_pay
3381
-
3382
2894
  # If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
3383
2895
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Oxxo) }
3384
2896
  attr_accessor :oxxo
3385
-
3386
2897
  # If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
3387
2898
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::P24) }
3388
2899
  attr_accessor :p24
3389
-
3390
2900
  # If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
3391
2901
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payco) }
3392
2902
  attr_accessor :payco
3393
-
3394
2903
  # If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
3395
2904
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paynow) }
3396
2905
  attr_accessor :paynow
3397
-
3398
2906
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3399
2907
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paypal) }
3400
2908
  attr_accessor :paypal
3401
-
3402
2909
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3403
2910
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payto) }
3404
2911
  attr_accessor :payto
3405
-
3406
2912
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3407
2913
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Pix) }
3408
2914
  attr_accessor :pix
3409
-
3410
2915
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3411
2916
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Promptpay) }
3412
2917
  attr_accessor :promptpay
3413
-
3414
2918
  # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3415
2919
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Qris) }
3416
2920
  attr_accessor :qris
3417
-
3418
2921
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3419
2922
  sig {
3420
2923
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RadarOptions)
3421
2924
  }
3422
2925
  attr_accessor :radar_options
3423
-
3424
2926
  # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3425
2927
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung) }
3426
2928
  attr_accessor :rechnung
3427
-
3428
2929
  # If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3429
2930
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay) }
3430
2931
  attr_accessor :revolut_pay
3431
-
3432
2932
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
3433
2933
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay) }
3434
2934
  attr_accessor :samsung_pay
3435
-
3436
2935
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3437
2936
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SepaDebit) }
3438
2937
  attr_accessor :sepa_debit
3439
-
3440
2938
  # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3441
2939
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Shopeepay) }
3442
2940
  attr_accessor :shopeepay
3443
-
3444
2941
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3445
2942
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort) }
3446
2943
  attr_accessor :sofort
3447
-
3448
2944
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3449
2945
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Swish) }
3450
2946
  attr_accessor :swish
3451
-
3452
2947
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
3453
2948
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Twint) }
3454
2949
  attr_accessor :twint
3455
-
3456
2950
  # The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
3457
2951
  sig { returns(String) }
3458
2952
  attr_accessor :type
3459
-
3460
2953
  # If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
3461
2954
  sig {
3462
2955
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::UsBankAccount)
3463
2956
  }
3464
2957
  attr_accessor :us_bank_account
3465
-
3466
2958
  # If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
3467
2959
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::WechatPay) }
3468
2960
  attr_accessor :wechat_pay
3469
-
3470
2961
  # If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
3471
2962
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Zip) }
3472
2963
  attr_accessor :zip
3473
-
3474
2964
  sig {
3475
2965
  params(acss_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData::Zip).void
3476
2966
  }
@@ -3540,23 +3030,18 @@ module Stripe
3540
3030
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
3541
3031
  sig { returns(T.nilable(String)) }
3542
3032
  attr_accessor :custom_mandate_url
3543
-
3544
3033
  # List of Stripe products where this mandate can be selected automatically.
3545
3034
  sig { returns(T::Array[String]) }
3546
3035
  attr_accessor :default_for
3547
-
3548
3036
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
3549
3037
  sig { returns(String) }
3550
3038
  attr_accessor :interval_description
3551
-
3552
3039
  # Payment schedule for the mandate.
3553
3040
  sig { returns(String) }
3554
3041
  attr_accessor :payment_schedule
3555
-
3556
3042
  # Transaction type of the mandate.
3557
3043
  sig { returns(String) }
3558
3044
  attr_accessor :transaction_type
3559
-
3560
3045
  sig {
3561
3046
  params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
3562
3047
  }
@@ -3571,17 +3056,14 @@ module Stripe
3571
3056
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3572
3057
  sig { returns(String) }
3573
3058
  attr_accessor :currency
3574
-
3575
3059
  # Additional fields for Mandate creation
3576
3060
  sig {
3577
3061
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions)
3578
3062
  }
3579
3063
  attr_accessor :mandate_options
3580
-
3581
3064
  # Bank account verification method.
3582
3065
  sig { returns(String) }
3583
3066
  attr_accessor :verification_method
3584
-
3585
3067
  sig {
3586
3068
  params(currency: String, mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
3587
3069
  }
@@ -3595,7 +3077,6 @@ module Stripe
3595
3077
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
3596
3078
  sig { returns(T.nilable(String)) }
3597
3079
  attr_accessor :reference_prefix
3598
-
3599
3080
  sig { params(reference_prefix: T.nilable(String)).void }
3600
3081
  def initialize(reference_prefix: nil); end
3601
3082
  end
@@ -3604,7 +3085,6 @@ module Stripe
3604
3085
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions)
3605
3086
  }
3606
3087
  attr_accessor :mandate_options
3607
-
3608
3088
  sig {
3609
3089
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
3610
3090
  }
@@ -3615,43 +3095,33 @@ module Stripe
3615
3095
  # Amount to be charged for future payments.
3616
3096
  sig { returns(Integer) }
3617
3097
  attr_accessor :amount
3618
-
3619
3098
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
3620
3099
  sig { returns(String) }
3621
3100
  attr_accessor :amount_type
3622
-
3623
3101
  # Currency in which future payments will be charged. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
3624
3102
  sig { returns(String) }
3625
3103
  attr_accessor :currency
3626
-
3627
3104
  # A description of the mandate or subscription that is meant to be displayed to the customer.
3628
3105
  sig { returns(String) }
3629
3106
  attr_accessor :description
3630
-
3631
3107
  # End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
3632
3108
  sig { returns(Integer) }
3633
3109
  attr_accessor :end_date
3634
-
3635
3110
  # Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
3636
3111
  sig { returns(String) }
3637
3112
  attr_accessor :interval
3638
-
3639
3113
  # The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
3640
3114
  sig { returns(Integer) }
3641
3115
  attr_accessor :interval_count
3642
-
3643
3116
  # Unique identifier for the mandate or subscription.
3644
3117
  sig { returns(String) }
3645
3118
  attr_accessor :reference
3646
-
3647
3119
  # Start date of the mandate or subscription. Start date should not be lesser than yesterday.
3648
3120
  sig { returns(Integer) }
3649
3121
  attr_accessor :start_date
3650
-
3651
3122
  # Specifies the type of mandates supported. Possible values are `india`.
3652
3123
  sig { returns(T::Array[String]) }
3653
3124
  attr_accessor :supported_types
3654
-
3655
3125
  sig {
3656
3126
  params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
3657
3127
  }
@@ -3676,19 +3146,16 @@ module Stripe
3676
3146
  # messageExtension: CB-AVALGO
3677
3147
  sig { returns(String) }
3678
3148
  attr_accessor :cb_avalgo
3679
-
3680
3149
  # The exemption indicator returned from Cartes Bancaires in the ARes.
3681
3150
  # message extension: CB-EXEMPTION; string (4 characters)
3682
3151
  # This is a 3 byte bitmap (low significant byte first and most significant
3683
3152
  # bit first) that has been Base64 encoded
3684
3153
  sig { returns(String) }
3685
3154
  attr_accessor :cb_exemption
3686
-
3687
3155
  # The risk score returned from Cartes Bancaires in the ARes.
3688
3156
  # message extension: CB-SCORE; numeric value 0-99
3689
3157
  sig { returns(Integer) }
3690
3158
  attr_accessor :cb_score
3691
-
3692
3159
  sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
3693
3160
  def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
3694
3161
  end
@@ -3697,7 +3164,6 @@ module Stripe
3697
3164
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
3698
3165
  }
3699
3166
  attr_accessor :cartes_bancaires
3700
-
3701
3167
  sig {
3702
3168
  params(cartes_bancaires: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
3703
3169
  }
@@ -3706,19 +3172,16 @@ module Stripe
3706
3172
  # The `transStatus` returned from the card Issuer’s ACS in the ARes.
3707
3173
  sig { returns(String) }
3708
3174
  attr_accessor :ares_trans_status
3709
-
3710
3175
  # The cryptogram, also known as the "authentication value" (AAV, CAVV or
3711
3176
  # AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
3712
3177
  # (Most 3D Secure providers will return the base64-encoded version, which
3713
3178
  # is what you should specify here.)
3714
3179
  sig { returns(String) }
3715
3180
  attr_accessor :cryptogram
3716
-
3717
3181
  # The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
3718
3182
  # provider and indicates what degree of authentication was performed.
3719
3183
  sig { returns(String) }
3720
3184
  attr_accessor :electronic_commerce_indicator
3721
-
3722
3185
  # Network specific 3DS fields. Network specific arguments require an
3723
3186
  # explicit card brand choice. The parameter `payment_method_options.card.network``
3724
3187
  # must be populated accordingly
@@ -3726,21 +3189,17 @@ module Stripe
3726
3189
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
3727
3190
  }
3728
3191
  attr_accessor :network_options
3729
-
3730
3192
  # The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
3731
3193
  # AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
3732
3194
  sig { returns(String) }
3733
3195
  attr_accessor :requestor_challenge_indicator
3734
-
3735
3196
  # For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
3736
3197
  # Transaction ID (dsTransID).
3737
3198
  sig { returns(String) }
3738
3199
  attr_accessor :transaction_id
3739
-
3740
3200
  # The version of 3D Secure that was performed.
3741
3201
  sig { returns(String) }
3742
3202
  attr_accessor :version
3743
-
3744
3203
  sig {
3745
3204
  params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
3746
3205
  }
@@ -3759,28 +3218,23 @@ module Stripe
3759
3218
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::MandateOptions)
3760
3219
  }
3761
3220
  attr_accessor :mandate_options
3762
-
3763
3221
  # When specified, this parameter signals that a card has been collected
3764
3222
  # as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
3765
3223
  # parameter can only be provided during confirmation.
3766
3224
  sig { returns(T::Boolean) }
3767
3225
  attr_accessor :moto
3768
-
3769
3226
  # Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
3770
3227
  sig { returns(String) }
3771
3228
  attr_accessor :network
3772
-
3773
3229
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3774
3230
  sig { returns(String) }
3775
3231
  attr_accessor :request_three_d_secure
3776
-
3777
3232
  # If 3D Secure authentication was performed with a third-party provider,
3778
3233
  # the authentication details to use for this setup.
3779
3234
  sig {
3780
3235
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure)
3781
3236
  }
3782
3237
  attr_accessor :three_d_secure
3783
-
3784
3238
  sig {
3785
3239
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure).void
3786
3240
  }
@@ -3799,7 +3253,6 @@ module Stripe
3799
3253
  # [Deprecated] This is a legacy parameter that no longer has any function.
3800
3254
  sig { returns(String) }
3801
3255
  attr_accessor :persistent_token
3802
-
3803
3256
  sig { params(persistent_token: String).void }
3804
3257
  def initialize(persistent_token: nil); end
3805
3258
  end
@@ -3807,15 +3260,12 @@ module Stripe
3807
3260
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3808
3261
  sig { returns(String) }
3809
3262
  attr_accessor :billing_agreement_id
3810
-
3811
3263
  # Attribute for param field currency
3812
3264
  sig { returns(String) }
3813
3265
  attr_accessor :currency
3814
-
3815
3266
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3816
3267
  sig { returns(T::Array[String]) }
3817
3268
  attr_accessor :subsellers
3818
-
3819
3269
  sig {
3820
3270
  params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
3821
3271
  }
@@ -3826,31 +3276,24 @@ module Stripe
3826
3276
  # Amount that will be collected. It is required when `amount_type` is `fixed`.
3827
3277
  sig { returns(Integer) }
3828
3278
  attr_accessor :amount
3829
-
3830
3279
  # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
3831
3280
  sig { returns(String) }
3832
3281
  attr_accessor :amount_type
3833
-
3834
3282
  # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3835
3283
  sig { returns(String) }
3836
3284
  attr_accessor :end_date
3837
-
3838
3285
  # The periodicity at which payments will be collected.
3839
3286
  sig { returns(String) }
3840
3287
  attr_accessor :payment_schedule
3841
-
3842
3288
  # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
3843
3289
  sig { returns(Integer) }
3844
3290
  attr_accessor :payments_per_period
3845
-
3846
3291
  # The purpose for which payments are made. Defaults to retail.
3847
3292
  sig { returns(String) }
3848
3293
  attr_accessor :purpose
3849
-
3850
3294
  # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3851
3295
  sig { returns(String) }
3852
3296
  attr_accessor :start_date
3853
-
3854
3297
  sig {
3855
3298
  params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
3856
3299
  }
@@ -3869,7 +3312,6 @@ module Stripe
3869
3312
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions)
3870
3313
  }
3871
3314
  attr_accessor :mandate_options
3872
-
3873
3315
  sig {
3874
3316
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions).void
3875
3317
  }
@@ -3880,7 +3322,6 @@ module Stripe
3880
3322
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
3881
3323
  sig { returns(T.nilable(String)) }
3882
3324
  attr_accessor :reference_prefix
3883
-
3884
3325
  sig { params(reference_prefix: T.nilable(String)).void }
3885
3326
  def initialize(reference_prefix: nil); end
3886
3327
  end
@@ -3889,7 +3330,6 @@ module Stripe
3889
3330
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions)
3890
3331
  }
3891
3332
  attr_accessor :mandate_options
3892
-
3893
3333
  sig {
3894
3334
  params(mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
3895
3335
  }
@@ -3901,11 +3341,9 @@ module Stripe
3901
3341
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3902
3342
  sig { returns(T::Array[String]) }
3903
3343
  attr_accessor :account_subcategories
3904
-
3905
3344
  # ID of the institution to use to filter for selectable accounts.
3906
3345
  sig { returns(String) }
3907
3346
  attr_accessor :institution
3908
-
3909
3347
  sig { params(account_subcategories: T::Array[String], institution: String).void }
3910
3348
  def initialize(account_subcategories: nil, institution: nil); end
3911
3349
  end
@@ -3913,7 +3351,6 @@ module Stripe
3913
3351
  # Settings for configuring manual entry of account details.
3914
3352
  sig { returns(String) }
3915
3353
  attr_accessor :mode
3916
-
3917
3354
  sig { params(mode: String).void }
3918
3355
  def initialize(mode: nil); end
3919
3356
  end
@@ -3922,25 +3359,20 @@ module Stripe
3922
3359
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
3923
3360
  }
3924
3361
  attr_accessor :filters
3925
-
3926
3362
  # Customize manual entry behavior
3927
3363
  sig {
3928
3364
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
3929
3365
  }
3930
3366
  attr_accessor :manual_entry
3931
-
3932
3367
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3933
3368
  sig { returns(T::Array[String]) }
3934
3369
  attr_accessor :permissions
3935
-
3936
3370
  # List of data features that you would like to retrieve upon account creation.
3937
3371
  sig { returns(T::Array[String]) }
3938
3372
  attr_accessor :prefetch
3939
-
3940
3373
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3941
3374
  sig { returns(String) }
3942
3375
  attr_accessor :return_url
3943
-
3944
3376
  sig {
3945
3377
  params(filters: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
3946
3378
  }
@@ -3956,7 +3388,6 @@ module Stripe
3956
3388
  # The method used to collect offline mandate customer acceptance.
3957
3389
  sig { returns(T.nilable(String)) }
3958
3390
  attr_accessor :collection_method
3959
-
3960
3391
  sig { params(collection_method: T.nilable(String)).void }
3961
3392
  def initialize(collection_method: nil); end
3962
3393
  end
@@ -3964,7 +3395,6 @@ module Stripe
3964
3395
  # Triggers validations to run across the selected networks
3965
3396
  sig { returns(T::Array[String]) }
3966
3397
  attr_accessor :requested
3967
-
3968
3398
  sig { params(requested: T::Array[String]).void }
3969
3399
  def initialize(requested: nil); end
3970
3400
  end
@@ -3973,23 +3403,19 @@ module Stripe
3973
3403
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
3974
3404
  }
3975
3405
  attr_accessor :financial_connections
3976
-
3977
3406
  # Additional fields for Mandate creation
3978
3407
  sig {
3979
3408
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
3980
3409
  }
3981
3410
  attr_accessor :mandate_options
3982
-
3983
3411
  # Additional fields for network related functions
3984
3412
  sig {
3985
3413
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks)
3986
3414
  }
3987
3415
  attr_accessor :networks
3988
-
3989
3416
  # Bank account verification method.
3990
3417
  sig { returns(String) }
3991
3418
  attr_accessor :verification_method
3992
-
3993
3419
  sig {
3994
3420
  params(financial_connections: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
3995
3421
  }
@@ -4005,53 +3431,43 @@ module Stripe
4005
3431
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit)
4006
3432
  }
4007
3433
  attr_accessor :acss_debit
4008
-
4009
3434
  # If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
4010
3435
  sig {
4011
3436
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay)
4012
3437
  }
4013
3438
  attr_accessor :amazon_pay
4014
-
4015
3439
  # If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
4016
3440
  sig {
4017
3441
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit)
4018
3442
  }
4019
3443
  attr_accessor :bacs_debit
4020
-
4021
3444
  # Configuration for any card setup attempted on this SetupIntent.
4022
3445
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card) }
4023
3446
  attr_accessor :card
4024
-
4025
3447
  # If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
4026
3448
  sig {
4027
3449
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::CardPresent)
4028
3450
  }
4029
3451
  attr_accessor :card_present
4030
-
4031
3452
  # If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
4032
3453
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Link) }
4033
3454
  attr_accessor :link
4034
-
4035
3455
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
4036
3456
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Paypal) }
4037
3457
  attr_accessor :paypal
4038
-
4039
3458
  # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
4040
3459
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto) }
4041
3460
  attr_accessor :payto
4042
-
4043
3461
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
4044
3462
  sig {
4045
3463
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit)
4046
3464
  }
4047
3465
  attr_accessor :sepa_debit
4048
-
4049
3466
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
4050
3467
  sig {
4051
3468
  returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount)
4052
3469
  }
4053
3470
  attr_accessor :us_bank_account
4054
-
4055
3471
  sig {
4056
3472
  params(acss_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions::UsBankAccount).void
4057
3473
  }
@@ -4073,38 +3489,30 @@ module Stripe
4073
3489
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
4074
3490
  sig { returns(String) }
4075
3491
  attr_accessor :confirmation_token
4076
-
4077
3492
  # Specifies which fields in the response should be expanded.
4078
3493
  sig { returns(T::Array[String]) }
4079
3494
  attr_accessor :expand
4080
-
4081
3495
  # Attribute for param field mandate_data
4082
3496
  sig { returns(T.nilable(::Stripe::SetupIntentService::ConfirmParams::MandateData)) }
4083
3497
  attr_accessor :mandate_data
4084
-
4085
3498
  # ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
4086
3499
  sig { returns(String) }
4087
3500
  attr_accessor :payment_method
4088
-
4089
3501
  # When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
4090
3502
  # value in the SetupIntent.
4091
3503
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData) }
4092
3504
  attr_accessor :payment_method_data
4093
-
4094
3505
  # Payment method-specific configuration for this SetupIntent.
4095
3506
  sig { returns(::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions) }
4096
3507
  attr_accessor :payment_method_options
4097
-
4098
3508
  # The URL to redirect your customer back to after they authenticate on the payment method's app or site.
4099
3509
  # If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
4100
3510
  # This parameter is only used for cards and other redirect-based payment methods.
4101
3511
  sig { returns(String) }
4102
3512
  attr_accessor :return_url
4103
-
4104
3513
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
4105
3514
  sig { returns(T::Boolean) }
4106
3515
  attr_accessor :use_stripe_sdk
4107
-
4108
3516
  sig {
4109
3517
  params(confirmation_token: String, expand: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntentService::ConfirmParams::MandateData), payment_method: String, payment_method_data: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntentService::ConfirmParams::PaymentMethodOptions, return_url: String, use_stripe_sdk: T::Boolean).void
4110
3518
  }
@@ -4123,15 +3531,12 @@ module Stripe
4123
3531
  # Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
4124
3532
  sig { returns(T::Array[Integer]) }
4125
3533
  attr_accessor :amounts
4126
-
4127
3534
  # A six-character code starting with SM present in the microdeposit sent to the bank account.
4128
3535
  sig { returns(String) }
4129
3536
  attr_accessor :descriptor_code
4130
-
4131
3537
  # Specifies which fields in the response should be expanded.
4132
3538
  sig { returns(T::Array[String]) }
4133
3539
  attr_accessor :expand
4134
-
4135
3540
  sig {
4136
3541
  params(amounts: T::Array[Integer], descriptor_code: String, expand: T::Array[String]).void
4137
3542
  }