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