stripe 13.3.0 → 13.4.0.pre.beta.2

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