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,3550 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ # PaymentMethodConfigurations control which payment methods are displayed to your customers when you don't explicitly specify payment method types. You can have multiple configurations with different sets of payment methods for different scenarios.
7
+ #
8
+ # There are two types of PaymentMethodConfigurations. Which is used depends on the [charge type](https://stripe.com/docs/connect/charges):
9
+ #
10
+ # **Direct** configurations apply to payments created on your account, including Connect destination charges, Connect separate charges and transfers, and payments not involving Connect.
11
+ #
12
+ # **Child** configurations apply to payments created on your connected accounts using direct charges, and charges with the on_behalf_of parameter.
13
+ #
14
+ # Child configurations have a `parent` that sets default values and controls which settings connected accounts may override. You can specify a parent ID at payment time, and Stripe will automatically resolve the connected account's associated child configuration. Parent configurations are [managed in the dashboard](https://dashboard.stripe.com/settings/payment_methods/connected_accounts) and are not available in this API.
15
+ #
16
+ # Related guides:
17
+ # - [Payment Method Configurations API](https://stripe.com/docs/connect/payment-method-configurations)
18
+ # - [Multiple configurations on dynamic payment methods](https://stripe.com/docs/payments/multiple-payment-method-configs)
19
+ # - [Multiple configurations for your Connect accounts](https://stripe.com/docs/connect/multiple-payment-method-configurations)
20
+ class PaymentMethodConfiguration < APIResource
21
+ class AcssDebit < Stripe::StripeObject
22
+ class DisplayPreference < Stripe::StripeObject
23
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
24
+ sig { returns(T.nilable(T::Boolean)) }
25
+ attr_reader :overridable
26
+ # The account's display preference.
27
+ sig { returns(String) }
28
+ attr_reader :preference
29
+ # The effective display preference value.
30
+ sig { returns(String) }
31
+ attr_reader :value
32
+ end
33
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
34
+ sig { returns(T::Boolean) }
35
+ attr_reader :available
36
+ # Attribute for field display_preference
37
+ sig { returns(DisplayPreference) }
38
+ attr_reader :display_preference
39
+ end
40
+ class Affirm < Stripe::StripeObject
41
+ class DisplayPreference < Stripe::StripeObject
42
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
43
+ sig { returns(T.nilable(T::Boolean)) }
44
+ attr_reader :overridable
45
+ # The account's display preference.
46
+ sig { returns(String) }
47
+ attr_reader :preference
48
+ # The effective display preference value.
49
+ sig { returns(String) }
50
+ attr_reader :value
51
+ end
52
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
53
+ sig { returns(T::Boolean) }
54
+ attr_reader :available
55
+ # Attribute for field display_preference
56
+ sig { returns(DisplayPreference) }
57
+ attr_reader :display_preference
58
+ end
59
+ class AfterpayClearpay < Stripe::StripeObject
60
+ class DisplayPreference < Stripe::StripeObject
61
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
62
+ sig { returns(T.nilable(T::Boolean)) }
63
+ attr_reader :overridable
64
+ # The account's display preference.
65
+ sig { returns(String) }
66
+ attr_reader :preference
67
+ # The effective display preference value.
68
+ sig { returns(String) }
69
+ attr_reader :value
70
+ end
71
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
72
+ sig { returns(T::Boolean) }
73
+ attr_reader :available
74
+ # Attribute for field display_preference
75
+ sig { returns(DisplayPreference) }
76
+ attr_reader :display_preference
77
+ end
78
+ class Alipay < Stripe::StripeObject
79
+ class DisplayPreference < Stripe::StripeObject
80
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
81
+ sig { returns(T.nilable(T::Boolean)) }
82
+ attr_reader :overridable
83
+ # The account's display preference.
84
+ sig { returns(String) }
85
+ attr_reader :preference
86
+ # The effective display preference value.
87
+ sig { returns(String) }
88
+ attr_reader :value
89
+ end
90
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
91
+ sig { returns(T::Boolean) }
92
+ attr_reader :available
93
+ # Attribute for field display_preference
94
+ sig { returns(DisplayPreference) }
95
+ attr_reader :display_preference
96
+ end
97
+ class Alma < Stripe::StripeObject
98
+ class DisplayPreference < Stripe::StripeObject
99
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
100
+ sig { returns(T.nilable(T::Boolean)) }
101
+ attr_reader :overridable
102
+ # The account's display preference.
103
+ sig { returns(String) }
104
+ attr_reader :preference
105
+ # The effective display preference value.
106
+ sig { returns(String) }
107
+ attr_reader :value
108
+ end
109
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
110
+ sig { returns(T::Boolean) }
111
+ attr_reader :available
112
+ # Attribute for field display_preference
113
+ sig { returns(DisplayPreference) }
114
+ attr_reader :display_preference
115
+ end
116
+ class AmazonPay < Stripe::StripeObject
117
+ class DisplayPreference < Stripe::StripeObject
118
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
119
+ sig { returns(T.nilable(T::Boolean)) }
120
+ attr_reader :overridable
121
+ # The account's display preference.
122
+ sig { returns(String) }
123
+ attr_reader :preference
124
+ # The effective display preference value.
125
+ sig { returns(String) }
126
+ attr_reader :value
127
+ end
128
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
129
+ sig { returns(T::Boolean) }
130
+ attr_reader :available
131
+ # Attribute for field display_preference
132
+ sig { returns(DisplayPreference) }
133
+ attr_reader :display_preference
134
+ end
135
+ class ApplePay < Stripe::StripeObject
136
+ class DisplayPreference < Stripe::StripeObject
137
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
138
+ sig { returns(T.nilable(T::Boolean)) }
139
+ attr_reader :overridable
140
+ # The account's display preference.
141
+ sig { returns(String) }
142
+ attr_reader :preference
143
+ # The effective display preference value.
144
+ sig { returns(String) }
145
+ attr_reader :value
146
+ end
147
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
148
+ sig { returns(T::Boolean) }
149
+ attr_reader :available
150
+ # Attribute for field display_preference
151
+ sig { returns(DisplayPreference) }
152
+ attr_reader :display_preference
153
+ end
154
+ class AuBecsDebit < Stripe::StripeObject
155
+ class DisplayPreference < Stripe::StripeObject
156
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
157
+ sig { returns(T.nilable(T::Boolean)) }
158
+ attr_reader :overridable
159
+ # The account's display preference.
160
+ sig { returns(String) }
161
+ attr_reader :preference
162
+ # The effective display preference value.
163
+ sig { returns(String) }
164
+ attr_reader :value
165
+ end
166
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
167
+ sig { returns(T::Boolean) }
168
+ attr_reader :available
169
+ # Attribute for field display_preference
170
+ sig { returns(DisplayPreference) }
171
+ attr_reader :display_preference
172
+ end
173
+ class BacsDebit < Stripe::StripeObject
174
+ class DisplayPreference < Stripe::StripeObject
175
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
176
+ sig { returns(T.nilable(T::Boolean)) }
177
+ attr_reader :overridable
178
+ # The account's display preference.
179
+ sig { returns(String) }
180
+ attr_reader :preference
181
+ # The effective display preference value.
182
+ sig { returns(String) }
183
+ attr_reader :value
184
+ end
185
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
186
+ sig { returns(T::Boolean) }
187
+ attr_reader :available
188
+ # Attribute for field display_preference
189
+ sig { returns(DisplayPreference) }
190
+ attr_reader :display_preference
191
+ end
192
+ class Bancontact < Stripe::StripeObject
193
+ class DisplayPreference < Stripe::StripeObject
194
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
195
+ sig { returns(T.nilable(T::Boolean)) }
196
+ attr_reader :overridable
197
+ # The account's display preference.
198
+ sig { returns(String) }
199
+ attr_reader :preference
200
+ # The effective display preference value.
201
+ sig { returns(String) }
202
+ attr_reader :value
203
+ end
204
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
205
+ sig { returns(T::Boolean) }
206
+ attr_reader :available
207
+ # Attribute for field display_preference
208
+ sig { returns(DisplayPreference) }
209
+ attr_reader :display_preference
210
+ end
211
+ class Billie < Stripe::StripeObject
212
+ class DisplayPreference < Stripe::StripeObject
213
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
214
+ sig { returns(T.nilable(T::Boolean)) }
215
+ attr_reader :overridable
216
+ # The account's display preference.
217
+ sig { returns(String) }
218
+ attr_reader :preference
219
+ # The effective display preference value.
220
+ sig { returns(String) }
221
+ attr_reader :value
222
+ end
223
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
224
+ sig { returns(T::Boolean) }
225
+ attr_reader :available
226
+ # Attribute for field display_preference
227
+ sig { returns(DisplayPreference) }
228
+ attr_reader :display_preference
229
+ end
230
+ class Blik < Stripe::StripeObject
231
+ class DisplayPreference < Stripe::StripeObject
232
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
233
+ sig { returns(T.nilable(T::Boolean)) }
234
+ attr_reader :overridable
235
+ # The account's display preference.
236
+ sig { returns(String) }
237
+ attr_reader :preference
238
+ # The effective display preference value.
239
+ sig { returns(String) }
240
+ attr_reader :value
241
+ end
242
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
243
+ sig { returns(T::Boolean) }
244
+ attr_reader :available
245
+ # Attribute for field display_preference
246
+ sig { returns(DisplayPreference) }
247
+ attr_reader :display_preference
248
+ end
249
+ class Boleto < Stripe::StripeObject
250
+ class DisplayPreference < Stripe::StripeObject
251
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
252
+ sig { returns(T.nilable(T::Boolean)) }
253
+ attr_reader :overridable
254
+ # The account's display preference.
255
+ sig { returns(String) }
256
+ attr_reader :preference
257
+ # The effective display preference value.
258
+ sig { returns(String) }
259
+ attr_reader :value
260
+ end
261
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
262
+ sig { returns(T::Boolean) }
263
+ attr_reader :available
264
+ # Attribute for field display_preference
265
+ sig { returns(DisplayPreference) }
266
+ attr_reader :display_preference
267
+ end
268
+ class Card < Stripe::StripeObject
269
+ class DisplayPreference < Stripe::StripeObject
270
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
271
+ sig { returns(T.nilable(T::Boolean)) }
272
+ attr_reader :overridable
273
+ # The account's display preference.
274
+ sig { returns(String) }
275
+ attr_reader :preference
276
+ # The effective display preference value.
277
+ sig { returns(String) }
278
+ attr_reader :value
279
+ end
280
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
281
+ sig { returns(T::Boolean) }
282
+ attr_reader :available
283
+ # Attribute for field display_preference
284
+ sig { returns(DisplayPreference) }
285
+ attr_reader :display_preference
286
+ end
287
+ class CartesBancaires < Stripe::StripeObject
288
+ class DisplayPreference < Stripe::StripeObject
289
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
290
+ sig { returns(T.nilable(T::Boolean)) }
291
+ attr_reader :overridable
292
+ # The account's display preference.
293
+ sig { returns(String) }
294
+ attr_reader :preference
295
+ # The effective display preference value.
296
+ sig { returns(String) }
297
+ attr_reader :value
298
+ end
299
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
300
+ sig { returns(T::Boolean) }
301
+ attr_reader :available
302
+ # Attribute for field display_preference
303
+ sig { returns(DisplayPreference) }
304
+ attr_reader :display_preference
305
+ end
306
+ class Cashapp < Stripe::StripeObject
307
+ class DisplayPreference < Stripe::StripeObject
308
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
309
+ sig { returns(T.nilable(T::Boolean)) }
310
+ attr_reader :overridable
311
+ # The account's display preference.
312
+ sig { returns(String) }
313
+ attr_reader :preference
314
+ # The effective display preference value.
315
+ sig { returns(String) }
316
+ attr_reader :value
317
+ end
318
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
319
+ sig { returns(T::Boolean) }
320
+ attr_reader :available
321
+ # Attribute for field display_preference
322
+ sig { returns(DisplayPreference) }
323
+ attr_reader :display_preference
324
+ end
325
+ class CustomerBalance < Stripe::StripeObject
326
+ class DisplayPreference < Stripe::StripeObject
327
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
328
+ sig { returns(T.nilable(T::Boolean)) }
329
+ attr_reader :overridable
330
+ # The account's display preference.
331
+ sig { returns(String) }
332
+ attr_reader :preference
333
+ # The effective display preference value.
334
+ sig { returns(String) }
335
+ attr_reader :value
336
+ end
337
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
338
+ sig { returns(T::Boolean) }
339
+ attr_reader :available
340
+ # Attribute for field display_preference
341
+ sig { returns(DisplayPreference) }
342
+ attr_reader :display_preference
343
+ end
344
+ class Eps < Stripe::StripeObject
345
+ class DisplayPreference < Stripe::StripeObject
346
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
347
+ sig { returns(T.nilable(T::Boolean)) }
348
+ attr_reader :overridable
349
+ # The account's display preference.
350
+ sig { returns(String) }
351
+ attr_reader :preference
352
+ # The effective display preference value.
353
+ sig { returns(String) }
354
+ attr_reader :value
355
+ end
356
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
357
+ sig { returns(T::Boolean) }
358
+ attr_reader :available
359
+ # Attribute for field display_preference
360
+ sig { returns(DisplayPreference) }
361
+ attr_reader :display_preference
362
+ end
363
+ class Fpx < Stripe::StripeObject
364
+ class DisplayPreference < Stripe::StripeObject
365
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
366
+ sig { returns(T.nilable(T::Boolean)) }
367
+ attr_reader :overridable
368
+ # The account's display preference.
369
+ sig { returns(String) }
370
+ attr_reader :preference
371
+ # The effective display preference value.
372
+ sig { returns(String) }
373
+ attr_reader :value
374
+ end
375
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
376
+ sig { returns(T::Boolean) }
377
+ attr_reader :available
378
+ # Attribute for field display_preference
379
+ sig { returns(DisplayPreference) }
380
+ attr_reader :display_preference
381
+ end
382
+ class Giropay < Stripe::StripeObject
383
+ class DisplayPreference < Stripe::StripeObject
384
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
385
+ sig { returns(T.nilable(T::Boolean)) }
386
+ attr_reader :overridable
387
+ # The account's display preference.
388
+ sig { returns(String) }
389
+ attr_reader :preference
390
+ # The effective display preference value.
391
+ sig { returns(String) }
392
+ attr_reader :value
393
+ end
394
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
395
+ sig { returns(T::Boolean) }
396
+ attr_reader :available
397
+ # Attribute for field display_preference
398
+ sig { returns(DisplayPreference) }
399
+ attr_reader :display_preference
400
+ end
401
+ class GooglePay < Stripe::StripeObject
402
+ class DisplayPreference < Stripe::StripeObject
403
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
404
+ sig { returns(T.nilable(T::Boolean)) }
405
+ attr_reader :overridable
406
+ # The account's display preference.
407
+ sig { returns(String) }
408
+ attr_reader :preference
409
+ # The effective display preference value.
410
+ sig { returns(String) }
411
+ attr_reader :value
412
+ end
413
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
414
+ sig { returns(T::Boolean) }
415
+ attr_reader :available
416
+ # Attribute for field display_preference
417
+ sig { returns(DisplayPreference) }
418
+ attr_reader :display_preference
419
+ end
420
+ class Grabpay < Stripe::StripeObject
421
+ class DisplayPreference < Stripe::StripeObject
422
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
423
+ sig { returns(T.nilable(T::Boolean)) }
424
+ attr_reader :overridable
425
+ # The account's display preference.
426
+ sig { returns(String) }
427
+ attr_reader :preference
428
+ # The effective display preference value.
429
+ sig { returns(String) }
430
+ attr_reader :value
431
+ end
432
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
433
+ sig { returns(T::Boolean) }
434
+ attr_reader :available
435
+ # Attribute for field display_preference
436
+ sig { returns(DisplayPreference) }
437
+ attr_reader :display_preference
438
+ end
439
+ class Ideal < Stripe::StripeObject
440
+ class DisplayPreference < Stripe::StripeObject
441
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
442
+ sig { returns(T.nilable(T::Boolean)) }
443
+ attr_reader :overridable
444
+ # The account's display preference.
445
+ sig { returns(String) }
446
+ attr_reader :preference
447
+ # The effective display preference value.
448
+ sig { returns(String) }
449
+ attr_reader :value
450
+ end
451
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
452
+ sig { returns(T::Boolean) }
453
+ attr_reader :available
454
+ # Attribute for field display_preference
455
+ sig { returns(DisplayPreference) }
456
+ attr_reader :display_preference
457
+ end
458
+ class Jcb < Stripe::StripeObject
459
+ class DisplayPreference < Stripe::StripeObject
460
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
461
+ sig { returns(T.nilable(T::Boolean)) }
462
+ attr_reader :overridable
463
+ # The account's display preference.
464
+ sig { returns(String) }
465
+ attr_reader :preference
466
+ # The effective display preference value.
467
+ sig { returns(String) }
468
+ attr_reader :value
469
+ end
470
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
471
+ sig { returns(T::Boolean) }
472
+ attr_reader :available
473
+ # Attribute for field display_preference
474
+ sig { returns(DisplayPreference) }
475
+ attr_reader :display_preference
476
+ end
477
+ class KakaoPay < Stripe::StripeObject
478
+ class DisplayPreference < Stripe::StripeObject
479
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
480
+ sig { returns(T.nilable(T::Boolean)) }
481
+ attr_reader :overridable
482
+ # The account's display preference.
483
+ sig { returns(String) }
484
+ attr_reader :preference
485
+ # The effective display preference value.
486
+ sig { returns(String) }
487
+ attr_reader :value
488
+ end
489
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
490
+ sig { returns(T::Boolean) }
491
+ attr_reader :available
492
+ # Attribute for field display_preference
493
+ sig { returns(DisplayPreference) }
494
+ attr_reader :display_preference
495
+ end
496
+ class Klarna < Stripe::StripeObject
497
+ class DisplayPreference < Stripe::StripeObject
498
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
499
+ sig { returns(T.nilable(T::Boolean)) }
500
+ attr_reader :overridable
501
+ # The account's display preference.
502
+ sig { returns(String) }
503
+ attr_reader :preference
504
+ # The effective display preference value.
505
+ sig { returns(String) }
506
+ attr_reader :value
507
+ end
508
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
509
+ sig { returns(T::Boolean) }
510
+ attr_reader :available
511
+ # Attribute for field display_preference
512
+ sig { returns(DisplayPreference) }
513
+ attr_reader :display_preference
514
+ end
515
+ class Konbini < Stripe::StripeObject
516
+ class DisplayPreference < Stripe::StripeObject
517
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
518
+ sig { returns(T.nilable(T::Boolean)) }
519
+ attr_reader :overridable
520
+ # The account's display preference.
521
+ sig { returns(String) }
522
+ attr_reader :preference
523
+ # The effective display preference value.
524
+ sig { returns(String) }
525
+ attr_reader :value
526
+ end
527
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
528
+ sig { returns(T::Boolean) }
529
+ attr_reader :available
530
+ # Attribute for field display_preference
531
+ sig { returns(DisplayPreference) }
532
+ attr_reader :display_preference
533
+ end
534
+ class KrCard < Stripe::StripeObject
535
+ class DisplayPreference < Stripe::StripeObject
536
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
537
+ sig { returns(T.nilable(T::Boolean)) }
538
+ attr_reader :overridable
539
+ # The account's display preference.
540
+ sig { returns(String) }
541
+ attr_reader :preference
542
+ # The effective display preference value.
543
+ sig { returns(String) }
544
+ attr_reader :value
545
+ end
546
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
547
+ sig { returns(T::Boolean) }
548
+ attr_reader :available
549
+ # Attribute for field display_preference
550
+ sig { returns(DisplayPreference) }
551
+ attr_reader :display_preference
552
+ end
553
+ class Link < Stripe::StripeObject
554
+ class DisplayPreference < Stripe::StripeObject
555
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
556
+ sig { returns(T.nilable(T::Boolean)) }
557
+ attr_reader :overridable
558
+ # The account's display preference.
559
+ sig { returns(String) }
560
+ attr_reader :preference
561
+ # The effective display preference value.
562
+ sig { returns(String) }
563
+ attr_reader :value
564
+ end
565
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
566
+ sig { returns(T::Boolean) }
567
+ attr_reader :available
568
+ # Attribute for field display_preference
569
+ sig { returns(DisplayPreference) }
570
+ attr_reader :display_preference
571
+ end
572
+ class Mobilepay < Stripe::StripeObject
573
+ class DisplayPreference < Stripe::StripeObject
574
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
575
+ sig { returns(T.nilable(T::Boolean)) }
576
+ attr_reader :overridable
577
+ # The account's display preference.
578
+ sig { returns(String) }
579
+ attr_reader :preference
580
+ # The effective display preference value.
581
+ sig { returns(String) }
582
+ attr_reader :value
583
+ end
584
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
585
+ sig { returns(T::Boolean) }
586
+ attr_reader :available
587
+ # Attribute for field display_preference
588
+ sig { returns(DisplayPreference) }
589
+ attr_reader :display_preference
590
+ end
591
+ class Multibanco < Stripe::StripeObject
592
+ class DisplayPreference < Stripe::StripeObject
593
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
594
+ sig { returns(T.nilable(T::Boolean)) }
595
+ attr_reader :overridable
596
+ # The account's display preference.
597
+ sig { returns(String) }
598
+ attr_reader :preference
599
+ # The effective display preference value.
600
+ sig { returns(String) }
601
+ attr_reader :value
602
+ end
603
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
604
+ sig { returns(T::Boolean) }
605
+ attr_reader :available
606
+ # Attribute for field display_preference
607
+ sig { returns(DisplayPreference) }
608
+ attr_reader :display_preference
609
+ end
610
+ class NaverPay < Stripe::StripeObject
611
+ class DisplayPreference < Stripe::StripeObject
612
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
613
+ sig { returns(T.nilable(T::Boolean)) }
614
+ attr_reader :overridable
615
+ # The account's display preference.
616
+ sig { returns(String) }
617
+ attr_reader :preference
618
+ # The effective display preference value.
619
+ sig { returns(String) }
620
+ attr_reader :value
621
+ end
622
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
623
+ sig { returns(T::Boolean) }
624
+ attr_reader :available
625
+ # Attribute for field display_preference
626
+ sig { returns(DisplayPreference) }
627
+ attr_reader :display_preference
628
+ end
629
+ class NzBankAccount < Stripe::StripeObject
630
+ class DisplayPreference < Stripe::StripeObject
631
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
632
+ sig { returns(T.nilable(T::Boolean)) }
633
+ attr_reader :overridable
634
+ # The account's display preference.
635
+ sig { returns(String) }
636
+ attr_reader :preference
637
+ # The effective display preference value.
638
+ sig { returns(String) }
639
+ attr_reader :value
640
+ end
641
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
642
+ sig { returns(T::Boolean) }
643
+ attr_reader :available
644
+ # Attribute for field display_preference
645
+ sig { returns(DisplayPreference) }
646
+ attr_reader :display_preference
647
+ end
648
+ class Oxxo < Stripe::StripeObject
649
+ class DisplayPreference < Stripe::StripeObject
650
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
651
+ sig { returns(T.nilable(T::Boolean)) }
652
+ attr_reader :overridable
653
+ # The account's display preference.
654
+ sig { returns(String) }
655
+ attr_reader :preference
656
+ # The effective display preference value.
657
+ sig { returns(String) }
658
+ attr_reader :value
659
+ end
660
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
661
+ sig { returns(T::Boolean) }
662
+ attr_reader :available
663
+ # Attribute for field display_preference
664
+ sig { returns(DisplayPreference) }
665
+ attr_reader :display_preference
666
+ end
667
+ class P24 < Stripe::StripeObject
668
+ class DisplayPreference < Stripe::StripeObject
669
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
670
+ sig { returns(T.nilable(T::Boolean)) }
671
+ attr_reader :overridable
672
+ # The account's display preference.
673
+ sig { returns(String) }
674
+ attr_reader :preference
675
+ # The effective display preference value.
676
+ sig { returns(String) }
677
+ attr_reader :value
678
+ end
679
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
680
+ sig { returns(T::Boolean) }
681
+ attr_reader :available
682
+ # Attribute for field display_preference
683
+ sig { returns(DisplayPreference) }
684
+ attr_reader :display_preference
685
+ end
686
+ class PayByBank < Stripe::StripeObject
687
+ class DisplayPreference < Stripe::StripeObject
688
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
689
+ sig { returns(T.nilable(T::Boolean)) }
690
+ attr_reader :overridable
691
+ # The account's display preference.
692
+ sig { returns(String) }
693
+ attr_reader :preference
694
+ # The effective display preference value.
695
+ sig { returns(String) }
696
+ attr_reader :value
697
+ end
698
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
699
+ sig { returns(T::Boolean) }
700
+ attr_reader :available
701
+ # Attribute for field display_preference
702
+ sig { returns(DisplayPreference) }
703
+ attr_reader :display_preference
704
+ end
705
+ class Payco < Stripe::StripeObject
706
+ class DisplayPreference < Stripe::StripeObject
707
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
708
+ sig { returns(T.nilable(T::Boolean)) }
709
+ attr_reader :overridable
710
+ # The account's display preference.
711
+ sig { returns(String) }
712
+ attr_reader :preference
713
+ # The effective display preference value.
714
+ sig { returns(String) }
715
+ attr_reader :value
716
+ end
717
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
718
+ sig { returns(T::Boolean) }
719
+ attr_reader :available
720
+ # Attribute for field display_preference
721
+ sig { returns(DisplayPreference) }
722
+ attr_reader :display_preference
723
+ end
724
+ class Paynow < Stripe::StripeObject
725
+ class DisplayPreference < Stripe::StripeObject
726
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
727
+ sig { returns(T.nilable(T::Boolean)) }
728
+ attr_reader :overridable
729
+ # The account's display preference.
730
+ sig { returns(String) }
731
+ attr_reader :preference
732
+ # The effective display preference value.
733
+ sig { returns(String) }
734
+ attr_reader :value
735
+ end
736
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
737
+ sig { returns(T::Boolean) }
738
+ attr_reader :available
739
+ # Attribute for field display_preference
740
+ sig { returns(DisplayPreference) }
741
+ attr_reader :display_preference
742
+ end
743
+ class Paypal < Stripe::StripeObject
744
+ class DisplayPreference < Stripe::StripeObject
745
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
746
+ sig { returns(T.nilable(T::Boolean)) }
747
+ attr_reader :overridable
748
+ # The account's display preference.
749
+ sig { returns(String) }
750
+ attr_reader :preference
751
+ # The effective display preference value.
752
+ sig { returns(String) }
753
+ attr_reader :value
754
+ end
755
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
756
+ sig { returns(T::Boolean) }
757
+ attr_reader :available
758
+ # Attribute for field display_preference
759
+ sig { returns(DisplayPreference) }
760
+ attr_reader :display_preference
761
+ end
762
+ class Pix < Stripe::StripeObject
763
+ class DisplayPreference < Stripe::StripeObject
764
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
765
+ sig { returns(T.nilable(T::Boolean)) }
766
+ attr_reader :overridable
767
+ # The account's display preference.
768
+ sig { returns(String) }
769
+ attr_reader :preference
770
+ # The effective display preference value.
771
+ sig { returns(String) }
772
+ attr_reader :value
773
+ end
774
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
775
+ sig { returns(T::Boolean) }
776
+ attr_reader :available
777
+ # Attribute for field display_preference
778
+ sig { returns(DisplayPreference) }
779
+ attr_reader :display_preference
780
+ end
781
+ class Promptpay < Stripe::StripeObject
782
+ class DisplayPreference < Stripe::StripeObject
783
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
784
+ sig { returns(T.nilable(T::Boolean)) }
785
+ attr_reader :overridable
786
+ # The account's display preference.
787
+ sig { returns(String) }
788
+ attr_reader :preference
789
+ # The effective display preference value.
790
+ sig { returns(String) }
791
+ attr_reader :value
792
+ end
793
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
794
+ sig { returns(T::Boolean) }
795
+ attr_reader :available
796
+ # Attribute for field display_preference
797
+ sig { returns(DisplayPreference) }
798
+ attr_reader :display_preference
799
+ end
800
+ class RevolutPay < Stripe::StripeObject
801
+ class DisplayPreference < Stripe::StripeObject
802
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
803
+ sig { returns(T.nilable(T::Boolean)) }
804
+ attr_reader :overridable
805
+ # The account's display preference.
806
+ sig { returns(String) }
807
+ attr_reader :preference
808
+ # The effective display preference value.
809
+ sig { returns(String) }
810
+ attr_reader :value
811
+ end
812
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
813
+ sig { returns(T::Boolean) }
814
+ attr_reader :available
815
+ # Attribute for field display_preference
816
+ sig { returns(DisplayPreference) }
817
+ attr_reader :display_preference
818
+ end
819
+ class SamsungPay < Stripe::StripeObject
820
+ class DisplayPreference < Stripe::StripeObject
821
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
822
+ sig { returns(T.nilable(T::Boolean)) }
823
+ attr_reader :overridable
824
+ # The account's display preference.
825
+ sig { returns(String) }
826
+ attr_reader :preference
827
+ # The effective display preference value.
828
+ sig { returns(String) }
829
+ attr_reader :value
830
+ end
831
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
832
+ sig { returns(T::Boolean) }
833
+ attr_reader :available
834
+ # Attribute for field display_preference
835
+ sig { returns(DisplayPreference) }
836
+ attr_reader :display_preference
837
+ end
838
+ class Satispay < Stripe::StripeObject
839
+ class DisplayPreference < Stripe::StripeObject
840
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
841
+ sig { returns(T.nilable(T::Boolean)) }
842
+ attr_reader :overridable
843
+ # The account's display preference.
844
+ sig { returns(String) }
845
+ attr_reader :preference
846
+ # The effective display preference value.
847
+ sig { returns(String) }
848
+ attr_reader :value
849
+ end
850
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
851
+ sig { returns(T::Boolean) }
852
+ attr_reader :available
853
+ # Attribute for field display_preference
854
+ sig { returns(DisplayPreference) }
855
+ attr_reader :display_preference
856
+ end
857
+ class SepaDebit < Stripe::StripeObject
858
+ class DisplayPreference < Stripe::StripeObject
859
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
860
+ sig { returns(T.nilable(T::Boolean)) }
861
+ attr_reader :overridable
862
+ # The account's display preference.
863
+ sig { returns(String) }
864
+ attr_reader :preference
865
+ # The effective display preference value.
866
+ sig { returns(String) }
867
+ attr_reader :value
868
+ end
869
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
870
+ sig { returns(T::Boolean) }
871
+ attr_reader :available
872
+ # Attribute for field display_preference
873
+ sig { returns(DisplayPreference) }
874
+ attr_reader :display_preference
875
+ end
876
+ class Sofort < Stripe::StripeObject
877
+ class DisplayPreference < Stripe::StripeObject
878
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
879
+ sig { returns(T.nilable(T::Boolean)) }
880
+ attr_reader :overridable
881
+ # The account's display preference.
882
+ sig { returns(String) }
883
+ attr_reader :preference
884
+ # The effective display preference value.
885
+ sig { returns(String) }
886
+ attr_reader :value
887
+ end
888
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
889
+ sig { returns(T::Boolean) }
890
+ attr_reader :available
891
+ # Attribute for field display_preference
892
+ sig { returns(DisplayPreference) }
893
+ attr_reader :display_preference
894
+ end
895
+ class Swish < Stripe::StripeObject
896
+ class DisplayPreference < Stripe::StripeObject
897
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
898
+ sig { returns(T.nilable(T::Boolean)) }
899
+ attr_reader :overridable
900
+ # The account's display preference.
901
+ sig { returns(String) }
902
+ attr_reader :preference
903
+ # The effective display preference value.
904
+ sig { returns(String) }
905
+ attr_reader :value
906
+ end
907
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
908
+ sig { returns(T::Boolean) }
909
+ attr_reader :available
910
+ # Attribute for field display_preference
911
+ sig { returns(DisplayPreference) }
912
+ attr_reader :display_preference
913
+ end
914
+ class Twint < Stripe::StripeObject
915
+ class DisplayPreference < Stripe::StripeObject
916
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
917
+ sig { returns(T.nilable(T::Boolean)) }
918
+ attr_reader :overridable
919
+ # The account's display preference.
920
+ sig { returns(String) }
921
+ attr_reader :preference
922
+ # The effective display preference value.
923
+ sig { returns(String) }
924
+ attr_reader :value
925
+ end
926
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
927
+ sig { returns(T::Boolean) }
928
+ attr_reader :available
929
+ # Attribute for field display_preference
930
+ sig { returns(DisplayPreference) }
931
+ attr_reader :display_preference
932
+ end
933
+ class UsBankAccount < Stripe::StripeObject
934
+ class DisplayPreference < Stripe::StripeObject
935
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
936
+ sig { returns(T.nilable(T::Boolean)) }
937
+ attr_reader :overridable
938
+ # The account's display preference.
939
+ sig { returns(String) }
940
+ attr_reader :preference
941
+ # The effective display preference value.
942
+ sig { returns(String) }
943
+ attr_reader :value
944
+ end
945
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
946
+ sig { returns(T::Boolean) }
947
+ attr_reader :available
948
+ # Attribute for field display_preference
949
+ sig { returns(DisplayPreference) }
950
+ attr_reader :display_preference
951
+ end
952
+ class WechatPay < Stripe::StripeObject
953
+ class DisplayPreference < Stripe::StripeObject
954
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
955
+ sig { returns(T.nilable(T::Boolean)) }
956
+ attr_reader :overridable
957
+ # The account's display preference.
958
+ sig { returns(String) }
959
+ attr_reader :preference
960
+ # The effective display preference value.
961
+ sig { returns(String) }
962
+ attr_reader :value
963
+ end
964
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
965
+ sig { returns(T::Boolean) }
966
+ attr_reader :available
967
+ # Attribute for field display_preference
968
+ sig { returns(DisplayPreference) }
969
+ attr_reader :display_preference
970
+ end
971
+ class Zip < Stripe::StripeObject
972
+ class DisplayPreference < Stripe::StripeObject
973
+ # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
974
+ sig { returns(T.nilable(T::Boolean)) }
975
+ attr_reader :overridable
976
+ # The account's display preference.
977
+ sig { returns(String) }
978
+ attr_reader :preference
979
+ # The effective display preference value.
980
+ sig { returns(String) }
981
+ attr_reader :value
982
+ end
983
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
984
+ sig { returns(T::Boolean) }
985
+ attr_reader :available
986
+ # Attribute for field display_preference
987
+ sig { returns(DisplayPreference) }
988
+ attr_reader :display_preference
989
+ end
990
+ # Attribute for field acss_debit
991
+ sig { returns(AcssDebit) }
992
+ attr_reader :acss_debit
993
+ # Whether the configuration can be used for new payments.
994
+ sig { returns(T::Boolean) }
995
+ attr_reader :active
996
+ # Attribute for field affirm
997
+ sig { returns(Affirm) }
998
+ attr_reader :affirm
999
+ # Attribute for field afterpay_clearpay
1000
+ sig { returns(AfterpayClearpay) }
1001
+ attr_reader :afterpay_clearpay
1002
+ # Attribute for field alipay
1003
+ sig { returns(Alipay) }
1004
+ attr_reader :alipay
1005
+ # Attribute for field alma
1006
+ sig { returns(Alma) }
1007
+ attr_reader :alma
1008
+ # Attribute for field amazon_pay
1009
+ sig { returns(AmazonPay) }
1010
+ attr_reader :amazon_pay
1011
+ # Attribute for field apple_pay
1012
+ sig { returns(ApplePay) }
1013
+ attr_reader :apple_pay
1014
+ # For child configs, the Connect application associated with the configuration.
1015
+ sig { returns(T.nilable(String)) }
1016
+ attr_reader :application
1017
+ # Attribute for field au_becs_debit
1018
+ sig { returns(AuBecsDebit) }
1019
+ attr_reader :au_becs_debit
1020
+ # Attribute for field bacs_debit
1021
+ sig { returns(BacsDebit) }
1022
+ attr_reader :bacs_debit
1023
+ # Attribute for field bancontact
1024
+ sig { returns(Bancontact) }
1025
+ attr_reader :bancontact
1026
+ # Attribute for field billie
1027
+ sig { returns(Billie) }
1028
+ attr_reader :billie
1029
+ # Attribute for field blik
1030
+ sig { returns(Blik) }
1031
+ attr_reader :blik
1032
+ # Attribute for field boleto
1033
+ sig { returns(Boleto) }
1034
+ attr_reader :boleto
1035
+ # Attribute for field card
1036
+ sig { returns(Card) }
1037
+ attr_reader :card
1038
+ # Attribute for field cartes_bancaires
1039
+ sig { returns(CartesBancaires) }
1040
+ attr_reader :cartes_bancaires
1041
+ # Attribute for field cashapp
1042
+ sig { returns(Cashapp) }
1043
+ attr_reader :cashapp
1044
+ # Attribute for field customer_balance
1045
+ sig { returns(CustomerBalance) }
1046
+ attr_reader :customer_balance
1047
+ # Attribute for field eps
1048
+ sig { returns(Eps) }
1049
+ attr_reader :eps
1050
+ # Attribute for field fpx
1051
+ sig { returns(Fpx) }
1052
+ attr_reader :fpx
1053
+ # Attribute for field giropay
1054
+ sig { returns(Giropay) }
1055
+ attr_reader :giropay
1056
+ # Attribute for field google_pay
1057
+ sig { returns(GooglePay) }
1058
+ attr_reader :google_pay
1059
+ # Attribute for field grabpay
1060
+ sig { returns(Grabpay) }
1061
+ attr_reader :grabpay
1062
+ # Unique identifier for the object.
1063
+ sig { returns(String) }
1064
+ attr_reader :id
1065
+ # Attribute for field ideal
1066
+ sig { returns(Ideal) }
1067
+ attr_reader :ideal
1068
+ # The default configuration is used whenever a payment method configuration is not specified.
1069
+ sig { returns(T::Boolean) }
1070
+ attr_reader :is_default
1071
+ # Attribute for field jcb
1072
+ sig { returns(Jcb) }
1073
+ attr_reader :jcb
1074
+ # Attribute for field kakao_pay
1075
+ sig { returns(KakaoPay) }
1076
+ attr_reader :kakao_pay
1077
+ # Attribute for field klarna
1078
+ sig { returns(Klarna) }
1079
+ attr_reader :klarna
1080
+ # Attribute for field konbini
1081
+ sig { returns(Konbini) }
1082
+ attr_reader :konbini
1083
+ # Attribute for field kr_card
1084
+ sig { returns(KrCard) }
1085
+ attr_reader :kr_card
1086
+ # Attribute for field link
1087
+ sig { returns(Link) }
1088
+ attr_reader :link
1089
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1090
+ sig { returns(T::Boolean) }
1091
+ attr_reader :livemode
1092
+ # Attribute for field mobilepay
1093
+ sig { returns(Mobilepay) }
1094
+ attr_reader :mobilepay
1095
+ # Attribute for field multibanco
1096
+ sig { returns(Multibanco) }
1097
+ attr_reader :multibanco
1098
+ # The configuration's name.
1099
+ sig { returns(String) }
1100
+ attr_reader :name
1101
+ # Attribute for field naver_pay
1102
+ sig { returns(NaverPay) }
1103
+ attr_reader :naver_pay
1104
+ # Attribute for field nz_bank_account
1105
+ sig { returns(NzBankAccount) }
1106
+ attr_reader :nz_bank_account
1107
+ # String representing the object's type. Objects of the same type share the same value.
1108
+ sig { returns(String) }
1109
+ attr_reader :object
1110
+ # Attribute for field oxxo
1111
+ sig { returns(Oxxo) }
1112
+ attr_reader :oxxo
1113
+ # Attribute for field p24
1114
+ sig { returns(P24) }
1115
+ attr_reader :p24
1116
+ # For child configs, the configuration's parent configuration.
1117
+ sig { returns(T.nilable(String)) }
1118
+ attr_reader :parent
1119
+ # Attribute for field pay_by_bank
1120
+ sig { returns(PayByBank) }
1121
+ attr_reader :pay_by_bank
1122
+ # Attribute for field payco
1123
+ sig { returns(Payco) }
1124
+ attr_reader :payco
1125
+ # Attribute for field paynow
1126
+ sig { returns(Paynow) }
1127
+ attr_reader :paynow
1128
+ # Attribute for field paypal
1129
+ sig { returns(Paypal) }
1130
+ attr_reader :paypal
1131
+ # Attribute for field pix
1132
+ sig { returns(Pix) }
1133
+ attr_reader :pix
1134
+ # Attribute for field promptpay
1135
+ sig { returns(Promptpay) }
1136
+ attr_reader :promptpay
1137
+ # Attribute for field revolut_pay
1138
+ sig { returns(RevolutPay) }
1139
+ attr_reader :revolut_pay
1140
+ # Attribute for field samsung_pay
1141
+ sig { returns(SamsungPay) }
1142
+ attr_reader :samsung_pay
1143
+ # Attribute for field satispay
1144
+ sig { returns(Satispay) }
1145
+ attr_reader :satispay
1146
+ # Attribute for field sepa_debit
1147
+ sig { returns(SepaDebit) }
1148
+ attr_reader :sepa_debit
1149
+ # Attribute for field sofort
1150
+ sig { returns(Sofort) }
1151
+ attr_reader :sofort
1152
+ # Attribute for field swish
1153
+ sig { returns(Swish) }
1154
+ attr_reader :swish
1155
+ # Attribute for field twint
1156
+ sig { returns(Twint) }
1157
+ attr_reader :twint
1158
+ # Attribute for field us_bank_account
1159
+ sig { returns(UsBankAccount) }
1160
+ attr_reader :us_bank_account
1161
+ # Attribute for field wechat_pay
1162
+ sig { returns(WechatPay) }
1163
+ attr_reader :wechat_pay
1164
+ # Attribute for field zip
1165
+ sig { returns(Zip) }
1166
+ attr_reader :zip
1167
+ class ListParams < Stripe::RequestParams
1168
+ # The Connect application to filter by.
1169
+ sig { returns(T.nilable(T.nilable(String))) }
1170
+ attr_accessor :application
1171
+ # 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.
1172
+ sig { returns(T.nilable(String)) }
1173
+ attr_accessor :ending_before
1174
+ # Specifies which fields in the response should be expanded.
1175
+ sig { returns(T.nilable(T::Array[String])) }
1176
+ attr_accessor :expand
1177
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
1178
+ sig { returns(T.nilable(Integer)) }
1179
+ attr_accessor :limit
1180
+ # 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.
1181
+ sig { returns(T.nilable(String)) }
1182
+ attr_accessor :starting_after
1183
+ sig {
1184
+ 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
1185
+ }
1186
+ def initialize(
1187
+ application: nil,
1188
+ ending_before: nil,
1189
+ expand: nil,
1190
+ limit: nil,
1191
+ starting_after: nil
1192
+ ); end
1193
+ end
1194
+ class CreateParams < Stripe::RequestParams
1195
+ class AcssDebit < Stripe::RequestParams
1196
+ class DisplayPreference < Stripe::RequestParams
1197
+ # The account's preference for whether or not to display this payment method.
1198
+ sig { returns(T.nilable(String)) }
1199
+ attr_accessor :preference
1200
+ sig { params(preference: T.nilable(String)).void }
1201
+ def initialize(preference: nil); end
1202
+ end
1203
+ # Whether or not the payment method should be displayed.
1204
+ sig {
1205
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference))
1206
+ }
1207
+ attr_accessor :display_preference
1208
+ sig {
1209
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference)).void
1210
+ }
1211
+ def initialize(display_preference: nil); end
1212
+ end
1213
+ class Affirm < Stripe::RequestParams
1214
+ class DisplayPreference < Stripe::RequestParams
1215
+ # The account's preference for whether or not to display this payment method.
1216
+ sig { returns(T.nilable(String)) }
1217
+ attr_accessor :preference
1218
+ sig { params(preference: T.nilable(String)).void }
1219
+ def initialize(preference: nil); end
1220
+ end
1221
+ # Whether or not the payment method should be displayed.
1222
+ sig {
1223
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference))
1224
+ }
1225
+ attr_accessor :display_preference
1226
+ sig {
1227
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference)).void
1228
+ }
1229
+ def initialize(display_preference: nil); end
1230
+ end
1231
+ class AfterpayClearpay < Stripe::RequestParams
1232
+ class DisplayPreference < Stripe::RequestParams
1233
+ # The account's preference for whether or not to display this payment method.
1234
+ sig { returns(T.nilable(String)) }
1235
+ attr_accessor :preference
1236
+ sig { params(preference: T.nilable(String)).void }
1237
+ def initialize(preference: nil); end
1238
+ end
1239
+ # Whether or not the payment method should be displayed.
1240
+ sig {
1241
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference))
1242
+ }
1243
+ attr_accessor :display_preference
1244
+ sig {
1245
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference)).void
1246
+ }
1247
+ def initialize(display_preference: nil); end
1248
+ end
1249
+ class Alipay < Stripe::RequestParams
1250
+ class DisplayPreference < Stripe::RequestParams
1251
+ # The account's preference for whether or not to display this payment method.
1252
+ sig { returns(T.nilable(String)) }
1253
+ attr_accessor :preference
1254
+ sig { params(preference: T.nilable(String)).void }
1255
+ def initialize(preference: nil); end
1256
+ end
1257
+ # Whether or not the payment method should be displayed.
1258
+ sig {
1259
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference))
1260
+ }
1261
+ attr_accessor :display_preference
1262
+ sig {
1263
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference)).void
1264
+ }
1265
+ def initialize(display_preference: nil); end
1266
+ end
1267
+ class Alma < Stripe::RequestParams
1268
+ class DisplayPreference < Stripe::RequestParams
1269
+ # The account's preference for whether or not to display this payment method.
1270
+ sig { returns(T.nilable(String)) }
1271
+ attr_accessor :preference
1272
+ sig { params(preference: T.nilable(String)).void }
1273
+ def initialize(preference: nil); end
1274
+ end
1275
+ # Whether or not the payment method should be displayed.
1276
+ sig {
1277
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference))
1278
+ }
1279
+ attr_accessor :display_preference
1280
+ sig {
1281
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference)).void
1282
+ }
1283
+ def initialize(display_preference: nil); end
1284
+ end
1285
+ class AmazonPay < Stripe::RequestParams
1286
+ class DisplayPreference < Stripe::RequestParams
1287
+ # The account's preference for whether or not to display this payment method.
1288
+ sig { returns(T.nilable(String)) }
1289
+ attr_accessor :preference
1290
+ sig { params(preference: T.nilable(String)).void }
1291
+ def initialize(preference: nil); end
1292
+ end
1293
+ # Whether or not the payment method should be displayed.
1294
+ sig {
1295
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference))
1296
+ }
1297
+ attr_accessor :display_preference
1298
+ sig {
1299
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference)).void
1300
+ }
1301
+ def initialize(display_preference: nil); end
1302
+ end
1303
+ class ApplePay < Stripe::RequestParams
1304
+ class DisplayPreference < Stripe::RequestParams
1305
+ # The account's preference for whether or not to display this payment method.
1306
+ sig { returns(T.nilable(String)) }
1307
+ attr_accessor :preference
1308
+ sig { params(preference: T.nilable(String)).void }
1309
+ def initialize(preference: nil); end
1310
+ end
1311
+ # Whether or not the payment method should be displayed.
1312
+ sig {
1313
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference))
1314
+ }
1315
+ attr_accessor :display_preference
1316
+ sig {
1317
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference)).void
1318
+ }
1319
+ def initialize(display_preference: nil); end
1320
+ end
1321
+ class ApplePayLater < Stripe::RequestParams
1322
+ class DisplayPreference < Stripe::RequestParams
1323
+ # The account's preference for whether or not to display this payment method.
1324
+ sig { returns(T.nilable(String)) }
1325
+ attr_accessor :preference
1326
+ sig { params(preference: T.nilable(String)).void }
1327
+ def initialize(preference: nil); end
1328
+ end
1329
+ # Whether or not the payment method should be displayed.
1330
+ sig {
1331
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference))
1332
+ }
1333
+ attr_accessor :display_preference
1334
+ sig {
1335
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference)).void
1336
+ }
1337
+ def initialize(display_preference: nil); end
1338
+ end
1339
+ class AuBecsDebit < Stripe::RequestParams
1340
+ class DisplayPreference < Stripe::RequestParams
1341
+ # The account's preference for whether or not to display this payment method.
1342
+ sig { returns(T.nilable(String)) }
1343
+ attr_accessor :preference
1344
+ sig { params(preference: T.nilable(String)).void }
1345
+ def initialize(preference: nil); end
1346
+ end
1347
+ # Whether or not the payment method should be displayed.
1348
+ sig {
1349
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference))
1350
+ }
1351
+ attr_accessor :display_preference
1352
+ sig {
1353
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference)).void
1354
+ }
1355
+ def initialize(display_preference: nil); end
1356
+ end
1357
+ class BacsDebit < Stripe::RequestParams
1358
+ class DisplayPreference < Stripe::RequestParams
1359
+ # The account's preference for whether or not to display this payment method.
1360
+ sig { returns(T.nilable(String)) }
1361
+ attr_accessor :preference
1362
+ sig { params(preference: T.nilable(String)).void }
1363
+ def initialize(preference: nil); end
1364
+ end
1365
+ # Whether or not the payment method should be displayed.
1366
+ sig {
1367
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference))
1368
+ }
1369
+ attr_accessor :display_preference
1370
+ sig {
1371
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference)).void
1372
+ }
1373
+ def initialize(display_preference: nil); end
1374
+ end
1375
+ class Bancontact < Stripe::RequestParams
1376
+ class DisplayPreference < Stripe::RequestParams
1377
+ # The account's preference for whether or not to display this payment method.
1378
+ sig { returns(T.nilable(String)) }
1379
+ attr_accessor :preference
1380
+ sig { params(preference: T.nilable(String)).void }
1381
+ def initialize(preference: nil); end
1382
+ end
1383
+ # Whether or not the payment method should be displayed.
1384
+ sig {
1385
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference))
1386
+ }
1387
+ attr_accessor :display_preference
1388
+ sig {
1389
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference)).void
1390
+ }
1391
+ def initialize(display_preference: nil); end
1392
+ end
1393
+ class Billie < Stripe::RequestParams
1394
+ class DisplayPreference < Stripe::RequestParams
1395
+ # The account's preference for whether or not to display this payment method.
1396
+ sig { returns(T.nilable(String)) }
1397
+ attr_accessor :preference
1398
+ sig { params(preference: T.nilable(String)).void }
1399
+ def initialize(preference: nil); end
1400
+ end
1401
+ # Whether or not the payment method should be displayed.
1402
+ sig {
1403
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference))
1404
+ }
1405
+ attr_accessor :display_preference
1406
+ sig {
1407
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference)).void
1408
+ }
1409
+ def initialize(display_preference: nil); end
1410
+ end
1411
+ class Blik < Stripe::RequestParams
1412
+ class DisplayPreference < Stripe::RequestParams
1413
+ # The account's preference for whether or not to display this payment method.
1414
+ sig { returns(T.nilable(String)) }
1415
+ attr_accessor :preference
1416
+ sig { params(preference: T.nilable(String)).void }
1417
+ def initialize(preference: nil); end
1418
+ end
1419
+ # Whether or not the payment method should be displayed.
1420
+ sig {
1421
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference))
1422
+ }
1423
+ attr_accessor :display_preference
1424
+ sig {
1425
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference)).void
1426
+ }
1427
+ def initialize(display_preference: nil); end
1428
+ end
1429
+ class Boleto < Stripe::RequestParams
1430
+ class DisplayPreference < Stripe::RequestParams
1431
+ # The account's preference for whether or not to display this payment method.
1432
+ sig { returns(T.nilable(String)) }
1433
+ attr_accessor :preference
1434
+ sig { params(preference: T.nilable(String)).void }
1435
+ def initialize(preference: nil); end
1436
+ end
1437
+ # Whether or not the payment method should be displayed.
1438
+ sig {
1439
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference))
1440
+ }
1441
+ attr_accessor :display_preference
1442
+ sig {
1443
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference)).void
1444
+ }
1445
+ def initialize(display_preference: nil); end
1446
+ end
1447
+ class Card < Stripe::RequestParams
1448
+ class DisplayPreference < Stripe::RequestParams
1449
+ # The account's preference for whether or not to display this payment method.
1450
+ sig { returns(T.nilable(String)) }
1451
+ attr_accessor :preference
1452
+ sig { params(preference: T.nilable(String)).void }
1453
+ def initialize(preference: nil); end
1454
+ end
1455
+ # Whether or not the payment method should be displayed.
1456
+ sig {
1457
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference))
1458
+ }
1459
+ attr_accessor :display_preference
1460
+ sig {
1461
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference)).void
1462
+ }
1463
+ def initialize(display_preference: nil); end
1464
+ end
1465
+ class CartesBancaires < Stripe::RequestParams
1466
+ class DisplayPreference < Stripe::RequestParams
1467
+ # The account's preference for whether or not to display this payment method.
1468
+ sig { returns(T.nilable(String)) }
1469
+ attr_accessor :preference
1470
+ sig { params(preference: T.nilable(String)).void }
1471
+ def initialize(preference: nil); end
1472
+ end
1473
+ # Whether or not the payment method should be displayed.
1474
+ sig {
1475
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference))
1476
+ }
1477
+ attr_accessor :display_preference
1478
+ sig {
1479
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference)).void
1480
+ }
1481
+ def initialize(display_preference: nil); end
1482
+ end
1483
+ class Cashapp < Stripe::RequestParams
1484
+ class DisplayPreference < Stripe::RequestParams
1485
+ # The account's preference for whether or not to display this payment method.
1486
+ sig { returns(T.nilable(String)) }
1487
+ attr_accessor :preference
1488
+ sig { params(preference: T.nilable(String)).void }
1489
+ def initialize(preference: nil); end
1490
+ end
1491
+ # Whether or not the payment method should be displayed.
1492
+ sig {
1493
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference))
1494
+ }
1495
+ attr_accessor :display_preference
1496
+ sig {
1497
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference)).void
1498
+ }
1499
+ def initialize(display_preference: nil); end
1500
+ end
1501
+ class CustomerBalance < Stripe::RequestParams
1502
+ class DisplayPreference < Stripe::RequestParams
1503
+ # The account's preference for whether or not to display this payment method.
1504
+ sig { returns(T.nilable(String)) }
1505
+ attr_accessor :preference
1506
+ sig { params(preference: T.nilable(String)).void }
1507
+ def initialize(preference: nil); end
1508
+ end
1509
+ # Whether or not the payment method should be displayed.
1510
+ sig {
1511
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference))
1512
+ }
1513
+ attr_accessor :display_preference
1514
+ sig {
1515
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference)).void
1516
+ }
1517
+ def initialize(display_preference: nil); end
1518
+ end
1519
+ class Eps < Stripe::RequestParams
1520
+ class DisplayPreference < Stripe::RequestParams
1521
+ # The account's preference for whether or not to display this payment method.
1522
+ sig { returns(T.nilable(String)) }
1523
+ attr_accessor :preference
1524
+ sig { params(preference: T.nilable(String)).void }
1525
+ def initialize(preference: nil); end
1526
+ end
1527
+ # Whether or not the payment method should be displayed.
1528
+ sig {
1529
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference))
1530
+ }
1531
+ attr_accessor :display_preference
1532
+ sig {
1533
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference)).void
1534
+ }
1535
+ def initialize(display_preference: nil); end
1536
+ end
1537
+ class Fpx < Stripe::RequestParams
1538
+ class DisplayPreference < Stripe::RequestParams
1539
+ # The account's preference for whether or not to display this payment method.
1540
+ sig { returns(T.nilable(String)) }
1541
+ attr_accessor :preference
1542
+ sig { params(preference: T.nilable(String)).void }
1543
+ def initialize(preference: nil); end
1544
+ end
1545
+ # Whether or not the payment method should be displayed.
1546
+ sig {
1547
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference))
1548
+ }
1549
+ attr_accessor :display_preference
1550
+ sig {
1551
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference)).void
1552
+ }
1553
+ def initialize(display_preference: nil); end
1554
+ end
1555
+ class Giropay < Stripe::RequestParams
1556
+ class DisplayPreference < Stripe::RequestParams
1557
+ # The account's preference for whether or not to display this payment method.
1558
+ sig { returns(T.nilable(String)) }
1559
+ attr_accessor :preference
1560
+ sig { params(preference: T.nilable(String)).void }
1561
+ def initialize(preference: nil); end
1562
+ end
1563
+ # Whether or not the payment method should be displayed.
1564
+ sig {
1565
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference))
1566
+ }
1567
+ attr_accessor :display_preference
1568
+ sig {
1569
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference)).void
1570
+ }
1571
+ def initialize(display_preference: nil); end
1572
+ end
1573
+ class GooglePay < Stripe::RequestParams
1574
+ class DisplayPreference < Stripe::RequestParams
1575
+ # The account's preference for whether or not to display this payment method.
1576
+ sig { returns(T.nilable(String)) }
1577
+ attr_accessor :preference
1578
+ sig { params(preference: T.nilable(String)).void }
1579
+ def initialize(preference: nil); end
1580
+ end
1581
+ # Whether or not the payment method should be displayed.
1582
+ sig {
1583
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference))
1584
+ }
1585
+ attr_accessor :display_preference
1586
+ sig {
1587
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference)).void
1588
+ }
1589
+ def initialize(display_preference: nil); end
1590
+ end
1591
+ class Grabpay < Stripe::RequestParams
1592
+ class DisplayPreference < Stripe::RequestParams
1593
+ # The account's preference for whether or not to display this payment method.
1594
+ sig { returns(T.nilable(String)) }
1595
+ attr_accessor :preference
1596
+ sig { params(preference: T.nilable(String)).void }
1597
+ def initialize(preference: nil); end
1598
+ end
1599
+ # Whether or not the payment method should be displayed.
1600
+ sig {
1601
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference))
1602
+ }
1603
+ attr_accessor :display_preference
1604
+ sig {
1605
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference)).void
1606
+ }
1607
+ def initialize(display_preference: nil); end
1608
+ end
1609
+ class Ideal < Stripe::RequestParams
1610
+ class DisplayPreference < Stripe::RequestParams
1611
+ # The account's preference for whether or not to display this payment method.
1612
+ sig { returns(T.nilable(String)) }
1613
+ attr_accessor :preference
1614
+ sig { params(preference: T.nilable(String)).void }
1615
+ def initialize(preference: nil); end
1616
+ end
1617
+ # Whether or not the payment method should be displayed.
1618
+ sig {
1619
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference))
1620
+ }
1621
+ attr_accessor :display_preference
1622
+ sig {
1623
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference)).void
1624
+ }
1625
+ def initialize(display_preference: nil); end
1626
+ end
1627
+ class Jcb < Stripe::RequestParams
1628
+ class DisplayPreference < Stripe::RequestParams
1629
+ # The account's preference for whether or not to display this payment method.
1630
+ sig { returns(T.nilable(String)) }
1631
+ attr_accessor :preference
1632
+ sig { params(preference: T.nilable(String)).void }
1633
+ def initialize(preference: nil); end
1634
+ end
1635
+ # Whether or not the payment method should be displayed.
1636
+ sig {
1637
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference))
1638
+ }
1639
+ attr_accessor :display_preference
1640
+ sig {
1641
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference)).void
1642
+ }
1643
+ def initialize(display_preference: nil); end
1644
+ end
1645
+ class KakaoPay < Stripe::RequestParams
1646
+ class DisplayPreference < Stripe::RequestParams
1647
+ # The account's preference for whether or not to display this payment method.
1648
+ sig { returns(T.nilable(String)) }
1649
+ attr_accessor :preference
1650
+ sig { params(preference: T.nilable(String)).void }
1651
+ def initialize(preference: nil); end
1652
+ end
1653
+ # Whether or not the payment method should be displayed.
1654
+ sig {
1655
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay::DisplayPreference))
1656
+ }
1657
+ attr_accessor :display_preference
1658
+ sig {
1659
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay::DisplayPreference)).void
1660
+ }
1661
+ def initialize(display_preference: nil); end
1662
+ end
1663
+ class Klarna < Stripe::RequestParams
1664
+ class DisplayPreference < Stripe::RequestParams
1665
+ # The account's preference for whether or not to display this payment method.
1666
+ sig { returns(T.nilable(String)) }
1667
+ attr_accessor :preference
1668
+ sig { params(preference: T.nilable(String)).void }
1669
+ def initialize(preference: nil); end
1670
+ end
1671
+ # Whether or not the payment method should be displayed.
1672
+ sig {
1673
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference))
1674
+ }
1675
+ attr_accessor :display_preference
1676
+ sig {
1677
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference)).void
1678
+ }
1679
+ def initialize(display_preference: nil); end
1680
+ end
1681
+ class Konbini < Stripe::RequestParams
1682
+ class DisplayPreference < Stripe::RequestParams
1683
+ # The account's preference for whether or not to display this payment method.
1684
+ sig { returns(T.nilable(String)) }
1685
+ attr_accessor :preference
1686
+ sig { params(preference: T.nilable(String)).void }
1687
+ def initialize(preference: nil); end
1688
+ end
1689
+ # Whether or not the payment method should be displayed.
1690
+ sig {
1691
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference))
1692
+ }
1693
+ attr_accessor :display_preference
1694
+ sig {
1695
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference)).void
1696
+ }
1697
+ def initialize(display_preference: nil); end
1698
+ end
1699
+ class KrCard < Stripe::RequestParams
1700
+ class DisplayPreference < Stripe::RequestParams
1701
+ # The account's preference for whether or not to display this payment method.
1702
+ sig { returns(T.nilable(String)) }
1703
+ attr_accessor :preference
1704
+ sig { params(preference: T.nilable(String)).void }
1705
+ def initialize(preference: nil); end
1706
+ end
1707
+ # Whether or not the payment method should be displayed.
1708
+ sig {
1709
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard::DisplayPreference))
1710
+ }
1711
+ attr_accessor :display_preference
1712
+ sig {
1713
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard::DisplayPreference)).void
1714
+ }
1715
+ def initialize(display_preference: nil); end
1716
+ end
1717
+ class Link < Stripe::RequestParams
1718
+ class DisplayPreference < Stripe::RequestParams
1719
+ # The account's preference for whether or not to display this payment method.
1720
+ sig { returns(T.nilable(String)) }
1721
+ attr_accessor :preference
1722
+ sig { params(preference: T.nilable(String)).void }
1723
+ def initialize(preference: nil); end
1724
+ end
1725
+ # Whether or not the payment method should be displayed.
1726
+ sig {
1727
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference))
1728
+ }
1729
+ attr_accessor :display_preference
1730
+ sig {
1731
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference)).void
1732
+ }
1733
+ def initialize(display_preference: nil); end
1734
+ end
1735
+ class Mobilepay < Stripe::RequestParams
1736
+ class DisplayPreference < Stripe::RequestParams
1737
+ # The account's preference for whether or not to display this payment method.
1738
+ sig { returns(T.nilable(String)) }
1739
+ attr_accessor :preference
1740
+ sig { params(preference: T.nilable(String)).void }
1741
+ def initialize(preference: nil); end
1742
+ end
1743
+ # Whether or not the payment method should be displayed.
1744
+ sig {
1745
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference))
1746
+ }
1747
+ attr_accessor :display_preference
1748
+ sig {
1749
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference)).void
1750
+ }
1751
+ def initialize(display_preference: nil); end
1752
+ end
1753
+ class Multibanco < Stripe::RequestParams
1754
+ class DisplayPreference < Stripe::RequestParams
1755
+ # The account's preference for whether or not to display this payment method.
1756
+ sig { returns(T.nilable(String)) }
1757
+ attr_accessor :preference
1758
+ sig { params(preference: T.nilable(String)).void }
1759
+ def initialize(preference: nil); end
1760
+ end
1761
+ # Whether or not the payment method should be displayed.
1762
+ sig {
1763
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference))
1764
+ }
1765
+ attr_accessor :display_preference
1766
+ sig {
1767
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference)).void
1768
+ }
1769
+ def initialize(display_preference: nil); end
1770
+ end
1771
+ class NaverPay < Stripe::RequestParams
1772
+ class DisplayPreference < Stripe::RequestParams
1773
+ # The account's preference for whether or not to display this payment method.
1774
+ sig { returns(T.nilable(String)) }
1775
+ attr_accessor :preference
1776
+ sig { params(preference: T.nilable(String)).void }
1777
+ def initialize(preference: nil); end
1778
+ end
1779
+ # Whether or not the payment method should be displayed.
1780
+ sig {
1781
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay::DisplayPreference))
1782
+ }
1783
+ attr_accessor :display_preference
1784
+ sig {
1785
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay::DisplayPreference)).void
1786
+ }
1787
+ def initialize(display_preference: nil); end
1788
+ end
1789
+ class NzBankAccount < Stripe::RequestParams
1790
+ class DisplayPreference < Stripe::RequestParams
1791
+ # The account's preference for whether or not to display this payment method.
1792
+ sig { returns(T.nilable(String)) }
1793
+ attr_accessor :preference
1794
+ sig { params(preference: T.nilable(String)).void }
1795
+ def initialize(preference: nil); end
1796
+ end
1797
+ # Whether or not the payment method should be displayed.
1798
+ sig {
1799
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference))
1800
+ }
1801
+ attr_accessor :display_preference
1802
+ sig {
1803
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference)).void
1804
+ }
1805
+ def initialize(display_preference: nil); end
1806
+ end
1807
+ class Oxxo < Stripe::RequestParams
1808
+ class DisplayPreference < Stripe::RequestParams
1809
+ # The account's preference for whether or not to display this payment method.
1810
+ sig { returns(T.nilable(String)) }
1811
+ attr_accessor :preference
1812
+ sig { params(preference: T.nilable(String)).void }
1813
+ def initialize(preference: nil); end
1814
+ end
1815
+ # Whether or not the payment method should be displayed.
1816
+ sig {
1817
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference))
1818
+ }
1819
+ attr_accessor :display_preference
1820
+ sig {
1821
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference)).void
1822
+ }
1823
+ def initialize(display_preference: nil); end
1824
+ end
1825
+ class P24 < Stripe::RequestParams
1826
+ class DisplayPreference < Stripe::RequestParams
1827
+ # The account's preference for whether or not to display this payment method.
1828
+ sig { returns(T.nilable(String)) }
1829
+ attr_accessor :preference
1830
+ sig { params(preference: T.nilable(String)).void }
1831
+ def initialize(preference: nil); end
1832
+ end
1833
+ # Whether or not the payment method should be displayed.
1834
+ sig {
1835
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference))
1836
+ }
1837
+ attr_accessor :display_preference
1838
+ sig {
1839
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference)).void
1840
+ }
1841
+ def initialize(display_preference: nil); end
1842
+ end
1843
+ class PayByBank < Stripe::RequestParams
1844
+ class DisplayPreference < Stripe::RequestParams
1845
+ # The account's preference for whether or not to display this payment method.
1846
+ sig { returns(T.nilable(String)) }
1847
+ attr_accessor :preference
1848
+ sig { params(preference: T.nilable(String)).void }
1849
+ def initialize(preference: nil); end
1850
+ end
1851
+ # Whether or not the payment method should be displayed.
1852
+ sig {
1853
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference))
1854
+ }
1855
+ attr_accessor :display_preference
1856
+ sig {
1857
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference)).void
1858
+ }
1859
+ def initialize(display_preference: nil); end
1860
+ end
1861
+ class Payco < Stripe::RequestParams
1862
+ class DisplayPreference < Stripe::RequestParams
1863
+ # The account's preference for whether or not to display this payment method.
1864
+ sig { returns(T.nilable(String)) }
1865
+ attr_accessor :preference
1866
+ sig { params(preference: T.nilable(String)).void }
1867
+ def initialize(preference: nil); end
1868
+ end
1869
+ # Whether or not the payment method should be displayed.
1870
+ sig {
1871
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco::DisplayPreference))
1872
+ }
1873
+ attr_accessor :display_preference
1874
+ sig {
1875
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco::DisplayPreference)).void
1876
+ }
1877
+ def initialize(display_preference: nil); end
1878
+ end
1879
+ class Paynow < Stripe::RequestParams
1880
+ class DisplayPreference < Stripe::RequestParams
1881
+ # The account's preference for whether or not to display this payment method.
1882
+ sig { returns(T.nilable(String)) }
1883
+ attr_accessor :preference
1884
+ sig { params(preference: T.nilable(String)).void }
1885
+ def initialize(preference: nil); end
1886
+ end
1887
+ # Whether or not the payment method should be displayed.
1888
+ sig {
1889
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference))
1890
+ }
1891
+ attr_accessor :display_preference
1892
+ sig {
1893
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference)).void
1894
+ }
1895
+ def initialize(display_preference: nil); end
1896
+ end
1897
+ class Paypal < Stripe::RequestParams
1898
+ class DisplayPreference < Stripe::RequestParams
1899
+ # The account's preference for whether or not to display this payment method.
1900
+ sig { returns(T.nilable(String)) }
1901
+ attr_accessor :preference
1902
+ sig { params(preference: T.nilable(String)).void }
1903
+ def initialize(preference: nil); end
1904
+ end
1905
+ # Whether or not the payment method should be displayed.
1906
+ sig {
1907
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference))
1908
+ }
1909
+ attr_accessor :display_preference
1910
+ sig {
1911
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference)).void
1912
+ }
1913
+ def initialize(display_preference: nil); end
1914
+ end
1915
+ class Pix < Stripe::RequestParams
1916
+ class DisplayPreference < Stripe::RequestParams
1917
+ # The account's preference for whether or not to display this payment method.
1918
+ sig { returns(T.nilable(String)) }
1919
+ attr_accessor :preference
1920
+ sig { params(preference: T.nilable(String)).void }
1921
+ def initialize(preference: nil); end
1922
+ end
1923
+ # Whether or not the payment method should be displayed.
1924
+ sig {
1925
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference))
1926
+ }
1927
+ attr_accessor :display_preference
1928
+ sig {
1929
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference)).void
1930
+ }
1931
+ def initialize(display_preference: nil); end
1932
+ end
1933
+ class Promptpay < Stripe::RequestParams
1934
+ class DisplayPreference < Stripe::RequestParams
1935
+ # The account's preference for whether or not to display this payment method.
1936
+ sig { returns(T.nilable(String)) }
1937
+ attr_accessor :preference
1938
+ sig { params(preference: T.nilable(String)).void }
1939
+ def initialize(preference: nil); end
1940
+ end
1941
+ # Whether or not the payment method should be displayed.
1942
+ sig {
1943
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference))
1944
+ }
1945
+ attr_accessor :display_preference
1946
+ sig {
1947
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference)).void
1948
+ }
1949
+ def initialize(display_preference: nil); end
1950
+ end
1951
+ class RevolutPay < Stripe::RequestParams
1952
+ class DisplayPreference < Stripe::RequestParams
1953
+ # The account's preference for whether or not to display this payment method.
1954
+ sig { returns(T.nilable(String)) }
1955
+ attr_accessor :preference
1956
+ sig { params(preference: T.nilable(String)).void }
1957
+ def initialize(preference: nil); end
1958
+ end
1959
+ # Whether or not the payment method should be displayed.
1960
+ sig {
1961
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference))
1962
+ }
1963
+ attr_accessor :display_preference
1964
+ sig {
1965
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference)).void
1966
+ }
1967
+ def initialize(display_preference: nil); end
1968
+ end
1969
+ class SamsungPay < Stripe::RequestParams
1970
+ class DisplayPreference < Stripe::RequestParams
1971
+ # The account's preference for whether or not to display this payment method.
1972
+ sig { returns(T.nilable(String)) }
1973
+ attr_accessor :preference
1974
+ sig { params(preference: T.nilable(String)).void }
1975
+ def initialize(preference: nil); end
1976
+ end
1977
+ # Whether or not the payment method should be displayed.
1978
+ sig {
1979
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay::DisplayPreference))
1980
+ }
1981
+ attr_accessor :display_preference
1982
+ sig {
1983
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay::DisplayPreference)).void
1984
+ }
1985
+ def initialize(display_preference: nil); end
1986
+ end
1987
+ class Satispay < Stripe::RequestParams
1988
+ class DisplayPreference < Stripe::RequestParams
1989
+ # The account's preference for whether or not to display this payment method.
1990
+ sig { returns(T.nilable(String)) }
1991
+ attr_accessor :preference
1992
+ sig { params(preference: T.nilable(String)).void }
1993
+ def initialize(preference: nil); end
1994
+ end
1995
+ # Whether or not the payment method should be displayed.
1996
+ sig {
1997
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference))
1998
+ }
1999
+ attr_accessor :display_preference
2000
+ sig {
2001
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference)).void
2002
+ }
2003
+ def initialize(display_preference: nil); end
2004
+ end
2005
+ class SepaDebit < Stripe::RequestParams
2006
+ class DisplayPreference < Stripe::RequestParams
2007
+ # The account's preference for whether or not to display this payment method.
2008
+ sig { returns(T.nilable(String)) }
2009
+ attr_accessor :preference
2010
+ sig { params(preference: T.nilable(String)).void }
2011
+ def initialize(preference: nil); end
2012
+ end
2013
+ # Whether or not the payment method should be displayed.
2014
+ sig {
2015
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference))
2016
+ }
2017
+ attr_accessor :display_preference
2018
+ sig {
2019
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference)).void
2020
+ }
2021
+ def initialize(display_preference: nil); end
2022
+ end
2023
+ class Sofort < Stripe::RequestParams
2024
+ class DisplayPreference < Stripe::RequestParams
2025
+ # The account's preference for whether or not to display this payment method.
2026
+ sig { returns(T.nilable(String)) }
2027
+ attr_accessor :preference
2028
+ sig { params(preference: T.nilable(String)).void }
2029
+ def initialize(preference: nil); end
2030
+ end
2031
+ # Whether or not the payment method should be displayed.
2032
+ sig {
2033
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference))
2034
+ }
2035
+ attr_accessor :display_preference
2036
+ sig {
2037
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference)).void
2038
+ }
2039
+ def initialize(display_preference: nil); end
2040
+ end
2041
+ class Swish < Stripe::RequestParams
2042
+ class DisplayPreference < Stripe::RequestParams
2043
+ # The account's preference for whether or not to display this payment method.
2044
+ sig { returns(T.nilable(String)) }
2045
+ attr_accessor :preference
2046
+ sig { params(preference: T.nilable(String)).void }
2047
+ def initialize(preference: nil); end
2048
+ end
2049
+ # Whether or not the payment method should be displayed.
2050
+ sig {
2051
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference))
2052
+ }
2053
+ attr_accessor :display_preference
2054
+ sig {
2055
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference)).void
2056
+ }
2057
+ def initialize(display_preference: nil); end
2058
+ end
2059
+ class Twint < Stripe::RequestParams
2060
+ class DisplayPreference < Stripe::RequestParams
2061
+ # The account's preference for whether or not to display this payment method.
2062
+ sig { returns(T.nilable(String)) }
2063
+ attr_accessor :preference
2064
+ sig { params(preference: T.nilable(String)).void }
2065
+ def initialize(preference: nil); end
2066
+ end
2067
+ # Whether or not the payment method should be displayed.
2068
+ sig {
2069
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference))
2070
+ }
2071
+ attr_accessor :display_preference
2072
+ sig {
2073
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference)).void
2074
+ }
2075
+ def initialize(display_preference: nil); end
2076
+ end
2077
+ class UsBankAccount < Stripe::RequestParams
2078
+ class DisplayPreference < Stripe::RequestParams
2079
+ # The account's preference for whether or not to display this payment method.
2080
+ sig { returns(T.nilable(String)) }
2081
+ attr_accessor :preference
2082
+ sig { params(preference: T.nilable(String)).void }
2083
+ def initialize(preference: nil); end
2084
+ end
2085
+ # Whether or not the payment method should be displayed.
2086
+ sig {
2087
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference))
2088
+ }
2089
+ attr_accessor :display_preference
2090
+ sig {
2091
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference)).void
2092
+ }
2093
+ def initialize(display_preference: nil); end
2094
+ end
2095
+ class WechatPay < Stripe::RequestParams
2096
+ class DisplayPreference < Stripe::RequestParams
2097
+ # The account's preference for whether or not to display this payment method.
2098
+ sig { returns(T.nilable(String)) }
2099
+ attr_accessor :preference
2100
+ sig { params(preference: T.nilable(String)).void }
2101
+ def initialize(preference: nil); end
2102
+ end
2103
+ # Whether or not the payment method should be displayed.
2104
+ sig {
2105
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference))
2106
+ }
2107
+ attr_accessor :display_preference
2108
+ sig {
2109
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference)).void
2110
+ }
2111
+ def initialize(display_preference: nil); end
2112
+ end
2113
+ class Zip < Stripe::RequestParams
2114
+ class DisplayPreference < Stripe::RequestParams
2115
+ # The account's preference for whether or not to display this payment method.
2116
+ sig { returns(T.nilable(String)) }
2117
+ attr_accessor :preference
2118
+ sig { params(preference: T.nilable(String)).void }
2119
+ def initialize(preference: nil); end
2120
+ end
2121
+ # Whether or not the payment method should be displayed.
2122
+ sig {
2123
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference))
2124
+ }
2125
+ attr_accessor :display_preference
2126
+ sig {
2127
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference)).void
2128
+ }
2129
+ def initialize(display_preference: nil); end
2130
+ end
2131
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
2132
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit)) }
2133
+ attr_accessor :acss_debit
2134
+ # [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.
2135
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm)) }
2136
+ attr_accessor :affirm
2137
+ # 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.
2138
+ sig {
2139
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay))
2140
+ }
2141
+ attr_accessor :afterpay_clearpay
2142
+ # 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.
2143
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay)) }
2144
+ attr_accessor :alipay
2145
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
2146
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma)) }
2147
+ attr_accessor :alma
2148
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
2149
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
2150
+ attr_accessor :amazon_pay
2151
+ # 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.
2152
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
2153
+ attr_accessor :apple_pay
2154
+ # 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.
2155
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater)) }
2156
+ attr_accessor :apple_pay_later
2157
+ # 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.
2158
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit)) }
2159
+ attr_accessor :au_becs_debit
2160
+ # 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.
2161
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit)) }
2162
+ attr_accessor :bacs_debit
2163
+ # 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.
2164
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact)) }
2165
+ attr_accessor :bancontact
2166
+ # 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.
2167
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie)) }
2168
+ attr_accessor :billie
2169
+ # 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.
2170
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik)) }
2171
+ attr_accessor :blik
2172
+ # 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.
2173
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto)) }
2174
+ attr_accessor :boleto
2175
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
2176
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card)) }
2177
+ attr_accessor :card
2178
+ # 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.
2179
+ sig {
2180
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires))
2181
+ }
2182
+ attr_accessor :cartes_bancaires
2183
+ # 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.
2184
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp)) }
2185
+ attr_accessor :cashapp
2186
+ # 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.
2187
+ sig {
2188
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance))
2189
+ }
2190
+ attr_accessor :customer_balance
2191
+ # 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.
2192
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps)) }
2193
+ attr_accessor :eps
2194
+ # Specifies which fields in the response should be expanded.
2195
+ sig { returns(T.nilable(T::Array[String])) }
2196
+ attr_accessor :expand
2197
+ # 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.
2198
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx)) }
2199
+ attr_accessor :fpx
2200
+ # 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.
2201
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay)) }
2202
+ attr_accessor :giropay
2203
+ # 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.
2204
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay)) }
2205
+ attr_accessor :google_pay
2206
+ # 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.
2207
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay)) }
2208
+ attr_accessor :grabpay
2209
+ # 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.
2210
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal)) }
2211
+ attr_accessor :ideal
2212
+ # 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.
2213
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb)) }
2214
+ attr_accessor :jcb
2215
+ # Kakao Pay is a popular local wallet available in South Korea.
2216
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay)) }
2217
+ attr_accessor :kakao_pay
2218
+ # 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.
2219
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna)) }
2220
+ attr_accessor :klarna
2221
+ # 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.
2222
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini)) }
2223
+ attr_accessor :konbini
2224
+ # Korean cards let users pay using locally issued cards from South Korea.
2225
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard)) }
2226
+ attr_accessor :kr_card
2227
+ # [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.
2228
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link)) }
2229
+ attr_accessor :link
2230
+ # 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.
2231
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay)) }
2232
+ attr_accessor :mobilepay
2233
+ # 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.
2234
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco)) }
2235
+ attr_accessor :multibanco
2236
+ # Configuration name.
2237
+ sig { returns(T.nilable(String)) }
2238
+ attr_accessor :name
2239
+ # Naver Pay is a popular local wallet available in South Korea.
2240
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay)) }
2241
+ attr_accessor :naver_pay
2242
+ # 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.
2243
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount)) }
2244
+ attr_accessor :nz_bank_account
2245
+ # 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.
2246
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo)) }
2247
+ attr_accessor :oxxo
2248
+ # 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.
2249
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24)) }
2250
+ attr_accessor :p24
2251
+ # Configuration's parent configuration. Specify to create a child configuration.
2252
+ sig { returns(T.nilable(String)) }
2253
+ attr_accessor :parent
2254
+ # 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.
2255
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank)) }
2256
+ attr_accessor :pay_by_bank
2257
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2258
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco)) }
2259
+ attr_accessor :payco
2260
+ # 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.
2261
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow)) }
2262
+ attr_accessor :paynow
2263
+ # 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.
2264
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal)) }
2265
+ attr_accessor :paypal
2266
+ # 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.
2267
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix)) }
2268
+ attr_accessor :pix
2269
+ # 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.
2270
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay)) }
2271
+ attr_accessor :promptpay
2272
+ # 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.
2273
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay)) }
2274
+ attr_accessor :revolut_pay
2275
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
2276
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay)) }
2277
+ attr_accessor :samsung_pay
2278
+ # 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.
2279
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay)) }
2280
+ attr_accessor :satispay
2281
+ # 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.
2282
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit)) }
2283
+ attr_accessor :sepa_debit
2284
+ # 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.
2285
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort)) }
2286
+ attr_accessor :sofort
2287
+ # 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.
2288
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish)) }
2289
+ attr_accessor :swish
2290
+ # 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.
2291
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint)) }
2292
+ attr_accessor :twint
2293
+ # 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.
2294
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount)) }
2295
+ attr_accessor :us_bank_account
2296
+ # 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.
2297
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay)) }
2298
+ attr_accessor :wechat_pay
2299
+ # 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.
2300
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)) }
2301
+ attr_accessor :zip
2302
+ sig {
2303
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
2304
+ }
2305
+ def initialize(
2306
+ acss_debit: nil,
2307
+ affirm: nil,
2308
+ afterpay_clearpay: nil,
2309
+ alipay: nil,
2310
+ alma: nil,
2311
+ amazon_pay: nil,
2312
+ apple_pay: nil,
2313
+ apple_pay_later: nil,
2314
+ au_becs_debit: nil,
2315
+ bacs_debit: nil,
2316
+ bancontact: nil,
2317
+ billie: nil,
2318
+ blik: nil,
2319
+ boleto: nil,
2320
+ card: nil,
2321
+ cartes_bancaires: nil,
2322
+ cashapp: nil,
2323
+ customer_balance: nil,
2324
+ eps: nil,
2325
+ expand: nil,
2326
+ fpx: nil,
2327
+ giropay: nil,
2328
+ google_pay: nil,
2329
+ grabpay: nil,
2330
+ ideal: nil,
2331
+ jcb: nil,
2332
+ kakao_pay: nil,
2333
+ klarna: nil,
2334
+ konbini: nil,
2335
+ kr_card: nil,
2336
+ link: nil,
2337
+ mobilepay: nil,
2338
+ multibanco: nil,
2339
+ name: nil,
2340
+ naver_pay: nil,
2341
+ nz_bank_account: nil,
2342
+ oxxo: nil,
2343
+ p24: nil,
2344
+ parent: nil,
2345
+ pay_by_bank: nil,
2346
+ payco: nil,
2347
+ paynow: nil,
2348
+ paypal: nil,
2349
+ pix: nil,
2350
+ promptpay: nil,
2351
+ revolut_pay: nil,
2352
+ samsung_pay: nil,
2353
+ satispay: nil,
2354
+ sepa_debit: nil,
2355
+ sofort: nil,
2356
+ swish: nil,
2357
+ twint: nil,
2358
+ us_bank_account: nil,
2359
+ wechat_pay: nil,
2360
+ zip: nil
2361
+ ); end
2362
+ end
2363
+ class UpdateParams < Stripe::RequestParams
2364
+ class AcssDebit < Stripe::RequestParams
2365
+ class DisplayPreference < Stripe::RequestParams
2366
+ # The account's preference for whether or not to display this payment method.
2367
+ sig { returns(T.nilable(String)) }
2368
+ attr_accessor :preference
2369
+ sig { params(preference: T.nilable(String)).void }
2370
+ def initialize(preference: nil); end
2371
+ end
2372
+ # Whether or not the payment method should be displayed.
2373
+ sig {
2374
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference))
2375
+ }
2376
+ attr_accessor :display_preference
2377
+ sig {
2378
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference)).void
2379
+ }
2380
+ def initialize(display_preference: nil); end
2381
+ end
2382
+ class Affirm < Stripe::RequestParams
2383
+ class DisplayPreference < Stripe::RequestParams
2384
+ # The account's preference for whether or not to display this payment method.
2385
+ sig { returns(T.nilable(String)) }
2386
+ attr_accessor :preference
2387
+ sig { params(preference: T.nilable(String)).void }
2388
+ def initialize(preference: nil); end
2389
+ end
2390
+ # Whether or not the payment method should be displayed.
2391
+ sig {
2392
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference))
2393
+ }
2394
+ attr_accessor :display_preference
2395
+ sig {
2396
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference)).void
2397
+ }
2398
+ def initialize(display_preference: nil); end
2399
+ end
2400
+ class AfterpayClearpay < Stripe::RequestParams
2401
+ class DisplayPreference < Stripe::RequestParams
2402
+ # The account's preference for whether or not to display this payment method.
2403
+ sig { returns(T.nilable(String)) }
2404
+ attr_accessor :preference
2405
+ sig { params(preference: T.nilable(String)).void }
2406
+ def initialize(preference: nil); end
2407
+ end
2408
+ # Whether or not the payment method should be displayed.
2409
+ sig {
2410
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference))
2411
+ }
2412
+ attr_accessor :display_preference
2413
+ sig {
2414
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference)).void
2415
+ }
2416
+ def initialize(display_preference: nil); end
2417
+ end
2418
+ class Alipay < Stripe::RequestParams
2419
+ class DisplayPreference < Stripe::RequestParams
2420
+ # The account's preference for whether or not to display this payment method.
2421
+ sig { returns(T.nilable(String)) }
2422
+ attr_accessor :preference
2423
+ sig { params(preference: T.nilable(String)).void }
2424
+ def initialize(preference: nil); end
2425
+ end
2426
+ # Whether or not the payment method should be displayed.
2427
+ sig {
2428
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference))
2429
+ }
2430
+ attr_accessor :display_preference
2431
+ sig {
2432
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference)).void
2433
+ }
2434
+ def initialize(display_preference: nil); end
2435
+ end
2436
+ class Alma < Stripe::RequestParams
2437
+ class DisplayPreference < Stripe::RequestParams
2438
+ # The account's preference for whether or not to display this payment method.
2439
+ sig { returns(T.nilable(String)) }
2440
+ attr_accessor :preference
2441
+ sig { params(preference: T.nilable(String)).void }
2442
+ def initialize(preference: nil); end
2443
+ end
2444
+ # Whether or not the payment method should be displayed.
2445
+ sig {
2446
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference))
2447
+ }
2448
+ attr_accessor :display_preference
2449
+ sig {
2450
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference)).void
2451
+ }
2452
+ def initialize(display_preference: nil); end
2453
+ end
2454
+ class AmazonPay < Stripe::RequestParams
2455
+ class DisplayPreference < Stripe::RequestParams
2456
+ # The account's preference for whether or not to display this payment method.
2457
+ sig { returns(T.nilable(String)) }
2458
+ attr_accessor :preference
2459
+ sig { params(preference: T.nilable(String)).void }
2460
+ def initialize(preference: nil); end
2461
+ end
2462
+ # Whether or not the payment method should be displayed.
2463
+ sig {
2464
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference))
2465
+ }
2466
+ attr_accessor :display_preference
2467
+ sig {
2468
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference)).void
2469
+ }
2470
+ def initialize(display_preference: nil); end
2471
+ end
2472
+ class ApplePay < Stripe::RequestParams
2473
+ class DisplayPreference < Stripe::RequestParams
2474
+ # The account's preference for whether or not to display this payment method.
2475
+ sig { returns(T.nilable(String)) }
2476
+ attr_accessor :preference
2477
+ sig { params(preference: T.nilable(String)).void }
2478
+ def initialize(preference: nil); end
2479
+ end
2480
+ # Whether or not the payment method should be displayed.
2481
+ sig {
2482
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference))
2483
+ }
2484
+ attr_accessor :display_preference
2485
+ sig {
2486
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference)).void
2487
+ }
2488
+ def initialize(display_preference: nil); end
2489
+ end
2490
+ class ApplePayLater < Stripe::RequestParams
2491
+ class DisplayPreference < Stripe::RequestParams
2492
+ # The account's preference for whether or not to display this payment method.
2493
+ sig { returns(T.nilable(String)) }
2494
+ attr_accessor :preference
2495
+ sig { params(preference: T.nilable(String)).void }
2496
+ def initialize(preference: nil); end
2497
+ end
2498
+ # Whether or not the payment method should be displayed.
2499
+ sig {
2500
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference))
2501
+ }
2502
+ attr_accessor :display_preference
2503
+ sig {
2504
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference)).void
2505
+ }
2506
+ def initialize(display_preference: nil); end
2507
+ end
2508
+ class AuBecsDebit < Stripe::RequestParams
2509
+ class DisplayPreference < Stripe::RequestParams
2510
+ # The account's preference for whether or not to display this payment method.
2511
+ sig { returns(T.nilable(String)) }
2512
+ attr_accessor :preference
2513
+ sig { params(preference: T.nilable(String)).void }
2514
+ def initialize(preference: nil); end
2515
+ end
2516
+ # Whether or not the payment method should be displayed.
2517
+ sig {
2518
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference))
2519
+ }
2520
+ attr_accessor :display_preference
2521
+ sig {
2522
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference)).void
2523
+ }
2524
+ def initialize(display_preference: nil); end
2525
+ end
2526
+ class BacsDebit < Stripe::RequestParams
2527
+ class DisplayPreference < Stripe::RequestParams
2528
+ # The account's preference for whether or not to display this payment method.
2529
+ sig { returns(T.nilable(String)) }
2530
+ attr_accessor :preference
2531
+ sig { params(preference: T.nilable(String)).void }
2532
+ def initialize(preference: nil); end
2533
+ end
2534
+ # Whether or not the payment method should be displayed.
2535
+ sig {
2536
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference))
2537
+ }
2538
+ attr_accessor :display_preference
2539
+ sig {
2540
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference)).void
2541
+ }
2542
+ def initialize(display_preference: nil); end
2543
+ end
2544
+ class Bancontact < Stripe::RequestParams
2545
+ class DisplayPreference < Stripe::RequestParams
2546
+ # The account's preference for whether or not to display this payment method.
2547
+ sig { returns(T.nilable(String)) }
2548
+ attr_accessor :preference
2549
+ sig { params(preference: T.nilable(String)).void }
2550
+ def initialize(preference: nil); end
2551
+ end
2552
+ # Whether or not the payment method should be displayed.
2553
+ sig {
2554
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference))
2555
+ }
2556
+ attr_accessor :display_preference
2557
+ sig {
2558
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference)).void
2559
+ }
2560
+ def initialize(display_preference: nil); end
2561
+ end
2562
+ class Billie < Stripe::RequestParams
2563
+ class DisplayPreference < Stripe::RequestParams
2564
+ # The account's preference for whether or not to display this payment method.
2565
+ sig { returns(T.nilable(String)) }
2566
+ attr_accessor :preference
2567
+ sig { params(preference: T.nilable(String)).void }
2568
+ def initialize(preference: nil); end
2569
+ end
2570
+ # Whether or not the payment method should be displayed.
2571
+ sig {
2572
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference))
2573
+ }
2574
+ attr_accessor :display_preference
2575
+ sig {
2576
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference)).void
2577
+ }
2578
+ def initialize(display_preference: nil); end
2579
+ end
2580
+ class Blik < Stripe::RequestParams
2581
+ class DisplayPreference < Stripe::RequestParams
2582
+ # The account's preference for whether or not to display this payment method.
2583
+ sig { returns(T.nilable(String)) }
2584
+ attr_accessor :preference
2585
+ sig { params(preference: T.nilable(String)).void }
2586
+ def initialize(preference: nil); end
2587
+ end
2588
+ # Whether or not the payment method should be displayed.
2589
+ sig {
2590
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference))
2591
+ }
2592
+ attr_accessor :display_preference
2593
+ sig {
2594
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference)).void
2595
+ }
2596
+ def initialize(display_preference: nil); end
2597
+ end
2598
+ class Boleto < Stripe::RequestParams
2599
+ class DisplayPreference < Stripe::RequestParams
2600
+ # The account's preference for whether or not to display this payment method.
2601
+ sig { returns(T.nilable(String)) }
2602
+ attr_accessor :preference
2603
+ sig { params(preference: T.nilable(String)).void }
2604
+ def initialize(preference: nil); end
2605
+ end
2606
+ # Whether or not the payment method should be displayed.
2607
+ sig {
2608
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference))
2609
+ }
2610
+ attr_accessor :display_preference
2611
+ sig {
2612
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference)).void
2613
+ }
2614
+ def initialize(display_preference: nil); end
2615
+ end
2616
+ class Card < Stripe::RequestParams
2617
+ class DisplayPreference < Stripe::RequestParams
2618
+ # The account's preference for whether or not to display this payment method.
2619
+ sig { returns(T.nilable(String)) }
2620
+ attr_accessor :preference
2621
+ sig { params(preference: T.nilable(String)).void }
2622
+ def initialize(preference: nil); end
2623
+ end
2624
+ # Whether or not the payment method should be displayed.
2625
+ sig {
2626
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference))
2627
+ }
2628
+ attr_accessor :display_preference
2629
+ sig {
2630
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference)).void
2631
+ }
2632
+ def initialize(display_preference: nil); end
2633
+ end
2634
+ class CartesBancaires < Stripe::RequestParams
2635
+ class DisplayPreference < Stripe::RequestParams
2636
+ # The account's preference for whether or not to display this payment method.
2637
+ sig { returns(T.nilable(String)) }
2638
+ attr_accessor :preference
2639
+ sig { params(preference: T.nilable(String)).void }
2640
+ def initialize(preference: nil); end
2641
+ end
2642
+ # Whether or not the payment method should be displayed.
2643
+ sig {
2644
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference))
2645
+ }
2646
+ attr_accessor :display_preference
2647
+ sig {
2648
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference)).void
2649
+ }
2650
+ def initialize(display_preference: nil); end
2651
+ end
2652
+ class Cashapp < Stripe::RequestParams
2653
+ class DisplayPreference < Stripe::RequestParams
2654
+ # The account's preference for whether or not to display this payment method.
2655
+ sig { returns(T.nilable(String)) }
2656
+ attr_accessor :preference
2657
+ sig { params(preference: T.nilable(String)).void }
2658
+ def initialize(preference: nil); end
2659
+ end
2660
+ # Whether or not the payment method should be displayed.
2661
+ sig {
2662
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference))
2663
+ }
2664
+ attr_accessor :display_preference
2665
+ sig {
2666
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference)).void
2667
+ }
2668
+ def initialize(display_preference: nil); end
2669
+ end
2670
+ class CustomerBalance < Stripe::RequestParams
2671
+ class DisplayPreference < Stripe::RequestParams
2672
+ # The account's preference for whether or not to display this payment method.
2673
+ sig { returns(T.nilable(String)) }
2674
+ attr_accessor :preference
2675
+ sig { params(preference: T.nilable(String)).void }
2676
+ def initialize(preference: nil); end
2677
+ end
2678
+ # Whether or not the payment method should be displayed.
2679
+ sig {
2680
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference))
2681
+ }
2682
+ attr_accessor :display_preference
2683
+ sig {
2684
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference)).void
2685
+ }
2686
+ def initialize(display_preference: nil); end
2687
+ end
2688
+ class Eps < Stripe::RequestParams
2689
+ class DisplayPreference < Stripe::RequestParams
2690
+ # The account's preference for whether or not to display this payment method.
2691
+ sig { returns(T.nilable(String)) }
2692
+ attr_accessor :preference
2693
+ sig { params(preference: T.nilable(String)).void }
2694
+ def initialize(preference: nil); end
2695
+ end
2696
+ # Whether or not the payment method should be displayed.
2697
+ sig {
2698
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference))
2699
+ }
2700
+ attr_accessor :display_preference
2701
+ sig {
2702
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference)).void
2703
+ }
2704
+ def initialize(display_preference: nil); end
2705
+ end
2706
+ class Fpx < Stripe::RequestParams
2707
+ class DisplayPreference < Stripe::RequestParams
2708
+ # The account's preference for whether or not to display this payment method.
2709
+ sig { returns(T.nilable(String)) }
2710
+ attr_accessor :preference
2711
+ sig { params(preference: T.nilable(String)).void }
2712
+ def initialize(preference: nil); end
2713
+ end
2714
+ # Whether or not the payment method should be displayed.
2715
+ sig {
2716
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference))
2717
+ }
2718
+ attr_accessor :display_preference
2719
+ sig {
2720
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference)).void
2721
+ }
2722
+ def initialize(display_preference: nil); end
2723
+ end
2724
+ class Giropay < Stripe::RequestParams
2725
+ class DisplayPreference < Stripe::RequestParams
2726
+ # The account's preference for whether or not to display this payment method.
2727
+ sig { returns(T.nilable(String)) }
2728
+ attr_accessor :preference
2729
+ sig { params(preference: T.nilable(String)).void }
2730
+ def initialize(preference: nil); end
2731
+ end
2732
+ # Whether or not the payment method should be displayed.
2733
+ sig {
2734
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference))
2735
+ }
2736
+ attr_accessor :display_preference
2737
+ sig {
2738
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference)).void
2739
+ }
2740
+ def initialize(display_preference: nil); end
2741
+ end
2742
+ class GooglePay < Stripe::RequestParams
2743
+ class DisplayPreference < Stripe::RequestParams
2744
+ # The account's preference for whether or not to display this payment method.
2745
+ sig { returns(T.nilable(String)) }
2746
+ attr_accessor :preference
2747
+ sig { params(preference: T.nilable(String)).void }
2748
+ def initialize(preference: nil); end
2749
+ end
2750
+ # Whether or not the payment method should be displayed.
2751
+ sig {
2752
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference))
2753
+ }
2754
+ attr_accessor :display_preference
2755
+ sig {
2756
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference)).void
2757
+ }
2758
+ def initialize(display_preference: nil); end
2759
+ end
2760
+ class Grabpay < Stripe::RequestParams
2761
+ class DisplayPreference < Stripe::RequestParams
2762
+ # The account's preference for whether or not to display this payment method.
2763
+ sig { returns(T.nilable(String)) }
2764
+ attr_accessor :preference
2765
+ sig { params(preference: T.nilable(String)).void }
2766
+ def initialize(preference: nil); end
2767
+ end
2768
+ # Whether or not the payment method should be displayed.
2769
+ sig {
2770
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference))
2771
+ }
2772
+ attr_accessor :display_preference
2773
+ sig {
2774
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference)).void
2775
+ }
2776
+ def initialize(display_preference: nil); end
2777
+ end
2778
+ class Ideal < Stripe::RequestParams
2779
+ class DisplayPreference < Stripe::RequestParams
2780
+ # The account's preference for whether or not to display this payment method.
2781
+ sig { returns(T.nilable(String)) }
2782
+ attr_accessor :preference
2783
+ sig { params(preference: T.nilable(String)).void }
2784
+ def initialize(preference: nil); end
2785
+ end
2786
+ # Whether or not the payment method should be displayed.
2787
+ sig {
2788
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference))
2789
+ }
2790
+ attr_accessor :display_preference
2791
+ sig {
2792
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference)).void
2793
+ }
2794
+ def initialize(display_preference: nil); end
2795
+ end
2796
+ class Jcb < Stripe::RequestParams
2797
+ class DisplayPreference < Stripe::RequestParams
2798
+ # The account's preference for whether or not to display this payment method.
2799
+ sig { returns(T.nilable(String)) }
2800
+ attr_accessor :preference
2801
+ sig { params(preference: T.nilable(String)).void }
2802
+ def initialize(preference: nil); end
2803
+ end
2804
+ # Whether or not the payment method should be displayed.
2805
+ sig {
2806
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference))
2807
+ }
2808
+ attr_accessor :display_preference
2809
+ sig {
2810
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference)).void
2811
+ }
2812
+ def initialize(display_preference: nil); end
2813
+ end
2814
+ class KakaoPay < Stripe::RequestParams
2815
+ class DisplayPreference < Stripe::RequestParams
2816
+ # The account's preference for whether or not to display this payment method.
2817
+ sig { returns(T.nilable(String)) }
2818
+ attr_accessor :preference
2819
+ sig { params(preference: T.nilable(String)).void }
2820
+ def initialize(preference: nil); end
2821
+ end
2822
+ # Whether or not the payment method should be displayed.
2823
+ sig {
2824
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay::DisplayPreference))
2825
+ }
2826
+ attr_accessor :display_preference
2827
+ sig {
2828
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay::DisplayPreference)).void
2829
+ }
2830
+ def initialize(display_preference: nil); end
2831
+ end
2832
+ class Klarna < Stripe::RequestParams
2833
+ class DisplayPreference < Stripe::RequestParams
2834
+ # The account's preference for whether or not to display this payment method.
2835
+ sig { returns(T.nilable(String)) }
2836
+ attr_accessor :preference
2837
+ sig { params(preference: T.nilable(String)).void }
2838
+ def initialize(preference: nil); end
2839
+ end
2840
+ # Whether or not the payment method should be displayed.
2841
+ sig {
2842
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference))
2843
+ }
2844
+ attr_accessor :display_preference
2845
+ sig {
2846
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference)).void
2847
+ }
2848
+ def initialize(display_preference: nil); end
2849
+ end
2850
+ class Konbini < Stripe::RequestParams
2851
+ class DisplayPreference < Stripe::RequestParams
2852
+ # The account's preference for whether or not to display this payment method.
2853
+ sig { returns(T.nilable(String)) }
2854
+ attr_accessor :preference
2855
+ sig { params(preference: T.nilable(String)).void }
2856
+ def initialize(preference: nil); end
2857
+ end
2858
+ # Whether or not the payment method should be displayed.
2859
+ sig {
2860
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference))
2861
+ }
2862
+ attr_accessor :display_preference
2863
+ sig {
2864
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference)).void
2865
+ }
2866
+ def initialize(display_preference: nil); end
2867
+ end
2868
+ class KrCard < Stripe::RequestParams
2869
+ class DisplayPreference < Stripe::RequestParams
2870
+ # The account's preference for whether or not to display this payment method.
2871
+ sig { returns(T.nilable(String)) }
2872
+ attr_accessor :preference
2873
+ sig { params(preference: T.nilable(String)).void }
2874
+ def initialize(preference: nil); end
2875
+ end
2876
+ # Whether or not the payment method should be displayed.
2877
+ sig {
2878
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard::DisplayPreference))
2879
+ }
2880
+ attr_accessor :display_preference
2881
+ sig {
2882
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard::DisplayPreference)).void
2883
+ }
2884
+ def initialize(display_preference: nil); end
2885
+ end
2886
+ class Link < Stripe::RequestParams
2887
+ class DisplayPreference < Stripe::RequestParams
2888
+ # The account's preference for whether or not to display this payment method.
2889
+ sig { returns(T.nilable(String)) }
2890
+ attr_accessor :preference
2891
+ sig { params(preference: T.nilable(String)).void }
2892
+ def initialize(preference: nil); end
2893
+ end
2894
+ # Whether or not the payment method should be displayed.
2895
+ sig {
2896
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference))
2897
+ }
2898
+ attr_accessor :display_preference
2899
+ sig {
2900
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference)).void
2901
+ }
2902
+ def initialize(display_preference: nil); end
2903
+ end
2904
+ class Mobilepay < Stripe::RequestParams
2905
+ class DisplayPreference < Stripe::RequestParams
2906
+ # The account's preference for whether or not to display this payment method.
2907
+ sig { returns(T.nilable(String)) }
2908
+ attr_accessor :preference
2909
+ sig { params(preference: T.nilable(String)).void }
2910
+ def initialize(preference: nil); end
2911
+ end
2912
+ # Whether or not the payment method should be displayed.
2913
+ sig {
2914
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference))
2915
+ }
2916
+ attr_accessor :display_preference
2917
+ sig {
2918
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference)).void
2919
+ }
2920
+ def initialize(display_preference: nil); end
2921
+ end
2922
+ class Multibanco < Stripe::RequestParams
2923
+ class DisplayPreference < Stripe::RequestParams
2924
+ # The account's preference for whether or not to display this payment method.
2925
+ sig { returns(T.nilable(String)) }
2926
+ attr_accessor :preference
2927
+ sig { params(preference: T.nilable(String)).void }
2928
+ def initialize(preference: nil); end
2929
+ end
2930
+ # Whether or not the payment method should be displayed.
2931
+ sig {
2932
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference))
2933
+ }
2934
+ attr_accessor :display_preference
2935
+ sig {
2936
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference)).void
2937
+ }
2938
+ def initialize(display_preference: nil); end
2939
+ end
2940
+ class NaverPay < Stripe::RequestParams
2941
+ class DisplayPreference < Stripe::RequestParams
2942
+ # The account's preference for whether or not to display this payment method.
2943
+ sig { returns(T.nilable(String)) }
2944
+ attr_accessor :preference
2945
+ sig { params(preference: T.nilable(String)).void }
2946
+ def initialize(preference: nil); end
2947
+ end
2948
+ # Whether or not the payment method should be displayed.
2949
+ sig {
2950
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay::DisplayPreference))
2951
+ }
2952
+ attr_accessor :display_preference
2953
+ sig {
2954
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay::DisplayPreference)).void
2955
+ }
2956
+ def initialize(display_preference: nil); end
2957
+ end
2958
+ class NzBankAccount < Stripe::RequestParams
2959
+ class DisplayPreference < Stripe::RequestParams
2960
+ # The account's preference for whether or not to display this payment method.
2961
+ sig { returns(T.nilable(String)) }
2962
+ attr_accessor :preference
2963
+ sig { params(preference: T.nilable(String)).void }
2964
+ def initialize(preference: nil); end
2965
+ end
2966
+ # Whether or not the payment method should be displayed.
2967
+ sig {
2968
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference))
2969
+ }
2970
+ attr_accessor :display_preference
2971
+ sig {
2972
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference)).void
2973
+ }
2974
+ def initialize(display_preference: nil); end
2975
+ end
2976
+ class Oxxo < Stripe::RequestParams
2977
+ class DisplayPreference < Stripe::RequestParams
2978
+ # The account's preference for whether or not to display this payment method.
2979
+ sig { returns(T.nilable(String)) }
2980
+ attr_accessor :preference
2981
+ sig { params(preference: T.nilable(String)).void }
2982
+ def initialize(preference: nil); end
2983
+ end
2984
+ # Whether or not the payment method should be displayed.
2985
+ sig {
2986
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference))
2987
+ }
2988
+ attr_accessor :display_preference
2989
+ sig {
2990
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference)).void
2991
+ }
2992
+ def initialize(display_preference: nil); end
2993
+ end
2994
+ class P24 < Stripe::RequestParams
2995
+ class DisplayPreference < Stripe::RequestParams
2996
+ # The account's preference for whether or not to display this payment method.
2997
+ sig { returns(T.nilable(String)) }
2998
+ attr_accessor :preference
2999
+ sig { params(preference: T.nilable(String)).void }
3000
+ def initialize(preference: nil); end
3001
+ end
3002
+ # Whether or not the payment method should be displayed.
3003
+ sig {
3004
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference))
3005
+ }
3006
+ attr_accessor :display_preference
3007
+ sig {
3008
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference)).void
3009
+ }
3010
+ def initialize(display_preference: nil); end
3011
+ end
3012
+ class PayByBank < Stripe::RequestParams
3013
+ class DisplayPreference < Stripe::RequestParams
3014
+ # The account's preference for whether or not to display this payment method.
3015
+ sig { returns(T.nilable(String)) }
3016
+ attr_accessor :preference
3017
+ sig { params(preference: T.nilable(String)).void }
3018
+ def initialize(preference: nil); end
3019
+ end
3020
+ # Whether or not the payment method should be displayed.
3021
+ sig {
3022
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference))
3023
+ }
3024
+ attr_accessor :display_preference
3025
+ sig {
3026
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference)).void
3027
+ }
3028
+ def initialize(display_preference: nil); end
3029
+ end
3030
+ class Payco < Stripe::RequestParams
3031
+ class DisplayPreference < Stripe::RequestParams
3032
+ # The account's preference for whether or not to display this payment method.
3033
+ sig { returns(T.nilable(String)) }
3034
+ attr_accessor :preference
3035
+ sig { params(preference: T.nilable(String)).void }
3036
+ def initialize(preference: nil); end
3037
+ end
3038
+ # Whether or not the payment method should be displayed.
3039
+ sig {
3040
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco::DisplayPreference))
3041
+ }
3042
+ attr_accessor :display_preference
3043
+ sig {
3044
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco::DisplayPreference)).void
3045
+ }
3046
+ def initialize(display_preference: nil); end
3047
+ end
3048
+ class Paynow < Stripe::RequestParams
3049
+ class DisplayPreference < Stripe::RequestParams
3050
+ # The account's preference for whether or not to display this payment method.
3051
+ sig { returns(T.nilable(String)) }
3052
+ attr_accessor :preference
3053
+ sig { params(preference: T.nilable(String)).void }
3054
+ def initialize(preference: nil); end
3055
+ end
3056
+ # Whether or not the payment method should be displayed.
3057
+ sig {
3058
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference))
3059
+ }
3060
+ attr_accessor :display_preference
3061
+ sig {
3062
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference)).void
3063
+ }
3064
+ def initialize(display_preference: nil); end
3065
+ end
3066
+ class Paypal < Stripe::RequestParams
3067
+ class DisplayPreference < Stripe::RequestParams
3068
+ # The account's preference for whether or not to display this payment method.
3069
+ sig { returns(T.nilable(String)) }
3070
+ attr_accessor :preference
3071
+ sig { params(preference: T.nilable(String)).void }
3072
+ def initialize(preference: nil); end
3073
+ end
3074
+ # Whether or not the payment method should be displayed.
3075
+ sig {
3076
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference))
3077
+ }
3078
+ attr_accessor :display_preference
3079
+ sig {
3080
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference)).void
3081
+ }
3082
+ def initialize(display_preference: nil); end
3083
+ end
3084
+ class Pix < Stripe::RequestParams
3085
+ class DisplayPreference < Stripe::RequestParams
3086
+ # The account's preference for whether or not to display this payment method.
3087
+ sig { returns(T.nilable(String)) }
3088
+ attr_accessor :preference
3089
+ sig { params(preference: T.nilable(String)).void }
3090
+ def initialize(preference: nil); end
3091
+ end
3092
+ # Whether or not the payment method should be displayed.
3093
+ sig {
3094
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference))
3095
+ }
3096
+ attr_accessor :display_preference
3097
+ sig {
3098
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference)).void
3099
+ }
3100
+ def initialize(display_preference: nil); end
3101
+ end
3102
+ class Promptpay < Stripe::RequestParams
3103
+ class DisplayPreference < Stripe::RequestParams
3104
+ # The account's preference for whether or not to display this payment method.
3105
+ sig { returns(T.nilable(String)) }
3106
+ attr_accessor :preference
3107
+ sig { params(preference: T.nilable(String)).void }
3108
+ def initialize(preference: nil); end
3109
+ end
3110
+ # Whether or not the payment method should be displayed.
3111
+ sig {
3112
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference))
3113
+ }
3114
+ attr_accessor :display_preference
3115
+ sig {
3116
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference)).void
3117
+ }
3118
+ def initialize(display_preference: nil); end
3119
+ end
3120
+ class RevolutPay < Stripe::RequestParams
3121
+ class DisplayPreference < Stripe::RequestParams
3122
+ # The account's preference for whether or not to display this payment method.
3123
+ sig { returns(T.nilable(String)) }
3124
+ attr_accessor :preference
3125
+ sig { params(preference: T.nilable(String)).void }
3126
+ def initialize(preference: nil); end
3127
+ end
3128
+ # Whether or not the payment method should be displayed.
3129
+ sig {
3130
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference))
3131
+ }
3132
+ attr_accessor :display_preference
3133
+ sig {
3134
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference)).void
3135
+ }
3136
+ def initialize(display_preference: nil); end
3137
+ end
3138
+ class SamsungPay < Stripe::RequestParams
3139
+ class DisplayPreference < Stripe::RequestParams
3140
+ # The account's preference for whether or not to display this payment method.
3141
+ sig { returns(T.nilable(String)) }
3142
+ attr_accessor :preference
3143
+ sig { params(preference: T.nilable(String)).void }
3144
+ def initialize(preference: nil); end
3145
+ end
3146
+ # Whether or not the payment method should be displayed.
3147
+ sig {
3148
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay::DisplayPreference))
3149
+ }
3150
+ attr_accessor :display_preference
3151
+ sig {
3152
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay::DisplayPreference)).void
3153
+ }
3154
+ def initialize(display_preference: nil); end
3155
+ end
3156
+ class Satispay < Stripe::RequestParams
3157
+ class DisplayPreference < Stripe::RequestParams
3158
+ # The account's preference for whether or not to display this payment method.
3159
+ sig { returns(T.nilable(String)) }
3160
+ attr_accessor :preference
3161
+ sig { params(preference: T.nilable(String)).void }
3162
+ def initialize(preference: nil); end
3163
+ end
3164
+ # Whether or not the payment method should be displayed.
3165
+ sig {
3166
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference))
3167
+ }
3168
+ attr_accessor :display_preference
3169
+ sig {
3170
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference)).void
3171
+ }
3172
+ def initialize(display_preference: nil); end
3173
+ end
3174
+ class SepaDebit < Stripe::RequestParams
3175
+ class DisplayPreference < Stripe::RequestParams
3176
+ # The account's preference for whether or not to display this payment method.
3177
+ sig { returns(T.nilable(String)) }
3178
+ attr_accessor :preference
3179
+ sig { params(preference: T.nilable(String)).void }
3180
+ def initialize(preference: nil); end
3181
+ end
3182
+ # Whether or not the payment method should be displayed.
3183
+ sig {
3184
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference))
3185
+ }
3186
+ attr_accessor :display_preference
3187
+ sig {
3188
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference)).void
3189
+ }
3190
+ def initialize(display_preference: nil); end
3191
+ end
3192
+ class Sofort < Stripe::RequestParams
3193
+ class DisplayPreference < Stripe::RequestParams
3194
+ # The account's preference for whether or not to display this payment method.
3195
+ sig { returns(T.nilable(String)) }
3196
+ attr_accessor :preference
3197
+ sig { params(preference: T.nilable(String)).void }
3198
+ def initialize(preference: nil); end
3199
+ end
3200
+ # Whether or not the payment method should be displayed.
3201
+ sig {
3202
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference))
3203
+ }
3204
+ attr_accessor :display_preference
3205
+ sig {
3206
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference)).void
3207
+ }
3208
+ def initialize(display_preference: nil); end
3209
+ end
3210
+ class Swish < Stripe::RequestParams
3211
+ class DisplayPreference < Stripe::RequestParams
3212
+ # The account's preference for whether or not to display this payment method.
3213
+ sig { returns(T.nilable(String)) }
3214
+ attr_accessor :preference
3215
+ sig { params(preference: T.nilable(String)).void }
3216
+ def initialize(preference: nil); end
3217
+ end
3218
+ # Whether or not the payment method should be displayed.
3219
+ sig {
3220
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference))
3221
+ }
3222
+ attr_accessor :display_preference
3223
+ sig {
3224
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference)).void
3225
+ }
3226
+ def initialize(display_preference: nil); end
3227
+ end
3228
+ class Twint < Stripe::RequestParams
3229
+ class DisplayPreference < Stripe::RequestParams
3230
+ # The account's preference for whether or not to display this payment method.
3231
+ sig { returns(T.nilable(String)) }
3232
+ attr_accessor :preference
3233
+ sig { params(preference: T.nilable(String)).void }
3234
+ def initialize(preference: nil); end
3235
+ end
3236
+ # Whether or not the payment method should be displayed.
3237
+ sig {
3238
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference))
3239
+ }
3240
+ attr_accessor :display_preference
3241
+ sig {
3242
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference)).void
3243
+ }
3244
+ def initialize(display_preference: nil); end
3245
+ end
3246
+ class UsBankAccount < Stripe::RequestParams
3247
+ class DisplayPreference < Stripe::RequestParams
3248
+ # The account's preference for whether or not to display this payment method.
3249
+ sig { returns(T.nilable(String)) }
3250
+ attr_accessor :preference
3251
+ sig { params(preference: T.nilable(String)).void }
3252
+ def initialize(preference: nil); end
3253
+ end
3254
+ # Whether or not the payment method should be displayed.
3255
+ sig {
3256
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference))
3257
+ }
3258
+ attr_accessor :display_preference
3259
+ sig {
3260
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference)).void
3261
+ }
3262
+ def initialize(display_preference: nil); end
3263
+ end
3264
+ class WechatPay < Stripe::RequestParams
3265
+ class DisplayPreference < Stripe::RequestParams
3266
+ # The account's preference for whether or not to display this payment method.
3267
+ sig { returns(T.nilable(String)) }
3268
+ attr_accessor :preference
3269
+ sig { params(preference: T.nilable(String)).void }
3270
+ def initialize(preference: nil); end
3271
+ end
3272
+ # Whether or not the payment method should be displayed.
3273
+ sig {
3274
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference))
3275
+ }
3276
+ attr_accessor :display_preference
3277
+ sig {
3278
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference)).void
3279
+ }
3280
+ def initialize(display_preference: nil); end
3281
+ end
3282
+ class Zip < Stripe::RequestParams
3283
+ class DisplayPreference < Stripe::RequestParams
3284
+ # The account's preference for whether or not to display this payment method.
3285
+ sig { returns(T.nilable(String)) }
3286
+ attr_accessor :preference
3287
+ sig { params(preference: T.nilable(String)).void }
3288
+ def initialize(preference: nil); end
3289
+ end
3290
+ # Whether or not the payment method should be displayed.
3291
+ sig {
3292
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference))
3293
+ }
3294
+ attr_accessor :display_preference
3295
+ sig {
3296
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference)).void
3297
+ }
3298
+ def initialize(display_preference: nil); end
3299
+ end
3300
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
3301
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit)) }
3302
+ attr_accessor :acss_debit
3303
+ # Whether the configuration can be used for new payments.
3304
+ sig { returns(T.nilable(T::Boolean)) }
3305
+ attr_accessor :active
3306
+ # [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.
3307
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm)) }
3308
+ attr_accessor :affirm
3309
+ # 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.
3310
+ sig {
3311
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay))
3312
+ }
3313
+ attr_accessor :afterpay_clearpay
3314
+ # 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.
3315
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay)) }
3316
+ attr_accessor :alipay
3317
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
3318
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma)) }
3319
+ attr_accessor :alma
3320
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
3321
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
3322
+ attr_accessor :amazon_pay
3323
+ # 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.
3324
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
3325
+ attr_accessor :apple_pay
3326
+ # 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.
3327
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater)) }
3328
+ attr_accessor :apple_pay_later
3329
+ # 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.
3330
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit)) }
3331
+ attr_accessor :au_becs_debit
3332
+ # 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.
3333
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit)) }
3334
+ attr_accessor :bacs_debit
3335
+ # 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.
3336
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact)) }
3337
+ attr_accessor :bancontact
3338
+ # 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.
3339
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie)) }
3340
+ attr_accessor :billie
3341
+ # 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.
3342
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik)) }
3343
+ attr_accessor :blik
3344
+ # 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.
3345
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto)) }
3346
+ attr_accessor :boleto
3347
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
3348
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card)) }
3349
+ attr_accessor :card
3350
+ # 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.
3351
+ sig {
3352
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires))
3353
+ }
3354
+ attr_accessor :cartes_bancaires
3355
+ # 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.
3356
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp)) }
3357
+ attr_accessor :cashapp
3358
+ # 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.
3359
+ sig {
3360
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance))
3361
+ }
3362
+ attr_accessor :customer_balance
3363
+ # 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.
3364
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps)) }
3365
+ attr_accessor :eps
3366
+ # Specifies which fields in the response should be expanded.
3367
+ sig { returns(T.nilable(T::Array[String])) }
3368
+ attr_accessor :expand
3369
+ # 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.
3370
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx)) }
3371
+ attr_accessor :fpx
3372
+ # 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.
3373
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay)) }
3374
+ attr_accessor :giropay
3375
+ # 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.
3376
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay)) }
3377
+ attr_accessor :google_pay
3378
+ # 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.
3379
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay)) }
3380
+ attr_accessor :grabpay
3381
+ # 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.
3382
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal)) }
3383
+ attr_accessor :ideal
3384
+ # 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.
3385
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb)) }
3386
+ attr_accessor :jcb
3387
+ # Kakao Pay is a popular local wallet available in South Korea.
3388
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay)) }
3389
+ attr_accessor :kakao_pay
3390
+ # 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.
3391
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna)) }
3392
+ attr_accessor :klarna
3393
+ # 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.
3394
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini)) }
3395
+ attr_accessor :konbini
3396
+ # Korean cards let users pay using locally issued cards from South Korea.
3397
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard)) }
3398
+ attr_accessor :kr_card
3399
+ # [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.
3400
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link)) }
3401
+ attr_accessor :link
3402
+ # 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.
3403
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay)) }
3404
+ attr_accessor :mobilepay
3405
+ # 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.
3406
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco)) }
3407
+ attr_accessor :multibanco
3408
+ # Configuration name.
3409
+ sig { returns(T.nilable(String)) }
3410
+ attr_accessor :name
3411
+ # Naver Pay is a popular local wallet available in South Korea.
3412
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay)) }
3413
+ attr_accessor :naver_pay
3414
+ # 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.
3415
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount)) }
3416
+ attr_accessor :nz_bank_account
3417
+ # 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.
3418
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo)) }
3419
+ attr_accessor :oxxo
3420
+ # 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.
3421
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24)) }
3422
+ attr_accessor :p24
3423
+ # 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.
3424
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank)) }
3425
+ attr_accessor :pay_by_bank
3426
+ # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
3427
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco)) }
3428
+ attr_accessor :payco
3429
+ # 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.
3430
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow)) }
3431
+ attr_accessor :paynow
3432
+ # 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.
3433
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal)) }
3434
+ attr_accessor :paypal
3435
+ # 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.
3436
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix)) }
3437
+ attr_accessor :pix
3438
+ # 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.
3439
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay)) }
3440
+ attr_accessor :promptpay
3441
+ # 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.
3442
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay)) }
3443
+ attr_accessor :revolut_pay
3444
+ # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
3445
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay)) }
3446
+ attr_accessor :samsung_pay
3447
+ # 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.
3448
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay)) }
3449
+ attr_accessor :satispay
3450
+ # 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.
3451
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit)) }
3452
+ attr_accessor :sepa_debit
3453
+ # 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.
3454
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort)) }
3455
+ attr_accessor :sofort
3456
+ # 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.
3457
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish)) }
3458
+ attr_accessor :swish
3459
+ # 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.
3460
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint)) }
3461
+ attr_accessor :twint
3462
+ # 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.
3463
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount)) }
3464
+ attr_accessor :us_bank_account
3465
+ # 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.
3466
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay)) }
3467
+ attr_accessor :wechat_pay
3468
+ # 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.
3469
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)) }
3470
+ attr_accessor :zip
3471
+ sig {
3472
+ params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), kakao_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KakaoPay), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), kr_card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::KrCard), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), naver_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NaverPay), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), payco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Payco), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), pix: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), samsung_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SamsungPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
3473
+ }
3474
+ def initialize(
3475
+ acss_debit: nil,
3476
+ active: nil,
3477
+ affirm: nil,
3478
+ afterpay_clearpay: nil,
3479
+ alipay: nil,
3480
+ alma: nil,
3481
+ amazon_pay: nil,
3482
+ apple_pay: nil,
3483
+ apple_pay_later: nil,
3484
+ au_becs_debit: nil,
3485
+ bacs_debit: nil,
3486
+ bancontact: nil,
3487
+ billie: nil,
3488
+ blik: nil,
3489
+ boleto: nil,
3490
+ card: nil,
3491
+ cartes_bancaires: nil,
3492
+ cashapp: nil,
3493
+ customer_balance: nil,
3494
+ eps: nil,
3495
+ expand: nil,
3496
+ fpx: nil,
3497
+ giropay: nil,
3498
+ google_pay: nil,
3499
+ grabpay: nil,
3500
+ ideal: nil,
3501
+ jcb: nil,
3502
+ kakao_pay: nil,
3503
+ klarna: nil,
3504
+ konbini: nil,
3505
+ kr_card: nil,
3506
+ link: nil,
3507
+ mobilepay: nil,
3508
+ multibanco: nil,
3509
+ name: nil,
3510
+ naver_pay: nil,
3511
+ nz_bank_account: nil,
3512
+ oxxo: nil,
3513
+ p24: nil,
3514
+ pay_by_bank: nil,
3515
+ payco: nil,
3516
+ paynow: nil,
3517
+ paypal: nil,
3518
+ pix: nil,
3519
+ promptpay: nil,
3520
+ revolut_pay: nil,
3521
+ samsung_pay: nil,
3522
+ satispay: nil,
3523
+ sepa_debit: nil,
3524
+ sofort: nil,
3525
+ swish: nil,
3526
+ twint: nil,
3527
+ us_bank_account: nil,
3528
+ wechat_pay: nil,
3529
+ zip: nil
3530
+ ); end
3531
+ end
3532
+ # Creates a payment method configuration
3533
+ sig {
3534
+ params(params: T.any(::Stripe::PaymentMethodConfiguration::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
3535
+ }
3536
+ def self.create(params = {}, opts = {}); end
3537
+
3538
+ # List payment method configurations
3539
+ sig {
3540
+ params(params: T.any(::Stripe::PaymentMethodConfiguration::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
3541
+ }
3542
+ def self.list(params = {}, opts = {}); end
3543
+
3544
+ # Update payment method configuration
3545
+ sig {
3546
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfiguration::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
3547
+ }
3548
+ def self.update(configuration, params = {}, opts = {}); end
3549
+ end
3550
+ end