stripe 15.1.0.pre.beta.2 → 15.1.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 (597) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +696 -1554
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +6 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +0 -28
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -54
  9. data/lib/stripe/event_types.rb +1 -75
  10. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  11. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  12. data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
  13. data/lib/stripe/object_types.rb +0 -53
  14. data/lib/stripe/resources/account.rb +3 -655
  15. data/lib/stripe/resources/account_session.rb +1 -299
  16. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  17. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  18. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  19. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  20. data/lib/stripe/resources/card.rb +0 -2
  21. data/lib/stripe/resources/cash_balance.rb +0 -2
  22. data/lib/stripe/resources/charge.rb +0 -1470
  23. data/lib/stripe/resources/checkout/session.rb +3 -327
  24. data/lib/stripe/resources/confirmation_token.rb +3 -177
  25. data/lib/stripe/resources/coupon.rb +1 -30
  26. data/lib/stripe/resources/credit_note.rb +0 -10
  27. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  28. data/lib/stripe/resources/customer.rb +2 -4
  29. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  30. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_session.rb +1 -6
  32. data/lib/stripe/resources/discount.rb +0 -2
  33. data/lib/stripe/resources/event.rb +0 -31
  34. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  35. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  36. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  37. data/lib/stripe/resources/invoice.rb +17 -1123
  38. data/lib/stripe/resources/invoice_item.rb +2 -78
  39. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  40. data/lib/stripe/resources/invoice_payment.rb +53 -2
  41. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  42. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  43. data/lib/stripe/resources/line_item.rb +0 -37
  44. data/lib/stripe/resources/mandate.rb +0 -24
  45. data/lib/stripe/resources/payment_intent.rb +331 -5153
  46. data/lib/stripe/resources/payment_method.rb +1 -196
  47. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  48. data/lib/stripe/resources/payout.rb +0 -6
  49. data/lib/stripe/resources/price.rb +0 -30
  50. data/lib/stripe/resources/product.rb +0 -59
  51. data/lib/stripe/resources/promotion_code.rb +0 -10
  52. data/lib/stripe/resources/quote.rb +6 -2040
  53. data/lib/stripe/resources/refund.rb +0 -9
  54. data/lib/stripe/resources/setup_attempt.rb +0 -21
  55. data/lib/stripe/resources/setup_intent.rb +9 -596
  56. data/lib/stripe/resources/source.rb +0 -29
  57. data/lib/stripe/resources/subscription.rb +11 -294
  58. data/lib/stripe/resources/subscription_item.rb +3 -84
  59. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  60. data/lib/stripe/resources/tax/calculation.rb +2 -2
  61. data/lib/stripe/resources/tax/registration.rb +60 -0
  62. data/lib/stripe/resources/tax/transaction.rb +1 -1
  63. data/lib/stripe/resources/tax_id.rb +4 -14
  64. data/lib/stripe/resources/terminal/reader.rb +0 -406
  65. data/lib/stripe/resources/transfer.rb +0 -6
  66. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  67. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  68. data/lib/stripe/resources/treasury/outbound_payment.rb +1 -4
  69. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  70. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  71. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  72. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  73. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  74. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  75. data/lib/stripe/resources/v2/event.rb +2 -2
  76. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  77. data/lib/stripe/resources.rb +1 -90
  78. data/lib/stripe/services/account_external_account_service.rb +1 -1
  79. data/lib/stripe/services/account_service.rb +3 -564
  80. data/lib/stripe/services/account_session_service.rb +1 -269
  81. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  82. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  83. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  84. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  85. data/lib/stripe/services/charge_service.rb +0 -1350
  86. data/lib/stripe/services/checkout/session_service.rb +2 -243
  87. data/lib/stripe/services/coupon_service.rb +1 -17
  88. data/lib/stripe/services/credit_note_service.rb +0 -4
  89. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  90. data/lib/stripe/services/customer_service.rb +1 -1
  91. data/lib/stripe/services/customer_session_service.rb +1 -4
  92. data/lib/stripe/services/customer_tax_id_service.rb +1 -1
  93. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  94. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  95. data/lib/stripe/services/financial_connections_service.rb +1 -2
  96. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  97. data/lib/stripe/services/invoice_item_service.rb +2 -74
  98. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  99. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  100. data/lib/stripe/services/invoice_service.rb +16 -1052
  101. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  102. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  103. data/lib/stripe/services/issuing_service.rb +1 -5
  104. data/lib/stripe/services/payment_intent_service.rb +283 -4656
  105. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  106. data/lib/stripe/services/payment_method_service.rb +1 -126
  107. data/lib/stripe/services/payout_service.rb +0 -4
  108. data/lib/stripe/services/price_service.rb +0 -19
  109. data/lib/stripe/services/product_service.rb +0 -38
  110. data/lib/stripe/services/promotion_code_service.rb +0 -8
  111. data/lib/stripe/services/quote_service.rb +7 -1726
  112. data/lib/stripe/services/setup_intent_service.rb +9 -556
  113. data/lib/stripe/services/subscription_item_service.rb +3 -75
  114. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  115. data/lib/stripe/services/subscription_service.rb +10 -254
  116. data/lib/stripe/services/tax/calculation_service.rb +1 -1
  117. data/lib/stripe/services/tax/registration_service.rb +39 -0
  118. data/lib/stripe/services/tax_id_service.rb +3 -9
  119. data/lib/stripe/services/tax_service.rb +1 -3
  120. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  121. data/lib/stripe/services/terminal_service.rb +1 -2
  122. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -106
  123. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  124. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  125. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  126. data/lib/stripe/services/transfer_service.rb +0 -4
  127. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  128. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  129. data/lib/stripe/services/treasury/outbound_payment_service.rb +1 -4
  130. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  131. data/lib/stripe/services/v1_services.rb +2 -12
  132. data/lib/stripe/services/v2/core_service.rb +1 -4
  133. data/lib/stripe/services/v2_services.rb +2 -4
  134. data/lib/stripe/services.rb +1 -54
  135. data/lib/stripe/stripe_configuration.rb +1 -3
  136. data/lib/stripe/stripe_object.rb +1 -1
  137. data/lib/stripe/util.rb +1 -7
  138. data/lib/stripe/version.rb +1 -1
  139. data/lib/stripe.rb +0 -53
  140. data/rbi/stripe/resources/account.rbi +4903 -0
  141. data/rbi/stripe/resources/account_link.rbi +74 -0
  142. data/rbi/stripe/resources/account_session.rbi +894 -0
  143. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  144. data/rbi/stripe/resources/application.rbi +20 -0
  145. data/rbi/stripe/resources/application_fee.rbi +118 -0
  146. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  147. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  148. data/rbi/stripe/resources/balance.rbi +180 -0
  149. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  150. data/rbi/stripe/resources/bank_account.rbi +127 -0
  151. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  152. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  153. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  154. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  155. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  156. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  157. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  158. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  159. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  160. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  161. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  162. data/rbi/stripe/resources/capability.rbi +125 -0
  163. data/rbi/stripe/resources/card.rbi +125 -0
  164. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  165. data/rbi/stripe/resources/charge.rbi +2057 -0
  166. data/rbi/stripe/resources/checkout/session.rbi +3988 -0
  167. data/rbi/stripe/resources/climate/order.rbi +245 -0
  168. data/rbi/stripe/resources/climate/product.rbi +75 -0
  169. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  170. data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
  171. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  172. data/rbi/stripe/resources/country_spec.rbi +85 -0
  173. data/rbi/stripe/resources/coupon.rbi +252 -0
  174. data/rbi/stripe/resources/credit_note.rbi +747 -0
  175. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  176. data/rbi/stripe/resources/customer.rbi +1009 -0
  177. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  178. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  179. data/rbi/stripe/resources/customer_session.rbi +200 -0
  180. data/rbi/stripe/resources/discount.rbi +53 -0
  181. data/rbi/stripe/resources/dispute.rbi +761 -0
  182. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  183. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  184. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  185. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  186. data/rbi/stripe/resources/event.rbi +149 -0
  187. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  188. data/rbi/stripe/resources/file.rbi +143 -0
  189. data/rbi/stripe/resources/file_link.rbi +141 -0
  190. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  191. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  192. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  193. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  194. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  195. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  196. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  197. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  198. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  199. data/rbi/stripe/resources/invoice.rbi +3736 -0
  200. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  201. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  202. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  203. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  204. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  205. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  206. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  207. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  208. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  209. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  210. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  211. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  212. data/rbi/stripe/resources/line_item.rbi +72 -0
  213. data/rbi/stripe/resources/login_link.rbi +19 -0
  214. data/rbi/stripe/resources/mandate.rbi +187 -0
  215. data/rbi/stripe/resources/payment_intent.rbi +9795 -0
  216. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  217. data/rbi/stripe/resources/payment_method.rbi +1831 -0
  218. data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
  219. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  220. data/rbi/stripe/resources/payout.rbi +300 -0
  221. data/rbi/stripe/resources/person.rbi +401 -0
  222. data/rbi/stripe/resources/plan.rbi +373 -0
  223. data/rbi/stripe/resources/price.rbi +694 -0
  224. data/rbi/stripe/resources/product.rbi +557 -0
  225. data/rbi/stripe/resources/product_feature.rbi +26 -0
  226. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  227. data/rbi/stripe/resources/quote.rbi +1126 -0
  228. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  229. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  230. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  231. data/rbi/stripe/resources/refund.rbi +519 -0
  232. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  233. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  234. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  235. data/rbi/stripe/resources/reversal.rbi +51 -0
  236. data/rbi/stripe/resources/review.rbi +154 -0
  237. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  238. data/rbi/stripe/resources/setup_intent.rbi +3869 -0
  239. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  240. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  241. data/rbi/stripe/resources/source.rbi +1496 -0
  242. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  243. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  244. data/rbi/stripe/resources/subscription.rbi +1964 -0
  245. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  246. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  247. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  248. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  249. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  250. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  251. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  252. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  253. data/rbi/stripe/resources/tax_code.rbi +44 -0
  254. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  255. data/rbi/stripe/resources/tax_id.rbi +167 -0
  256. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  257. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  258. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  259. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  260. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  261. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  262. data/rbi/stripe/resources/token.rbi +1283 -0
  263. data/rbi/stripe/resources/topup.rbi +222 -0
  264. data/rbi/stripe/resources/transfer.rbi +199 -0
  265. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  266. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  267. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  268. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  269. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  270. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  271. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  272. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  273. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  274. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  275. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  276. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  277. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  278. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  279. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  280. data/rbi/stripe/resources/v2/event.rbi +48 -0
  281. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  282. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  283. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  284. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
  285. data/rbi/stripe/services/account_link_service.rbi +58 -0
  286. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  287. data/rbi/stripe/services/account_person_service.rbi +1013 -0
  288. data/rbi/stripe/services/account_service.rbi +4189 -0
  289. data/rbi/stripe/services/account_session_service.rbi +572 -0
  290. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  291. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  292. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  293. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  294. data/rbi/stripe/services/apps_service.rbi +9 -0
  295. data/rbi/stripe/services/balance_service.rbi +21 -0
  296. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  297. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  298. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  299. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  300. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  301. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  302. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  303. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  304. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  305. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  306. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  307. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  308. data/rbi/stripe/services/billing_service.rbi +15 -0
  309. data/rbi/stripe/services/charge_service.rbi +448 -0
  310. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  311. data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
  312. data/rbi/stripe/services/checkout_service.rbi +9 -0
  313. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  314. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
  315. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  316. data/rbi/stripe/services/climate_service.rbi +11 -0
  317. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  318. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  319. data/rbi/stripe/services/coupon_service.rbi +196 -0
  320. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  321. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  322. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  323. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  324. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  325. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  326. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  327. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  328. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  329. data/rbi/stripe/services/customer_service.rbi +651 -0
  330. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  331. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  332. data/rbi/stripe/services/dispute_service.rbi +424 -0
  333. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  334. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  335. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  336. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  337. data/rbi/stripe/services/event_service.rbi +83 -0
  338. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  339. data/rbi/stripe/services/file_link_service.rbi +124 -0
  340. data/rbi/stripe/services/file_service.rbi +116 -0
  341. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  342. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  343. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  344. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  345. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  346. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  347. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  348. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  349. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  350. data/rbi/stripe/services/identity_service.rbi +10 -0
  351. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  352. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  353. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  354. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  355. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  356. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  357. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  358. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  359. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  360. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  361. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  362. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  363. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  364. data/rbi/stripe/services/issuing_service.rbi +16 -0
  365. data/rbi/stripe/services/mandate_service.rbi +20 -0
  366. data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
  367. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  368. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  369. data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
  370. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  371. data/rbi/stripe/services/payment_method_service.rbi +846 -0
  372. data/rbi/stripe/services/payout_service.rbi +205 -0
  373. data/rbi/stripe/services/plan_service.rbi +284 -0
  374. data/rbi/stripe/services/price_service.rbi +546 -0
  375. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  376. data/rbi/stripe/services/product_service.rbi +479 -0
  377. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  378. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  379. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  380. data/rbi/stripe/services/quote_service.rbi +686 -0
  381. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  382. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  383. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  384. data/rbi/stripe/services/radar_service.rbi +11 -0
  385. data/rbi/stripe/services/refund_service.rbi +185 -0
  386. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  387. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  388. data/rbi/stripe/services/reporting_service.rbi +10 -0
  389. data/rbi/stripe/services/review_service.rbi +84 -0
  390. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  391. data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
  392. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  393. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  394. data/rbi/stripe/services/sigma_service.rbi +9 -0
  395. data/rbi/stripe/services/source_service.rbi +663 -0
  396. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  397. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  398. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  399. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  400. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  401. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  402. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  403. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  404. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  405. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  406. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  407. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  408. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  409. data/rbi/stripe/services/tax_service.rbi +12 -0
  410. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  411. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  412. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  413. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  414. data/rbi/stripe/services/terminal_service.rbi +12 -0
  415. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
  416. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  417. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  418. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  419. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  420. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  421. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  424. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  425. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  426. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  428. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  429. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  430. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  431. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  432. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  433. data/rbi/stripe/services/token_service.rbi +1257 -0
  434. data/rbi/stripe/services/topup_service.rbi +176 -0
  435. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  436. data/rbi/stripe/services/transfer_service.rbi +152 -0
  437. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  438. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  439. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  440. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  441. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  442. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  443. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  444. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  445. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  446. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  447. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  448. data/rbi/stripe/services/treasury_service.rbi +18 -0
  449. data/rbi/stripe/services/v1_services.rbi +77 -0
  450. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  451. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  452. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  453. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  454. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  455. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  456. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  457. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  458. data/rbi/stripe/services/v2_services.rbi +10 -0
  459. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  460. data/stripe.gemspec +1 -4
  461. metadata +326 -149
  462. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  463. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  465. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  466. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  468. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  469. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  470. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  471. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  472. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  473. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  493. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  501. data/lib/stripe/resources/account_notice.rb +0 -123
  502. data/lib/stripe/resources/balance_settings.rb +0 -105
  503. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  504. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  505. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  506. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  507. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  508. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  509. data/lib/stripe/resources/fx_quote.rb +0 -184
  510. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  511. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  512. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  513. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  514. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  515. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  516. data/lib/stripe/resources/margin.rb +0 -115
  517. data/lib/stripe/resources/order.rb +0 -2859
  518. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  519. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  520. data/lib/stripe/resources/payment_record.rb +0 -1607
  521. data/lib/stripe/resources/privacy/redaction_job.rb +0 -254
  522. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
  523. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  524. data/lib/stripe/resources/quote_line.rb +0 -274
  525. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  526. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  527. data/lib/stripe/resources/tax/association.rb +0 -89
  528. data/lib/stripe/resources/tax/form.rb +0 -211
  529. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  530. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  531. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  532. data/lib/stripe/resources/v2/core/person.rb +0 -272
  533. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  534. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  535. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  536. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  537. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  538. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  539. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  540. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  541. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  542. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  543. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  544. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  545. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  546. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  547. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  548. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  549. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  550. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  551. data/lib/stripe/services/account_notice_service.rb +0 -101
  552. data/lib/stripe/services/balance_settings_service.rb +0 -96
  553. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  554. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  555. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  556. data/lib/stripe/services/capital_service.rb +0 -15
  557. data/lib/stripe/services/fx_quote_service.rb +0 -123
  558. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  559. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  560. data/lib/stripe/services/gift_cards_service.rb +0 -14
  561. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  562. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  563. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  564. data/lib/stripe/services/margin_service.rb +0 -119
  565. data/lib/stripe/services/order_service.rb +0 -2268
  566. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  567. data/lib/stripe/services/payment_record_service.rb +0 -542
  568. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  569. data/lib/stripe/services/privacy_service.rb +0 -13
  570. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  571. data/lib/stripe/services/tax/association_service.rb +0 -31
  572. data/lib/stripe/services/tax/form_service.rb +0 -100
  573. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  574. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  575. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  576. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  577. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  578. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  579. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  580. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  581. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  582. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  583. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  584. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  585. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  586. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  587. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  588. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  589. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  590. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  591. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  592. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  593. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  594. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  595. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  596. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  597. data/rbi/stripe.rbi +0 -191592
@@ -0,0 +1,3220 @@
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 Klarna < 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 Konbini < 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 Link < 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 Mobilepay < 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 Multibanco < 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 NzBankAccount < 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 Oxxo < 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 P24 < 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 PayByBank < 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 Paynow < 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 Paypal < 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 Pix < 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 Promptpay < 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 RevolutPay < 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 Satispay < 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 SepaDebit < 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 Sofort < 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 Swish < 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 Twint < 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 UsBankAccount < 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 WechatPay < 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 Zip < 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
+ # Attribute for field acss_debit
896
+ sig { returns(AcssDebit) }
897
+ attr_reader :acss_debit
898
+ # Whether the configuration can be used for new payments.
899
+ sig { returns(T::Boolean) }
900
+ attr_reader :active
901
+ # Attribute for field affirm
902
+ sig { returns(Affirm) }
903
+ attr_reader :affirm
904
+ # Attribute for field afterpay_clearpay
905
+ sig { returns(AfterpayClearpay) }
906
+ attr_reader :afterpay_clearpay
907
+ # Attribute for field alipay
908
+ sig { returns(Alipay) }
909
+ attr_reader :alipay
910
+ # Attribute for field alma
911
+ sig { returns(Alma) }
912
+ attr_reader :alma
913
+ # Attribute for field amazon_pay
914
+ sig { returns(AmazonPay) }
915
+ attr_reader :amazon_pay
916
+ # Attribute for field apple_pay
917
+ sig { returns(ApplePay) }
918
+ attr_reader :apple_pay
919
+ # For child configs, the Connect application associated with the configuration.
920
+ sig { returns(T.nilable(String)) }
921
+ attr_reader :application
922
+ # Attribute for field au_becs_debit
923
+ sig { returns(AuBecsDebit) }
924
+ attr_reader :au_becs_debit
925
+ # Attribute for field bacs_debit
926
+ sig { returns(BacsDebit) }
927
+ attr_reader :bacs_debit
928
+ # Attribute for field bancontact
929
+ sig { returns(Bancontact) }
930
+ attr_reader :bancontact
931
+ # Attribute for field billie
932
+ sig { returns(Billie) }
933
+ attr_reader :billie
934
+ # Attribute for field blik
935
+ sig { returns(Blik) }
936
+ attr_reader :blik
937
+ # Attribute for field boleto
938
+ sig { returns(Boleto) }
939
+ attr_reader :boleto
940
+ # Attribute for field card
941
+ sig { returns(Card) }
942
+ attr_reader :card
943
+ # Attribute for field cartes_bancaires
944
+ sig { returns(CartesBancaires) }
945
+ attr_reader :cartes_bancaires
946
+ # Attribute for field cashapp
947
+ sig { returns(Cashapp) }
948
+ attr_reader :cashapp
949
+ # Attribute for field customer_balance
950
+ sig { returns(CustomerBalance) }
951
+ attr_reader :customer_balance
952
+ # Attribute for field eps
953
+ sig { returns(Eps) }
954
+ attr_reader :eps
955
+ # Attribute for field fpx
956
+ sig { returns(Fpx) }
957
+ attr_reader :fpx
958
+ # Attribute for field giropay
959
+ sig { returns(Giropay) }
960
+ attr_reader :giropay
961
+ # Attribute for field google_pay
962
+ sig { returns(GooglePay) }
963
+ attr_reader :google_pay
964
+ # Attribute for field grabpay
965
+ sig { returns(Grabpay) }
966
+ attr_reader :grabpay
967
+ # Unique identifier for the object.
968
+ sig { returns(String) }
969
+ attr_reader :id
970
+ # Attribute for field ideal
971
+ sig { returns(Ideal) }
972
+ attr_reader :ideal
973
+ # The default configuration is used whenever a payment method configuration is not specified.
974
+ sig { returns(T::Boolean) }
975
+ attr_reader :is_default
976
+ # Attribute for field jcb
977
+ sig { returns(Jcb) }
978
+ attr_reader :jcb
979
+ # Attribute for field klarna
980
+ sig { returns(Klarna) }
981
+ attr_reader :klarna
982
+ # Attribute for field konbini
983
+ sig { returns(Konbini) }
984
+ attr_reader :konbini
985
+ # Attribute for field link
986
+ sig { returns(Link) }
987
+ attr_reader :link
988
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
989
+ sig { returns(T::Boolean) }
990
+ attr_reader :livemode
991
+ # Attribute for field mobilepay
992
+ sig { returns(Mobilepay) }
993
+ attr_reader :mobilepay
994
+ # Attribute for field multibanco
995
+ sig { returns(Multibanco) }
996
+ attr_reader :multibanco
997
+ # The configuration's name.
998
+ sig { returns(String) }
999
+ attr_reader :name
1000
+ # Attribute for field nz_bank_account
1001
+ sig { returns(NzBankAccount) }
1002
+ attr_reader :nz_bank_account
1003
+ # String representing the object's type. Objects of the same type share the same value.
1004
+ sig { returns(String) }
1005
+ attr_reader :object
1006
+ # Attribute for field oxxo
1007
+ sig { returns(Oxxo) }
1008
+ attr_reader :oxxo
1009
+ # Attribute for field p24
1010
+ sig { returns(P24) }
1011
+ attr_reader :p24
1012
+ # For child configs, the configuration's parent configuration.
1013
+ sig { returns(T.nilable(String)) }
1014
+ attr_reader :parent
1015
+ # Attribute for field pay_by_bank
1016
+ sig { returns(PayByBank) }
1017
+ attr_reader :pay_by_bank
1018
+ # Attribute for field paynow
1019
+ sig { returns(Paynow) }
1020
+ attr_reader :paynow
1021
+ # Attribute for field paypal
1022
+ sig { returns(Paypal) }
1023
+ attr_reader :paypal
1024
+ # Attribute for field pix
1025
+ sig { returns(Pix) }
1026
+ attr_reader :pix
1027
+ # Attribute for field promptpay
1028
+ sig { returns(Promptpay) }
1029
+ attr_reader :promptpay
1030
+ # Attribute for field revolut_pay
1031
+ sig { returns(RevolutPay) }
1032
+ attr_reader :revolut_pay
1033
+ # Attribute for field satispay
1034
+ sig { returns(Satispay) }
1035
+ attr_reader :satispay
1036
+ # Attribute for field sepa_debit
1037
+ sig { returns(SepaDebit) }
1038
+ attr_reader :sepa_debit
1039
+ # Attribute for field sofort
1040
+ sig { returns(Sofort) }
1041
+ attr_reader :sofort
1042
+ # Attribute for field swish
1043
+ sig { returns(Swish) }
1044
+ attr_reader :swish
1045
+ # Attribute for field twint
1046
+ sig { returns(Twint) }
1047
+ attr_reader :twint
1048
+ # Attribute for field us_bank_account
1049
+ sig { returns(UsBankAccount) }
1050
+ attr_reader :us_bank_account
1051
+ # Attribute for field wechat_pay
1052
+ sig { returns(WechatPay) }
1053
+ attr_reader :wechat_pay
1054
+ # Attribute for field zip
1055
+ sig { returns(Zip) }
1056
+ attr_reader :zip
1057
+ class ListParams < Stripe::RequestParams
1058
+ # The Connect application to filter by.
1059
+ sig { returns(T.nilable(T.nilable(String))) }
1060
+ attr_accessor :application
1061
+ # 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.
1062
+ sig { returns(T.nilable(String)) }
1063
+ attr_accessor :ending_before
1064
+ # Specifies which fields in the response should be expanded.
1065
+ sig { returns(T.nilable(T::Array[String])) }
1066
+ attr_accessor :expand
1067
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
1068
+ sig { returns(T.nilable(Integer)) }
1069
+ attr_accessor :limit
1070
+ # 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.
1071
+ sig { returns(T.nilable(String)) }
1072
+ attr_accessor :starting_after
1073
+ sig {
1074
+ 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
1075
+ }
1076
+ def initialize(
1077
+ application: nil,
1078
+ ending_before: nil,
1079
+ expand: nil,
1080
+ limit: nil,
1081
+ starting_after: nil
1082
+ ); end
1083
+ end
1084
+ class CreateParams < Stripe::RequestParams
1085
+ class AcssDebit < Stripe::RequestParams
1086
+ class DisplayPreference < Stripe::RequestParams
1087
+ # The account's preference for whether or not to display this payment method.
1088
+ sig { returns(T.nilable(String)) }
1089
+ attr_accessor :preference
1090
+ sig { params(preference: T.nilable(String)).void }
1091
+ def initialize(preference: nil); end
1092
+ end
1093
+ # Whether or not the payment method should be displayed.
1094
+ sig {
1095
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference))
1096
+ }
1097
+ attr_accessor :display_preference
1098
+ sig {
1099
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference)).void
1100
+ }
1101
+ def initialize(display_preference: nil); end
1102
+ end
1103
+ class Affirm < Stripe::RequestParams
1104
+ class DisplayPreference < Stripe::RequestParams
1105
+ # The account's preference for whether or not to display this payment method.
1106
+ sig { returns(T.nilable(String)) }
1107
+ attr_accessor :preference
1108
+ sig { params(preference: T.nilable(String)).void }
1109
+ def initialize(preference: nil); end
1110
+ end
1111
+ # Whether or not the payment method should be displayed.
1112
+ sig {
1113
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference))
1114
+ }
1115
+ attr_accessor :display_preference
1116
+ sig {
1117
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference)).void
1118
+ }
1119
+ def initialize(display_preference: nil); end
1120
+ end
1121
+ class AfterpayClearpay < Stripe::RequestParams
1122
+ class DisplayPreference < Stripe::RequestParams
1123
+ # The account's preference for whether or not to display this payment method.
1124
+ sig { returns(T.nilable(String)) }
1125
+ attr_accessor :preference
1126
+ sig { params(preference: T.nilable(String)).void }
1127
+ def initialize(preference: nil); end
1128
+ end
1129
+ # Whether or not the payment method should be displayed.
1130
+ sig {
1131
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference))
1132
+ }
1133
+ attr_accessor :display_preference
1134
+ sig {
1135
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference)).void
1136
+ }
1137
+ def initialize(display_preference: nil); end
1138
+ end
1139
+ class Alipay < Stripe::RequestParams
1140
+ class DisplayPreference < Stripe::RequestParams
1141
+ # The account's preference for whether or not to display this payment method.
1142
+ sig { returns(T.nilable(String)) }
1143
+ attr_accessor :preference
1144
+ sig { params(preference: T.nilable(String)).void }
1145
+ def initialize(preference: nil); end
1146
+ end
1147
+ # Whether or not the payment method should be displayed.
1148
+ sig {
1149
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference))
1150
+ }
1151
+ attr_accessor :display_preference
1152
+ sig {
1153
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference)).void
1154
+ }
1155
+ def initialize(display_preference: nil); end
1156
+ end
1157
+ class Alma < Stripe::RequestParams
1158
+ class DisplayPreference < Stripe::RequestParams
1159
+ # The account's preference for whether or not to display this payment method.
1160
+ sig { returns(T.nilable(String)) }
1161
+ attr_accessor :preference
1162
+ sig { params(preference: T.nilable(String)).void }
1163
+ def initialize(preference: nil); end
1164
+ end
1165
+ # Whether or not the payment method should be displayed.
1166
+ sig {
1167
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference))
1168
+ }
1169
+ attr_accessor :display_preference
1170
+ sig {
1171
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference)).void
1172
+ }
1173
+ def initialize(display_preference: nil); end
1174
+ end
1175
+ class AmazonPay < Stripe::RequestParams
1176
+ class DisplayPreference < Stripe::RequestParams
1177
+ # The account's preference for whether or not to display this payment method.
1178
+ sig { returns(T.nilable(String)) }
1179
+ attr_accessor :preference
1180
+ sig { params(preference: T.nilable(String)).void }
1181
+ def initialize(preference: nil); end
1182
+ end
1183
+ # Whether or not the payment method should be displayed.
1184
+ sig {
1185
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference))
1186
+ }
1187
+ attr_accessor :display_preference
1188
+ sig {
1189
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference)).void
1190
+ }
1191
+ def initialize(display_preference: nil); end
1192
+ end
1193
+ class ApplePay < Stripe::RequestParams
1194
+ class DisplayPreference < Stripe::RequestParams
1195
+ # The account's preference for whether or not to display this payment method.
1196
+ sig { returns(T.nilable(String)) }
1197
+ attr_accessor :preference
1198
+ sig { params(preference: T.nilable(String)).void }
1199
+ def initialize(preference: nil); end
1200
+ end
1201
+ # Whether or not the payment method should be displayed.
1202
+ sig {
1203
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference))
1204
+ }
1205
+ attr_accessor :display_preference
1206
+ sig {
1207
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference)).void
1208
+ }
1209
+ def initialize(display_preference: nil); end
1210
+ end
1211
+ class ApplePayLater < Stripe::RequestParams
1212
+ class DisplayPreference < Stripe::RequestParams
1213
+ # The account's preference for whether or not to display this payment method.
1214
+ sig { returns(T.nilable(String)) }
1215
+ attr_accessor :preference
1216
+ sig { params(preference: T.nilable(String)).void }
1217
+ def initialize(preference: nil); end
1218
+ end
1219
+ # Whether or not the payment method should be displayed.
1220
+ sig {
1221
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference))
1222
+ }
1223
+ attr_accessor :display_preference
1224
+ sig {
1225
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference)).void
1226
+ }
1227
+ def initialize(display_preference: nil); end
1228
+ end
1229
+ class AuBecsDebit < Stripe::RequestParams
1230
+ class DisplayPreference < Stripe::RequestParams
1231
+ # The account's preference for whether or not to display this payment method.
1232
+ sig { returns(T.nilable(String)) }
1233
+ attr_accessor :preference
1234
+ sig { params(preference: T.nilable(String)).void }
1235
+ def initialize(preference: nil); end
1236
+ end
1237
+ # Whether or not the payment method should be displayed.
1238
+ sig {
1239
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference))
1240
+ }
1241
+ attr_accessor :display_preference
1242
+ sig {
1243
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference)).void
1244
+ }
1245
+ def initialize(display_preference: nil); end
1246
+ end
1247
+ class BacsDebit < Stripe::RequestParams
1248
+ class DisplayPreference < Stripe::RequestParams
1249
+ # The account's preference for whether or not to display this payment method.
1250
+ sig { returns(T.nilable(String)) }
1251
+ attr_accessor :preference
1252
+ sig { params(preference: T.nilable(String)).void }
1253
+ def initialize(preference: nil); end
1254
+ end
1255
+ # Whether or not the payment method should be displayed.
1256
+ sig {
1257
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference))
1258
+ }
1259
+ attr_accessor :display_preference
1260
+ sig {
1261
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference)).void
1262
+ }
1263
+ def initialize(display_preference: nil); end
1264
+ end
1265
+ class Bancontact < Stripe::RequestParams
1266
+ class DisplayPreference < Stripe::RequestParams
1267
+ # The account's preference for whether or not to display this payment method.
1268
+ sig { returns(T.nilable(String)) }
1269
+ attr_accessor :preference
1270
+ sig { params(preference: T.nilable(String)).void }
1271
+ def initialize(preference: nil); end
1272
+ end
1273
+ # Whether or not the payment method should be displayed.
1274
+ sig {
1275
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference))
1276
+ }
1277
+ attr_accessor :display_preference
1278
+ sig {
1279
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference)).void
1280
+ }
1281
+ def initialize(display_preference: nil); end
1282
+ end
1283
+ class Billie < Stripe::RequestParams
1284
+ class DisplayPreference < Stripe::RequestParams
1285
+ # The account's preference for whether or not to display this payment method.
1286
+ sig { returns(T.nilable(String)) }
1287
+ attr_accessor :preference
1288
+ sig { params(preference: T.nilable(String)).void }
1289
+ def initialize(preference: nil); end
1290
+ end
1291
+ # Whether or not the payment method should be displayed.
1292
+ sig {
1293
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference))
1294
+ }
1295
+ attr_accessor :display_preference
1296
+ sig {
1297
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference)).void
1298
+ }
1299
+ def initialize(display_preference: nil); end
1300
+ end
1301
+ class Blik < Stripe::RequestParams
1302
+ class DisplayPreference < Stripe::RequestParams
1303
+ # The account's preference for whether or not to display this payment method.
1304
+ sig { returns(T.nilable(String)) }
1305
+ attr_accessor :preference
1306
+ sig { params(preference: T.nilable(String)).void }
1307
+ def initialize(preference: nil); end
1308
+ end
1309
+ # Whether or not the payment method should be displayed.
1310
+ sig {
1311
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference))
1312
+ }
1313
+ attr_accessor :display_preference
1314
+ sig {
1315
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference)).void
1316
+ }
1317
+ def initialize(display_preference: nil); end
1318
+ end
1319
+ class Boleto < Stripe::RequestParams
1320
+ class DisplayPreference < Stripe::RequestParams
1321
+ # The account's preference for whether or not to display this payment method.
1322
+ sig { returns(T.nilable(String)) }
1323
+ attr_accessor :preference
1324
+ sig { params(preference: T.nilable(String)).void }
1325
+ def initialize(preference: nil); end
1326
+ end
1327
+ # Whether or not the payment method should be displayed.
1328
+ sig {
1329
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference))
1330
+ }
1331
+ attr_accessor :display_preference
1332
+ sig {
1333
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference)).void
1334
+ }
1335
+ def initialize(display_preference: nil); end
1336
+ end
1337
+ class Card < Stripe::RequestParams
1338
+ class DisplayPreference < Stripe::RequestParams
1339
+ # The account's preference for whether or not to display this payment method.
1340
+ sig { returns(T.nilable(String)) }
1341
+ attr_accessor :preference
1342
+ sig { params(preference: T.nilable(String)).void }
1343
+ def initialize(preference: nil); end
1344
+ end
1345
+ # Whether or not the payment method should be displayed.
1346
+ sig {
1347
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference))
1348
+ }
1349
+ attr_accessor :display_preference
1350
+ sig {
1351
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference)).void
1352
+ }
1353
+ def initialize(display_preference: nil); end
1354
+ end
1355
+ class CartesBancaires < Stripe::RequestParams
1356
+ class DisplayPreference < Stripe::RequestParams
1357
+ # The account's preference for whether or not to display this payment method.
1358
+ sig { returns(T.nilable(String)) }
1359
+ attr_accessor :preference
1360
+ sig { params(preference: T.nilable(String)).void }
1361
+ def initialize(preference: nil); end
1362
+ end
1363
+ # Whether or not the payment method should be displayed.
1364
+ sig {
1365
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference))
1366
+ }
1367
+ attr_accessor :display_preference
1368
+ sig {
1369
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference)).void
1370
+ }
1371
+ def initialize(display_preference: nil); end
1372
+ end
1373
+ class Cashapp < Stripe::RequestParams
1374
+ class DisplayPreference < Stripe::RequestParams
1375
+ # The account's preference for whether or not to display this payment method.
1376
+ sig { returns(T.nilable(String)) }
1377
+ attr_accessor :preference
1378
+ sig { params(preference: T.nilable(String)).void }
1379
+ def initialize(preference: nil); end
1380
+ end
1381
+ # Whether or not the payment method should be displayed.
1382
+ sig {
1383
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference))
1384
+ }
1385
+ attr_accessor :display_preference
1386
+ sig {
1387
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference)).void
1388
+ }
1389
+ def initialize(display_preference: nil); end
1390
+ end
1391
+ class CustomerBalance < Stripe::RequestParams
1392
+ class DisplayPreference < Stripe::RequestParams
1393
+ # The account's preference for whether or not to display this payment method.
1394
+ sig { returns(T.nilable(String)) }
1395
+ attr_accessor :preference
1396
+ sig { params(preference: T.nilable(String)).void }
1397
+ def initialize(preference: nil); end
1398
+ end
1399
+ # Whether or not the payment method should be displayed.
1400
+ sig {
1401
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference))
1402
+ }
1403
+ attr_accessor :display_preference
1404
+ sig {
1405
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference)).void
1406
+ }
1407
+ def initialize(display_preference: nil); end
1408
+ end
1409
+ class Eps < Stripe::RequestParams
1410
+ class DisplayPreference < Stripe::RequestParams
1411
+ # The account's preference for whether or not to display this payment method.
1412
+ sig { returns(T.nilable(String)) }
1413
+ attr_accessor :preference
1414
+ sig { params(preference: T.nilable(String)).void }
1415
+ def initialize(preference: nil); end
1416
+ end
1417
+ # Whether or not the payment method should be displayed.
1418
+ sig {
1419
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference))
1420
+ }
1421
+ attr_accessor :display_preference
1422
+ sig {
1423
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference)).void
1424
+ }
1425
+ def initialize(display_preference: nil); end
1426
+ end
1427
+ class Fpx < Stripe::RequestParams
1428
+ class DisplayPreference < Stripe::RequestParams
1429
+ # The account's preference for whether or not to display this payment method.
1430
+ sig { returns(T.nilable(String)) }
1431
+ attr_accessor :preference
1432
+ sig { params(preference: T.nilable(String)).void }
1433
+ def initialize(preference: nil); end
1434
+ end
1435
+ # Whether or not the payment method should be displayed.
1436
+ sig {
1437
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference))
1438
+ }
1439
+ attr_accessor :display_preference
1440
+ sig {
1441
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference)).void
1442
+ }
1443
+ def initialize(display_preference: nil); end
1444
+ end
1445
+ class Giropay < Stripe::RequestParams
1446
+ class DisplayPreference < Stripe::RequestParams
1447
+ # The account's preference for whether or not to display this payment method.
1448
+ sig { returns(T.nilable(String)) }
1449
+ attr_accessor :preference
1450
+ sig { params(preference: T.nilable(String)).void }
1451
+ def initialize(preference: nil); end
1452
+ end
1453
+ # Whether or not the payment method should be displayed.
1454
+ sig {
1455
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference))
1456
+ }
1457
+ attr_accessor :display_preference
1458
+ sig {
1459
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference)).void
1460
+ }
1461
+ def initialize(display_preference: nil); end
1462
+ end
1463
+ class GooglePay < Stripe::RequestParams
1464
+ class DisplayPreference < Stripe::RequestParams
1465
+ # The account's preference for whether or not to display this payment method.
1466
+ sig { returns(T.nilable(String)) }
1467
+ attr_accessor :preference
1468
+ sig { params(preference: T.nilable(String)).void }
1469
+ def initialize(preference: nil); end
1470
+ end
1471
+ # Whether or not the payment method should be displayed.
1472
+ sig {
1473
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference))
1474
+ }
1475
+ attr_accessor :display_preference
1476
+ sig {
1477
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference)).void
1478
+ }
1479
+ def initialize(display_preference: nil); end
1480
+ end
1481
+ class Grabpay < Stripe::RequestParams
1482
+ class DisplayPreference < Stripe::RequestParams
1483
+ # The account's preference for whether or not to display this payment method.
1484
+ sig { returns(T.nilable(String)) }
1485
+ attr_accessor :preference
1486
+ sig { params(preference: T.nilable(String)).void }
1487
+ def initialize(preference: nil); end
1488
+ end
1489
+ # Whether or not the payment method should be displayed.
1490
+ sig {
1491
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference))
1492
+ }
1493
+ attr_accessor :display_preference
1494
+ sig {
1495
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference)).void
1496
+ }
1497
+ def initialize(display_preference: nil); end
1498
+ end
1499
+ class Ideal < Stripe::RequestParams
1500
+ class DisplayPreference < Stripe::RequestParams
1501
+ # The account's preference for whether or not to display this payment method.
1502
+ sig { returns(T.nilable(String)) }
1503
+ attr_accessor :preference
1504
+ sig { params(preference: T.nilable(String)).void }
1505
+ def initialize(preference: nil); end
1506
+ end
1507
+ # Whether or not the payment method should be displayed.
1508
+ sig {
1509
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference))
1510
+ }
1511
+ attr_accessor :display_preference
1512
+ sig {
1513
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference)).void
1514
+ }
1515
+ def initialize(display_preference: nil); end
1516
+ end
1517
+ class Jcb < Stripe::RequestParams
1518
+ class DisplayPreference < Stripe::RequestParams
1519
+ # The account's preference for whether or not to display this payment method.
1520
+ sig { returns(T.nilable(String)) }
1521
+ attr_accessor :preference
1522
+ sig { params(preference: T.nilable(String)).void }
1523
+ def initialize(preference: nil); end
1524
+ end
1525
+ # Whether or not the payment method should be displayed.
1526
+ sig {
1527
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference))
1528
+ }
1529
+ attr_accessor :display_preference
1530
+ sig {
1531
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference)).void
1532
+ }
1533
+ def initialize(display_preference: nil); end
1534
+ end
1535
+ class Klarna < Stripe::RequestParams
1536
+ class DisplayPreference < Stripe::RequestParams
1537
+ # The account's preference for whether or not to display this payment method.
1538
+ sig { returns(T.nilable(String)) }
1539
+ attr_accessor :preference
1540
+ sig { params(preference: T.nilable(String)).void }
1541
+ def initialize(preference: nil); end
1542
+ end
1543
+ # Whether or not the payment method should be displayed.
1544
+ sig {
1545
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference))
1546
+ }
1547
+ attr_accessor :display_preference
1548
+ sig {
1549
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference)).void
1550
+ }
1551
+ def initialize(display_preference: nil); end
1552
+ end
1553
+ class Konbini < Stripe::RequestParams
1554
+ class DisplayPreference < Stripe::RequestParams
1555
+ # The account's preference for whether or not to display this payment method.
1556
+ sig { returns(T.nilable(String)) }
1557
+ attr_accessor :preference
1558
+ sig { params(preference: T.nilable(String)).void }
1559
+ def initialize(preference: nil); end
1560
+ end
1561
+ # Whether or not the payment method should be displayed.
1562
+ sig {
1563
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference))
1564
+ }
1565
+ attr_accessor :display_preference
1566
+ sig {
1567
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference)).void
1568
+ }
1569
+ def initialize(display_preference: nil); end
1570
+ end
1571
+ class Link < Stripe::RequestParams
1572
+ class DisplayPreference < Stripe::RequestParams
1573
+ # The account's preference for whether or not to display this payment method.
1574
+ sig { returns(T.nilable(String)) }
1575
+ attr_accessor :preference
1576
+ sig { params(preference: T.nilable(String)).void }
1577
+ def initialize(preference: nil); end
1578
+ end
1579
+ # Whether or not the payment method should be displayed.
1580
+ sig {
1581
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference))
1582
+ }
1583
+ attr_accessor :display_preference
1584
+ sig {
1585
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference)).void
1586
+ }
1587
+ def initialize(display_preference: nil); end
1588
+ end
1589
+ class Mobilepay < Stripe::RequestParams
1590
+ class DisplayPreference < Stripe::RequestParams
1591
+ # The account's preference for whether or not to display this payment method.
1592
+ sig { returns(T.nilable(String)) }
1593
+ attr_accessor :preference
1594
+ sig { params(preference: T.nilable(String)).void }
1595
+ def initialize(preference: nil); end
1596
+ end
1597
+ # Whether or not the payment method should be displayed.
1598
+ sig {
1599
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference))
1600
+ }
1601
+ attr_accessor :display_preference
1602
+ sig {
1603
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference)).void
1604
+ }
1605
+ def initialize(display_preference: nil); end
1606
+ end
1607
+ class Multibanco < Stripe::RequestParams
1608
+ class DisplayPreference < Stripe::RequestParams
1609
+ # The account's preference for whether or not to display this payment method.
1610
+ sig { returns(T.nilable(String)) }
1611
+ attr_accessor :preference
1612
+ sig { params(preference: T.nilable(String)).void }
1613
+ def initialize(preference: nil); end
1614
+ end
1615
+ # Whether or not the payment method should be displayed.
1616
+ sig {
1617
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference))
1618
+ }
1619
+ attr_accessor :display_preference
1620
+ sig {
1621
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference)).void
1622
+ }
1623
+ def initialize(display_preference: nil); end
1624
+ end
1625
+ class NzBankAccount < Stripe::RequestParams
1626
+ class DisplayPreference < Stripe::RequestParams
1627
+ # The account's preference for whether or not to display this payment method.
1628
+ sig { returns(T.nilable(String)) }
1629
+ attr_accessor :preference
1630
+ sig { params(preference: T.nilable(String)).void }
1631
+ def initialize(preference: nil); end
1632
+ end
1633
+ # Whether or not the payment method should be displayed.
1634
+ sig {
1635
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference))
1636
+ }
1637
+ attr_accessor :display_preference
1638
+ sig {
1639
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference)).void
1640
+ }
1641
+ def initialize(display_preference: nil); end
1642
+ end
1643
+ class Oxxo < Stripe::RequestParams
1644
+ class DisplayPreference < Stripe::RequestParams
1645
+ # The account's preference for whether or not to display this payment method.
1646
+ sig { returns(T.nilable(String)) }
1647
+ attr_accessor :preference
1648
+ sig { params(preference: T.nilable(String)).void }
1649
+ def initialize(preference: nil); end
1650
+ end
1651
+ # Whether or not the payment method should be displayed.
1652
+ sig {
1653
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference))
1654
+ }
1655
+ attr_accessor :display_preference
1656
+ sig {
1657
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference)).void
1658
+ }
1659
+ def initialize(display_preference: nil); end
1660
+ end
1661
+ class P24 < Stripe::RequestParams
1662
+ class DisplayPreference < Stripe::RequestParams
1663
+ # The account's preference for whether or not to display this payment method.
1664
+ sig { returns(T.nilable(String)) }
1665
+ attr_accessor :preference
1666
+ sig { params(preference: T.nilable(String)).void }
1667
+ def initialize(preference: nil); end
1668
+ end
1669
+ # Whether or not the payment method should be displayed.
1670
+ sig {
1671
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference))
1672
+ }
1673
+ attr_accessor :display_preference
1674
+ sig {
1675
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference)).void
1676
+ }
1677
+ def initialize(display_preference: nil); end
1678
+ end
1679
+ class PayByBank < Stripe::RequestParams
1680
+ class DisplayPreference < Stripe::RequestParams
1681
+ # The account's preference for whether or not to display this payment method.
1682
+ sig { returns(T.nilable(String)) }
1683
+ attr_accessor :preference
1684
+ sig { params(preference: T.nilable(String)).void }
1685
+ def initialize(preference: nil); end
1686
+ end
1687
+ # Whether or not the payment method should be displayed.
1688
+ sig {
1689
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference))
1690
+ }
1691
+ attr_accessor :display_preference
1692
+ sig {
1693
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference)).void
1694
+ }
1695
+ def initialize(display_preference: nil); end
1696
+ end
1697
+ class Paynow < Stripe::RequestParams
1698
+ class DisplayPreference < Stripe::RequestParams
1699
+ # The account's preference for whether or not to display this payment method.
1700
+ sig { returns(T.nilable(String)) }
1701
+ attr_accessor :preference
1702
+ sig { params(preference: T.nilable(String)).void }
1703
+ def initialize(preference: nil); end
1704
+ end
1705
+ # Whether or not the payment method should be displayed.
1706
+ sig {
1707
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference))
1708
+ }
1709
+ attr_accessor :display_preference
1710
+ sig {
1711
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference)).void
1712
+ }
1713
+ def initialize(display_preference: nil); end
1714
+ end
1715
+ class Paypal < Stripe::RequestParams
1716
+ class DisplayPreference < Stripe::RequestParams
1717
+ # The account's preference for whether or not to display this payment method.
1718
+ sig { returns(T.nilable(String)) }
1719
+ attr_accessor :preference
1720
+ sig { params(preference: T.nilable(String)).void }
1721
+ def initialize(preference: nil); end
1722
+ end
1723
+ # Whether or not the payment method should be displayed.
1724
+ sig {
1725
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference))
1726
+ }
1727
+ attr_accessor :display_preference
1728
+ sig {
1729
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference)).void
1730
+ }
1731
+ def initialize(display_preference: nil); end
1732
+ end
1733
+ class Pix < Stripe::RequestParams
1734
+ class DisplayPreference < Stripe::RequestParams
1735
+ # The account's preference for whether or not to display this payment method.
1736
+ sig { returns(T.nilable(String)) }
1737
+ attr_accessor :preference
1738
+ sig { params(preference: T.nilable(String)).void }
1739
+ def initialize(preference: nil); end
1740
+ end
1741
+ # Whether or not the payment method should be displayed.
1742
+ sig {
1743
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference))
1744
+ }
1745
+ attr_accessor :display_preference
1746
+ sig {
1747
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix::DisplayPreference)).void
1748
+ }
1749
+ def initialize(display_preference: nil); end
1750
+ end
1751
+ class Promptpay < Stripe::RequestParams
1752
+ class DisplayPreference < Stripe::RequestParams
1753
+ # The account's preference for whether or not to display this payment method.
1754
+ sig { returns(T.nilable(String)) }
1755
+ attr_accessor :preference
1756
+ sig { params(preference: T.nilable(String)).void }
1757
+ def initialize(preference: nil); end
1758
+ end
1759
+ # Whether or not the payment method should be displayed.
1760
+ sig {
1761
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference))
1762
+ }
1763
+ attr_accessor :display_preference
1764
+ sig {
1765
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference)).void
1766
+ }
1767
+ def initialize(display_preference: nil); end
1768
+ end
1769
+ class RevolutPay < Stripe::RequestParams
1770
+ class DisplayPreference < Stripe::RequestParams
1771
+ # The account's preference for whether or not to display this payment method.
1772
+ sig { returns(T.nilable(String)) }
1773
+ attr_accessor :preference
1774
+ sig { params(preference: T.nilable(String)).void }
1775
+ def initialize(preference: nil); end
1776
+ end
1777
+ # Whether or not the payment method should be displayed.
1778
+ sig {
1779
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference))
1780
+ }
1781
+ attr_accessor :display_preference
1782
+ sig {
1783
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference)).void
1784
+ }
1785
+ def initialize(display_preference: nil); end
1786
+ end
1787
+ class Satispay < Stripe::RequestParams
1788
+ class DisplayPreference < Stripe::RequestParams
1789
+ # The account's preference for whether or not to display this payment method.
1790
+ sig { returns(T.nilable(String)) }
1791
+ attr_accessor :preference
1792
+ sig { params(preference: T.nilable(String)).void }
1793
+ def initialize(preference: nil); end
1794
+ end
1795
+ # Whether or not the payment method should be displayed.
1796
+ sig {
1797
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference))
1798
+ }
1799
+ attr_accessor :display_preference
1800
+ sig {
1801
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference)).void
1802
+ }
1803
+ def initialize(display_preference: nil); end
1804
+ end
1805
+ class SepaDebit < Stripe::RequestParams
1806
+ class DisplayPreference < Stripe::RequestParams
1807
+ # The account's preference for whether or not to display this payment method.
1808
+ sig { returns(T.nilable(String)) }
1809
+ attr_accessor :preference
1810
+ sig { params(preference: T.nilable(String)).void }
1811
+ def initialize(preference: nil); end
1812
+ end
1813
+ # Whether or not the payment method should be displayed.
1814
+ sig {
1815
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference))
1816
+ }
1817
+ attr_accessor :display_preference
1818
+ sig {
1819
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference)).void
1820
+ }
1821
+ def initialize(display_preference: nil); end
1822
+ end
1823
+ class Sofort < Stripe::RequestParams
1824
+ class DisplayPreference < Stripe::RequestParams
1825
+ # The account's preference for whether or not to display this payment method.
1826
+ sig { returns(T.nilable(String)) }
1827
+ attr_accessor :preference
1828
+ sig { params(preference: T.nilable(String)).void }
1829
+ def initialize(preference: nil); end
1830
+ end
1831
+ # Whether or not the payment method should be displayed.
1832
+ sig {
1833
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference))
1834
+ }
1835
+ attr_accessor :display_preference
1836
+ sig {
1837
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference)).void
1838
+ }
1839
+ def initialize(display_preference: nil); end
1840
+ end
1841
+ class Swish < Stripe::RequestParams
1842
+ class DisplayPreference < Stripe::RequestParams
1843
+ # The account's preference for whether or not to display this payment method.
1844
+ sig { returns(T.nilable(String)) }
1845
+ attr_accessor :preference
1846
+ sig { params(preference: T.nilable(String)).void }
1847
+ def initialize(preference: nil); end
1848
+ end
1849
+ # Whether or not the payment method should be displayed.
1850
+ sig {
1851
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference))
1852
+ }
1853
+ attr_accessor :display_preference
1854
+ sig {
1855
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference)).void
1856
+ }
1857
+ def initialize(display_preference: nil); end
1858
+ end
1859
+ class Twint < Stripe::RequestParams
1860
+ class DisplayPreference < Stripe::RequestParams
1861
+ # The account's preference for whether or not to display this payment method.
1862
+ sig { returns(T.nilable(String)) }
1863
+ attr_accessor :preference
1864
+ sig { params(preference: T.nilable(String)).void }
1865
+ def initialize(preference: nil); end
1866
+ end
1867
+ # Whether or not the payment method should be displayed.
1868
+ sig {
1869
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference))
1870
+ }
1871
+ attr_accessor :display_preference
1872
+ sig {
1873
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference)).void
1874
+ }
1875
+ def initialize(display_preference: nil); end
1876
+ end
1877
+ class UsBankAccount < Stripe::RequestParams
1878
+ class DisplayPreference < Stripe::RequestParams
1879
+ # The account's preference for whether or not to display this payment method.
1880
+ sig { returns(T.nilable(String)) }
1881
+ attr_accessor :preference
1882
+ sig { params(preference: T.nilable(String)).void }
1883
+ def initialize(preference: nil); end
1884
+ end
1885
+ # Whether or not the payment method should be displayed.
1886
+ sig {
1887
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference))
1888
+ }
1889
+ attr_accessor :display_preference
1890
+ sig {
1891
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference)).void
1892
+ }
1893
+ def initialize(display_preference: nil); end
1894
+ end
1895
+ class WechatPay < Stripe::RequestParams
1896
+ class DisplayPreference < Stripe::RequestParams
1897
+ # The account's preference for whether or not to display this payment method.
1898
+ sig { returns(T.nilable(String)) }
1899
+ attr_accessor :preference
1900
+ sig { params(preference: T.nilable(String)).void }
1901
+ def initialize(preference: nil); end
1902
+ end
1903
+ # Whether or not the payment method should be displayed.
1904
+ sig {
1905
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference))
1906
+ }
1907
+ attr_accessor :display_preference
1908
+ sig {
1909
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference)).void
1910
+ }
1911
+ def initialize(display_preference: nil); end
1912
+ end
1913
+ class Zip < Stripe::RequestParams
1914
+ class DisplayPreference < Stripe::RequestParams
1915
+ # The account's preference for whether or not to display this payment method.
1916
+ sig { returns(T.nilable(String)) }
1917
+ attr_accessor :preference
1918
+ sig { params(preference: T.nilable(String)).void }
1919
+ def initialize(preference: nil); end
1920
+ end
1921
+ # Whether or not the payment method should be displayed.
1922
+ sig {
1923
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference))
1924
+ }
1925
+ attr_accessor :display_preference
1926
+ sig {
1927
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference)).void
1928
+ }
1929
+ def initialize(display_preference: nil); end
1930
+ end
1931
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
1932
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit)) }
1933
+ attr_accessor :acss_debit
1934
+ # [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.
1935
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm)) }
1936
+ attr_accessor :affirm
1937
+ # 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.
1938
+ sig {
1939
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay))
1940
+ }
1941
+ attr_accessor :afterpay_clearpay
1942
+ # 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.
1943
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay)) }
1944
+ attr_accessor :alipay
1945
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
1946
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma)) }
1947
+ attr_accessor :alma
1948
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
1949
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
1950
+ attr_accessor :amazon_pay
1951
+ # Stripe users can accept [Apple Pay](/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](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1952
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
1953
+ attr_accessor :apple_pay
1954
+ # 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.
1955
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater)) }
1956
+ attr_accessor :apple_pay_later
1957
+ # 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.
1958
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit)) }
1959
+ attr_accessor :au_becs_debit
1960
+ # 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.
1961
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit)) }
1962
+ attr_accessor :bacs_debit
1963
+ # 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.
1964
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact)) }
1965
+ attr_accessor :bancontact
1966
+ # 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.
1967
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie)) }
1968
+ attr_accessor :billie
1969
+ # 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.
1970
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik)) }
1971
+ attr_accessor :blik
1972
+ # 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.
1973
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto)) }
1974
+ attr_accessor :boleto
1975
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
1976
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card)) }
1977
+ attr_accessor :card
1978
+ # 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.
1979
+ sig {
1980
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires))
1981
+ }
1982
+ attr_accessor :cartes_bancaires
1983
+ # 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.
1984
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp)) }
1985
+ attr_accessor :cashapp
1986
+ # 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.
1987
+ sig {
1988
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance))
1989
+ }
1990
+ attr_accessor :customer_balance
1991
+ # 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.
1992
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps)) }
1993
+ attr_accessor :eps
1994
+ # Specifies which fields in the response should be expanded.
1995
+ sig { returns(T.nilable(T::Array[String])) }
1996
+ attr_accessor :expand
1997
+ # 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.
1998
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx)) }
1999
+ attr_accessor :fpx
2000
+ # 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.
2001
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay)) }
2002
+ attr_accessor :giropay
2003
+ # 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.
2004
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay)) }
2005
+ attr_accessor :google_pay
2006
+ # 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.
2007
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay)) }
2008
+ attr_accessor :grabpay
2009
+ # 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.
2010
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal)) }
2011
+ attr_accessor :ideal
2012
+ # 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.
2013
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb)) }
2014
+ attr_accessor :jcb
2015
+ # 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.
2016
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna)) }
2017
+ attr_accessor :klarna
2018
+ # 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.
2019
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini)) }
2020
+ attr_accessor :konbini
2021
+ # [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.
2022
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link)) }
2023
+ attr_accessor :link
2024
+ # 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.
2025
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay)) }
2026
+ attr_accessor :mobilepay
2027
+ # 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.
2028
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco)) }
2029
+ attr_accessor :multibanco
2030
+ # Configuration name.
2031
+ sig { returns(T.nilable(String)) }
2032
+ attr_accessor :name
2033
+ # 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.
2034
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount)) }
2035
+ attr_accessor :nz_bank_account
2036
+ # 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.
2037
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo)) }
2038
+ attr_accessor :oxxo
2039
+ # 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.
2040
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24)) }
2041
+ attr_accessor :p24
2042
+ # Configuration's parent configuration. Specify to create a child configuration.
2043
+ sig { returns(T.nilable(String)) }
2044
+ attr_accessor :parent
2045
+ # 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.
2046
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank)) }
2047
+ attr_accessor :pay_by_bank
2048
+ # 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.
2049
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow)) }
2050
+ attr_accessor :paynow
2051
+ # 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.
2052
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal)) }
2053
+ attr_accessor :paypal
2054
+ # 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.
2055
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Pix)) }
2056
+ attr_accessor :pix
2057
+ # 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.
2058
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay)) }
2059
+ attr_accessor :promptpay
2060
+ # 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.
2061
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay)) }
2062
+ attr_accessor :revolut_pay
2063
+ # 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.
2064
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay)) }
2065
+ attr_accessor :satispay
2066
+ # 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.
2067
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit)) }
2068
+ attr_accessor :sepa_debit
2069
+ # 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.
2070
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort)) }
2071
+ attr_accessor :sofort
2072
+ # 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.
2073
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish)) }
2074
+ attr_accessor :swish
2075
+ # 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.
2076
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint)) }
2077
+ attr_accessor :twint
2078
+ # 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.
2079
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount)) }
2080
+ attr_accessor :us_bank_account
2081
+ # 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.
2082
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay)) }
2083
+ attr_accessor :wechat_pay
2084
+ # 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.
2085
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)) }
2086
+ attr_accessor :zip
2087
+ sig {
2088
+ 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), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), 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), 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), 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), 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
2089
+ }
2090
+ def initialize(
2091
+ acss_debit: nil,
2092
+ affirm: nil,
2093
+ afterpay_clearpay: nil,
2094
+ alipay: nil,
2095
+ alma: nil,
2096
+ amazon_pay: nil,
2097
+ apple_pay: nil,
2098
+ apple_pay_later: nil,
2099
+ au_becs_debit: nil,
2100
+ bacs_debit: nil,
2101
+ bancontact: nil,
2102
+ billie: nil,
2103
+ blik: nil,
2104
+ boleto: nil,
2105
+ card: nil,
2106
+ cartes_bancaires: nil,
2107
+ cashapp: nil,
2108
+ customer_balance: nil,
2109
+ eps: nil,
2110
+ expand: nil,
2111
+ fpx: nil,
2112
+ giropay: nil,
2113
+ google_pay: nil,
2114
+ grabpay: nil,
2115
+ ideal: nil,
2116
+ jcb: nil,
2117
+ klarna: nil,
2118
+ konbini: nil,
2119
+ link: nil,
2120
+ mobilepay: nil,
2121
+ multibanco: nil,
2122
+ name: nil,
2123
+ nz_bank_account: nil,
2124
+ oxxo: nil,
2125
+ p24: nil,
2126
+ parent: nil,
2127
+ pay_by_bank: nil,
2128
+ paynow: nil,
2129
+ paypal: nil,
2130
+ pix: nil,
2131
+ promptpay: nil,
2132
+ revolut_pay: nil,
2133
+ satispay: nil,
2134
+ sepa_debit: nil,
2135
+ sofort: nil,
2136
+ swish: nil,
2137
+ twint: nil,
2138
+ us_bank_account: nil,
2139
+ wechat_pay: nil,
2140
+ zip: nil
2141
+ ); end
2142
+ end
2143
+ class UpdateParams < Stripe::RequestParams
2144
+ class AcssDebit < Stripe::RequestParams
2145
+ class DisplayPreference < Stripe::RequestParams
2146
+ # The account's preference for whether or not to display this payment method.
2147
+ sig { returns(T.nilable(String)) }
2148
+ attr_accessor :preference
2149
+ sig { params(preference: T.nilable(String)).void }
2150
+ def initialize(preference: nil); end
2151
+ end
2152
+ # Whether or not the payment method should be displayed.
2153
+ sig {
2154
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference))
2155
+ }
2156
+ attr_accessor :display_preference
2157
+ sig {
2158
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference)).void
2159
+ }
2160
+ def initialize(display_preference: nil); end
2161
+ end
2162
+ class Affirm < Stripe::RequestParams
2163
+ class DisplayPreference < Stripe::RequestParams
2164
+ # The account's preference for whether or not to display this payment method.
2165
+ sig { returns(T.nilable(String)) }
2166
+ attr_accessor :preference
2167
+ sig { params(preference: T.nilable(String)).void }
2168
+ def initialize(preference: nil); end
2169
+ end
2170
+ # Whether or not the payment method should be displayed.
2171
+ sig {
2172
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference))
2173
+ }
2174
+ attr_accessor :display_preference
2175
+ sig {
2176
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference)).void
2177
+ }
2178
+ def initialize(display_preference: nil); end
2179
+ end
2180
+ class AfterpayClearpay < Stripe::RequestParams
2181
+ class DisplayPreference < Stripe::RequestParams
2182
+ # The account's preference for whether or not to display this payment method.
2183
+ sig { returns(T.nilable(String)) }
2184
+ attr_accessor :preference
2185
+ sig { params(preference: T.nilable(String)).void }
2186
+ def initialize(preference: nil); end
2187
+ end
2188
+ # Whether or not the payment method should be displayed.
2189
+ sig {
2190
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference))
2191
+ }
2192
+ attr_accessor :display_preference
2193
+ sig {
2194
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference)).void
2195
+ }
2196
+ def initialize(display_preference: nil); end
2197
+ end
2198
+ class Alipay < Stripe::RequestParams
2199
+ class DisplayPreference < Stripe::RequestParams
2200
+ # The account's preference for whether or not to display this payment method.
2201
+ sig { returns(T.nilable(String)) }
2202
+ attr_accessor :preference
2203
+ sig { params(preference: T.nilable(String)).void }
2204
+ def initialize(preference: nil); end
2205
+ end
2206
+ # Whether or not the payment method should be displayed.
2207
+ sig {
2208
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference))
2209
+ }
2210
+ attr_accessor :display_preference
2211
+ sig {
2212
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference)).void
2213
+ }
2214
+ def initialize(display_preference: nil); end
2215
+ end
2216
+ class Alma < Stripe::RequestParams
2217
+ class DisplayPreference < Stripe::RequestParams
2218
+ # The account's preference for whether or not to display this payment method.
2219
+ sig { returns(T.nilable(String)) }
2220
+ attr_accessor :preference
2221
+ sig { params(preference: T.nilable(String)).void }
2222
+ def initialize(preference: nil); end
2223
+ end
2224
+ # Whether or not the payment method should be displayed.
2225
+ sig {
2226
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference))
2227
+ }
2228
+ attr_accessor :display_preference
2229
+ sig {
2230
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference)).void
2231
+ }
2232
+ def initialize(display_preference: nil); end
2233
+ end
2234
+ class AmazonPay < Stripe::RequestParams
2235
+ class DisplayPreference < Stripe::RequestParams
2236
+ # The account's preference for whether or not to display this payment method.
2237
+ sig { returns(T.nilable(String)) }
2238
+ attr_accessor :preference
2239
+ sig { params(preference: T.nilable(String)).void }
2240
+ def initialize(preference: nil); end
2241
+ end
2242
+ # Whether or not the payment method should be displayed.
2243
+ sig {
2244
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference))
2245
+ }
2246
+ attr_accessor :display_preference
2247
+ sig {
2248
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference)).void
2249
+ }
2250
+ def initialize(display_preference: nil); end
2251
+ end
2252
+ class ApplePay < Stripe::RequestParams
2253
+ class DisplayPreference < Stripe::RequestParams
2254
+ # The account's preference for whether or not to display this payment method.
2255
+ sig { returns(T.nilable(String)) }
2256
+ attr_accessor :preference
2257
+ sig { params(preference: T.nilable(String)).void }
2258
+ def initialize(preference: nil); end
2259
+ end
2260
+ # Whether or not the payment method should be displayed.
2261
+ sig {
2262
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference))
2263
+ }
2264
+ attr_accessor :display_preference
2265
+ sig {
2266
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference)).void
2267
+ }
2268
+ def initialize(display_preference: nil); end
2269
+ end
2270
+ class ApplePayLater < Stripe::RequestParams
2271
+ class DisplayPreference < Stripe::RequestParams
2272
+ # The account's preference for whether or not to display this payment method.
2273
+ sig { returns(T.nilable(String)) }
2274
+ attr_accessor :preference
2275
+ sig { params(preference: T.nilable(String)).void }
2276
+ def initialize(preference: nil); end
2277
+ end
2278
+ # Whether or not the payment method should be displayed.
2279
+ sig {
2280
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference))
2281
+ }
2282
+ attr_accessor :display_preference
2283
+ sig {
2284
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference)).void
2285
+ }
2286
+ def initialize(display_preference: nil); end
2287
+ end
2288
+ class AuBecsDebit < Stripe::RequestParams
2289
+ class DisplayPreference < Stripe::RequestParams
2290
+ # The account's preference for whether or not to display this payment method.
2291
+ sig { returns(T.nilable(String)) }
2292
+ attr_accessor :preference
2293
+ sig { params(preference: T.nilable(String)).void }
2294
+ def initialize(preference: nil); end
2295
+ end
2296
+ # Whether or not the payment method should be displayed.
2297
+ sig {
2298
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference))
2299
+ }
2300
+ attr_accessor :display_preference
2301
+ sig {
2302
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference)).void
2303
+ }
2304
+ def initialize(display_preference: nil); end
2305
+ end
2306
+ class BacsDebit < Stripe::RequestParams
2307
+ class DisplayPreference < Stripe::RequestParams
2308
+ # The account's preference for whether or not to display this payment method.
2309
+ sig { returns(T.nilable(String)) }
2310
+ attr_accessor :preference
2311
+ sig { params(preference: T.nilable(String)).void }
2312
+ def initialize(preference: nil); end
2313
+ end
2314
+ # Whether or not the payment method should be displayed.
2315
+ sig {
2316
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference))
2317
+ }
2318
+ attr_accessor :display_preference
2319
+ sig {
2320
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference)).void
2321
+ }
2322
+ def initialize(display_preference: nil); end
2323
+ end
2324
+ class Bancontact < Stripe::RequestParams
2325
+ class DisplayPreference < Stripe::RequestParams
2326
+ # The account's preference for whether or not to display this payment method.
2327
+ sig { returns(T.nilable(String)) }
2328
+ attr_accessor :preference
2329
+ sig { params(preference: T.nilable(String)).void }
2330
+ def initialize(preference: nil); end
2331
+ end
2332
+ # Whether or not the payment method should be displayed.
2333
+ sig {
2334
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference))
2335
+ }
2336
+ attr_accessor :display_preference
2337
+ sig {
2338
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference)).void
2339
+ }
2340
+ def initialize(display_preference: nil); end
2341
+ end
2342
+ class Billie < Stripe::RequestParams
2343
+ class DisplayPreference < Stripe::RequestParams
2344
+ # The account's preference for whether or not to display this payment method.
2345
+ sig { returns(T.nilable(String)) }
2346
+ attr_accessor :preference
2347
+ sig { params(preference: T.nilable(String)).void }
2348
+ def initialize(preference: nil); end
2349
+ end
2350
+ # Whether or not the payment method should be displayed.
2351
+ sig {
2352
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference))
2353
+ }
2354
+ attr_accessor :display_preference
2355
+ sig {
2356
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference)).void
2357
+ }
2358
+ def initialize(display_preference: nil); end
2359
+ end
2360
+ class Blik < Stripe::RequestParams
2361
+ class DisplayPreference < Stripe::RequestParams
2362
+ # The account's preference for whether or not to display this payment method.
2363
+ sig { returns(T.nilable(String)) }
2364
+ attr_accessor :preference
2365
+ sig { params(preference: T.nilable(String)).void }
2366
+ def initialize(preference: nil); end
2367
+ end
2368
+ # Whether or not the payment method should be displayed.
2369
+ sig {
2370
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference))
2371
+ }
2372
+ attr_accessor :display_preference
2373
+ sig {
2374
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference)).void
2375
+ }
2376
+ def initialize(display_preference: nil); end
2377
+ end
2378
+ class Boleto < Stripe::RequestParams
2379
+ class DisplayPreference < Stripe::RequestParams
2380
+ # The account's preference for whether or not to display this payment method.
2381
+ sig { returns(T.nilable(String)) }
2382
+ attr_accessor :preference
2383
+ sig { params(preference: T.nilable(String)).void }
2384
+ def initialize(preference: nil); end
2385
+ end
2386
+ # Whether or not the payment method should be displayed.
2387
+ sig {
2388
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference))
2389
+ }
2390
+ attr_accessor :display_preference
2391
+ sig {
2392
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference)).void
2393
+ }
2394
+ def initialize(display_preference: nil); end
2395
+ end
2396
+ class Card < Stripe::RequestParams
2397
+ class DisplayPreference < Stripe::RequestParams
2398
+ # The account's preference for whether or not to display this payment method.
2399
+ sig { returns(T.nilable(String)) }
2400
+ attr_accessor :preference
2401
+ sig { params(preference: T.nilable(String)).void }
2402
+ def initialize(preference: nil); end
2403
+ end
2404
+ # Whether or not the payment method should be displayed.
2405
+ sig {
2406
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference))
2407
+ }
2408
+ attr_accessor :display_preference
2409
+ sig {
2410
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference)).void
2411
+ }
2412
+ def initialize(display_preference: nil); end
2413
+ end
2414
+ class CartesBancaires < Stripe::RequestParams
2415
+ class DisplayPreference < Stripe::RequestParams
2416
+ # The account's preference for whether or not to display this payment method.
2417
+ sig { returns(T.nilable(String)) }
2418
+ attr_accessor :preference
2419
+ sig { params(preference: T.nilable(String)).void }
2420
+ def initialize(preference: nil); end
2421
+ end
2422
+ # Whether or not the payment method should be displayed.
2423
+ sig {
2424
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference))
2425
+ }
2426
+ attr_accessor :display_preference
2427
+ sig {
2428
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference)).void
2429
+ }
2430
+ def initialize(display_preference: nil); end
2431
+ end
2432
+ class Cashapp < Stripe::RequestParams
2433
+ class DisplayPreference < Stripe::RequestParams
2434
+ # The account's preference for whether or not to display this payment method.
2435
+ sig { returns(T.nilable(String)) }
2436
+ attr_accessor :preference
2437
+ sig { params(preference: T.nilable(String)).void }
2438
+ def initialize(preference: nil); end
2439
+ end
2440
+ # Whether or not the payment method should be displayed.
2441
+ sig {
2442
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference))
2443
+ }
2444
+ attr_accessor :display_preference
2445
+ sig {
2446
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference)).void
2447
+ }
2448
+ def initialize(display_preference: nil); end
2449
+ end
2450
+ class CustomerBalance < Stripe::RequestParams
2451
+ class DisplayPreference < Stripe::RequestParams
2452
+ # The account's preference for whether or not to display this payment method.
2453
+ sig { returns(T.nilable(String)) }
2454
+ attr_accessor :preference
2455
+ sig { params(preference: T.nilable(String)).void }
2456
+ def initialize(preference: nil); end
2457
+ end
2458
+ # Whether or not the payment method should be displayed.
2459
+ sig {
2460
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference))
2461
+ }
2462
+ attr_accessor :display_preference
2463
+ sig {
2464
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference)).void
2465
+ }
2466
+ def initialize(display_preference: nil); end
2467
+ end
2468
+ class Eps < Stripe::RequestParams
2469
+ class DisplayPreference < Stripe::RequestParams
2470
+ # The account's preference for whether or not to display this payment method.
2471
+ sig { returns(T.nilable(String)) }
2472
+ attr_accessor :preference
2473
+ sig { params(preference: T.nilable(String)).void }
2474
+ def initialize(preference: nil); end
2475
+ end
2476
+ # Whether or not the payment method should be displayed.
2477
+ sig {
2478
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference))
2479
+ }
2480
+ attr_accessor :display_preference
2481
+ sig {
2482
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference)).void
2483
+ }
2484
+ def initialize(display_preference: nil); end
2485
+ end
2486
+ class Fpx < Stripe::RequestParams
2487
+ class DisplayPreference < Stripe::RequestParams
2488
+ # The account's preference for whether or not to display this payment method.
2489
+ sig { returns(T.nilable(String)) }
2490
+ attr_accessor :preference
2491
+ sig { params(preference: T.nilable(String)).void }
2492
+ def initialize(preference: nil); end
2493
+ end
2494
+ # Whether or not the payment method should be displayed.
2495
+ sig {
2496
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference))
2497
+ }
2498
+ attr_accessor :display_preference
2499
+ sig {
2500
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference)).void
2501
+ }
2502
+ def initialize(display_preference: nil); end
2503
+ end
2504
+ class Giropay < Stripe::RequestParams
2505
+ class DisplayPreference < Stripe::RequestParams
2506
+ # The account's preference for whether or not to display this payment method.
2507
+ sig { returns(T.nilable(String)) }
2508
+ attr_accessor :preference
2509
+ sig { params(preference: T.nilable(String)).void }
2510
+ def initialize(preference: nil); end
2511
+ end
2512
+ # Whether or not the payment method should be displayed.
2513
+ sig {
2514
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference))
2515
+ }
2516
+ attr_accessor :display_preference
2517
+ sig {
2518
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference)).void
2519
+ }
2520
+ def initialize(display_preference: nil); end
2521
+ end
2522
+ class GooglePay < Stripe::RequestParams
2523
+ class DisplayPreference < Stripe::RequestParams
2524
+ # The account's preference for whether or not to display this payment method.
2525
+ sig { returns(T.nilable(String)) }
2526
+ attr_accessor :preference
2527
+ sig { params(preference: T.nilable(String)).void }
2528
+ def initialize(preference: nil); end
2529
+ end
2530
+ # Whether or not the payment method should be displayed.
2531
+ sig {
2532
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference))
2533
+ }
2534
+ attr_accessor :display_preference
2535
+ sig {
2536
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference)).void
2537
+ }
2538
+ def initialize(display_preference: nil); end
2539
+ end
2540
+ class Grabpay < Stripe::RequestParams
2541
+ class DisplayPreference < Stripe::RequestParams
2542
+ # The account's preference for whether or not to display this payment method.
2543
+ sig { returns(T.nilable(String)) }
2544
+ attr_accessor :preference
2545
+ sig { params(preference: T.nilable(String)).void }
2546
+ def initialize(preference: nil); end
2547
+ end
2548
+ # Whether or not the payment method should be displayed.
2549
+ sig {
2550
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference))
2551
+ }
2552
+ attr_accessor :display_preference
2553
+ sig {
2554
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference)).void
2555
+ }
2556
+ def initialize(display_preference: nil); end
2557
+ end
2558
+ class Ideal < Stripe::RequestParams
2559
+ class DisplayPreference < Stripe::RequestParams
2560
+ # The account's preference for whether or not to display this payment method.
2561
+ sig { returns(T.nilable(String)) }
2562
+ attr_accessor :preference
2563
+ sig { params(preference: T.nilable(String)).void }
2564
+ def initialize(preference: nil); end
2565
+ end
2566
+ # Whether or not the payment method should be displayed.
2567
+ sig {
2568
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference))
2569
+ }
2570
+ attr_accessor :display_preference
2571
+ sig {
2572
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference)).void
2573
+ }
2574
+ def initialize(display_preference: nil); end
2575
+ end
2576
+ class Jcb < Stripe::RequestParams
2577
+ class DisplayPreference < Stripe::RequestParams
2578
+ # The account's preference for whether or not to display this payment method.
2579
+ sig { returns(T.nilable(String)) }
2580
+ attr_accessor :preference
2581
+ sig { params(preference: T.nilable(String)).void }
2582
+ def initialize(preference: nil); end
2583
+ end
2584
+ # Whether or not the payment method should be displayed.
2585
+ sig {
2586
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference))
2587
+ }
2588
+ attr_accessor :display_preference
2589
+ sig {
2590
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference)).void
2591
+ }
2592
+ def initialize(display_preference: nil); end
2593
+ end
2594
+ class Klarna < Stripe::RequestParams
2595
+ class DisplayPreference < Stripe::RequestParams
2596
+ # The account's preference for whether or not to display this payment method.
2597
+ sig { returns(T.nilable(String)) }
2598
+ attr_accessor :preference
2599
+ sig { params(preference: T.nilable(String)).void }
2600
+ def initialize(preference: nil); end
2601
+ end
2602
+ # Whether or not the payment method should be displayed.
2603
+ sig {
2604
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference))
2605
+ }
2606
+ attr_accessor :display_preference
2607
+ sig {
2608
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference)).void
2609
+ }
2610
+ def initialize(display_preference: nil); end
2611
+ end
2612
+ class Konbini < Stripe::RequestParams
2613
+ class DisplayPreference < Stripe::RequestParams
2614
+ # The account's preference for whether or not to display this payment method.
2615
+ sig { returns(T.nilable(String)) }
2616
+ attr_accessor :preference
2617
+ sig { params(preference: T.nilable(String)).void }
2618
+ def initialize(preference: nil); end
2619
+ end
2620
+ # Whether or not the payment method should be displayed.
2621
+ sig {
2622
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference))
2623
+ }
2624
+ attr_accessor :display_preference
2625
+ sig {
2626
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference)).void
2627
+ }
2628
+ def initialize(display_preference: nil); end
2629
+ end
2630
+ class Link < Stripe::RequestParams
2631
+ class DisplayPreference < Stripe::RequestParams
2632
+ # The account's preference for whether or not to display this payment method.
2633
+ sig { returns(T.nilable(String)) }
2634
+ attr_accessor :preference
2635
+ sig { params(preference: T.nilable(String)).void }
2636
+ def initialize(preference: nil); end
2637
+ end
2638
+ # Whether or not the payment method should be displayed.
2639
+ sig {
2640
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference))
2641
+ }
2642
+ attr_accessor :display_preference
2643
+ sig {
2644
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference)).void
2645
+ }
2646
+ def initialize(display_preference: nil); end
2647
+ end
2648
+ class Mobilepay < Stripe::RequestParams
2649
+ class DisplayPreference < Stripe::RequestParams
2650
+ # The account's preference for whether or not to display this payment method.
2651
+ sig { returns(T.nilable(String)) }
2652
+ attr_accessor :preference
2653
+ sig { params(preference: T.nilable(String)).void }
2654
+ def initialize(preference: nil); end
2655
+ end
2656
+ # Whether or not the payment method should be displayed.
2657
+ sig {
2658
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference))
2659
+ }
2660
+ attr_accessor :display_preference
2661
+ sig {
2662
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference)).void
2663
+ }
2664
+ def initialize(display_preference: nil); end
2665
+ end
2666
+ class Multibanco < Stripe::RequestParams
2667
+ class DisplayPreference < Stripe::RequestParams
2668
+ # The account's preference for whether or not to display this payment method.
2669
+ sig { returns(T.nilable(String)) }
2670
+ attr_accessor :preference
2671
+ sig { params(preference: T.nilable(String)).void }
2672
+ def initialize(preference: nil); end
2673
+ end
2674
+ # Whether or not the payment method should be displayed.
2675
+ sig {
2676
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference))
2677
+ }
2678
+ attr_accessor :display_preference
2679
+ sig {
2680
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference)).void
2681
+ }
2682
+ def initialize(display_preference: nil); end
2683
+ end
2684
+ class NzBankAccount < Stripe::RequestParams
2685
+ class DisplayPreference < Stripe::RequestParams
2686
+ # The account's preference for whether or not to display this payment method.
2687
+ sig { returns(T.nilable(String)) }
2688
+ attr_accessor :preference
2689
+ sig { params(preference: T.nilable(String)).void }
2690
+ def initialize(preference: nil); end
2691
+ end
2692
+ # Whether or not the payment method should be displayed.
2693
+ sig {
2694
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference))
2695
+ }
2696
+ attr_accessor :display_preference
2697
+ sig {
2698
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference)).void
2699
+ }
2700
+ def initialize(display_preference: nil); end
2701
+ end
2702
+ class Oxxo < Stripe::RequestParams
2703
+ class DisplayPreference < Stripe::RequestParams
2704
+ # The account's preference for whether or not to display this payment method.
2705
+ sig { returns(T.nilable(String)) }
2706
+ attr_accessor :preference
2707
+ sig { params(preference: T.nilable(String)).void }
2708
+ def initialize(preference: nil); end
2709
+ end
2710
+ # Whether or not the payment method should be displayed.
2711
+ sig {
2712
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference))
2713
+ }
2714
+ attr_accessor :display_preference
2715
+ sig {
2716
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference)).void
2717
+ }
2718
+ def initialize(display_preference: nil); end
2719
+ end
2720
+ class P24 < Stripe::RequestParams
2721
+ class DisplayPreference < Stripe::RequestParams
2722
+ # The account's preference for whether or not to display this payment method.
2723
+ sig { returns(T.nilable(String)) }
2724
+ attr_accessor :preference
2725
+ sig { params(preference: T.nilable(String)).void }
2726
+ def initialize(preference: nil); end
2727
+ end
2728
+ # Whether or not the payment method should be displayed.
2729
+ sig {
2730
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference))
2731
+ }
2732
+ attr_accessor :display_preference
2733
+ sig {
2734
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference)).void
2735
+ }
2736
+ def initialize(display_preference: nil); end
2737
+ end
2738
+ class PayByBank < Stripe::RequestParams
2739
+ class DisplayPreference < Stripe::RequestParams
2740
+ # The account's preference for whether or not to display this payment method.
2741
+ sig { returns(T.nilable(String)) }
2742
+ attr_accessor :preference
2743
+ sig { params(preference: T.nilable(String)).void }
2744
+ def initialize(preference: nil); end
2745
+ end
2746
+ # Whether or not the payment method should be displayed.
2747
+ sig {
2748
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference))
2749
+ }
2750
+ attr_accessor :display_preference
2751
+ sig {
2752
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference)).void
2753
+ }
2754
+ def initialize(display_preference: nil); end
2755
+ end
2756
+ class Paynow < Stripe::RequestParams
2757
+ class DisplayPreference < Stripe::RequestParams
2758
+ # The account's preference for whether or not to display this payment method.
2759
+ sig { returns(T.nilable(String)) }
2760
+ attr_accessor :preference
2761
+ sig { params(preference: T.nilable(String)).void }
2762
+ def initialize(preference: nil); end
2763
+ end
2764
+ # Whether or not the payment method should be displayed.
2765
+ sig {
2766
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference))
2767
+ }
2768
+ attr_accessor :display_preference
2769
+ sig {
2770
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference)).void
2771
+ }
2772
+ def initialize(display_preference: nil); end
2773
+ end
2774
+ class Paypal < Stripe::RequestParams
2775
+ class DisplayPreference < Stripe::RequestParams
2776
+ # The account's preference for whether or not to display this payment method.
2777
+ sig { returns(T.nilable(String)) }
2778
+ attr_accessor :preference
2779
+ sig { params(preference: T.nilable(String)).void }
2780
+ def initialize(preference: nil); end
2781
+ end
2782
+ # Whether or not the payment method should be displayed.
2783
+ sig {
2784
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference))
2785
+ }
2786
+ attr_accessor :display_preference
2787
+ sig {
2788
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference)).void
2789
+ }
2790
+ def initialize(display_preference: nil); end
2791
+ end
2792
+ class Pix < Stripe::RequestParams
2793
+ class DisplayPreference < Stripe::RequestParams
2794
+ # The account's preference for whether or not to display this payment method.
2795
+ sig { returns(T.nilable(String)) }
2796
+ attr_accessor :preference
2797
+ sig { params(preference: T.nilable(String)).void }
2798
+ def initialize(preference: nil); end
2799
+ end
2800
+ # Whether or not the payment method should be displayed.
2801
+ sig {
2802
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference))
2803
+ }
2804
+ attr_accessor :display_preference
2805
+ sig {
2806
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix::DisplayPreference)).void
2807
+ }
2808
+ def initialize(display_preference: nil); end
2809
+ end
2810
+ class Promptpay < Stripe::RequestParams
2811
+ class DisplayPreference < Stripe::RequestParams
2812
+ # The account's preference for whether or not to display this payment method.
2813
+ sig { returns(T.nilable(String)) }
2814
+ attr_accessor :preference
2815
+ sig { params(preference: T.nilable(String)).void }
2816
+ def initialize(preference: nil); end
2817
+ end
2818
+ # Whether or not the payment method should be displayed.
2819
+ sig {
2820
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference))
2821
+ }
2822
+ attr_accessor :display_preference
2823
+ sig {
2824
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference)).void
2825
+ }
2826
+ def initialize(display_preference: nil); end
2827
+ end
2828
+ class RevolutPay < Stripe::RequestParams
2829
+ class DisplayPreference < Stripe::RequestParams
2830
+ # The account's preference for whether or not to display this payment method.
2831
+ sig { returns(T.nilable(String)) }
2832
+ attr_accessor :preference
2833
+ sig { params(preference: T.nilable(String)).void }
2834
+ def initialize(preference: nil); end
2835
+ end
2836
+ # Whether or not the payment method should be displayed.
2837
+ sig {
2838
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference))
2839
+ }
2840
+ attr_accessor :display_preference
2841
+ sig {
2842
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference)).void
2843
+ }
2844
+ def initialize(display_preference: nil); end
2845
+ end
2846
+ class Satispay < Stripe::RequestParams
2847
+ class DisplayPreference < Stripe::RequestParams
2848
+ # The account's preference for whether or not to display this payment method.
2849
+ sig { returns(T.nilable(String)) }
2850
+ attr_accessor :preference
2851
+ sig { params(preference: T.nilable(String)).void }
2852
+ def initialize(preference: nil); end
2853
+ end
2854
+ # Whether or not the payment method should be displayed.
2855
+ sig {
2856
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference))
2857
+ }
2858
+ attr_accessor :display_preference
2859
+ sig {
2860
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference)).void
2861
+ }
2862
+ def initialize(display_preference: nil); end
2863
+ end
2864
+ class SepaDebit < Stripe::RequestParams
2865
+ class DisplayPreference < Stripe::RequestParams
2866
+ # The account's preference for whether or not to display this payment method.
2867
+ sig { returns(T.nilable(String)) }
2868
+ attr_accessor :preference
2869
+ sig { params(preference: T.nilable(String)).void }
2870
+ def initialize(preference: nil); end
2871
+ end
2872
+ # Whether or not the payment method should be displayed.
2873
+ sig {
2874
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference))
2875
+ }
2876
+ attr_accessor :display_preference
2877
+ sig {
2878
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference)).void
2879
+ }
2880
+ def initialize(display_preference: nil); end
2881
+ end
2882
+ class Sofort < Stripe::RequestParams
2883
+ class DisplayPreference < Stripe::RequestParams
2884
+ # The account's preference for whether or not to display this payment method.
2885
+ sig { returns(T.nilable(String)) }
2886
+ attr_accessor :preference
2887
+ sig { params(preference: T.nilable(String)).void }
2888
+ def initialize(preference: nil); end
2889
+ end
2890
+ # Whether or not the payment method should be displayed.
2891
+ sig {
2892
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference))
2893
+ }
2894
+ attr_accessor :display_preference
2895
+ sig {
2896
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference)).void
2897
+ }
2898
+ def initialize(display_preference: nil); end
2899
+ end
2900
+ class Swish < Stripe::RequestParams
2901
+ class DisplayPreference < Stripe::RequestParams
2902
+ # The account's preference for whether or not to display this payment method.
2903
+ sig { returns(T.nilable(String)) }
2904
+ attr_accessor :preference
2905
+ sig { params(preference: T.nilable(String)).void }
2906
+ def initialize(preference: nil); end
2907
+ end
2908
+ # Whether or not the payment method should be displayed.
2909
+ sig {
2910
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference))
2911
+ }
2912
+ attr_accessor :display_preference
2913
+ sig {
2914
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference)).void
2915
+ }
2916
+ def initialize(display_preference: nil); end
2917
+ end
2918
+ class Twint < Stripe::RequestParams
2919
+ class DisplayPreference < Stripe::RequestParams
2920
+ # The account's preference for whether or not to display this payment method.
2921
+ sig { returns(T.nilable(String)) }
2922
+ attr_accessor :preference
2923
+ sig { params(preference: T.nilable(String)).void }
2924
+ def initialize(preference: nil); end
2925
+ end
2926
+ # Whether or not the payment method should be displayed.
2927
+ sig {
2928
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference))
2929
+ }
2930
+ attr_accessor :display_preference
2931
+ sig {
2932
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference)).void
2933
+ }
2934
+ def initialize(display_preference: nil); end
2935
+ end
2936
+ class UsBankAccount < Stripe::RequestParams
2937
+ class DisplayPreference < Stripe::RequestParams
2938
+ # The account's preference for whether or not to display this payment method.
2939
+ sig { returns(T.nilable(String)) }
2940
+ attr_accessor :preference
2941
+ sig { params(preference: T.nilable(String)).void }
2942
+ def initialize(preference: nil); end
2943
+ end
2944
+ # Whether or not the payment method should be displayed.
2945
+ sig {
2946
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference))
2947
+ }
2948
+ attr_accessor :display_preference
2949
+ sig {
2950
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference)).void
2951
+ }
2952
+ def initialize(display_preference: nil); end
2953
+ end
2954
+ class WechatPay < Stripe::RequestParams
2955
+ class DisplayPreference < Stripe::RequestParams
2956
+ # The account's preference for whether or not to display this payment method.
2957
+ sig { returns(T.nilable(String)) }
2958
+ attr_accessor :preference
2959
+ sig { params(preference: T.nilable(String)).void }
2960
+ def initialize(preference: nil); end
2961
+ end
2962
+ # Whether or not the payment method should be displayed.
2963
+ sig {
2964
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference))
2965
+ }
2966
+ attr_accessor :display_preference
2967
+ sig {
2968
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference)).void
2969
+ }
2970
+ def initialize(display_preference: nil); end
2971
+ end
2972
+ class Zip < Stripe::RequestParams
2973
+ class DisplayPreference < Stripe::RequestParams
2974
+ # The account's preference for whether or not to display this payment method.
2975
+ sig { returns(T.nilable(String)) }
2976
+ attr_accessor :preference
2977
+ sig { params(preference: T.nilable(String)).void }
2978
+ def initialize(preference: nil); end
2979
+ end
2980
+ # Whether or not the payment method should be displayed.
2981
+ sig {
2982
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference))
2983
+ }
2984
+ attr_accessor :display_preference
2985
+ sig {
2986
+ params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference)).void
2987
+ }
2988
+ def initialize(display_preference: nil); end
2989
+ end
2990
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
2991
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit)) }
2992
+ attr_accessor :acss_debit
2993
+ # Whether the configuration can be used for new payments.
2994
+ sig { returns(T.nilable(T::Boolean)) }
2995
+ attr_accessor :active
2996
+ # [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.
2997
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm)) }
2998
+ attr_accessor :affirm
2999
+ # 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.
3000
+ sig {
3001
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay))
3002
+ }
3003
+ attr_accessor :afterpay_clearpay
3004
+ # 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.
3005
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay)) }
3006
+ attr_accessor :alipay
3007
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
3008
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma)) }
3009
+ attr_accessor :alma
3010
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
3011
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
3012
+ attr_accessor :amazon_pay
3013
+ # Stripe users can accept [Apple Pay](/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](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
3014
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
3015
+ attr_accessor :apple_pay
3016
+ # 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.
3017
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater)) }
3018
+ attr_accessor :apple_pay_later
3019
+ # 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.
3020
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit)) }
3021
+ attr_accessor :au_becs_debit
3022
+ # 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.
3023
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit)) }
3024
+ attr_accessor :bacs_debit
3025
+ # 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.
3026
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact)) }
3027
+ attr_accessor :bancontact
3028
+ # 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.
3029
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie)) }
3030
+ attr_accessor :billie
3031
+ # 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.
3032
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik)) }
3033
+ attr_accessor :blik
3034
+ # 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.
3035
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto)) }
3036
+ attr_accessor :boleto
3037
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
3038
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card)) }
3039
+ attr_accessor :card
3040
+ # 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.
3041
+ sig {
3042
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires))
3043
+ }
3044
+ attr_accessor :cartes_bancaires
3045
+ # 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.
3046
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp)) }
3047
+ attr_accessor :cashapp
3048
+ # 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.
3049
+ sig {
3050
+ returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance))
3051
+ }
3052
+ attr_accessor :customer_balance
3053
+ # 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.
3054
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps)) }
3055
+ attr_accessor :eps
3056
+ # Specifies which fields in the response should be expanded.
3057
+ sig { returns(T.nilable(T::Array[String])) }
3058
+ attr_accessor :expand
3059
+ # 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.
3060
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx)) }
3061
+ attr_accessor :fpx
3062
+ # 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.
3063
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay)) }
3064
+ attr_accessor :giropay
3065
+ # 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.
3066
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay)) }
3067
+ attr_accessor :google_pay
3068
+ # 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.
3069
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay)) }
3070
+ attr_accessor :grabpay
3071
+ # 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.
3072
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal)) }
3073
+ attr_accessor :ideal
3074
+ # 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.
3075
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb)) }
3076
+ attr_accessor :jcb
3077
+ # 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.
3078
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna)) }
3079
+ attr_accessor :klarna
3080
+ # 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.
3081
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini)) }
3082
+ attr_accessor :konbini
3083
+ # [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.
3084
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link)) }
3085
+ attr_accessor :link
3086
+ # 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.
3087
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay)) }
3088
+ attr_accessor :mobilepay
3089
+ # 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.
3090
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco)) }
3091
+ attr_accessor :multibanco
3092
+ # Configuration name.
3093
+ sig { returns(T.nilable(String)) }
3094
+ attr_accessor :name
3095
+ # 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.
3096
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount)) }
3097
+ attr_accessor :nz_bank_account
3098
+ # 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.
3099
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo)) }
3100
+ attr_accessor :oxxo
3101
+ # 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.
3102
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24)) }
3103
+ attr_accessor :p24
3104
+ # 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.
3105
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank)) }
3106
+ attr_accessor :pay_by_bank
3107
+ # 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.
3108
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow)) }
3109
+ attr_accessor :paynow
3110
+ # 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.
3111
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal)) }
3112
+ attr_accessor :paypal
3113
+ # 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.
3114
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Pix)) }
3115
+ attr_accessor :pix
3116
+ # 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.
3117
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay)) }
3118
+ attr_accessor :promptpay
3119
+ # 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.
3120
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay)) }
3121
+ attr_accessor :revolut_pay
3122
+ # 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.
3123
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay)) }
3124
+ attr_accessor :satispay
3125
+ # 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.
3126
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit)) }
3127
+ attr_accessor :sepa_debit
3128
+ # 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.
3129
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort)) }
3130
+ attr_accessor :sofort
3131
+ # 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.
3132
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish)) }
3133
+ attr_accessor :swish
3134
+ # 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.
3135
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint)) }
3136
+ attr_accessor :twint
3137
+ # 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.
3138
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount)) }
3139
+ attr_accessor :us_bank_account
3140
+ # 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.
3141
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay)) }
3142
+ attr_accessor :wechat_pay
3143
+ # 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.
3144
+ sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)) }
3145
+ attr_accessor :zip
3146
+ sig {
3147
+ 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), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), 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), 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), 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), 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
3148
+ }
3149
+ def initialize(
3150
+ acss_debit: nil,
3151
+ active: nil,
3152
+ affirm: nil,
3153
+ afterpay_clearpay: nil,
3154
+ alipay: nil,
3155
+ alma: nil,
3156
+ amazon_pay: nil,
3157
+ apple_pay: nil,
3158
+ apple_pay_later: nil,
3159
+ au_becs_debit: nil,
3160
+ bacs_debit: nil,
3161
+ bancontact: nil,
3162
+ billie: nil,
3163
+ blik: nil,
3164
+ boleto: nil,
3165
+ card: nil,
3166
+ cartes_bancaires: nil,
3167
+ cashapp: nil,
3168
+ customer_balance: nil,
3169
+ eps: nil,
3170
+ expand: nil,
3171
+ fpx: nil,
3172
+ giropay: nil,
3173
+ google_pay: nil,
3174
+ grabpay: nil,
3175
+ ideal: nil,
3176
+ jcb: nil,
3177
+ klarna: nil,
3178
+ konbini: nil,
3179
+ link: nil,
3180
+ mobilepay: nil,
3181
+ multibanco: nil,
3182
+ name: nil,
3183
+ nz_bank_account: nil,
3184
+ oxxo: nil,
3185
+ p24: nil,
3186
+ pay_by_bank: nil,
3187
+ paynow: nil,
3188
+ paypal: nil,
3189
+ pix: nil,
3190
+ promptpay: nil,
3191
+ revolut_pay: nil,
3192
+ satispay: nil,
3193
+ sepa_debit: nil,
3194
+ sofort: nil,
3195
+ swish: nil,
3196
+ twint: nil,
3197
+ us_bank_account: nil,
3198
+ wechat_pay: nil,
3199
+ zip: nil
3200
+ ); end
3201
+ end
3202
+ # Creates a payment method configuration
3203
+ sig {
3204
+ params(params: T.any(::Stripe::PaymentMethodConfiguration::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
3205
+ }
3206
+ def self.create(params = {}, opts = {}); end
3207
+
3208
+ # List payment method configurations
3209
+ sig {
3210
+ params(params: T.any(::Stripe::PaymentMethodConfiguration::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
3211
+ }
3212
+ def self.list(params = {}, opts = {}); end
3213
+
3214
+ # Update payment method configuration
3215
+ sig {
3216
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfiguration::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
3217
+ }
3218
+ def self.update(configuration, params = {}, opts = {}); end
3219
+ end
3220
+ end