stripe 15.2.0.pre.beta.1 → 15.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +718 -1556
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +10 -7
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +1 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -89
  11. data/lib/stripe/object_types.rb +0 -52
  12. data/lib/stripe/resources/account.rb +32 -657
  13. data/lib/stripe/resources/account_session.rb +59 -253
  14. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  15. data/lib/stripe/resources/balance.rb +42 -0
  16. data/lib/stripe/resources/balance_transaction.rb +2 -0
  17. data/lib/stripe/resources/bank_account.rb +2 -2
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  20. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  21. data/lib/stripe/resources/billing_portal/session.rb +1 -7
  22. data/lib/stripe/resources/capability.rb +1 -1
  23. data/lib/stripe/resources/card.rb +0 -2
  24. data/lib/stripe/resources/cash_balance.rb +0 -2
  25. data/lib/stripe/resources/charge.rb +13 -1475
  26. data/lib/stripe/resources/checkout/session.rb +21 -333
  27. data/lib/stripe/resources/confirmation_token.rb +33 -263
  28. data/lib/stripe/resources/country_spec.rb +1 -1
  29. data/lib/stripe/resources/coupon.rb +2 -32
  30. data/lib/stripe/resources/credit_note.rb +10 -17
  31. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  32. data/lib/stripe/resources/customer.rb +2 -6
  33. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  34. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  35. data/lib/stripe/resources/customer_session.rb +4 -9
  36. data/lib/stripe/resources/discount.rb +0 -2
  37. data/lib/stripe/resources/dispute.rb +2 -2
  38. data/lib/stripe/resources/event.rb +1 -32
  39. data/lib/stripe/resources/file.rb +1 -1
  40. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  41. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  42. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  43. data/lib/stripe/resources/identity/verification_session.rb +17 -21
  44. data/lib/stripe/resources/invoice.rb +79 -1106
  45. data/lib/stripe/resources/invoice_item.rb +4 -81
  46. data/lib/stripe/resources/invoice_line_item.rb +2 -56
  47. data/lib/stripe/resources/invoice_payment.rb +62 -4
  48. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  49. data/lib/stripe/resources/issuing/card.rb +1 -1
  50. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  51. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  52. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  53. data/lib/stripe/resources/line_item.rb +0 -37
  54. data/lib/stripe/resources/mandate.rb +0 -24
  55. data/lib/stripe/resources/payment_intent.rb +1912 -6840
  56. data/lib/stripe/resources/payment_method.rb +47 -301
  57. data/lib/stripe/resources/payment_method_configuration.rb +112 -112
  58. data/lib/stripe/resources/payment_method_domain.rb +2 -2
  59. data/lib/stripe/resources/payout.rb +4 -10
  60. data/lib/stripe/resources/person.rb +2 -2
  61. data/lib/stripe/resources/plan.rb +2 -3
  62. data/lib/stripe/resources/price.rb +1 -31
  63. data/lib/stripe/resources/product.rb +1 -61
  64. data/lib/stripe/resources/promotion_code.rb +0 -10
  65. data/lib/stripe/resources/quote.rb +6 -2046
  66. data/lib/stripe/resources/radar/value_list.rb +1 -2
  67. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  68. data/lib/stripe/resources/refund.rb +6 -10
  69. data/lib/stripe/resources/reversal.rb +1 -1
  70. data/lib/stripe/resources/review.rb +1 -1
  71. data/lib/stripe/resources/setup_attempt.rb +0 -21
  72. data/lib/stripe/resources/setup_intent.rb +120 -877
  73. data/lib/stripe/resources/source.rb +1 -30
  74. data/lib/stripe/resources/subscription.rb +97 -326
  75. data/lib/stripe/resources/subscription_item.rb +32 -80
  76. data/lib/stripe/resources/subscription_schedule.rb +127 -1015
  77. data/lib/stripe/resources/tax/calculation.rb +4 -0
  78. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  79. data/lib/stripe/resources/tax/registration.rb +1 -1
  80. data/lib/stripe/resources/tax_id.rb +3 -14
  81. data/lib/stripe/resources/tax_rate.rb +2 -2
  82. data/lib/stripe/resources/terminal/configuration.rb +1 -2
  83. data/lib/stripe/resources/terminal/location.rb +2 -3
  84. data/lib/stripe/resources/terminal/reader.rb +8 -142
  85. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  86. data/lib/stripe/resources/token.rb +2 -2
  87. data/lib/stripe/resources/transfer.rb +1 -7
  88. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  89. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  90. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  91. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  92. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  93. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  94. data/lib/stripe/resources.rb +0 -99
  95. data/lib/stripe/services/account_external_account_service.rb +2 -3
  96. data/lib/stripe/services/account_login_link_service.rb +1 -1
  97. data/lib/stripe/services/account_person_service.rb +1 -2
  98. data/lib/stripe/services/account_service.rb +23 -559
  99. data/lib/stripe/services/account_session_service.rb +29 -229
  100. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  101. data/lib/stripe/services/balance_service.rb +1 -1
  102. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  103. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  104. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  105. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  106. data/lib/stripe/services/charge_service.rb +4 -1354
  107. data/lib/stripe/services/checkout/session_service.rb +13 -250
  108. data/lib/stripe/services/coupon_service.rb +2 -19
  109. data/lib/stripe/services/credit_note_service.rb +7 -12
  110. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  111. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  112. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  113. data/lib/stripe/services/customer_service.rb +3 -5
  114. data/lib/stripe/services/customer_session_service.rb +1 -4
  115. data/lib/stripe/services/customer_tax_id_service.rb +1 -2
  116. data/lib/stripe/services/dispute_service.rb +1 -1
  117. data/lib/stripe/services/file_service.rb +1 -1
  118. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  119. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  120. data/lib/stripe/services/financial_connections_service.rb +1 -2
  121. data/lib/stripe/services/identity/verification_session_service.rb +5 -13
  122. data/lib/stripe/services/invoice_item_service.rb +3 -76
  123. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  124. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  125. data/lib/stripe/services/invoice_service.rb +74 -1049
  126. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  127. data/lib/stripe/services/issuing/card_service.rb +1 -1
  128. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  129. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  130. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  131. data/lib/stripe/services/issuing_service.rb +1 -5
  132. data/lib/stripe/services/payment_intent_service.rb +439 -4928
  133. data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
  134. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  135. data/lib/stripe/services/payment_method_service.rb +44 -226
  136. data/lib/stripe/services/payout_service.rb +2 -6
  137. data/lib/stripe/services/plan_service.rb +2 -3
  138. data/lib/stripe/services/price_service.rb +2 -21
  139. data/lib/stripe/services/product_feature_service.rb +1 -2
  140. data/lib/stripe/services/product_service.rb +2 -41
  141. data/lib/stripe/services/promotion_code_service.rb +1 -9
  142. data/lib/stripe/services/quote_service.rb +7 -1730
  143. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  144. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  145. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  146. data/lib/stripe/services/setup_intent_service.rb +119 -836
  147. data/lib/stripe/services/source_service.rb +1 -1
  148. data/lib/stripe/services/subscription_item_service.rb +27 -73
  149. data/lib/stripe/services/subscription_schedule_service.rb +101 -916
  150. data/lib/stripe/services/subscription_service.rb +85 -282
  151. data/lib/stripe/services/tax/calculation_service.rb +4 -0
  152. data/lib/stripe/services/tax/registration_service.rb +1 -1
  153. data/lib/stripe/services/tax_id_service.rb +3 -10
  154. data/lib/stripe/services/tax_service.rb +1 -3
  155. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  156. data/lib/stripe/services/terminal/location_service.rb +2 -3
  157. data/lib/stripe/services/terminal/reader_service.rb +5 -81
  158. data/lib/stripe/services/terminal_service.rb +1 -2
  159. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
  160. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  161. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  162. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  163. data/lib/stripe/services/token_service.rb +1 -1
  164. data/lib/stripe/services/transfer_service.rb +1 -5
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -12
  169. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  170. data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
  171. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  172. data/lib/stripe/services/v2/core_service.rb +1 -4
  173. data/lib/stripe/services/v2_services.rb +2 -4
  174. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  175. data/lib/stripe/services.rb +1 -54
  176. data/lib/stripe/stripe_configuration.rb +1 -3
  177. data/lib/stripe/stripe_object.rb +1 -1
  178. data/lib/stripe/util.rb +1 -7
  179. data/lib/stripe/version.rb +1 -1
  180. data/lib/stripe.rb +0 -53
  181. data/rbi/stripe/resources/account.rbi +4926 -0
  182. data/rbi/stripe/resources/account_link.rbi +74 -0
  183. data/rbi/stripe/resources/account_session.rbi +1013 -0
  184. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  185. data/rbi/stripe/resources/application.rbi +20 -0
  186. data/rbi/stripe/resources/application_fee.rbi +118 -0
  187. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  188. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  189. data/rbi/stripe/resources/balance.rbi +235 -0
  190. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  191. data/rbi/stripe/resources/bank_account.rbi +127 -0
  192. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  193. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  194. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  195. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  196. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  197. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  198. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  199. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  200. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  201. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  202. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  203. data/rbi/stripe/resources/capability.rbi +125 -0
  204. data/rbi/stripe/resources/card.rbi +125 -0
  205. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  206. data/rbi/stripe/resources/charge.rbi +2069 -0
  207. data/rbi/stripe/resources/checkout/session.rbi +4004 -0
  208. data/rbi/stripe/resources/climate/order.rbi +245 -0
  209. data/rbi/stripe/resources/climate/product.rbi +75 -0
  210. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  211. data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
  212. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  213. data/rbi/stripe/resources/country_spec.rbi +85 -0
  214. data/rbi/stripe/resources/coupon.rbi +250 -0
  215. data/rbi/stripe/resources/credit_note.rbi +752 -0
  216. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  217. data/rbi/stripe/resources/customer.rbi +1005 -0
  218. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  219. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  220. data/rbi/stripe/resources/customer_session.rbi +200 -0
  221. data/rbi/stripe/resources/discount.rbi +53 -0
  222. data/rbi/stripe/resources/dispute.rbi +761 -0
  223. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  224. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  225. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  226. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  227. data/rbi/stripe/resources/event.rbi +149 -0
  228. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  229. data/rbi/stripe/resources/file.rbi +143 -0
  230. data/rbi/stripe/resources/file_link.rbi +141 -0
  231. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  232. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  233. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  234. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  235. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  236. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  237. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  238. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  239. data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
  240. data/rbi/stripe/resources/invoice.rbi +3812 -0
  241. data/rbi/stripe/resources/invoice_item.rbi +473 -0
  242. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  243. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  244. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  245. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  246. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  247. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  248. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  249. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  250. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  251. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  252. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  253. data/rbi/stripe/resources/line_item.rbi +72 -0
  254. data/rbi/stripe/resources/login_link.rbi +19 -0
  255. data/rbi/stripe/resources/mandate.rbi +187 -0
  256. data/rbi/stripe/resources/payment_intent.rbi +9647 -0
  257. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  258. data/rbi/stripe/resources/payment_method.rbi +1761 -0
  259. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  260. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  261. data/rbi/stripe/resources/payout.rbi +300 -0
  262. data/rbi/stripe/resources/person.rbi +401 -0
  263. data/rbi/stripe/resources/plan.rbi +371 -0
  264. data/rbi/stripe/resources/price.rbi +694 -0
  265. data/rbi/stripe/resources/product.rbi +555 -0
  266. data/rbi/stripe/resources/product_feature.rbi +26 -0
  267. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  268. data/rbi/stripe/resources/quote.rbi +1126 -0
  269. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  270. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  271. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  272. data/rbi/stripe/resources/refund.rbi +523 -0
  273. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  274. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  275. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  276. data/rbi/stripe/resources/reversal.rbi +51 -0
  277. data/rbi/stripe/resources/review.rbi +154 -0
  278. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  279. data/rbi/stripe/resources/setup_intent.rbi +3655 -0
  280. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  281. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  282. data/rbi/stripe/resources/source.rbi +1496 -0
  283. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  284. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  285. data/rbi/stripe/resources/subscription.rbi +2027 -0
  286. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  287. data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
  288. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  289. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  290. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  291. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  292. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  293. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  294. data/rbi/stripe/resources/tax_code.rbi +44 -0
  295. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  296. data/rbi/stripe/resources/tax_id.rbi +165 -0
  297. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  298. data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
  299. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  300. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  301. data/rbi/stripe/resources/terminal/reader.rbi +847 -0
  302. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  303. data/rbi/stripe/resources/token.rbi +1283 -0
  304. data/rbi/stripe/resources/topup.rbi +222 -0
  305. data/rbi/stripe/resources/transfer.rbi +199 -0
  306. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  307. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  308. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  309. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  310. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  311. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  312. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  313. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  314. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  315. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  316. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  317. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  318. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  319. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  320. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  321. data/rbi/stripe/resources/v2/event.rbi +48 -0
  322. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  323. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  324. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  325. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
  326. data/rbi/stripe/services/account_link_service.rbi +58 -0
  327. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  328. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  329. data/rbi/stripe/services/account_service.rbi +4213 -0
  330. data/rbi/stripe/services/account_session_service.rbi +646 -0
  331. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  332. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  333. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  334. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  335. data/rbi/stripe/services/apps_service.rbi +9 -0
  336. data/rbi/stripe/services/balance_service.rbi +21 -0
  337. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  338. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  339. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  340. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  341. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  342. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  343. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  344. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  345. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  346. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  347. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  348. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  349. data/rbi/stripe/services/billing_service.rbi +15 -0
  350. data/rbi/stripe/services/charge_service.rbi +448 -0
  351. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  352. data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
  353. data/rbi/stripe/services/checkout_service.rbi +9 -0
  354. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  355. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  356. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  357. data/rbi/stripe/services/climate_service.rbi +11 -0
  358. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  359. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  360. data/rbi/stripe/services/coupon_service.rbi +194 -0
  361. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  362. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  363. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  364. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  365. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  366. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  367. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  368. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  369. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  370. data/rbi/stripe/services/customer_service.rbi +647 -0
  371. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  372. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  373. data/rbi/stripe/services/dispute_service.rbi +424 -0
  374. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  375. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  376. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  377. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  378. data/rbi/stripe/services/event_service.rbi +83 -0
  379. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  380. data/rbi/stripe/services/file_link_service.rbi +124 -0
  381. data/rbi/stripe/services/file_service.rbi +116 -0
  382. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  383. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  384. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  385. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  386. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  387. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  388. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  389. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  390. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  391. data/rbi/stripe/services/identity_service.rbi +10 -0
  392. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  393. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  394. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  395. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  396. data/rbi/stripe/services/invoice_service.rbi +2981 -0
  397. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  398. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  399. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  400. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  401. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  402. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  403. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  404. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  405. data/rbi/stripe/services/issuing_service.rbi +16 -0
  406. data/rbi/stripe/services/mandate_service.rbi +20 -0
  407. data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
  408. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  409. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  410. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  411. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  412. data/rbi/stripe/services/payment_method_service.rbi +776 -0
  413. data/rbi/stripe/services/payout_service.rbi +205 -0
  414. data/rbi/stripe/services/plan_service.rbi +282 -0
  415. data/rbi/stripe/services/price_service.rbi +546 -0
  416. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  417. data/rbi/stripe/services/product_service.rbi +477 -0
  418. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  419. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  420. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  421. data/rbi/stripe/services/quote_service.rbi +686 -0
  422. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  423. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  424. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  425. data/rbi/stripe/services/radar_service.rbi +11 -0
  426. data/rbi/stripe/services/refund_service.rbi +185 -0
  427. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  428. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  429. data/rbi/stripe/services/reporting_service.rbi +10 -0
  430. data/rbi/stripe/services/review_service.rbi +84 -0
  431. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  432. data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
  433. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  434. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  435. data/rbi/stripe/services/sigma_service.rbi +9 -0
  436. data/rbi/stripe/services/source_service.rbi +663 -0
  437. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  438. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  439. data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
  440. data/rbi/stripe/services/subscription_service.rbi +1648 -0
  441. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  442. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  443. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  444. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  445. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  446. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  447. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  448. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  449. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  450. data/rbi/stripe/services/tax_service.rbi +12 -0
  451. data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
  452. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  453. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  454. data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
  455. data/rbi/stripe/services/terminal_service.rbi +12 -0
  456. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
  457. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  458. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  459. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  460. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  461. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  462. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  463. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  464. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  465. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  466. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  467. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  468. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  469. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  470. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  471. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  472. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  473. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  474. data/rbi/stripe/services/token_service.rbi +1257 -0
  475. data/rbi/stripe/services/topup_service.rbi +176 -0
  476. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  477. data/rbi/stripe/services/transfer_service.rbi +152 -0
  478. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  479. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  480. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  481. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  482. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  483. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  484. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  485. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  486. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  487. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  488. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  489. data/rbi/stripe/services/treasury_service.rbi +18 -0
  490. data/rbi/stripe/services/v1_services.rbi +77 -0
  491. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  492. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  493. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  494. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  495. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  496. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  497. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  498. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  499. data/rbi/stripe/services/v2_services.rbi +10 -0
  500. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  501. data/stripe.gemspec +1 -4
  502. metadata +326 -158
  503. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  504. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  505. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  506. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  507. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  508. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  509. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  510. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  511. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  512. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  513. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  514. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  515. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  516. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  517. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  518. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  519. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  520. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  521. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  522. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  523. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  524. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  525. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  526. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  527. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  528. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  529. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  530. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  531. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  532. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  533. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  534. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  535. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  536. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  537. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  538. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  539. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  540. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  541. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  542. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  543. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  544. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  545. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  546. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  547. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  548. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  549. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  550. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  551. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  552. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  553. data/lib/stripe/resources/account_notice.rb +0 -123
  554. data/lib/stripe/resources/balance_settings.rb +0 -105
  555. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  556. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  557. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  558. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  559. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  560. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  561. data/lib/stripe/resources/fx_quote.rb +0 -184
  562. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  563. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  564. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  565. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  566. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  567. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  568. data/lib/stripe/resources/margin.rb +0 -115
  569. data/lib/stripe/resources/order.rb +0 -2859
  570. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  571. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  572. data/lib/stripe/resources/payment_record.rb +0 -1607
  573. data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
  574. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  575. data/lib/stripe/resources/quote_line.rb +0 -274
  576. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  577. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
  578. data/lib/stripe/resources/tax/association.rb +0 -89
  579. data/lib/stripe/resources/tax/form.rb +0 -211
  580. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  581. data/lib/stripe/resources/v2/core/account.rb +0 -1746
  582. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  583. data/lib/stripe/resources/v2/core/person.rb +0 -276
  584. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  585. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  586. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  587. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  588. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  589. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  590. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  591. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  592. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  593. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  594. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  595. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  596. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  597. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  598. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
  599. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
  600. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  601. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  602. data/lib/stripe/services/account_notice_service.rb +0 -101
  603. data/lib/stripe/services/balance_settings_service.rb +0 -96
  604. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  605. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  606. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  607. data/lib/stripe/services/capital_service.rb +0 -15
  608. data/lib/stripe/services/fx_quote_service.rb +0 -123
  609. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  610. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  611. data/lib/stripe/services/gift_cards_service.rb +0 -14
  612. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  613. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  614. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  615. data/lib/stripe/services/margin_service.rb +0 -119
  616. data/lib/stripe/services/order_service.rb +0 -2268
  617. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  618. data/lib/stripe/services/payment_record_service.rb +0 -542
  619. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  620. data/lib/stripe/services/privacy_service.rb +0 -13
  621. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  622. data/lib/stripe/services/tax/association_service.rb +0 -31
  623. data/lib/stripe/services/tax/form_service.rb +0 -100
  624. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  625. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  626. data/lib/stripe/services/v2/core/account_service.rb +0 -4138
  627. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
  628. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  629. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  630. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  631. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  632. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  633. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  634. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  635. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
  636. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  637. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  638. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  639. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  640. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  641. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  642. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  643. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  644. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  645. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  646. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  647. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  648. data/rbi/stripe.rbi +0 -191867
@@ -0,0 +1,2487 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ class PaymentMethodConfigurationService < StripeService
7
+ class ListParams < Stripe::RequestParams
8
+ # The Connect application to filter by.
9
+ sig { returns(T.nilable(T.nilable(String))) }
10
+ attr_accessor :application
11
+ # 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.
12
+ sig { returns(T.nilable(String)) }
13
+ attr_accessor :ending_before
14
+ # Specifies which fields in the response should be expanded.
15
+ sig { returns(T.nilable(T::Array[String])) }
16
+ attr_accessor :expand
17
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
18
+ sig { returns(T.nilable(Integer)) }
19
+ attr_accessor :limit
20
+ # 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.
21
+ sig { returns(T.nilable(String)) }
22
+ attr_accessor :starting_after
23
+ sig {
24
+ params(application: T.nilable(T.nilable(String)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
25
+ }
26
+ def initialize(
27
+ application: nil,
28
+ ending_before: nil,
29
+ expand: nil,
30
+ limit: nil,
31
+ starting_after: nil
32
+ ); end
33
+ end
34
+ class CreateParams < Stripe::RequestParams
35
+ class AcssDebit < Stripe::RequestParams
36
+ class DisplayPreference < Stripe::RequestParams
37
+ # The account's preference for whether or not to display this payment method.
38
+ sig { returns(T.nilable(String)) }
39
+ attr_accessor :preference
40
+ sig { params(preference: T.nilable(String)).void }
41
+ def initialize(preference: nil); end
42
+ end
43
+ # Whether or not the payment method should be displayed.
44
+ sig {
45
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference))
46
+ }
47
+ attr_accessor :display_preference
48
+ sig {
49
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference)).void
50
+ }
51
+ def initialize(display_preference: nil); end
52
+ end
53
+ class Affirm < Stripe::RequestParams
54
+ class DisplayPreference < Stripe::RequestParams
55
+ # The account's preference for whether or not to display this payment method.
56
+ sig { returns(T.nilable(String)) }
57
+ attr_accessor :preference
58
+ sig { params(preference: T.nilable(String)).void }
59
+ def initialize(preference: nil); end
60
+ end
61
+ # Whether or not the payment method should be displayed.
62
+ sig {
63
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference))
64
+ }
65
+ attr_accessor :display_preference
66
+ sig {
67
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference)).void
68
+ }
69
+ def initialize(display_preference: nil); end
70
+ end
71
+ class AfterpayClearpay < Stripe::RequestParams
72
+ class DisplayPreference < Stripe::RequestParams
73
+ # The account's preference for whether or not to display this payment method.
74
+ sig { returns(T.nilable(String)) }
75
+ attr_accessor :preference
76
+ sig { params(preference: T.nilable(String)).void }
77
+ def initialize(preference: nil); end
78
+ end
79
+ # Whether or not the payment method should be displayed.
80
+ sig {
81
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference))
82
+ }
83
+ attr_accessor :display_preference
84
+ sig {
85
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference)).void
86
+ }
87
+ def initialize(display_preference: nil); end
88
+ end
89
+ class Alipay < Stripe::RequestParams
90
+ class DisplayPreference < Stripe::RequestParams
91
+ # The account's preference for whether or not to display this payment method.
92
+ sig { returns(T.nilable(String)) }
93
+ attr_accessor :preference
94
+ sig { params(preference: T.nilable(String)).void }
95
+ def initialize(preference: nil); end
96
+ end
97
+ # Whether or not the payment method should be displayed.
98
+ sig {
99
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference))
100
+ }
101
+ attr_accessor :display_preference
102
+ sig {
103
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference)).void
104
+ }
105
+ def initialize(display_preference: nil); end
106
+ end
107
+ class Alma < Stripe::RequestParams
108
+ class DisplayPreference < Stripe::RequestParams
109
+ # The account's preference for whether or not to display this payment method.
110
+ sig { returns(T.nilable(String)) }
111
+ attr_accessor :preference
112
+ sig { params(preference: T.nilable(String)).void }
113
+ def initialize(preference: nil); end
114
+ end
115
+ # Whether or not the payment method should be displayed.
116
+ sig {
117
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference))
118
+ }
119
+ attr_accessor :display_preference
120
+ sig {
121
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference)).void
122
+ }
123
+ def initialize(display_preference: nil); end
124
+ end
125
+ class AmazonPay < Stripe::RequestParams
126
+ class DisplayPreference < Stripe::RequestParams
127
+ # The account's preference for whether or not to display this payment method.
128
+ sig { returns(T.nilable(String)) }
129
+ attr_accessor :preference
130
+ sig { params(preference: T.nilable(String)).void }
131
+ def initialize(preference: nil); end
132
+ end
133
+ # Whether or not the payment method should be displayed.
134
+ sig {
135
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference))
136
+ }
137
+ attr_accessor :display_preference
138
+ sig {
139
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference)).void
140
+ }
141
+ def initialize(display_preference: nil); end
142
+ end
143
+ class ApplePay < Stripe::RequestParams
144
+ class DisplayPreference < Stripe::RequestParams
145
+ # The account's preference for whether or not to display this payment method.
146
+ sig { returns(T.nilable(String)) }
147
+ attr_accessor :preference
148
+ sig { params(preference: T.nilable(String)).void }
149
+ def initialize(preference: nil); end
150
+ end
151
+ # Whether or not the payment method should be displayed.
152
+ sig {
153
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference))
154
+ }
155
+ attr_accessor :display_preference
156
+ sig {
157
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference)).void
158
+ }
159
+ def initialize(display_preference: nil); end
160
+ end
161
+ class ApplePayLater < Stripe::RequestParams
162
+ class DisplayPreference < Stripe::RequestParams
163
+ # The account's preference for whether or not to display this payment method.
164
+ sig { returns(T.nilable(String)) }
165
+ attr_accessor :preference
166
+ sig { params(preference: T.nilable(String)).void }
167
+ def initialize(preference: nil); end
168
+ end
169
+ # Whether or not the payment method should be displayed.
170
+ sig {
171
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference))
172
+ }
173
+ attr_accessor :display_preference
174
+ sig {
175
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference)).void
176
+ }
177
+ def initialize(display_preference: nil); end
178
+ end
179
+ class AuBecsDebit < Stripe::RequestParams
180
+ class DisplayPreference < Stripe::RequestParams
181
+ # The account's preference for whether or not to display this payment method.
182
+ sig { returns(T.nilable(String)) }
183
+ attr_accessor :preference
184
+ sig { params(preference: T.nilable(String)).void }
185
+ def initialize(preference: nil); end
186
+ end
187
+ # Whether or not the payment method should be displayed.
188
+ sig {
189
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference))
190
+ }
191
+ attr_accessor :display_preference
192
+ sig {
193
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference)).void
194
+ }
195
+ def initialize(display_preference: nil); end
196
+ end
197
+ class BacsDebit < Stripe::RequestParams
198
+ class DisplayPreference < Stripe::RequestParams
199
+ # The account's preference for whether or not to display this payment method.
200
+ sig { returns(T.nilable(String)) }
201
+ attr_accessor :preference
202
+ sig { params(preference: T.nilable(String)).void }
203
+ def initialize(preference: nil); end
204
+ end
205
+ # Whether or not the payment method should be displayed.
206
+ sig {
207
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference))
208
+ }
209
+ attr_accessor :display_preference
210
+ sig {
211
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference)).void
212
+ }
213
+ def initialize(display_preference: nil); end
214
+ end
215
+ class Bancontact < Stripe::RequestParams
216
+ class DisplayPreference < Stripe::RequestParams
217
+ # The account's preference for whether or not to display this payment method.
218
+ sig { returns(T.nilable(String)) }
219
+ attr_accessor :preference
220
+ sig { params(preference: T.nilable(String)).void }
221
+ def initialize(preference: nil); end
222
+ end
223
+ # Whether or not the payment method should be displayed.
224
+ sig {
225
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference))
226
+ }
227
+ attr_accessor :display_preference
228
+ sig {
229
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference)).void
230
+ }
231
+ def initialize(display_preference: nil); end
232
+ end
233
+ class Billie < Stripe::RequestParams
234
+ class DisplayPreference < Stripe::RequestParams
235
+ # The account's preference for whether or not to display this payment method.
236
+ sig { returns(T.nilable(String)) }
237
+ attr_accessor :preference
238
+ sig { params(preference: T.nilable(String)).void }
239
+ def initialize(preference: nil); end
240
+ end
241
+ # Whether or not the payment method should be displayed.
242
+ sig {
243
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie::DisplayPreference))
244
+ }
245
+ attr_accessor :display_preference
246
+ sig {
247
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie::DisplayPreference)).void
248
+ }
249
+ def initialize(display_preference: nil); end
250
+ end
251
+ class Blik < Stripe::RequestParams
252
+ class DisplayPreference < Stripe::RequestParams
253
+ # The account's preference for whether or not to display this payment method.
254
+ sig { returns(T.nilable(String)) }
255
+ attr_accessor :preference
256
+ sig { params(preference: T.nilable(String)).void }
257
+ def initialize(preference: nil); end
258
+ end
259
+ # Whether or not the payment method should be displayed.
260
+ sig {
261
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference))
262
+ }
263
+ attr_accessor :display_preference
264
+ sig {
265
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference)).void
266
+ }
267
+ def initialize(display_preference: nil); end
268
+ end
269
+ class Boleto < Stripe::RequestParams
270
+ class DisplayPreference < Stripe::RequestParams
271
+ # The account's preference for whether or not to display this payment method.
272
+ sig { returns(T.nilable(String)) }
273
+ attr_accessor :preference
274
+ sig { params(preference: T.nilable(String)).void }
275
+ def initialize(preference: nil); end
276
+ end
277
+ # Whether or not the payment method should be displayed.
278
+ sig {
279
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference))
280
+ }
281
+ attr_accessor :display_preference
282
+ sig {
283
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference)).void
284
+ }
285
+ def initialize(display_preference: nil); end
286
+ end
287
+ class Card < Stripe::RequestParams
288
+ class DisplayPreference < Stripe::RequestParams
289
+ # The account's preference for whether or not to display this payment method.
290
+ sig { returns(T.nilable(String)) }
291
+ attr_accessor :preference
292
+ sig { params(preference: T.nilable(String)).void }
293
+ def initialize(preference: nil); end
294
+ end
295
+ # Whether or not the payment method should be displayed.
296
+ sig {
297
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference))
298
+ }
299
+ attr_accessor :display_preference
300
+ sig {
301
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference)).void
302
+ }
303
+ def initialize(display_preference: nil); end
304
+ end
305
+ class CartesBancaires < Stripe::RequestParams
306
+ class DisplayPreference < Stripe::RequestParams
307
+ # The account's preference for whether or not to display this payment method.
308
+ sig { returns(T.nilable(String)) }
309
+ attr_accessor :preference
310
+ sig { params(preference: T.nilable(String)).void }
311
+ def initialize(preference: nil); end
312
+ end
313
+ # Whether or not the payment method should be displayed.
314
+ sig {
315
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference))
316
+ }
317
+ attr_accessor :display_preference
318
+ sig {
319
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference)).void
320
+ }
321
+ def initialize(display_preference: nil); end
322
+ end
323
+ class Cashapp < Stripe::RequestParams
324
+ class DisplayPreference < Stripe::RequestParams
325
+ # The account's preference for whether or not to display this payment method.
326
+ sig { returns(T.nilable(String)) }
327
+ attr_accessor :preference
328
+ sig { params(preference: T.nilable(String)).void }
329
+ def initialize(preference: nil); end
330
+ end
331
+ # Whether or not the payment method should be displayed.
332
+ sig {
333
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference))
334
+ }
335
+ attr_accessor :display_preference
336
+ sig {
337
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference)).void
338
+ }
339
+ def initialize(display_preference: nil); end
340
+ end
341
+ class CustomerBalance < Stripe::RequestParams
342
+ class DisplayPreference < Stripe::RequestParams
343
+ # The account's preference for whether or not to display this payment method.
344
+ sig { returns(T.nilable(String)) }
345
+ attr_accessor :preference
346
+ sig { params(preference: T.nilable(String)).void }
347
+ def initialize(preference: nil); end
348
+ end
349
+ # Whether or not the payment method should be displayed.
350
+ sig {
351
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference))
352
+ }
353
+ attr_accessor :display_preference
354
+ sig {
355
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference)).void
356
+ }
357
+ def initialize(display_preference: nil); end
358
+ end
359
+ class Eps < Stripe::RequestParams
360
+ class DisplayPreference < Stripe::RequestParams
361
+ # The account's preference for whether or not to display this payment method.
362
+ sig { returns(T.nilable(String)) }
363
+ attr_accessor :preference
364
+ sig { params(preference: T.nilable(String)).void }
365
+ def initialize(preference: nil); end
366
+ end
367
+ # Whether or not the payment method should be displayed.
368
+ sig {
369
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference))
370
+ }
371
+ attr_accessor :display_preference
372
+ sig {
373
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference)).void
374
+ }
375
+ def initialize(display_preference: nil); end
376
+ end
377
+ class Fpx < Stripe::RequestParams
378
+ class DisplayPreference < Stripe::RequestParams
379
+ # The account's preference for whether or not to display this payment method.
380
+ sig { returns(T.nilable(String)) }
381
+ attr_accessor :preference
382
+ sig { params(preference: T.nilable(String)).void }
383
+ def initialize(preference: nil); end
384
+ end
385
+ # Whether or not the payment method should be displayed.
386
+ sig {
387
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference))
388
+ }
389
+ attr_accessor :display_preference
390
+ sig {
391
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference)).void
392
+ }
393
+ def initialize(display_preference: nil); end
394
+ end
395
+ class Giropay < Stripe::RequestParams
396
+ class DisplayPreference < Stripe::RequestParams
397
+ # The account's preference for whether or not to display this payment method.
398
+ sig { returns(T.nilable(String)) }
399
+ attr_accessor :preference
400
+ sig { params(preference: T.nilable(String)).void }
401
+ def initialize(preference: nil); end
402
+ end
403
+ # Whether or not the payment method should be displayed.
404
+ sig {
405
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference))
406
+ }
407
+ attr_accessor :display_preference
408
+ sig {
409
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference)).void
410
+ }
411
+ def initialize(display_preference: nil); end
412
+ end
413
+ class GooglePay < Stripe::RequestParams
414
+ class DisplayPreference < Stripe::RequestParams
415
+ # The account's preference for whether or not to display this payment method.
416
+ sig { returns(T.nilable(String)) }
417
+ attr_accessor :preference
418
+ sig { params(preference: T.nilable(String)).void }
419
+ def initialize(preference: nil); end
420
+ end
421
+ # Whether or not the payment method should be displayed.
422
+ sig {
423
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference))
424
+ }
425
+ attr_accessor :display_preference
426
+ sig {
427
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference)).void
428
+ }
429
+ def initialize(display_preference: nil); end
430
+ end
431
+ class Grabpay < Stripe::RequestParams
432
+ class DisplayPreference < Stripe::RequestParams
433
+ # The account's preference for whether or not to display this payment method.
434
+ sig { returns(T.nilable(String)) }
435
+ attr_accessor :preference
436
+ sig { params(preference: T.nilable(String)).void }
437
+ def initialize(preference: nil); end
438
+ end
439
+ # Whether or not the payment method should be displayed.
440
+ sig {
441
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference))
442
+ }
443
+ attr_accessor :display_preference
444
+ sig {
445
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference)).void
446
+ }
447
+ def initialize(display_preference: nil); end
448
+ end
449
+ class Ideal < Stripe::RequestParams
450
+ class DisplayPreference < Stripe::RequestParams
451
+ # The account's preference for whether or not to display this payment method.
452
+ sig { returns(T.nilable(String)) }
453
+ attr_accessor :preference
454
+ sig { params(preference: T.nilable(String)).void }
455
+ def initialize(preference: nil); end
456
+ end
457
+ # Whether or not the payment method should be displayed.
458
+ sig {
459
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference))
460
+ }
461
+ attr_accessor :display_preference
462
+ sig {
463
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference)).void
464
+ }
465
+ def initialize(display_preference: nil); end
466
+ end
467
+ class Jcb < Stripe::RequestParams
468
+ class DisplayPreference < Stripe::RequestParams
469
+ # The account's preference for whether or not to display this payment method.
470
+ sig { returns(T.nilable(String)) }
471
+ attr_accessor :preference
472
+ sig { params(preference: T.nilable(String)).void }
473
+ def initialize(preference: nil); end
474
+ end
475
+ # Whether or not the payment method should be displayed.
476
+ sig {
477
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference))
478
+ }
479
+ attr_accessor :display_preference
480
+ sig {
481
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference)).void
482
+ }
483
+ def initialize(display_preference: nil); end
484
+ end
485
+ class KakaoPay < Stripe::RequestParams
486
+ class DisplayPreference < Stripe::RequestParams
487
+ # The account's preference for whether or not to display this payment method.
488
+ sig { returns(T.nilable(String)) }
489
+ attr_accessor :preference
490
+ sig { params(preference: T.nilable(String)).void }
491
+ def initialize(preference: nil); end
492
+ end
493
+ # Whether or not the payment method should be displayed.
494
+ sig {
495
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay::DisplayPreference))
496
+ }
497
+ attr_accessor :display_preference
498
+ sig {
499
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay::DisplayPreference)).void
500
+ }
501
+ def initialize(display_preference: nil); end
502
+ end
503
+ class Klarna < Stripe::RequestParams
504
+ class DisplayPreference < Stripe::RequestParams
505
+ # The account's preference for whether or not to display this payment method.
506
+ sig { returns(T.nilable(String)) }
507
+ attr_accessor :preference
508
+ sig { params(preference: T.nilable(String)).void }
509
+ def initialize(preference: nil); end
510
+ end
511
+ # Whether or not the payment method should be displayed.
512
+ sig {
513
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference))
514
+ }
515
+ attr_accessor :display_preference
516
+ sig {
517
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference)).void
518
+ }
519
+ def initialize(display_preference: nil); end
520
+ end
521
+ class Konbini < Stripe::RequestParams
522
+ class DisplayPreference < Stripe::RequestParams
523
+ # The account's preference for whether or not to display this payment method.
524
+ sig { returns(T.nilable(String)) }
525
+ attr_accessor :preference
526
+ sig { params(preference: T.nilable(String)).void }
527
+ def initialize(preference: nil); end
528
+ end
529
+ # Whether or not the payment method should be displayed.
530
+ sig {
531
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference))
532
+ }
533
+ attr_accessor :display_preference
534
+ sig {
535
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference)).void
536
+ }
537
+ def initialize(display_preference: nil); end
538
+ end
539
+ class KrCard < Stripe::RequestParams
540
+ class DisplayPreference < Stripe::RequestParams
541
+ # The account's preference for whether or not to display this payment method.
542
+ sig { returns(T.nilable(String)) }
543
+ attr_accessor :preference
544
+ sig { params(preference: T.nilable(String)).void }
545
+ def initialize(preference: nil); end
546
+ end
547
+ # Whether or not the payment method should be displayed.
548
+ sig {
549
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard::DisplayPreference))
550
+ }
551
+ attr_accessor :display_preference
552
+ sig {
553
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard::DisplayPreference)).void
554
+ }
555
+ def initialize(display_preference: nil); end
556
+ end
557
+ class Link < Stripe::RequestParams
558
+ class DisplayPreference < Stripe::RequestParams
559
+ # The account's preference for whether or not to display this payment method.
560
+ sig { returns(T.nilable(String)) }
561
+ attr_accessor :preference
562
+ sig { params(preference: T.nilable(String)).void }
563
+ def initialize(preference: nil); end
564
+ end
565
+ # Whether or not the payment method should be displayed.
566
+ sig {
567
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference))
568
+ }
569
+ attr_accessor :display_preference
570
+ sig {
571
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference)).void
572
+ }
573
+ def initialize(display_preference: nil); end
574
+ end
575
+ class Mobilepay < Stripe::RequestParams
576
+ class DisplayPreference < Stripe::RequestParams
577
+ # The account's preference for whether or not to display this payment method.
578
+ sig { returns(T.nilable(String)) }
579
+ attr_accessor :preference
580
+ sig { params(preference: T.nilable(String)).void }
581
+ def initialize(preference: nil); end
582
+ end
583
+ # Whether or not the payment method should be displayed.
584
+ sig {
585
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference))
586
+ }
587
+ attr_accessor :display_preference
588
+ sig {
589
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference)).void
590
+ }
591
+ def initialize(display_preference: nil); end
592
+ end
593
+ class Multibanco < Stripe::RequestParams
594
+ class DisplayPreference < Stripe::RequestParams
595
+ # The account's preference for whether or not to display this payment method.
596
+ sig { returns(T.nilable(String)) }
597
+ attr_accessor :preference
598
+ sig { params(preference: T.nilable(String)).void }
599
+ def initialize(preference: nil); end
600
+ end
601
+ # Whether or not the payment method should be displayed.
602
+ sig {
603
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference))
604
+ }
605
+ attr_accessor :display_preference
606
+ sig {
607
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference)).void
608
+ }
609
+ def initialize(display_preference: nil); end
610
+ end
611
+ class NaverPay < Stripe::RequestParams
612
+ class DisplayPreference < Stripe::RequestParams
613
+ # The account's preference for whether or not to display this payment method.
614
+ sig { returns(T.nilable(String)) }
615
+ attr_accessor :preference
616
+ sig { params(preference: T.nilable(String)).void }
617
+ def initialize(preference: nil); end
618
+ end
619
+ # Whether or not the payment method should be displayed.
620
+ sig {
621
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay::DisplayPreference))
622
+ }
623
+ attr_accessor :display_preference
624
+ sig {
625
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay::DisplayPreference)).void
626
+ }
627
+ def initialize(display_preference: nil); end
628
+ end
629
+ class NzBankAccount < Stripe::RequestParams
630
+ class DisplayPreference < Stripe::RequestParams
631
+ # The account's preference for whether or not to display this payment method.
632
+ sig { returns(T.nilable(String)) }
633
+ attr_accessor :preference
634
+ sig { params(preference: T.nilable(String)).void }
635
+ def initialize(preference: nil); end
636
+ end
637
+ # Whether or not the payment method should be displayed.
638
+ sig {
639
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount::DisplayPreference))
640
+ }
641
+ attr_accessor :display_preference
642
+ sig {
643
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount::DisplayPreference)).void
644
+ }
645
+ def initialize(display_preference: nil); end
646
+ end
647
+ class Oxxo < Stripe::RequestParams
648
+ class DisplayPreference < Stripe::RequestParams
649
+ # The account's preference for whether or not to display this payment method.
650
+ sig { returns(T.nilable(String)) }
651
+ attr_accessor :preference
652
+ sig { params(preference: T.nilable(String)).void }
653
+ def initialize(preference: nil); end
654
+ end
655
+ # Whether or not the payment method should be displayed.
656
+ sig {
657
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference))
658
+ }
659
+ attr_accessor :display_preference
660
+ sig {
661
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference)).void
662
+ }
663
+ def initialize(display_preference: nil); end
664
+ end
665
+ class P24 < Stripe::RequestParams
666
+ class DisplayPreference < Stripe::RequestParams
667
+ # The account's preference for whether or not to display this payment method.
668
+ sig { returns(T.nilable(String)) }
669
+ attr_accessor :preference
670
+ sig { params(preference: T.nilable(String)).void }
671
+ def initialize(preference: nil); end
672
+ end
673
+ # Whether or not the payment method should be displayed.
674
+ sig {
675
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference))
676
+ }
677
+ attr_accessor :display_preference
678
+ sig {
679
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference)).void
680
+ }
681
+ def initialize(display_preference: nil); end
682
+ end
683
+ class PayByBank < Stripe::RequestParams
684
+ class DisplayPreference < Stripe::RequestParams
685
+ # The account's preference for whether or not to display this payment method.
686
+ sig { returns(T.nilable(String)) }
687
+ attr_accessor :preference
688
+ sig { params(preference: T.nilable(String)).void }
689
+ def initialize(preference: nil); end
690
+ end
691
+ # Whether or not the payment method should be displayed.
692
+ sig {
693
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference))
694
+ }
695
+ attr_accessor :display_preference
696
+ sig {
697
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference)).void
698
+ }
699
+ def initialize(display_preference: nil); end
700
+ end
701
+ class Payco < Stripe::RequestParams
702
+ class DisplayPreference < Stripe::RequestParams
703
+ # The account's preference for whether or not to display this payment method.
704
+ sig { returns(T.nilable(String)) }
705
+ attr_accessor :preference
706
+ sig { params(preference: T.nilable(String)).void }
707
+ def initialize(preference: nil); end
708
+ end
709
+ # Whether or not the payment method should be displayed.
710
+ sig {
711
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco::DisplayPreference))
712
+ }
713
+ attr_accessor :display_preference
714
+ sig {
715
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco::DisplayPreference)).void
716
+ }
717
+ def initialize(display_preference: nil); end
718
+ end
719
+ class Paynow < Stripe::RequestParams
720
+ class DisplayPreference < Stripe::RequestParams
721
+ # The account's preference for whether or not to display this payment method.
722
+ sig { returns(T.nilable(String)) }
723
+ attr_accessor :preference
724
+ sig { params(preference: T.nilable(String)).void }
725
+ def initialize(preference: nil); end
726
+ end
727
+ # Whether or not the payment method should be displayed.
728
+ sig {
729
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference))
730
+ }
731
+ attr_accessor :display_preference
732
+ sig {
733
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference)).void
734
+ }
735
+ def initialize(display_preference: nil); end
736
+ end
737
+ class Paypal < Stripe::RequestParams
738
+ class DisplayPreference < Stripe::RequestParams
739
+ # The account's preference for whether or not to display this payment method.
740
+ sig { returns(T.nilable(String)) }
741
+ attr_accessor :preference
742
+ sig { params(preference: T.nilable(String)).void }
743
+ def initialize(preference: nil); end
744
+ end
745
+ # Whether or not the payment method should be displayed.
746
+ sig {
747
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference))
748
+ }
749
+ attr_accessor :display_preference
750
+ sig {
751
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference)).void
752
+ }
753
+ def initialize(display_preference: nil); end
754
+ end
755
+ class Pix < Stripe::RequestParams
756
+ class DisplayPreference < Stripe::RequestParams
757
+ # The account's preference for whether or not to display this payment method.
758
+ sig { returns(T.nilable(String)) }
759
+ attr_accessor :preference
760
+ sig { params(preference: T.nilable(String)).void }
761
+ def initialize(preference: nil); end
762
+ end
763
+ # Whether or not the payment method should be displayed.
764
+ sig {
765
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix::DisplayPreference))
766
+ }
767
+ attr_accessor :display_preference
768
+ sig {
769
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix::DisplayPreference)).void
770
+ }
771
+ def initialize(display_preference: nil); end
772
+ end
773
+ class Promptpay < Stripe::RequestParams
774
+ class DisplayPreference < Stripe::RequestParams
775
+ # The account's preference for whether or not to display this payment method.
776
+ sig { returns(T.nilable(String)) }
777
+ attr_accessor :preference
778
+ sig { params(preference: T.nilable(String)).void }
779
+ def initialize(preference: nil); end
780
+ end
781
+ # Whether or not the payment method should be displayed.
782
+ sig {
783
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference))
784
+ }
785
+ attr_accessor :display_preference
786
+ sig {
787
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference)).void
788
+ }
789
+ def initialize(display_preference: nil); end
790
+ end
791
+ class RevolutPay < Stripe::RequestParams
792
+ class DisplayPreference < Stripe::RequestParams
793
+ # The account's preference for whether or not to display this payment method.
794
+ sig { returns(T.nilable(String)) }
795
+ attr_accessor :preference
796
+ sig { params(preference: T.nilable(String)).void }
797
+ def initialize(preference: nil); end
798
+ end
799
+ # Whether or not the payment method should be displayed.
800
+ sig {
801
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference))
802
+ }
803
+ attr_accessor :display_preference
804
+ sig {
805
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference)).void
806
+ }
807
+ def initialize(display_preference: nil); end
808
+ end
809
+ class SamsungPay < Stripe::RequestParams
810
+ class DisplayPreference < Stripe::RequestParams
811
+ # The account's preference for whether or not to display this payment method.
812
+ sig { returns(T.nilable(String)) }
813
+ attr_accessor :preference
814
+ sig { params(preference: T.nilable(String)).void }
815
+ def initialize(preference: nil); end
816
+ end
817
+ # Whether or not the payment method should be displayed.
818
+ sig {
819
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay::DisplayPreference))
820
+ }
821
+ attr_accessor :display_preference
822
+ sig {
823
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay::DisplayPreference)).void
824
+ }
825
+ def initialize(display_preference: nil); end
826
+ end
827
+ class Satispay < Stripe::RequestParams
828
+ class DisplayPreference < Stripe::RequestParams
829
+ # The account's preference for whether or not to display this payment method.
830
+ sig { returns(T.nilable(String)) }
831
+ attr_accessor :preference
832
+ sig { params(preference: T.nilable(String)).void }
833
+ def initialize(preference: nil); end
834
+ end
835
+ # Whether or not the payment method should be displayed.
836
+ sig {
837
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay::DisplayPreference))
838
+ }
839
+ attr_accessor :display_preference
840
+ sig {
841
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay::DisplayPreference)).void
842
+ }
843
+ def initialize(display_preference: nil); end
844
+ end
845
+ class SepaDebit < Stripe::RequestParams
846
+ class DisplayPreference < Stripe::RequestParams
847
+ # The account's preference for whether or not to display this payment method.
848
+ sig { returns(T.nilable(String)) }
849
+ attr_accessor :preference
850
+ sig { params(preference: T.nilable(String)).void }
851
+ def initialize(preference: nil); end
852
+ end
853
+ # Whether or not the payment method should be displayed.
854
+ sig {
855
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference))
856
+ }
857
+ attr_accessor :display_preference
858
+ sig {
859
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference)).void
860
+ }
861
+ def initialize(display_preference: nil); end
862
+ end
863
+ class Sofort < Stripe::RequestParams
864
+ class DisplayPreference < Stripe::RequestParams
865
+ # The account's preference for whether or not to display this payment method.
866
+ sig { returns(T.nilable(String)) }
867
+ attr_accessor :preference
868
+ sig { params(preference: T.nilable(String)).void }
869
+ def initialize(preference: nil); end
870
+ end
871
+ # Whether or not the payment method should be displayed.
872
+ sig {
873
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference))
874
+ }
875
+ attr_accessor :display_preference
876
+ sig {
877
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference)).void
878
+ }
879
+ def initialize(display_preference: nil); end
880
+ end
881
+ class Swish < Stripe::RequestParams
882
+ class DisplayPreference < Stripe::RequestParams
883
+ # The account's preference for whether or not to display this payment method.
884
+ sig { returns(T.nilable(String)) }
885
+ attr_accessor :preference
886
+ sig { params(preference: T.nilable(String)).void }
887
+ def initialize(preference: nil); end
888
+ end
889
+ # Whether or not the payment method should be displayed.
890
+ sig {
891
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference))
892
+ }
893
+ attr_accessor :display_preference
894
+ sig {
895
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference)).void
896
+ }
897
+ def initialize(display_preference: nil); end
898
+ end
899
+ class Twint < Stripe::RequestParams
900
+ class DisplayPreference < Stripe::RequestParams
901
+ # The account's preference for whether or not to display this payment method.
902
+ sig { returns(T.nilable(String)) }
903
+ attr_accessor :preference
904
+ sig { params(preference: T.nilable(String)).void }
905
+ def initialize(preference: nil); end
906
+ end
907
+ # Whether or not the payment method should be displayed.
908
+ sig {
909
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference))
910
+ }
911
+ attr_accessor :display_preference
912
+ sig {
913
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference)).void
914
+ }
915
+ def initialize(display_preference: nil); end
916
+ end
917
+ class UsBankAccount < Stripe::RequestParams
918
+ class DisplayPreference < Stripe::RequestParams
919
+ # The account's preference for whether or not to display this payment method.
920
+ sig { returns(T.nilable(String)) }
921
+ attr_accessor :preference
922
+ sig { params(preference: T.nilable(String)).void }
923
+ def initialize(preference: nil); end
924
+ end
925
+ # Whether or not the payment method should be displayed.
926
+ sig {
927
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference))
928
+ }
929
+ attr_accessor :display_preference
930
+ sig {
931
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference)).void
932
+ }
933
+ def initialize(display_preference: nil); end
934
+ end
935
+ class WechatPay < Stripe::RequestParams
936
+ class DisplayPreference < Stripe::RequestParams
937
+ # The account's preference for whether or not to display this payment method.
938
+ sig { returns(T.nilable(String)) }
939
+ attr_accessor :preference
940
+ sig { params(preference: T.nilable(String)).void }
941
+ def initialize(preference: nil); end
942
+ end
943
+ # Whether or not the payment method should be displayed.
944
+ sig {
945
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference))
946
+ }
947
+ attr_accessor :display_preference
948
+ sig {
949
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference)).void
950
+ }
951
+ def initialize(display_preference: nil); end
952
+ end
953
+ class Zip < Stripe::RequestParams
954
+ class DisplayPreference < Stripe::RequestParams
955
+ # The account's preference for whether or not to display this payment method.
956
+ sig { returns(T.nilable(String)) }
957
+ attr_accessor :preference
958
+ sig { params(preference: T.nilable(String)).void }
959
+ def initialize(preference: nil); end
960
+ end
961
+ # Whether or not the payment method should be displayed.
962
+ sig {
963
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference))
964
+ }
965
+ attr_accessor :display_preference
966
+ sig {
967
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)).void
968
+ }
969
+ def initialize(display_preference: nil); end
970
+ end
971
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
972
+ sig {
973
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit))
974
+ }
975
+ attr_accessor :acss_debit
976
+ # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
977
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm)) }
978
+ attr_accessor :affirm
979
+ # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
980
+ sig {
981
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay))
982
+ }
983
+ attr_accessor :afterpay_clearpay
984
+ # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
985
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay)) }
986
+ attr_accessor :alipay
987
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
988
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma)) }
989
+ attr_accessor :alma
990
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
991
+ sig {
992
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay))
993
+ }
994
+ attr_accessor :amazon_pay
995
+ # Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
996
+ sig {
997
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay))
998
+ }
999
+ attr_accessor :apple_pay
1000
+ # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
1001
+ sig {
1002
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater))
1003
+ }
1004
+ attr_accessor :apple_pay_later
1005
+ # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
1006
+ sig {
1007
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit))
1008
+ }
1009
+ attr_accessor :au_becs_debit
1010
+ # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
1011
+ sig {
1012
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit))
1013
+ }
1014
+ attr_accessor :bacs_debit
1015
+ # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
1016
+ sig {
1017
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact))
1018
+ }
1019
+ attr_accessor :bancontact
1020
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1021
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie)) }
1022
+ attr_accessor :billie
1023
+ # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
1024
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik)) }
1025
+ attr_accessor :blik
1026
+ # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
1027
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto)) }
1028
+ attr_accessor :boleto
1029
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
1030
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card)) }
1031
+ attr_accessor :card
1032
+ # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
1033
+ sig {
1034
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires))
1035
+ }
1036
+ attr_accessor :cartes_bancaires
1037
+ # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
1038
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp)) }
1039
+ attr_accessor :cashapp
1040
+ # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
1041
+ sig {
1042
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance))
1043
+ }
1044
+ attr_accessor :customer_balance
1045
+ # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
1046
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps)) }
1047
+ attr_accessor :eps
1048
+ # Specifies which fields in the response should be expanded.
1049
+ sig { returns(T.nilable(T::Array[String])) }
1050
+ attr_accessor :expand
1051
+ # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
1052
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx)) }
1053
+ attr_accessor :fpx
1054
+ # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
1055
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay)) }
1056
+ attr_accessor :giropay
1057
+ # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
1058
+ sig {
1059
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay))
1060
+ }
1061
+ attr_accessor :google_pay
1062
+ # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
1063
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay)) }
1064
+ attr_accessor :grabpay
1065
+ # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
1066
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal)) }
1067
+ attr_accessor :ideal
1068
+ # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
1069
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb)) }
1070
+ attr_accessor :jcb
1071
+ # Kakao Pay is a popular local wallet available in South Korea.
1072
+ sig {
1073
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay))
1074
+ }
1075
+ attr_accessor :kakao_pay
1076
+ # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
1077
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna)) }
1078
+ attr_accessor :klarna
1079
+ # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
1080
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini)) }
1081
+ attr_accessor :konbini
1082
+ # Korean cards let users pay using locally issued cards from South Korea.
1083
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard)) }
1084
+ attr_accessor :kr_card
1085
+ # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
1086
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link)) }
1087
+ attr_accessor :link
1088
+ # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
1089
+ sig {
1090
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay))
1091
+ }
1092
+ attr_accessor :mobilepay
1093
+ # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
1094
+ sig {
1095
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco))
1096
+ }
1097
+ attr_accessor :multibanco
1098
+ # Configuration name.
1099
+ sig { returns(T.nilable(String)) }
1100
+ attr_accessor :name
1101
+ # Naver Pay is a popular local wallet available in South Korea.
1102
+ sig {
1103
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay))
1104
+ }
1105
+ attr_accessor :naver_pay
1106
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
1107
+ sig {
1108
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount))
1109
+ }
1110
+ attr_accessor :nz_bank_account
1111
+ # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
1112
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo)) }
1113
+ attr_accessor :oxxo
1114
+ # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
1115
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24)) }
1116
+ attr_accessor :p24
1117
+ # Configuration's parent configuration. Specify to create a child configuration.
1118
+ sig { returns(T.nilable(String)) }
1119
+ attr_accessor :parent
1120
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1121
+ sig {
1122
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank))
1123
+ }
1124
+ attr_accessor :pay_by_bank
1125
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
1126
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco)) }
1127
+ attr_accessor :payco
1128
+ # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
1129
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow)) }
1130
+ attr_accessor :paynow
1131
+ # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
1132
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal)) }
1133
+ attr_accessor :paypal
1134
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
1135
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix)) }
1136
+ attr_accessor :pix
1137
+ # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1138
+ sig {
1139
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay))
1140
+ }
1141
+ attr_accessor :promptpay
1142
+ # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1143
+ sig {
1144
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay))
1145
+ }
1146
+ attr_accessor :revolut_pay
1147
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
1148
+ sig {
1149
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay))
1150
+ }
1151
+ attr_accessor :samsung_pay
1152
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1153
+ sig {
1154
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay))
1155
+ }
1156
+ attr_accessor :satispay
1157
+ # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
1158
+ sig {
1159
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit))
1160
+ }
1161
+ attr_accessor :sepa_debit
1162
+ # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
1163
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort)) }
1164
+ attr_accessor :sofort
1165
+ # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
1166
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish)) }
1167
+ attr_accessor :swish
1168
+ # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
1169
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint)) }
1170
+ attr_accessor :twint
1171
+ # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
1172
+ sig {
1173
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount))
1174
+ }
1175
+ attr_accessor :us_bank_account
1176
+ # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
1177
+ sig {
1178
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay))
1179
+ }
1180
+ attr_accessor :wechat_pay
1181
+ # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
1182
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)) }
1183
+ attr_accessor :zip
1184
+ sig {
1185
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip)).void
1186
+ }
1187
+ def initialize(
1188
+ acss_debit: nil,
1189
+ affirm: nil,
1190
+ afterpay_clearpay: nil,
1191
+ alipay: nil,
1192
+ alma: nil,
1193
+ amazon_pay: nil,
1194
+ apple_pay: nil,
1195
+ apple_pay_later: nil,
1196
+ au_becs_debit: nil,
1197
+ bacs_debit: nil,
1198
+ bancontact: nil,
1199
+ billie: nil,
1200
+ blik: nil,
1201
+ boleto: nil,
1202
+ card: nil,
1203
+ cartes_bancaires: nil,
1204
+ cashapp: nil,
1205
+ customer_balance: nil,
1206
+ eps: nil,
1207
+ expand: nil,
1208
+ fpx: nil,
1209
+ giropay: nil,
1210
+ google_pay: nil,
1211
+ grabpay: nil,
1212
+ ideal: nil,
1213
+ jcb: nil,
1214
+ kakao_pay: nil,
1215
+ klarna: nil,
1216
+ konbini: nil,
1217
+ kr_card: nil,
1218
+ link: nil,
1219
+ mobilepay: nil,
1220
+ multibanco: nil,
1221
+ name: nil,
1222
+ naver_pay: nil,
1223
+ nz_bank_account: nil,
1224
+ oxxo: nil,
1225
+ p24: nil,
1226
+ parent: nil,
1227
+ pay_by_bank: nil,
1228
+ payco: nil,
1229
+ paynow: nil,
1230
+ paypal: nil,
1231
+ pix: nil,
1232
+ promptpay: nil,
1233
+ revolut_pay: nil,
1234
+ samsung_pay: nil,
1235
+ satispay: nil,
1236
+ sepa_debit: nil,
1237
+ sofort: nil,
1238
+ swish: nil,
1239
+ twint: nil,
1240
+ us_bank_account: nil,
1241
+ wechat_pay: nil,
1242
+ zip: nil
1243
+ ); end
1244
+ end
1245
+ class RetrieveParams < Stripe::RequestParams
1246
+ # Specifies which fields in the response should be expanded.
1247
+ sig { returns(T.nilable(T::Array[String])) }
1248
+ attr_accessor :expand
1249
+ sig { params(expand: T.nilable(T::Array[String])).void }
1250
+ def initialize(expand: nil); end
1251
+ end
1252
+ class UpdateParams < Stripe::RequestParams
1253
+ class AcssDebit < Stripe::RequestParams
1254
+ class DisplayPreference < Stripe::RequestParams
1255
+ # The account's preference for whether or not to display this payment method.
1256
+ sig { returns(T.nilable(String)) }
1257
+ attr_accessor :preference
1258
+ sig { params(preference: T.nilable(String)).void }
1259
+ def initialize(preference: nil); end
1260
+ end
1261
+ # Whether or not the payment method should be displayed.
1262
+ sig {
1263
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference))
1264
+ }
1265
+ attr_accessor :display_preference
1266
+ sig {
1267
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)).void
1268
+ }
1269
+ def initialize(display_preference: nil); end
1270
+ end
1271
+ class Affirm < Stripe::RequestParams
1272
+ class DisplayPreference < Stripe::RequestParams
1273
+ # The account's preference for whether or not to display this payment method.
1274
+ sig { returns(T.nilable(String)) }
1275
+ attr_accessor :preference
1276
+ sig { params(preference: T.nilable(String)).void }
1277
+ def initialize(preference: nil); end
1278
+ end
1279
+ # Whether or not the payment method should be displayed.
1280
+ sig {
1281
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference))
1282
+ }
1283
+ attr_accessor :display_preference
1284
+ sig {
1285
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)).void
1286
+ }
1287
+ def initialize(display_preference: nil); end
1288
+ end
1289
+ class AfterpayClearpay < Stripe::RequestParams
1290
+ class DisplayPreference < Stripe::RequestParams
1291
+ # The account's preference for whether or not to display this payment method.
1292
+ sig { returns(T.nilable(String)) }
1293
+ attr_accessor :preference
1294
+ sig { params(preference: T.nilable(String)).void }
1295
+ def initialize(preference: nil); end
1296
+ end
1297
+ # Whether or not the payment method should be displayed.
1298
+ sig {
1299
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference))
1300
+ }
1301
+ attr_accessor :display_preference
1302
+ sig {
1303
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)).void
1304
+ }
1305
+ def initialize(display_preference: nil); end
1306
+ end
1307
+ class Alipay < Stripe::RequestParams
1308
+ class DisplayPreference < Stripe::RequestParams
1309
+ # The account's preference for whether or not to display this payment method.
1310
+ sig { returns(T.nilable(String)) }
1311
+ attr_accessor :preference
1312
+ sig { params(preference: T.nilable(String)).void }
1313
+ def initialize(preference: nil); end
1314
+ end
1315
+ # Whether or not the payment method should be displayed.
1316
+ sig {
1317
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference))
1318
+ }
1319
+ attr_accessor :display_preference
1320
+ sig {
1321
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)).void
1322
+ }
1323
+ def initialize(display_preference: nil); end
1324
+ end
1325
+ class Alma < Stripe::RequestParams
1326
+ class DisplayPreference < Stripe::RequestParams
1327
+ # The account's preference for whether or not to display this payment method.
1328
+ sig { returns(T.nilable(String)) }
1329
+ attr_accessor :preference
1330
+ sig { params(preference: T.nilable(String)).void }
1331
+ def initialize(preference: nil); end
1332
+ end
1333
+ # Whether or not the payment method should be displayed.
1334
+ sig {
1335
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference))
1336
+ }
1337
+ attr_accessor :display_preference
1338
+ sig {
1339
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)).void
1340
+ }
1341
+ def initialize(display_preference: nil); end
1342
+ end
1343
+ class AmazonPay < Stripe::RequestParams
1344
+ class DisplayPreference < Stripe::RequestParams
1345
+ # The account's preference for whether or not to display this payment method.
1346
+ sig { returns(T.nilable(String)) }
1347
+ attr_accessor :preference
1348
+ sig { params(preference: T.nilable(String)).void }
1349
+ def initialize(preference: nil); end
1350
+ end
1351
+ # Whether or not the payment method should be displayed.
1352
+ sig {
1353
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference))
1354
+ }
1355
+ attr_accessor :display_preference
1356
+ sig {
1357
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)).void
1358
+ }
1359
+ def initialize(display_preference: nil); end
1360
+ end
1361
+ class ApplePay < Stripe::RequestParams
1362
+ class DisplayPreference < Stripe::RequestParams
1363
+ # The account's preference for whether or not to display this payment method.
1364
+ sig { returns(T.nilable(String)) }
1365
+ attr_accessor :preference
1366
+ sig { params(preference: T.nilable(String)).void }
1367
+ def initialize(preference: nil); end
1368
+ end
1369
+ # Whether or not the payment method should be displayed.
1370
+ sig {
1371
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference))
1372
+ }
1373
+ attr_accessor :display_preference
1374
+ sig {
1375
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)).void
1376
+ }
1377
+ def initialize(display_preference: nil); end
1378
+ end
1379
+ class ApplePayLater < Stripe::RequestParams
1380
+ class DisplayPreference < Stripe::RequestParams
1381
+ # The account's preference for whether or not to display this payment method.
1382
+ sig { returns(T.nilable(String)) }
1383
+ attr_accessor :preference
1384
+ sig { params(preference: T.nilable(String)).void }
1385
+ def initialize(preference: nil); end
1386
+ end
1387
+ # Whether or not the payment method should be displayed.
1388
+ sig {
1389
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference))
1390
+ }
1391
+ attr_accessor :display_preference
1392
+ sig {
1393
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)).void
1394
+ }
1395
+ def initialize(display_preference: nil); end
1396
+ end
1397
+ class AuBecsDebit < Stripe::RequestParams
1398
+ class DisplayPreference < Stripe::RequestParams
1399
+ # The account's preference for whether or not to display this payment method.
1400
+ sig { returns(T.nilable(String)) }
1401
+ attr_accessor :preference
1402
+ sig { params(preference: T.nilable(String)).void }
1403
+ def initialize(preference: nil); end
1404
+ end
1405
+ # Whether or not the payment method should be displayed.
1406
+ sig {
1407
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference))
1408
+ }
1409
+ attr_accessor :display_preference
1410
+ sig {
1411
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)).void
1412
+ }
1413
+ def initialize(display_preference: nil); end
1414
+ end
1415
+ class BacsDebit < Stripe::RequestParams
1416
+ class DisplayPreference < Stripe::RequestParams
1417
+ # The account's preference for whether or not to display this payment method.
1418
+ sig { returns(T.nilable(String)) }
1419
+ attr_accessor :preference
1420
+ sig { params(preference: T.nilable(String)).void }
1421
+ def initialize(preference: nil); end
1422
+ end
1423
+ # Whether or not the payment method should be displayed.
1424
+ sig {
1425
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference))
1426
+ }
1427
+ attr_accessor :display_preference
1428
+ sig {
1429
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)).void
1430
+ }
1431
+ def initialize(display_preference: nil); end
1432
+ end
1433
+ class Bancontact < Stripe::RequestParams
1434
+ class DisplayPreference < Stripe::RequestParams
1435
+ # The account's preference for whether or not to display this payment method.
1436
+ sig { returns(T.nilable(String)) }
1437
+ attr_accessor :preference
1438
+ sig { params(preference: T.nilable(String)).void }
1439
+ def initialize(preference: nil); end
1440
+ end
1441
+ # Whether or not the payment method should be displayed.
1442
+ sig {
1443
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference))
1444
+ }
1445
+ attr_accessor :display_preference
1446
+ sig {
1447
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)).void
1448
+ }
1449
+ def initialize(display_preference: nil); end
1450
+ end
1451
+ class Billie < Stripe::RequestParams
1452
+ class DisplayPreference < Stripe::RequestParams
1453
+ # The account's preference for whether or not to display this payment method.
1454
+ sig { returns(T.nilable(String)) }
1455
+ attr_accessor :preference
1456
+ sig { params(preference: T.nilable(String)).void }
1457
+ def initialize(preference: nil); end
1458
+ end
1459
+ # Whether or not the payment method should be displayed.
1460
+ sig {
1461
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie::DisplayPreference))
1462
+ }
1463
+ attr_accessor :display_preference
1464
+ sig {
1465
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie::DisplayPreference)).void
1466
+ }
1467
+ def initialize(display_preference: nil); end
1468
+ end
1469
+ class Blik < Stripe::RequestParams
1470
+ class DisplayPreference < Stripe::RequestParams
1471
+ # The account's preference for whether or not to display this payment method.
1472
+ sig { returns(T.nilable(String)) }
1473
+ attr_accessor :preference
1474
+ sig { params(preference: T.nilable(String)).void }
1475
+ def initialize(preference: nil); end
1476
+ end
1477
+ # Whether or not the payment method should be displayed.
1478
+ sig {
1479
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference))
1480
+ }
1481
+ attr_accessor :display_preference
1482
+ sig {
1483
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)).void
1484
+ }
1485
+ def initialize(display_preference: nil); end
1486
+ end
1487
+ class Boleto < Stripe::RequestParams
1488
+ class DisplayPreference < Stripe::RequestParams
1489
+ # The account's preference for whether or not to display this payment method.
1490
+ sig { returns(T.nilable(String)) }
1491
+ attr_accessor :preference
1492
+ sig { params(preference: T.nilable(String)).void }
1493
+ def initialize(preference: nil); end
1494
+ end
1495
+ # Whether or not the payment method should be displayed.
1496
+ sig {
1497
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference))
1498
+ }
1499
+ attr_accessor :display_preference
1500
+ sig {
1501
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)).void
1502
+ }
1503
+ def initialize(display_preference: nil); end
1504
+ end
1505
+ class Card < Stripe::RequestParams
1506
+ class DisplayPreference < Stripe::RequestParams
1507
+ # The account's preference for whether or not to display this payment method.
1508
+ sig { returns(T.nilable(String)) }
1509
+ attr_accessor :preference
1510
+ sig { params(preference: T.nilable(String)).void }
1511
+ def initialize(preference: nil); end
1512
+ end
1513
+ # Whether or not the payment method should be displayed.
1514
+ sig {
1515
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference))
1516
+ }
1517
+ attr_accessor :display_preference
1518
+ sig {
1519
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)).void
1520
+ }
1521
+ def initialize(display_preference: nil); end
1522
+ end
1523
+ class CartesBancaires < Stripe::RequestParams
1524
+ class DisplayPreference < Stripe::RequestParams
1525
+ # The account's preference for whether or not to display this payment method.
1526
+ sig { returns(T.nilable(String)) }
1527
+ attr_accessor :preference
1528
+ sig { params(preference: T.nilable(String)).void }
1529
+ def initialize(preference: nil); end
1530
+ end
1531
+ # Whether or not the payment method should be displayed.
1532
+ sig {
1533
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference))
1534
+ }
1535
+ attr_accessor :display_preference
1536
+ sig {
1537
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)).void
1538
+ }
1539
+ def initialize(display_preference: nil); end
1540
+ end
1541
+ class Cashapp < Stripe::RequestParams
1542
+ class DisplayPreference < Stripe::RequestParams
1543
+ # The account's preference for whether or not to display this payment method.
1544
+ sig { returns(T.nilable(String)) }
1545
+ attr_accessor :preference
1546
+ sig { params(preference: T.nilable(String)).void }
1547
+ def initialize(preference: nil); end
1548
+ end
1549
+ # Whether or not the payment method should be displayed.
1550
+ sig {
1551
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference))
1552
+ }
1553
+ attr_accessor :display_preference
1554
+ sig {
1555
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)).void
1556
+ }
1557
+ def initialize(display_preference: nil); end
1558
+ end
1559
+ class CustomerBalance < Stripe::RequestParams
1560
+ class DisplayPreference < Stripe::RequestParams
1561
+ # The account's preference for whether or not to display this payment method.
1562
+ sig { returns(T.nilable(String)) }
1563
+ attr_accessor :preference
1564
+ sig { params(preference: T.nilable(String)).void }
1565
+ def initialize(preference: nil); end
1566
+ end
1567
+ # Whether or not the payment method should be displayed.
1568
+ sig {
1569
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference))
1570
+ }
1571
+ attr_accessor :display_preference
1572
+ sig {
1573
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)).void
1574
+ }
1575
+ def initialize(display_preference: nil); end
1576
+ end
1577
+ class Eps < Stripe::RequestParams
1578
+ class DisplayPreference < Stripe::RequestParams
1579
+ # The account's preference for whether or not to display this payment method.
1580
+ sig { returns(T.nilable(String)) }
1581
+ attr_accessor :preference
1582
+ sig { params(preference: T.nilable(String)).void }
1583
+ def initialize(preference: nil); end
1584
+ end
1585
+ # Whether or not the payment method should be displayed.
1586
+ sig {
1587
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference))
1588
+ }
1589
+ attr_accessor :display_preference
1590
+ sig {
1591
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)).void
1592
+ }
1593
+ def initialize(display_preference: nil); end
1594
+ end
1595
+ class Fpx < Stripe::RequestParams
1596
+ class DisplayPreference < Stripe::RequestParams
1597
+ # The account's preference for whether or not to display this payment method.
1598
+ sig { returns(T.nilable(String)) }
1599
+ attr_accessor :preference
1600
+ sig { params(preference: T.nilable(String)).void }
1601
+ def initialize(preference: nil); end
1602
+ end
1603
+ # Whether or not the payment method should be displayed.
1604
+ sig {
1605
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference))
1606
+ }
1607
+ attr_accessor :display_preference
1608
+ sig {
1609
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)).void
1610
+ }
1611
+ def initialize(display_preference: nil); end
1612
+ end
1613
+ class Giropay < Stripe::RequestParams
1614
+ class DisplayPreference < Stripe::RequestParams
1615
+ # The account's preference for whether or not to display this payment method.
1616
+ sig { returns(T.nilable(String)) }
1617
+ attr_accessor :preference
1618
+ sig { params(preference: T.nilable(String)).void }
1619
+ def initialize(preference: nil); end
1620
+ end
1621
+ # Whether or not the payment method should be displayed.
1622
+ sig {
1623
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference))
1624
+ }
1625
+ attr_accessor :display_preference
1626
+ sig {
1627
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)).void
1628
+ }
1629
+ def initialize(display_preference: nil); end
1630
+ end
1631
+ class GooglePay < Stripe::RequestParams
1632
+ class DisplayPreference < Stripe::RequestParams
1633
+ # The account's preference for whether or not to display this payment method.
1634
+ sig { returns(T.nilable(String)) }
1635
+ attr_accessor :preference
1636
+ sig { params(preference: T.nilable(String)).void }
1637
+ def initialize(preference: nil); end
1638
+ end
1639
+ # Whether or not the payment method should be displayed.
1640
+ sig {
1641
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference))
1642
+ }
1643
+ attr_accessor :display_preference
1644
+ sig {
1645
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)).void
1646
+ }
1647
+ def initialize(display_preference: nil); end
1648
+ end
1649
+ class Grabpay < Stripe::RequestParams
1650
+ class DisplayPreference < Stripe::RequestParams
1651
+ # The account's preference for whether or not to display this payment method.
1652
+ sig { returns(T.nilable(String)) }
1653
+ attr_accessor :preference
1654
+ sig { params(preference: T.nilable(String)).void }
1655
+ def initialize(preference: nil); end
1656
+ end
1657
+ # Whether or not the payment method should be displayed.
1658
+ sig {
1659
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference))
1660
+ }
1661
+ attr_accessor :display_preference
1662
+ sig {
1663
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)).void
1664
+ }
1665
+ def initialize(display_preference: nil); end
1666
+ end
1667
+ class Ideal < Stripe::RequestParams
1668
+ class DisplayPreference < Stripe::RequestParams
1669
+ # The account's preference for whether or not to display this payment method.
1670
+ sig { returns(T.nilable(String)) }
1671
+ attr_accessor :preference
1672
+ sig { params(preference: T.nilable(String)).void }
1673
+ def initialize(preference: nil); end
1674
+ end
1675
+ # Whether or not the payment method should be displayed.
1676
+ sig {
1677
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference))
1678
+ }
1679
+ attr_accessor :display_preference
1680
+ sig {
1681
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)).void
1682
+ }
1683
+ def initialize(display_preference: nil); end
1684
+ end
1685
+ class Jcb < Stripe::RequestParams
1686
+ class DisplayPreference < Stripe::RequestParams
1687
+ # The account's preference for whether or not to display this payment method.
1688
+ sig { returns(T.nilable(String)) }
1689
+ attr_accessor :preference
1690
+ sig { params(preference: T.nilable(String)).void }
1691
+ def initialize(preference: nil); end
1692
+ end
1693
+ # Whether or not the payment method should be displayed.
1694
+ sig {
1695
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference))
1696
+ }
1697
+ attr_accessor :display_preference
1698
+ sig {
1699
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)).void
1700
+ }
1701
+ def initialize(display_preference: nil); end
1702
+ end
1703
+ class KakaoPay < Stripe::RequestParams
1704
+ class DisplayPreference < Stripe::RequestParams
1705
+ # The account's preference for whether or not to display this payment method.
1706
+ sig { returns(T.nilable(String)) }
1707
+ attr_accessor :preference
1708
+ sig { params(preference: T.nilable(String)).void }
1709
+ def initialize(preference: nil); end
1710
+ end
1711
+ # Whether or not the payment method should be displayed.
1712
+ sig {
1713
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay::DisplayPreference))
1714
+ }
1715
+ attr_accessor :display_preference
1716
+ sig {
1717
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay::DisplayPreference)).void
1718
+ }
1719
+ def initialize(display_preference: nil); end
1720
+ end
1721
+ class Klarna < Stripe::RequestParams
1722
+ class DisplayPreference < Stripe::RequestParams
1723
+ # The account's preference for whether or not to display this payment method.
1724
+ sig { returns(T.nilable(String)) }
1725
+ attr_accessor :preference
1726
+ sig { params(preference: T.nilable(String)).void }
1727
+ def initialize(preference: nil); end
1728
+ end
1729
+ # Whether or not the payment method should be displayed.
1730
+ sig {
1731
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference))
1732
+ }
1733
+ attr_accessor :display_preference
1734
+ sig {
1735
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)).void
1736
+ }
1737
+ def initialize(display_preference: nil); end
1738
+ end
1739
+ class Konbini < Stripe::RequestParams
1740
+ class DisplayPreference < Stripe::RequestParams
1741
+ # The account's preference for whether or not to display this payment method.
1742
+ sig { returns(T.nilable(String)) }
1743
+ attr_accessor :preference
1744
+ sig { params(preference: T.nilable(String)).void }
1745
+ def initialize(preference: nil); end
1746
+ end
1747
+ # Whether or not the payment method should be displayed.
1748
+ sig {
1749
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference))
1750
+ }
1751
+ attr_accessor :display_preference
1752
+ sig {
1753
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)).void
1754
+ }
1755
+ def initialize(display_preference: nil); end
1756
+ end
1757
+ class KrCard < Stripe::RequestParams
1758
+ class DisplayPreference < Stripe::RequestParams
1759
+ # The account's preference for whether or not to display this payment method.
1760
+ sig { returns(T.nilable(String)) }
1761
+ attr_accessor :preference
1762
+ sig { params(preference: T.nilable(String)).void }
1763
+ def initialize(preference: nil); end
1764
+ end
1765
+ # Whether or not the payment method should be displayed.
1766
+ sig {
1767
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard::DisplayPreference))
1768
+ }
1769
+ attr_accessor :display_preference
1770
+ sig {
1771
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard::DisplayPreference)).void
1772
+ }
1773
+ def initialize(display_preference: nil); end
1774
+ end
1775
+ class Link < Stripe::RequestParams
1776
+ class DisplayPreference < Stripe::RequestParams
1777
+ # The account's preference for whether or not to display this payment method.
1778
+ sig { returns(T.nilable(String)) }
1779
+ attr_accessor :preference
1780
+ sig { params(preference: T.nilable(String)).void }
1781
+ def initialize(preference: nil); end
1782
+ end
1783
+ # Whether or not the payment method should be displayed.
1784
+ sig {
1785
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference))
1786
+ }
1787
+ attr_accessor :display_preference
1788
+ sig {
1789
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)).void
1790
+ }
1791
+ def initialize(display_preference: nil); end
1792
+ end
1793
+ class Mobilepay < Stripe::RequestParams
1794
+ class DisplayPreference < Stripe::RequestParams
1795
+ # The account's preference for whether or not to display this payment method.
1796
+ sig { returns(T.nilable(String)) }
1797
+ attr_accessor :preference
1798
+ sig { params(preference: T.nilable(String)).void }
1799
+ def initialize(preference: nil); end
1800
+ end
1801
+ # Whether or not the payment method should be displayed.
1802
+ sig {
1803
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference))
1804
+ }
1805
+ attr_accessor :display_preference
1806
+ sig {
1807
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)).void
1808
+ }
1809
+ def initialize(display_preference: nil); end
1810
+ end
1811
+ class Multibanco < Stripe::RequestParams
1812
+ class DisplayPreference < Stripe::RequestParams
1813
+ # The account's preference for whether or not to display this payment method.
1814
+ sig { returns(T.nilable(String)) }
1815
+ attr_accessor :preference
1816
+ sig { params(preference: T.nilable(String)).void }
1817
+ def initialize(preference: nil); end
1818
+ end
1819
+ # Whether or not the payment method should be displayed.
1820
+ sig {
1821
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference))
1822
+ }
1823
+ attr_accessor :display_preference
1824
+ sig {
1825
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)).void
1826
+ }
1827
+ def initialize(display_preference: nil); end
1828
+ end
1829
+ class NaverPay < Stripe::RequestParams
1830
+ class DisplayPreference < Stripe::RequestParams
1831
+ # The account's preference for whether or not to display this payment method.
1832
+ sig { returns(T.nilable(String)) }
1833
+ attr_accessor :preference
1834
+ sig { params(preference: T.nilable(String)).void }
1835
+ def initialize(preference: nil); end
1836
+ end
1837
+ # Whether or not the payment method should be displayed.
1838
+ sig {
1839
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay::DisplayPreference))
1840
+ }
1841
+ attr_accessor :display_preference
1842
+ sig {
1843
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay::DisplayPreference)).void
1844
+ }
1845
+ def initialize(display_preference: nil); end
1846
+ end
1847
+ class NzBankAccount < Stripe::RequestParams
1848
+ class DisplayPreference < Stripe::RequestParams
1849
+ # The account's preference for whether or not to display this payment method.
1850
+ sig { returns(T.nilable(String)) }
1851
+ attr_accessor :preference
1852
+ sig { params(preference: T.nilable(String)).void }
1853
+ def initialize(preference: nil); end
1854
+ end
1855
+ # Whether or not the payment method should be displayed.
1856
+ sig {
1857
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount::DisplayPreference))
1858
+ }
1859
+ attr_accessor :display_preference
1860
+ sig {
1861
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount::DisplayPreference)).void
1862
+ }
1863
+ def initialize(display_preference: nil); end
1864
+ end
1865
+ class Oxxo < Stripe::RequestParams
1866
+ class DisplayPreference < Stripe::RequestParams
1867
+ # The account's preference for whether or not to display this payment method.
1868
+ sig { returns(T.nilable(String)) }
1869
+ attr_accessor :preference
1870
+ sig { params(preference: T.nilable(String)).void }
1871
+ def initialize(preference: nil); end
1872
+ end
1873
+ # Whether or not the payment method should be displayed.
1874
+ sig {
1875
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference))
1876
+ }
1877
+ attr_accessor :display_preference
1878
+ sig {
1879
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)).void
1880
+ }
1881
+ def initialize(display_preference: nil); end
1882
+ end
1883
+ class P24 < Stripe::RequestParams
1884
+ class DisplayPreference < Stripe::RequestParams
1885
+ # The account's preference for whether or not to display this payment method.
1886
+ sig { returns(T.nilable(String)) }
1887
+ attr_accessor :preference
1888
+ sig { params(preference: T.nilable(String)).void }
1889
+ def initialize(preference: nil); end
1890
+ end
1891
+ # Whether or not the payment method should be displayed.
1892
+ sig {
1893
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference))
1894
+ }
1895
+ attr_accessor :display_preference
1896
+ sig {
1897
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)).void
1898
+ }
1899
+ def initialize(display_preference: nil); end
1900
+ end
1901
+ class PayByBank < Stripe::RequestParams
1902
+ class DisplayPreference < Stripe::RequestParams
1903
+ # The account's preference for whether or not to display this payment method.
1904
+ sig { returns(T.nilable(String)) }
1905
+ attr_accessor :preference
1906
+ sig { params(preference: T.nilable(String)).void }
1907
+ def initialize(preference: nil); end
1908
+ end
1909
+ # Whether or not the payment method should be displayed.
1910
+ sig {
1911
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference))
1912
+ }
1913
+ attr_accessor :display_preference
1914
+ sig {
1915
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference)).void
1916
+ }
1917
+ def initialize(display_preference: nil); end
1918
+ end
1919
+ class Payco < Stripe::RequestParams
1920
+ class DisplayPreference < Stripe::RequestParams
1921
+ # The account's preference for whether or not to display this payment method.
1922
+ sig { returns(T.nilable(String)) }
1923
+ attr_accessor :preference
1924
+ sig { params(preference: T.nilable(String)).void }
1925
+ def initialize(preference: nil); end
1926
+ end
1927
+ # Whether or not the payment method should be displayed.
1928
+ sig {
1929
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco::DisplayPreference))
1930
+ }
1931
+ attr_accessor :display_preference
1932
+ sig {
1933
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco::DisplayPreference)).void
1934
+ }
1935
+ def initialize(display_preference: nil); end
1936
+ end
1937
+ class Paynow < Stripe::RequestParams
1938
+ class DisplayPreference < Stripe::RequestParams
1939
+ # The account's preference for whether or not to display this payment method.
1940
+ sig { returns(T.nilable(String)) }
1941
+ attr_accessor :preference
1942
+ sig { params(preference: T.nilable(String)).void }
1943
+ def initialize(preference: nil); end
1944
+ end
1945
+ # Whether or not the payment method should be displayed.
1946
+ sig {
1947
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference))
1948
+ }
1949
+ attr_accessor :display_preference
1950
+ sig {
1951
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)).void
1952
+ }
1953
+ def initialize(display_preference: nil); end
1954
+ end
1955
+ class Paypal < Stripe::RequestParams
1956
+ class DisplayPreference < Stripe::RequestParams
1957
+ # The account's preference for whether or not to display this payment method.
1958
+ sig { returns(T.nilable(String)) }
1959
+ attr_accessor :preference
1960
+ sig { params(preference: T.nilable(String)).void }
1961
+ def initialize(preference: nil); end
1962
+ end
1963
+ # Whether or not the payment method should be displayed.
1964
+ sig {
1965
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference))
1966
+ }
1967
+ attr_accessor :display_preference
1968
+ sig {
1969
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)).void
1970
+ }
1971
+ def initialize(display_preference: nil); end
1972
+ end
1973
+ class Pix < Stripe::RequestParams
1974
+ class DisplayPreference < Stripe::RequestParams
1975
+ # The account's preference for whether or not to display this payment method.
1976
+ sig { returns(T.nilable(String)) }
1977
+ attr_accessor :preference
1978
+ sig { params(preference: T.nilable(String)).void }
1979
+ def initialize(preference: nil); end
1980
+ end
1981
+ # Whether or not the payment method should be displayed.
1982
+ sig {
1983
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix::DisplayPreference))
1984
+ }
1985
+ attr_accessor :display_preference
1986
+ sig {
1987
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix::DisplayPreference)).void
1988
+ }
1989
+ def initialize(display_preference: nil); end
1990
+ end
1991
+ class Promptpay < Stripe::RequestParams
1992
+ class DisplayPreference < Stripe::RequestParams
1993
+ # The account's preference for whether or not to display this payment method.
1994
+ sig { returns(T.nilable(String)) }
1995
+ attr_accessor :preference
1996
+ sig { params(preference: T.nilable(String)).void }
1997
+ def initialize(preference: nil); end
1998
+ end
1999
+ # Whether or not the payment method should be displayed.
2000
+ sig {
2001
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference))
2002
+ }
2003
+ attr_accessor :display_preference
2004
+ sig {
2005
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)).void
2006
+ }
2007
+ def initialize(display_preference: nil); end
2008
+ end
2009
+ class RevolutPay < Stripe::RequestParams
2010
+ class DisplayPreference < Stripe::RequestParams
2011
+ # The account's preference for whether or not to display this payment method.
2012
+ sig { returns(T.nilable(String)) }
2013
+ attr_accessor :preference
2014
+ sig { params(preference: T.nilable(String)).void }
2015
+ def initialize(preference: nil); end
2016
+ end
2017
+ # Whether or not the payment method should be displayed.
2018
+ sig {
2019
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference))
2020
+ }
2021
+ attr_accessor :display_preference
2022
+ sig {
2023
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)).void
2024
+ }
2025
+ def initialize(display_preference: nil); end
2026
+ end
2027
+ class SamsungPay < Stripe::RequestParams
2028
+ class DisplayPreference < Stripe::RequestParams
2029
+ # The account's preference for whether or not to display this payment method.
2030
+ sig { returns(T.nilable(String)) }
2031
+ attr_accessor :preference
2032
+ sig { params(preference: T.nilable(String)).void }
2033
+ def initialize(preference: nil); end
2034
+ end
2035
+ # Whether or not the payment method should be displayed.
2036
+ sig {
2037
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay::DisplayPreference))
2038
+ }
2039
+ attr_accessor :display_preference
2040
+ sig {
2041
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay::DisplayPreference)).void
2042
+ }
2043
+ def initialize(display_preference: nil); end
2044
+ end
2045
+ class Satispay < Stripe::RequestParams
2046
+ class DisplayPreference < Stripe::RequestParams
2047
+ # The account's preference for whether or not to display this payment method.
2048
+ sig { returns(T.nilable(String)) }
2049
+ attr_accessor :preference
2050
+ sig { params(preference: T.nilable(String)).void }
2051
+ def initialize(preference: nil); end
2052
+ end
2053
+ # Whether or not the payment method should be displayed.
2054
+ sig {
2055
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay::DisplayPreference))
2056
+ }
2057
+ attr_accessor :display_preference
2058
+ sig {
2059
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay::DisplayPreference)).void
2060
+ }
2061
+ def initialize(display_preference: nil); end
2062
+ end
2063
+ class SepaDebit < Stripe::RequestParams
2064
+ class DisplayPreference < Stripe::RequestParams
2065
+ # The account's preference for whether or not to display this payment method.
2066
+ sig { returns(T.nilable(String)) }
2067
+ attr_accessor :preference
2068
+ sig { params(preference: T.nilable(String)).void }
2069
+ def initialize(preference: nil); end
2070
+ end
2071
+ # Whether or not the payment method should be displayed.
2072
+ sig {
2073
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference))
2074
+ }
2075
+ attr_accessor :display_preference
2076
+ sig {
2077
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)).void
2078
+ }
2079
+ def initialize(display_preference: nil); end
2080
+ end
2081
+ class Sofort < Stripe::RequestParams
2082
+ class DisplayPreference < Stripe::RequestParams
2083
+ # The account's preference for whether or not to display this payment method.
2084
+ sig { returns(T.nilable(String)) }
2085
+ attr_accessor :preference
2086
+ sig { params(preference: T.nilable(String)).void }
2087
+ def initialize(preference: nil); end
2088
+ end
2089
+ # Whether or not the payment method should be displayed.
2090
+ sig {
2091
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference))
2092
+ }
2093
+ attr_accessor :display_preference
2094
+ sig {
2095
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)).void
2096
+ }
2097
+ def initialize(display_preference: nil); end
2098
+ end
2099
+ class Swish < Stripe::RequestParams
2100
+ class DisplayPreference < Stripe::RequestParams
2101
+ # The account's preference for whether or not to display this payment method.
2102
+ sig { returns(T.nilable(String)) }
2103
+ attr_accessor :preference
2104
+ sig { params(preference: T.nilable(String)).void }
2105
+ def initialize(preference: nil); end
2106
+ end
2107
+ # Whether or not the payment method should be displayed.
2108
+ sig {
2109
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference))
2110
+ }
2111
+ attr_accessor :display_preference
2112
+ sig {
2113
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)).void
2114
+ }
2115
+ def initialize(display_preference: nil); end
2116
+ end
2117
+ class Twint < Stripe::RequestParams
2118
+ class DisplayPreference < Stripe::RequestParams
2119
+ # The account's preference for whether or not to display this payment method.
2120
+ sig { returns(T.nilable(String)) }
2121
+ attr_accessor :preference
2122
+ sig { params(preference: T.nilable(String)).void }
2123
+ def initialize(preference: nil); end
2124
+ end
2125
+ # Whether or not the payment method should be displayed.
2126
+ sig {
2127
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference))
2128
+ }
2129
+ attr_accessor :display_preference
2130
+ sig {
2131
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)).void
2132
+ }
2133
+ def initialize(display_preference: nil); end
2134
+ end
2135
+ class UsBankAccount < Stripe::RequestParams
2136
+ class DisplayPreference < Stripe::RequestParams
2137
+ # The account's preference for whether or not to display this payment method.
2138
+ sig { returns(T.nilable(String)) }
2139
+ attr_accessor :preference
2140
+ sig { params(preference: T.nilable(String)).void }
2141
+ def initialize(preference: nil); end
2142
+ end
2143
+ # Whether or not the payment method should be displayed.
2144
+ sig {
2145
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference))
2146
+ }
2147
+ attr_accessor :display_preference
2148
+ sig {
2149
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)).void
2150
+ }
2151
+ def initialize(display_preference: nil); end
2152
+ end
2153
+ class WechatPay < Stripe::RequestParams
2154
+ class DisplayPreference < Stripe::RequestParams
2155
+ # The account's preference for whether or not to display this payment method.
2156
+ sig { returns(T.nilable(String)) }
2157
+ attr_accessor :preference
2158
+ sig { params(preference: T.nilable(String)).void }
2159
+ def initialize(preference: nil); end
2160
+ end
2161
+ # Whether or not the payment method should be displayed.
2162
+ sig {
2163
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference))
2164
+ }
2165
+ attr_accessor :display_preference
2166
+ sig {
2167
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)).void
2168
+ }
2169
+ def initialize(display_preference: nil); end
2170
+ end
2171
+ class Zip < Stripe::RequestParams
2172
+ class DisplayPreference < Stripe::RequestParams
2173
+ # The account's preference for whether or not to display this payment method.
2174
+ sig { returns(T.nilable(String)) }
2175
+ attr_accessor :preference
2176
+ sig { params(preference: T.nilable(String)).void }
2177
+ def initialize(preference: nil); end
2178
+ end
2179
+ # Whether or not the payment method should be displayed.
2180
+ sig {
2181
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference))
2182
+ }
2183
+ attr_accessor :display_preference
2184
+ sig {
2185
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)).void
2186
+ }
2187
+ def initialize(display_preference: nil); end
2188
+ end
2189
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
2190
+ sig {
2191
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit))
2192
+ }
2193
+ attr_accessor :acss_debit
2194
+ # Whether the configuration can be used for new payments.
2195
+ sig { returns(T.nilable(T::Boolean)) }
2196
+ attr_accessor :active
2197
+ # [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
2198
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm)) }
2199
+ attr_accessor :affirm
2200
+ # Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
2201
+ sig {
2202
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay))
2203
+ }
2204
+ attr_accessor :afterpay_clearpay
2205
+ # Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
2206
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay)) }
2207
+ attr_accessor :alipay
2208
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
2209
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma)) }
2210
+ attr_accessor :alma
2211
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
2212
+ sig {
2213
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay))
2214
+ }
2215
+ attr_accessor :amazon_pay
2216
+ # Stripe users can accept [Apple Pay](https://stripe.com/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
2217
+ sig {
2218
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay))
2219
+ }
2220
+ attr_accessor :apple_pay
2221
+ # Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
2222
+ sig {
2223
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater))
2224
+ }
2225
+ attr_accessor :apple_pay_later
2226
+ # Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
2227
+ sig {
2228
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit))
2229
+ }
2230
+ attr_accessor :au_becs_debit
2231
+ # Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
2232
+ sig {
2233
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit))
2234
+ }
2235
+ attr_accessor :bacs_debit
2236
+ # Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
2237
+ sig {
2238
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact))
2239
+ }
2240
+ attr_accessor :bancontact
2241
+ # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
2242
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie)) }
2243
+ attr_accessor :billie
2244
+ # BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
2245
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik)) }
2246
+ attr_accessor :blik
2247
+ # Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
2248
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto)) }
2249
+ attr_accessor :boleto
2250
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
2251
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card)) }
2252
+ attr_accessor :card
2253
+ # Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
2254
+ sig {
2255
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires))
2256
+ }
2257
+ attr_accessor :cartes_bancaires
2258
+ # Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
2259
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp)) }
2260
+ attr_accessor :cashapp
2261
+ # Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
2262
+ sig {
2263
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance))
2264
+ }
2265
+ attr_accessor :customer_balance
2266
+ # EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
2267
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps)) }
2268
+ attr_accessor :eps
2269
+ # Specifies which fields in the response should be expanded.
2270
+ sig { returns(T.nilable(T::Array[String])) }
2271
+ attr_accessor :expand
2272
+ # Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
2273
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx)) }
2274
+ attr_accessor :fpx
2275
+ # giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
2276
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay)) }
2277
+ attr_accessor :giropay
2278
+ # Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
2279
+ sig {
2280
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay))
2281
+ }
2282
+ attr_accessor :google_pay
2283
+ # GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
2284
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay)) }
2285
+ attr_accessor :grabpay
2286
+ # iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
2287
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal)) }
2288
+ attr_accessor :ideal
2289
+ # JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
2290
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb)) }
2291
+ attr_accessor :jcb
2292
+ # Kakao Pay is a popular local wallet available in South Korea.
2293
+ sig {
2294
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay))
2295
+ }
2296
+ attr_accessor :kakao_pay
2297
+ # Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
2298
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna)) }
2299
+ attr_accessor :klarna
2300
+ # Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
2301
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini)) }
2302
+ attr_accessor :konbini
2303
+ # Korean cards let users pay using locally issued cards from South Korea.
2304
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard)) }
2305
+ attr_accessor :kr_card
2306
+ # [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
2307
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link)) }
2308
+ attr_accessor :link
2309
+ # MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
2310
+ sig {
2311
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay))
2312
+ }
2313
+ attr_accessor :mobilepay
2314
+ # Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
2315
+ sig {
2316
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco))
2317
+ }
2318
+ attr_accessor :multibanco
2319
+ # Configuration name.
2320
+ sig { returns(T.nilable(String)) }
2321
+ attr_accessor :name
2322
+ # Naver Pay is a popular local wallet available in South Korea.
2323
+ sig {
2324
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay))
2325
+ }
2326
+ attr_accessor :naver_pay
2327
+ # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
2328
+ sig {
2329
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount))
2330
+ }
2331
+ attr_accessor :nz_bank_account
2332
+ # OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
2333
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo)) }
2334
+ attr_accessor :oxxo
2335
+ # Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
2336
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24)) }
2337
+ attr_accessor :p24
2338
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
2339
+ sig {
2340
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank))
2341
+ }
2342
+ attr_accessor :pay_by_bank
2343
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2344
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco)) }
2345
+ attr_accessor :payco
2346
+ # PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
2347
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow)) }
2348
+ attr_accessor :paynow
2349
+ # PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
2350
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal)) }
2351
+ attr_accessor :paypal
2352
+ # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
2353
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix)) }
2354
+ attr_accessor :pix
2355
+ # PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
2356
+ sig {
2357
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay))
2358
+ }
2359
+ attr_accessor :promptpay
2360
+ # Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
2361
+ sig {
2362
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay))
2363
+ }
2364
+ attr_accessor :revolut_pay
2365
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2366
+ sig {
2367
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay))
2368
+ }
2369
+ attr_accessor :samsung_pay
2370
+ # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
2371
+ sig {
2372
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay))
2373
+ }
2374
+ attr_accessor :satispay
2375
+ # The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
2376
+ sig {
2377
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit))
2378
+ }
2379
+ attr_accessor :sepa_debit
2380
+ # Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
2381
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort)) }
2382
+ attr_accessor :sofort
2383
+ # Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
2384
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish)) }
2385
+ attr_accessor :swish
2386
+ # Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
2387
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint)) }
2388
+ attr_accessor :twint
2389
+ # Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
2390
+ sig {
2391
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount))
2392
+ }
2393
+ attr_accessor :us_bank_account
2394
+ # WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
2395
+ sig {
2396
+ returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay))
2397
+ }
2398
+ attr_accessor :wechat_pay
2399
+ # Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
2400
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)) }
2401
+ attr_accessor :zip
2402
+ sig {
2403
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip)).void
2404
+ }
2405
+ def initialize(
2406
+ acss_debit: nil,
2407
+ active: nil,
2408
+ affirm: nil,
2409
+ afterpay_clearpay: nil,
2410
+ alipay: nil,
2411
+ alma: nil,
2412
+ amazon_pay: nil,
2413
+ apple_pay: nil,
2414
+ apple_pay_later: nil,
2415
+ au_becs_debit: nil,
2416
+ bacs_debit: nil,
2417
+ bancontact: nil,
2418
+ billie: nil,
2419
+ blik: nil,
2420
+ boleto: nil,
2421
+ card: nil,
2422
+ cartes_bancaires: nil,
2423
+ cashapp: nil,
2424
+ customer_balance: nil,
2425
+ eps: nil,
2426
+ expand: nil,
2427
+ fpx: nil,
2428
+ giropay: nil,
2429
+ google_pay: nil,
2430
+ grabpay: nil,
2431
+ ideal: nil,
2432
+ jcb: nil,
2433
+ kakao_pay: nil,
2434
+ klarna: nil,
2435
+ konbini: nil,
2436
+ kr_card: nil,
2437
+ link: nil,
2438
+ mobilepay: nil,
2439
+ multibanco: nil,
2440
+ name: nil,
2441
+ naver_pay: nil,
2442
+ nz_bank_account: nil,
2443
+ oxxo: nil,
2444
+ p24: nil,
2445
+ pay_by_bank: nil,
2446
+ payco: nil,
2447
+ paynow: nil,
2448
+ paypal: nil,
2449
+ pix: nil,
2450
+ promptpay: nil,
2451
+ revolut_pay: nil,
2452
+ samsung_pay: nil,
2453
+ satispay: nil,
2454
+ sepa_debit: nil,
2455
+ sofort: nil,
2456
+ swish: nil,
2457
+ twint: nil,
2458
+ us_bank_account: nil,
2459
+ wechat_pay: nil,
2460
+ zip: nil
2461
+ ); end
2462
+ end
2463
+ # Creates a payment method configuration
2464
+ sig {
2465
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2466
+ }
2467
+ def create(params = {}, opts = {}); end
2468
+
2469
+ # List payment method configurations
2470
+ sig {
2471
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
2472
+ }
2473
+ def list(params = {}, opts = {}); end
2474
+
2475
+ # Retrieve payment method configuration
2476
+ sig {
2477
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2478
+ }
2479
+ def retrieve(configuration, params = {}, opts = {}); end
2480
+
2481
+ # Update payment method configuration
2482
+ sig {
2483
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2484
+ }
2485
+ def update(configuration, params = {}, opts = {}); end
2486
+ end
2487
+ end