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,2171 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ class PaymentMethodConfigurationService < StripeService
7
+ class ListParams < Stripe::RequestParams
8
+ # The Connect application to filter by.
9
+ sig { returns(T.nilable(String)) }
10
+ attr_accessor :application
11
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
12
+ sig { returns(String) }
13
+ attr_accessor :ending_before
14
+ # Specifies which fields in the response should be expanded.
15
+ sig { returns(T::Array[String]) }
16
+ attr_accessor :expand
17
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
18
+ sig { returns(Integer) }
19
+ attr_accessor :limit
20
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
21
+ sig { returns(String) }
22
+ attr_accessor :starting_after
23
+ sig {
24
+ params(application: T.nilable(String), ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String).void
25
+ }
26
+ def initialize(
27
+ application: nil,
28
+ ending_before: nil,
29
+ expand: nil,
30
+ limit: nil,
31
+ starting_after: nil
32
+ ); end
33
+ end
34
+ class CreateParams < Stripe::RequestParams
35
+ class AcssDebit < Stripe::RequestParams
36
+ class DisplayPreference < Stripe::RequestParams
37
+ # The account's preference for whether or not to display this payment method.
38
+ sig { returns(String) }
39
+ attr_accessor :preference
40
+ sig { params(preference: String).void }
41
+ def initialize(preference: nil); end
42
+ end
43
+ # Whether or not the payment method should be displayed.
44
+ sig {
45
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference)
46
+ }
47
+ attr_accessor :display_preference
48
+ sig {
49
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit::DisplayPreference).void
50
+ }
51
+ def initialize(display_preference: nil); end
52
+ end
53
+ class Affirm < Stripe::RequestParams
54
+ class DisplayPreference < Stripe::RequestParams
55
+ # The account's preference for whether or not to display this payment method.
56
+ sig { returns(String) }
57
+ attr_accessor :preference
58
+ sig { params(preference: String).void }
59
+ def initialize(preference: nil); end
60
+ end
61
+ # Whether or not the payment method should be displayed.
62
+ sig {
63
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference)
64
+ }
65
+ attr_accessor :display_preference
66
+ sig {
67
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm::DisplayPreference).void
68
+ }
69
+ def initialize(display_preference: nil); end
70
+ end
71
+ class AfterpayClearpay < Stripe::RequestParams
72
+ class DisplayPreference < Stripe::RequestParams
73
+ # The account's preference for whether or not to display this payment method.
74
+ sig { returns(String) }
75
+ attr_accessor :preference
76
+ sig { params(preference: String).void }
77
+ def initialize(preference: nil); end
78
+ end
79
+ # Whether or not the payment method should be displayed.
80
+ sig {
81
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference)
82
+ }
83
+ attr_accessor :display_preference
84
+ sig {
85
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay::DisplayPreference).void
86
+ }
87
+ def initialize(display_preference: nil); end
88
+ end
89
+ class Alipay < Stripe::RequestParams
90
+ class DisplayPreference < Stripe::RequestParams
91
+ # The account's preference for whether or not to display this payment method.
92
+ sig { returns(String) }
93
+ attr_accessor :preference
94
+ sig { params(preference: String).void }
95
+ def initialize(preference: nil); end
96
+ end
97
+ # Whether or not the payment method should be displayed.
98
+ sig {
99
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference)
100
+ }
101
+ attr_accessor :display_preference
102
+ sig {
103
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay::DisplayPreference).void
104
+ }
105
+ def initialize(display_preference: nil); end
106
+ end
107
+ class Alma < Stripe::RequestParams
108
+ class DisplayPreference < Stripe::RequestParams
109
+ # The account's preference for whether or not to display this payment method.
110
+ sig { returns(String) }
111
+ attr_accessor :preference
112
+ sig { params(preference: String).void }
113
+ def initialize(preference: nil); end
114
+ end
115
+ # Whether or not the payment method should be displayed.
116
+ sig {
117
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference)
118
+ }
119
+ attr_accessor :display_preference
120
+ sig {
121
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma::DisplayPreference).void
122
+ }
123
+ def initialize(display_preference: nil); end
124
+ end
125
+ class AmazonPay < Stripe::RequestParams
126
+ class DisplayPreference < Stripe::RequestParams
127
+ # The account's preference for whether or not to display this payment method.
128
+ sig { returns(String) }
129
+ attr_accessor :preference
130
+ sig { params(preference: String).void }
131
+ def initialize(preference: nil); end
132
+ end
133
+ # Whether or not the payment method should be displayed.
134
+ sig {
135
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference)
136
+ }
137
+ attr_accessor :display_preference
138
+ sig {
139
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay::DisplayPreference).void
140
+ }
141
+ def initialize(display_preference: nil); end
142
+ end
143
+ class ApplePay < Stripe::RequestParams
144
+ class DisplayPreference < Stripe::RequestParams
145
+ # The account's preference for whether or not to display this payment method.
146
+ sig { returns(String) }
147
+ attr_accessor :preference
148
+ sig { params(preference: String).void }
149
+ def initialize(preference: nil); end
150
+ end
151
+ # Whether or not the payment method should be displayed.
152
+ sig {
153
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference)
154
+ }
155
+ attr_accessor :display_preference
156
+ sig {
157
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay::DisplayPreference).void
158
+ }
159
+ def initialize(display_preference: nil); end
160
+ end
161
+ class ApplePayLater < Stripe::RequestParams
162
+ class DisplayPreference < Stripe::RequestParams
163
+ # The account's preference for whether or not to display this payment method.
164
+ sig { returns(String) }
165
+ attr_accessor :preference
166
+ sig { params(preference: String).void }
167
+ def initialize(preference: nil); end
168
+ end
169
+ # Whether or not the payment method should be displayed.
170
+ sig {
171
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference)
172
+ }
173
+ attr_accessor :display_preference
174
+ sig {
175
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater::DisplayPreference).void
176
+ }
177
+ def initialize(display_preference: nil); end
178
+ end
179
+ class AuBecsDebit < Stripe::RequestParams
180
+ class DisplayPreference < Stripe::RequestParams
181
+ # The account's preference for whether or not to display this payment method.
182
+ sig { returns(String) }
183
+ attr_accessor :preference
184
+ sig { params(preference: String).void }
185
+ def initialize(preference: nil); end
186
+ end
187
+ # Whether or not the payment method should be displayed.
188
+ sig {
189
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference)
190
+ }
191
+ attr_accessor :display_preference
192
+ sig {
193
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit::DisplayPreference).void
194
+ }
195
+ def initialize(display_preference: nil); end
196
+ end
197
+ class BacsDebit < Stripe::RequestParams
198
+ class DisplayPreference < Stripe::RequestParams
199
+ # The account's preference for whether or not to display this payment method.
200
+ sig { returns(String) }
201
+ attr_accessor :preference
202
+ sig { params(preference: String).void }
203
+ def initialize(preference: nil); end
204
+ end
205
+ # Whether or not the payment method should be displayed.
206
+ sig {
207
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference)
208
+ }
209
+ attr_accessor :display_preference
210
+ sig {
211
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit::DisplayPreference).void
212
+ }
213
+ def initialize(display_preference: nil); end
214
+ end
215
+ class Bancontact < Stripe::RequestParams
216
+ class DisplayPreference < Stripe::RequestParams
217
+ # The account's preference for whether or not to display this payment method.
218
+ sig { returns(String) }
219
+ attr_accessor :preference
220
+ sig { params(preference: String).void }
221
+ def initialize(preference: nil); end
222
+ end
223
+ # Whether or not the payment method should be displayed.
224
+ sig {
225
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference)
226
+ }
227
+ attr_accessor :display_preference
228
+ sig {
229
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact::DisplayPreference).void
230
+ }
231
+ def initialize(display_preference: nil); end
232
+ end
233
+ class Blik < Stripe::RequestParams
234
+ class DisplayPreference < Stripe::RequestParams
235
+ # The account's preference for whether or not to display this payment method.
236
+ sig { returns(String) }
237
+ attr_accessor :preference
238
+ sig { params(preference: String).void }
239
+ def initialize(preference: nil); end
240
+ end
241
+ # Whether or not the payment method should be displayed.
242
+ sig {
243
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference)
244
+ }
245
+ attr_accessor :display_preference
246
+ sig {
247
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik::DisplayPreference).void
248
+ }
249
+ def initialize(display_preference: nil); end
250
+ end
251
+ class Boleto < Stripe::RequestParams
252
+ class DisplayPreference < Stripe::RequestParams
253
+ # The account's preference for whether or not to display this payment method.
254
+ sig { returns(String) }
255
+ attr_accessor :preference
256
+ sig { params(preference: String).void }
257
+ def initialize(preference: nil); end
258
+ end
259
+ # Whether or not the payment method should be displayed.
260
+ sig {
261
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference)
262
+ }
263
+ attr_accessor :display_preference
264
+ sig {
265
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto::DisplayPreference).void
266
+ }
267
+ def initialize(display_preference: nil); end
268
+ end
269
+ class Card < Stripe::RequestParams
270
+ class DisplayPreference < Stripe::RequestParams
271
+ # The account's preference for whether or not to display this payment method.
272
+ sig { returns(String) }
273
+ attr_accessor :preference
274
+ sig { params(preference: String).void }
275
+ def initialize(preference: nil); end
276
+ end
277
+ # Whether or not the payment method should be displayed.
278
+ sig {
279
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference)
280
+ }
281
+ attr_accessor :display_preference
282
+ sig {
283
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card::DisplayPreference).void
284
+ }
285
+ def initialize(display_preference: nil); end
286
+ end
287
+ class CartesBancaires < Stripe::RequestParams
288
+ class DisplayPreference < Stripe::RequestParams
289
+ # The account's preference for whether or not to display this payment method.
290
+ sig { returns(String) }
291
+ attr_accessor :preference
292
+ sig { params(preference: String).void }
293
+ def initialize(preference: nil); end
294
+ end
295
+ # Whether or not the payment method should be displayed.
296
+ sig {
297
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference)
298
+ }
299
+ attr_accessor :display_preference
300
+ sig {
301
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires::DisplayPreference).void
302
+ }
303
+ def initialize(display_preference: nil); end
304
+ end
305
+ class Cashapp < Stripe::RequestParams
306
+ class DisplayPreference < Stripe::RequestParams
307
+ # The account's preference for whether or not to display this payment method.
308
+ sig { returns(String) }
309
+ attr_accessor :preference
310
+ sig { params(preference: String).void }
311
+ def initialize(preference: nil); end
312
+ end
313
+ # Whether or not the payment method should be displayed.
314
+ sig {
315
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference)
316
+ }
317
+ attr_accessor :display_preference
318
+ sig {
319
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp::DisplayPreference).void
320
+ }
321
+ def initialize(display_preference: nil); end
322
+ end
323
+ class CustomerBalance < Stripe::RequestParams
324
+ class DisplayPreference < Stripe::RequestParams
325
+ # The account's preference for whether or not to display this payment method.
326
+ sig { returns(String) }
327
+ attr_accessor :preference
328
+ sig { params(preference: String).void }
329
+ def initialize(preference: nil); end
330
+ end
331
+ # Whether or not the payment method should be displayed.
332
+ sig {
333
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference)
334
+ }
335
+ attr_accessor :display_preference
336
+ sig {
337
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance::DisplayPreference).void
338
+ }
339
+ def initialize(display_preference: nil); end
340
+ end
341
+ class Eps < Stripe::RequestParams
342
+ class DisplayPreference < Stripe::RequestParams
343
+ # The account's preference for whether or not to display this payment method.
344
+ sig { returns(String) }
345
+ attr_accessor :preference
346
+ sig { params(preference: String).void }
347
+ def initialize(preference: nil); end
348
+ end
349
+ # Whether or not the payment method should be displayed.
350
+ sig {
351
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference)
352
+ }
353
+ attr_accessor :display_preference
354
+ sig {
355
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps::DisplayPreference).void
356
+ }
357
+ def initialize(display_preference: nil); end
358
+ end
359
+ class Fpx < Stripe::RequestParams
360
+ class DisplayPreference < Stripe::RequestParams
361
+ # The account's preference for whether or not to display this payment method.
362
+ sig { returns(String) }
363
+ attr_accessor :preference
364
+ sig { params(preference: String).void }
365
+ def initialize(preference: nil); end
366
+ end
367
+ # Whether or not the payment method should be displayed.
368
+ sig {
369
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference)
370
+ }
371
+ attr_accessor :display_preference
372
+ sig {
373
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx::DisplayPreference).void
374
+ }
375
+ def initialize(display_preference: nil); end
376
+ end
377
+ class Giropay < Stripe::RequestParams
378
+ class DisplayPreference < Stripe::RequestParams
379
+ # The account's preference for whether or not to display this payment method.
380
+ sig { returns(String) }
381
+ attr_accessor :preference
382
+ sig { params(preference: String).void }
383
+ def initialize(preference: nil); end
384
+ end
385
+ # Whether or not the payment method should be displayed.
386
+ sig {
387
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference)
388
+ }
389
+ attr_accessor :display_preference
390
+ sig {
391
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay::DisplayPreference).void
392
+ }
393
+ def initialize(display_preference: nil); end
394
+ end
395
+ class GooglePay < Stripe::RequestParams
396
+ class DisplayPreference < Stripe::RequestParams
397
+ # The account's preference for whether or not to display this payment method.
398
+ sig { returns(String) }
399
+ attr_accessor :preference
400
+ sig { params(preference: String).void }
401
+ def initialize(preference: nil); end
402
+ end
403
+ # Whether or not the payment method should be displayed.
404
+ sig {
405
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference)
406
+ }
407
+ attr_accessor :display_preference
408
+ sig {
409
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay::DisplayPreference).void
410
+ }
411
+ def initialize(display_preference: nil); end
412
+ end
413
+ class Gopay < Stripe::RequestParams
414
+ class DisplayPreference < Stripe::RequestParams
415
+ # The account's preference for whether or not to display this payment method.
416
+ sig { returns(String) }
417
+ attr_accessor :preference
418
+ sig { params(preference: String).void }
419
+ def initialize(preference: nil); end
420
+ end
421
+ # Whether or not the payment method should be displayed.
422
+ sig {
423
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference)
424
+ }
425
+ attr_accessor :display_preference
426
+ sig {
427
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay::DisplayPreference).void
428
+ }
429
+ def initialize(display_preference: nil); end
430
+ end
431
+ class Grabpay < Stripe::RequestParams
432
+ class DisplayPreference < Stripe::RequestParams
433
+ # The account's preference for whether or not to display this payment method.
434
+ sig { returns(String) }
435
+ attr_accessor :preference
436
+ sig { params(preference: String).void }
437
+ def initialize(preference: nil); end
438
+ end
439
+ # Whether or not the payment method should be displayed.
440
+ sig {
441
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference)
442
+ }
443
+ attr_accessor :display_preference
444
+ sig {
445
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay::DisplayPreference).void
446
+ }
447
+ def initialize(display_preference: nil); end
448
+ end
449
+ class IdBankTransfer < Stripe::RequestParams
450
+ class DisplayPreference < Stripe::RequestParams
451
+ # The account's preference for whether or not to display this payment method.
452
+ sig { returns(String) }
453
+ attr_accessor :preference
454
+ sig { params(preference: String).void }
455
+ def initialize(preference: nil); end
456
+ end
457
+ # Whether or not the payment method should be displayed.
458
+ sig {
459
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference)
460
+ }
461
+ attr_accessor :display_preference
462
+ sig {
463
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer::DisplayPreference).void
464
+ }
465
+ def initialize(display_preference: nil); end
466
+ end
467
+ class Ideal < Stripe::RequestParams
468
+ class DisplayPreference < Stripe::RequestParams
469
+ # The account's preference for whether or not to display this payment method.
470
+ sig { returns(String) }
471
+ attr_accessor :preference
472
+ sig { params(preference: String).void }
473
+ def initialize(preference: nil); end
474
+ end
475
+ # Whether or not the payment method should be displayed.
476
+ sig {
477
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference)
478
+ }
479
+ attr_accessor :display_preference
480
+ sig {
481
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal::DisplayPreference).void
482
+ }
483
+ def initialize(display_preference: nil); end
484
+ end
485
+ class Jcb < Stripe::RequestParams
486
+ class DisplayPreference < Stripe::RequestParams
487
+ # The account's preference for whether or not to display this payment method.
488
+ sig { returns(String) }
489
+ attr_accessor :preference
490
+ sig { params(preference: String).void }
491
+ def initialize(preference: nil); end
492
+ end
493
+ # Whether or not the payment method should be displayed.
494
+ sig {
495
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference)
496
+ }
497
+ attr_accessor :display_preference
498
+ sig {
499
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb::DisplayPreference).void
500
+ }
501
+ def initialize(display_preference: nil); end
502
+ end
503
+ class Klarna < Stripe::RequestParams
504
+ class DisplayPreference < Stripe::RequestParams
505
+ # The account's preference for whether or not to display this payment method.
506
+ sig { returns(String) }
507
+ attr_accessor :preference
508
+ sig { params(preference: String).void }
509
+ def initialize(preference: nil); end
510
+ end
511
+ # Whether or not the payment method should be displayed.
512
+ sig {
513
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference)
514
+ }
515
+ attr_accessor :display_preference
516
+ sig {
517
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna::DisplayPreference).void
518
+ }
519
+ def initialize(display_preference: nil); end
520
+ end
521
+ class Konbini < Stripe::RequestParams
522
+ class DisplayPreference < Stripe::RequestParams
523
+ # The account's preference for whether or not to display this payment method.
524
+ sig { returns(String) }
525
+ attr_accessor :preference
526
+ sig { params(preference: String).void }
527
+ def initialize(preference: nil); end
528
+ end
529
+ # Whether or not the payment method should be displayed.
530
+ sig {
531
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference)
532
+ }
533
+ attr_accessor :display_preference
534
+ sig {
535
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini::DisplayPreference).void
536
+ }
537
+ def initialize(display_preference: nil); end
538
+ end
539
+ class Link < Stripe::RequestParams
540
+ class DisplayPreference < Stripe::RequestParams
541
+ # The account's preference for whether or not to display this payment method.
542
+ sig { returns(String) }
543
+ attr_accessor :preference
544
+ sig { params(preference: String).void }
545
+ def initialize(preference: nil); end
546
+ end
547
+ # Whether or not the payment method should be displayed.
548
+ sig {
549
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference)
550
+ }
551
+ attr_accessor :display_preference
552
+ sig {
553
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link::DisplayPreference).void
554
+ }
555
+ def initialize(display_preference: nil); end
556
+ end
557
+ class Mobilepay < Stripe::RequestParams
558
+ class DisplayPreference < Stripe::RequestParams
559
+ # The account's preference for whether or not to display this payment method.
560
+ sig { returns(String) }
561
+ attr_accessor :preference
562
+ sig { params(preference: String).void }
563
+ def initialize(preference: nil); end
564
+ end
565
+ # Whether or not the payment method should be displayed.
566
+ sig {
567
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference)
568
+ }
569
+ attr_accessor :display_preference
570
+ sig {
571
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay::DisplayPreference).void
572
+ }
573
+ def initialize(display_preference: nil); end
574
+ end
575
+ class Multibanco < Stripe::RequestParams
576
+ class DisplayPreference < Stripe::RequestParams
577
+ # The account's preference for whether or not to display this payment method.
578
+ sig { returns(String) }
579
+ attr_accessor :preference
580
+ sig { params(preference: String).void }
581
+ def initialize(preference: nil); end
582
+ end
583
+ # Whether or not the payment method should be displayed.
584
+ sig {
585
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference)
586
+ }
587
+ attr_accessor :display_preference
588
+ sig {
589
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco::DisplayPreference).void
590
+ }
591
+ def initialize(display_preference: nil); end
592
+ end
593
+ class Oxxo < Stripe::RequestParams
594
+ class DisplayPreference < Stripe::RequestParams
595
+ # The account's preference for whether or not to display this payment method.
596
+ sig { returns(String) }
597
+ attr_accessor :preference
598
+ sig { params(preference: String).void }
599
+ def initialize(preference: nil); end
600
+ end
601
+ # Whether or not the payment method should be displayed.
602
+ sig {
603
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference)
604
+ }
605
+ attr_accessor :display_preference
606
+ sig {
607
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo::DisplayPreference).void
608
+ }
609
+ def initialize(display_preference: nil); end
610
+ end
611
+ class P24 < Stripe::RequestParams
612
+ class DisplayPreference < Stripe::RequestParams
613
+ # The account's preference for whether or not to display this payment method.
614
+ sig { returns(String) }
615
+ attr_accessor :preference
616
+ sig { params(preference: String).void }
617
+ def initialize(preference: nil); end
618
+ end
619
+ # Whether or not the payment method should be displayed.
620
+ sig {
621
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference)
622
+ }
623
+ attr_accessor :display_preference
624
+ sig {
625
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24::DisplayPreference).void
626
+ }
627
+ def initialize(display_preference: nil); end
628
+ end
629
+ class Paynow < Stripe::RequestParams
630
+ class DisplayPreference < Stripe::RequestParams
631
+ # The account's preference for whether or not to display this payment method.
632
+ sig { returns(String) }
633
+ attr_accessor :preference
634
+ sig { params(preference: String).void }
635
+ def initialize(preference: nil); end
636
+ end
637
+ # Whether or not the payment method should be displayed.
638
+ sig {
639
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference)
640
+ }
641
+ attr_accessor :display_preference
642
+ sig {
643
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference).void
644
+ }
645
+ def initialize(display_preference: nil); end
646
+ end
647
+ class Paypal < Stripe::RequestParams
648
+ class DisplayPreference < Stripe::RequestParams
649
+ # The account's preference for whether or not to display this payment method.
650
+ sig { returns(String) }
651
+ attr_accessor :preference
652
+ sig { params(preference: String).void }
653
+ def initialize(preference: nil); end
654
+ end
655
+ # Whether or not the payment method should be displayed.
656
+ sig {
657
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference)
658
+ }
659
+ attr_accessor :display_preference
660
+ sig {
661
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference).void
662
+ }
663
+ def initialize(display_preference: nil); end
664
+ end
665
+ class Payto < Stripe::RequestParams
666
+ class DisplayPreference < Stripe::RequestParams
667
+ # The account's preference for whether or not to display this payment method.
668
+ sig { returns(String) }
669
+ attr_accessor :preference
670
+ sig { params(preference: String).void }
671
+ def initialize(preference: nil); end
672
+ end
673
+ # Whether or not the payment method should be displayed.
674
+ sig {
675
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference)
676
+ }
677
+ attr_accessor :display_preference
678
+ sig {
679
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference).void
680
+ }
681
+ def initialize(display_preference: nil); end
682
+ end
683
+ class Promptpay < Stripe::RequestParams
684
+ class DisplayPreference < Stripe::RequestParams
685
+ # The account's preference for whether or not to display this payment method.
686
+ sig { returns(String) }
687
+ attr_accessor :preference
688
+ sig { params(preference: String).void }
689
+ def initialize(preference: nil); end
690
+ end
691
+ # Whether or not the payment method should be displayed.
692
+ sig {
693
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference)
694
+ }
695
+ attr_accessor :display_preference
696
+ sig {
697
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference).void
698
+ }
699
+ def initialize(display_preference: nil); end
700
+ end
701
+ class Qris < Stripe::RequestParams
702
+ class DisplayPreference < Stripe::RequestParams
703
+ # The account's preference for whether or not to display this payment method.
704
+ sig { returns(String) }
705
+ attr_accessor :preference
706
+ sig { params(preference: String).void }
707
+ def initialize(preference: nil); end
708
+ end
709
+ # Whether or not the payment method should be displayed.
710
+ sig {
711
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference)
712
+ }
713
+ attr_accessor :display_preference
714
+ sig {
715
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference).void
716
+ }
717
+ def initialize(display_preference: nil); end
718
+ end
719
+ class RevolutPay < Stripe::RequestParams
720
+ class DisplayPreference < Stripe::RequestParams
721
+ # The account's preference for whether or not to display this payment method.
722
+ sig { returns(String) }
723
+ attr_accessor :preference
724
+ sig { params(preference: String).void }
725
+ def initialize(preference: nil); end
726
+ end
727
+ # Whether or not the payment method should be displayed.
728
+ sig {
729
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference)
730
+ }
731
+ attr_accessor :display_preference
732
+ sig {
733
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference).void
734
+ }
735
+ def initialize(display_preference: nil); end
736
+ end
737
+ class SepaDebit < Stripe::RequestParams
738
+ class DisplayPreference < Stripe::RequestParams
739
+ # The account's preference for whether or not to display this payment method.
740
+ sig { returns(String) }
741
+ attr_accessor :preference
742
+ sig { params(preference: String).void }
743
+ def initialize(preference: nil); end
744
+ end
745
+ # Whether or not the payment method should be displayed.
746
+ sig {
747
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference)
748
+ }
749
+ attr_accessor :display_preference
750
+ sig {
751
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference).void
752
+ }
753
+ def initialize(display_preference: nil); end
754
+ end
755
+ class Shopeepay < Stripe::RequestParams
756
+ class DisplayPreference < Stripe::RequestParams
757
+ # The account's preference for whether or not to display this payment method.
758
+ sig { returns(String) }
759
+ attr_accessor :preference
760
+ sig { params(preference: String).void }
761
+ def initialize(preference: nil); end
762
+ end
763
+ # Whether or not the payment method should be displayed.
764
+ sig {
765
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference)
766
+ }
767
+ attr_accessor :display_preference
768
+ sig {
769
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference).void
770
+ }
771
+ def initialize(display_preference: nil); end
772
+ end
773
+ class Sofort < Stripe::RequestParams
774
+ class DisplayPreference < Stripe::RequestParams
775
+ # The account's preference for whether or not to display this payment method.
776
+ sig { returns(String) }
777
+ attr_accessor :preference
778
+ sig { params(preference: String).void }
779
+ def initialize(preference: nil); end
780
+ end
781
+ # Whether or not the payment method should be displayed.
782
+ sig {
783
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference)
784
+ }
785
+ attr_accessor :display_preference
786
+ sig {
787
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference).void
788
+ }
789
+ def initialize(display_preference: nil); end
790
+ end
791
+ class Swish < Stripe::RequestParams
792
+ class DisplayPreference < Stripe::RequestParams
793
+ # The account's preference for whether or not to display this payment method.
794
+ sig { returns(String) }
795
+ attr_accessor :preference
796
+ sig { params(preference: String).void }
797
+ def initialize(preference: nil); end
798
+ end
799
+ # Whether or not the payment method should be displayed.
800
+ sig {
801
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference)
802
+ }
803
+ attr_accessor :display_preference
804
+ sig {
805
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference).void
806
+ }
807
+ def initialize(display_preference: nil); end
808
+ end
809
+ class Twint < Stripe::RequestParams
810
+ class DisplayPreference < Stripe::RequestParams
811
+ # The account's preference for whether or not to display this payment method.
812
+ sig { returns(String) }
813
+ attr_accessor :preference
814
+ sig { params(preference: String).void }
815
+ def initialize(preference: nil); end
816
+ end
817
+ # Whether or not the payment method should be displayed.
818
+ sig {
819
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference)
820
+ }
821
+ attr_accessor :display_preference
822
+ sig {
823
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference).void
824
+ }
825
+ def initialize(display_preference: nil); end
826
+ end
827
+ class UsBankAccount < Stripe::RequestParams
828
+ class DisplayPreference < Stripe::RequestParams
829
+ # The account's preference for whether or not to display this payment method.
830
+ sig { returns(String) }
831
+ attr_accessor :preference
832
+ sig { params(preference: String).void }
833
+ def initialize(preference: nil); end
834
+ end
835
+ # Whether or not the payment method should be displayed.
836
+ sig {
837
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference)
838
+ }
839
+ attr_accessor :display_preference
840
+ sig {
841
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference).void
842
+ }
843
+ def initialize(display_preference: nil); end
844
+ end
845
+ class WechatPay < Stripe::RequestParams
846
+ class DisplayPreference < Stripe::RequestParams
847
+ # The account's preference for whether or not to display this payment method.
848
+ sig { returns(String) }
849
+ attr_accessor :preference
850
+ sig { params(preference: String).void }
851
+ def initialize(preference: nil); end
852
+ end
853
+ # Whether or not the payment method should be displayed.
854
+ sig {
855
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference)
856
+ }
857
+ attr_accessor :display_preference
858
+ sig {
859
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference).void
860
+ }
861
+ def initialize(display_preference: nil); end
862
+ end
863
+ class Zip < Stripe::RequestParams
864
+ class DisplayPreference < Stripe::RequestParams
865
+ # The account's preference for whether or not to display this payment method.
866
+ sig { returns(String) }
867
+ attr_accessor :preference
868
+ sig { params(preference: String).void }
869
+ def initialize(preference: nil); end
870
+ end
871
+ # Whether or not the payment method should be displayed.
872
+ sig {
873
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)
874
+ }
875
+ attr_accessor :display_preference
876
+ sig {
877
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference).void
878
+ }
879
+ def initialize(display_preference: nil); end
880
+ end
881
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
882
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit) }
883
+ attr_accessor :acss_debit
884
+ # [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.
885
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm) }
886
+ attr_accessor :affirm
887
+ # 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.
888
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay) }
889
+ attr_accessor :afterpay_clearpay
890
+ # 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.
891
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay) }
892
+ attr_accessor :alipay
893
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
894
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma) }
895
+ attr_accessor :alma
896
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
897
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay) }
898
+ attr_accessor :amazon_pay
899
+ # 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.
900
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay) }
901
+ attr_accessor :apple_pay
902
+ # 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.
903
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater) }
904
+ attr_accessor :apple_pay_later
905
+ # 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.
906
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit) }
907
+ attr_accessor :au_becs_debit
908
+ # 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.
909
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit) }
910
+ attr_accessor :bacs_debit
911
+ # 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.
912
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact) }
913
+ attr_accessor :bancontact
914
+ # 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.
915
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik) }
916
+ attr_accessor :blik
917
+ # 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.
918
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto) }
919
+ attr_accessor :boleto
920
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
921
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card) }
922
+ attr_accessor :card
923
+ # 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.
924
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires) }
925
+ attr_accessor :cartes_bancaires
926
+ # 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.
927
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp) }
928
+ attr_accessor :cashapp
929
+ # 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.
930
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance) }
931
+ attr_accessor :customer_balance
932
+ # 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.
933
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps) }
934
+ attr_accessor :eps
935
+ # Specifies which fields in the response should be expanded.
936
+ sig { returns(T::Array[String]) }
937
+ attr_accessor :expand
938
+ # 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.
939
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx) }
940
+ attr_accessor :fpx
941
+ # 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.
942
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay) }
943
+ attr_accessor :giropay
944
+ # 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.
945
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay) }
946
+ attr_accessor :google_pay
947
+ # 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.
948
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay) }
949
+ attr_accessor :gopay
950
+ # 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.
951
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay) }
952
+ attr_accessor :grabpay
953
+ # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
954
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer) }
955
+ attr_accessor :id_bank_transfer
956
+ # 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.
957
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal) }
958
+ attr_accessor :ideal
959
+ # 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.
960
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb) }
961
+ attr_accessor :jcb
962
+ # 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.
963
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna) }
964
+ attr_accessor :klarna
965
+ # 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.
966
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini) }
967
+ attr_accessor :konbini
968
+ # [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.
969
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link) }
970
+ attr_accessor :link
971
+ # 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.
972
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay) }
973
+ attr_accessor :mobilepay
974
+ # 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.
975
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco) }
976
+ attr_accessor :multibanco
977
+ # Configuration name.
978
+ sig { returns(String) }
979
+ attr_accessor :name
980
+ # 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.
981
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo) }
982
+ attr_accessor :oxxo
983
+ # 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.
984
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24) }
985
+ attr_accessor :p24
986
+ # Configuration's parent configuration. Specify to create a child configuration.
987
+ sig { returns(String) }
988
+ attr_accessor :parent
989
+ # 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.
990
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow) }
991
+ attr_accessor :paynow
992
+ # 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.
993
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal) }
994
+ attr_accessor :paypal
995
+ # 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.
996
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto) }
997
+ attr_accessor :payto
998
+ # 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.
999
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay) }
1000
+ attr_accessor :promptpay
1001
+ # 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.
1002
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris) }
1003
+ attr_accessor :qris
1004
+ # 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.
1005
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay) }
1006
+ attr_accessor :revolut_pay
1007
+ # 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.
1008
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit) }
1009
+ attr_accessor :sepa_debit
1010
+ # 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.
1011
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay) }
1012
+ attr_accessor :shopeepay
1013
+ # 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.
1014
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort) }
1015
+ attr_accessor :sofort
1016
+ # 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.
1017
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish) }
1018
+ attr_accessor :swish
1019
+ # 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.
1020
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint) }
1021
+ attr_accessor :twint
1022
+ # 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.
1023
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount) }
1024
+ attr_accessor :us_bank_account
1025
+ # 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.
1026
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay) }
1027
+ attr_accessor :wechat_pay
1028
+ # 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.
1029
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip) }
1030
+ attr_accessor :zip
1031
+ sig {
1032
+ params(acss_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit, affirm: ::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::CreateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::CreateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::CreateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::CreateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::CreateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::CreateParams::P24, parent: String, paynow: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip).void
1033
+ }
1034
+ def initialize(
1035
+ acss_debit: nil,
1036
+ affirm: nil,
1037
+ afterpay_clearpay: nil,
1038
+ alipay: nil,
1039
+ alma: nil,
1040
+ amazon_pay: nil,
1041
+ apple_pay: nil,
1042
+ apple_pay_later: nil,
1043
+ au_becs_debit: nil,
1044
+ bacs_debit: nil,
1045
+ bancontact: nil,
1046
+ blik: nil,
1047
+ boleto: nil,
1048
+ card: nil,
1049
+ cartes_bancaires: nil,
1050
+ cashapp: nil,
1051
+ customer_balance: nil,
1052
+ eps: nil,
1053
+ expand: nil,
1054
+ fpx: nil,
1055
+ giropay: nil,
1056
+ google_pay: nil,
1057
+ gopay: nil,
1058
+ grabpay: nil,
1059
+ id_bank_transfer: nil,
1060
+ ideal: nil,
1061
+ jcb: nil,
1062
+ klarna: nil,
1063
+ konbini: nil,
1064
+ link: nil,
1065
+ mobilepay: nil,
1066
+ multibanco: nil,
1067
+ name: nil,
1068
+ oxxo: nil,
1069
+ p24: nil,
1070
+ parent: nil,
1071
+ paynow: nil,
1072
+ paypal: nil,
1073
+ payto: nil,
1074
+ promptpay: nil,
1075
+ qris: nil,
1076
+ revolut_pay: nil,
1077
+ sepa_debit: nil,
1078
+ shopeepay: nil,
1079
+ sofort: nil,
1080
+ swish: nil,
1081
+ twint: nil,
1082
+ us_bank_account: nil,
1083
+ wechat_pay: nil,
1084
+ zip: nil
1085
+ ); end
1086
+ end
1087
+ class RetrieveParams < Stripe::RequestParams
1088
+ # Specifies which fields in the response should be expanded.
1089
+ sig { returns(T::Array[String]) }
1090
+ attr_accessor :expand
1091
+ sig { params(expand: T::Array[String]).void }
1092
+ def initialize(expand: nil); end
1093
+ end
1094
+ class UpdateParams < Stripe::RequestParams
1095
+ class AcssDebit < Stripe::RequestParams
1096
+ class DisplayPreference < Stripe::RequestParams
1097
+ # The account's preference for whether or not to display this payment method.
1098
+ sig { returns(String) }
1099
+ attr_accessor :preference
1100
+ sig { params(preference: String).void }
1101
+ def initialize(preference: nil); end
1102
+ end
1103
+ # Whether or not the payment method should be displayed.
1104
+ sig {
1105
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)
1106
+ }
1107
+ attr_accessor :display_preference
1108
+ sig {
1109
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference).void
1110
+ }
1111
+ def initialize(display_preference: nil); end
1112
+ end
1113
+ class Affirm < Stripe::RequestParams
1114
+ class DisplayPreference < Stripe::RequestParams
1115
+ # The account's preference for whether or not to display this payment method.
1116
+ sig { returns(String) }
1117
+ attr_accessor :preference
1118
+ sig { params(preference: String).void }
1119
+ def initialize(preference: nil); end
1120
+ end
1121
+ # Whether or not the payment method should be displayed.
1122
+ sig {
1123
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)
1124
+ }
1125
+ attr_accessor :display_preference
1126
+ sig {
1127
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference).void
1128
+ }
1129
+ def initialize(display_preference: nil); end
1130
+ end
1131
+ class AfterpayClearpay < Stripe::RequestParams
1132
+ class DisplayPreference < Stripe::RequestParams
1133
+ # The account's preference for whether or not to display this payment method.
1134
+ sig { returns(String) }
1135
+ attr_accessor :preference
1136
+ sig { params(preference: String).void }
1137
+ def initialize(preference: nil); end
1138
+ end
1139
+ # Whether or not the payment method should be displayed.
1140
+ sig {
1141
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)
1142
+ }
1143
+ attr_accessor :display_preference
1144
+ sig {
1145
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference).void
1146
+ }
1147
+ def initialize(display_preference: nil); end
1148
+ end
1149
+ class Alipay < Stripe::RequestParams
1150
+ class DisplayPreference < Stripe::RequestParams
1151
+ # The account's preference for whether or not to display this payment method.
1152
+ sig { returns(String) }
1153
+ attr_accessor :preference
1154
+ sig { params(preference: String).void }
1155
+ def initialize(preference: nil); end
1156
+ end
1157
+ # Whether or not the payment method should be displayed.
1158
+ sig {
1159
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)
1160
+ }
1161
+ attr_accessor :display_preference
1162
+ sig {
1163
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference).void
1164
+ }
1165
+ def initialize(display_preference: nil); end
1166
+ end
1167
+ class Alma < Stripe::RequestParams
1168
+ class DisplayPreference < Stripe::RequestParams
1169
+ # The account's preference for whether or not to display this payment method.
1170
+ sig { returns(String) }
1171
+ attr_accessor :preference
1172
+ sig { params(preference: String).void }
1173
+ def initialize(preference: nil); end
1174
+ end
1175
+ # Whether or not the payment method should be displayed.
1176
+ sig {
1177
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)
1178
+ }
1179
+ attr_accessor :display_preference
1180
+ sig {
1181
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference).void
1182
+ }
1183
+ def initialize(display_preference: nil); end
1184
+ end
1185
+ class AmazonPay < Stripe::RequestParams
1186
+ class DisplayPreference < Stripe::RequestParams
1187
+ # The account's preference for whether or not to display this payment method.
1188
+ sig { returns(String) }
1189
+ attr_accessor :preference
1190
+ sig { params(preference: String).void }
1191
+ def initialize(preference: nil); end
1192
+ end
1193
+ # Whether or not the payment method should be displayed.
1194
+ sig {
1195
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)
1196
+ }
1197
+ attr_accessor :display_preference
1198
+ sig {
1199
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference).void
1200
+ }
1201
+ def initialize(display_preference: nil); end
1202
+ end
1203
+ class ApplePay < Stripe::RequestParams
1204
+ class DisplayPreference < Stripe::RequestParams
1205
+ # The account's preference for whether or not to display this payment method.
1206
+ sig { returns(String) }
1207
+ attr_accessor :preference
1208
+ sig { params(preference: String).void }
1209
+ def initialize(preference: nil); end
1210
+ end
1211
+ # Whether or not the payment method should be displayed.
1212
+ sig {
1213
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)
1214
+ }
1215
+ attr_accessor :display_preference
1216
+ sig {
1217
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference).void
1218
+ }
1219
+ def initialize(display_preference: nil); end
1220
+ end
1221
+ class ApplePayLater < Stripe::RequestParams
1222
+ class DisplayPreference < Stripe::RequestParams
1223
+ # The account's preference for whether or not to display this payment method.
1224
+ sig { returns(String) }
1225
+ attr_accessor :preference
1226
+ sig { params(preference: String).void }
1227
+ def initialize(preference: nil); end
1228
+ end
1229
+ # Whether or not the payment method should be displayed.
1230
+ sig {
1231
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)
1232
+ }
1233
+ attr_accessor :display_preference
1234
+ sig {
1235
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference).void
1236
+ }
1237
+ def initialize(display_preference: nil); end
1238
+ end
1239
+ class AuBecsDebit < Stripe::RequestParams
1240
+ class DisplayPreference < Stripe::RequestParams
1241
+ # The account's preference for whether or not to display this payment method.
1242
+ sig { returns(String) }
1243
+ attr_accessor :preference
1244
+ sig { params(preference: String).void }
1245
+ def initialize(preference: nil); end
1246
+ end
1247
+ # Whether or not the payment method should be displayed.
1248
+ sig {
1249
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)
1250
+ }
1251
+ attr_accessor :display_preference
1252
+ sig {
1253
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference).void
1254
+ }
1255
+ def initialize(display_preference: nil); end
1256
+ end
1257
+ class BacsDebit < Stripe::RequestParams
1258
+ class DisplayPreference < Stripe::RequestParams
1259
+ # The account's preference for whether or not to display this payment method.
1260
+ sig { returns(String) }
1261
+ attr_accessor :preference
1262
+ sig { params(preference: String).void }
1263
+ def initialize(preference: nil); end
1264
+ end
1265
+ # Whether or not the payment method should be displayed.
1266
+ sig {
1267
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)
1268
+ }
1269
+ attr_accessor :display_preference
1270
+ sig {
1271
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference).void
1272
+ }
1273
+ def initialize(display_preference: nil); end
1274
+ end
1275
+ class Bancontact < Stripe::RequestParams
1276
+ class DisplayPreference < Stripe::RequestParams
1277
+ # The account's preference for whether or not to display this payment method.
1278
+ sig { returns(String) }
1279
+ attr_accessor :preference
1280
+ sig { params(preference: String).void }
1281
+ def initialize(preference: nil); end
1282
+ end
1283
+ # Whether or not the payment method should be displayed.
1284
+ sig {
1285
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)
1286
+ }
1287
+ attr_accessor :display_preference
1288
+ sig {
1289
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference).void
1290
+ }
1291
+ def initialize(display_preference: nil); end
1292
+ end
1293
+ class Blik < Stripe::RequestParams
1294
+ class DisplayPreference < Stripe::RequestParams
1295
+ # The account's preference for whether or not to display this payment method.
1296
+ sig { returns(String) }
1297
+ attr_accessor :preference
1298
+ sig { params(preference: String).void }
1299
+ def initialize(preference: nil); end
1300
+ end
1301
+ # Whether or not the payment method should be displayed.
1302
+ sig {
1303
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)
1304
+ }
1305
+ attr_accessor :display_preference
1306
+ sig {
1307
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference).void
1308
+ }
1309
+ def initialize(display_preference: nil); end
1310
+ end
1311
+ class Boleto < Stripe::RequestParams
1312
+ class DisplayPreference < Stripe::RequestParams
1313
+ # The account's preference for whether or not to display this payment method.
1314
+ sig { returns(String) }
1315
+ attr_accessor :preference
1316
+ sig { params(preference: String).void }
1317
+ def initialize(preference: nil); end
1318
+ end
1319
+ # Whether or not the payment method should be displayed.
1320
+ sig {
1321
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)
1322
+ }
1323
+ attr_accessor :display_preference
1324
+ sig {
1325
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference).void
1326
+ }
1327
+ def initialize(display_preference: nil); end
1328
+ end
1329
+ class Card < Stripe::RequestParams
1330
+ class DisplayPreference < Stripe::RequestParams
1331
+ # The account's preference for whether or not to display this payment method.
1332
+ sig { returns(String) }
1333
+ attr_accessor :preference
1334
+ sig { params(preference: String).void }
1335
+ def initialize(preference: nil); end
1336
+ end
1337
+ # Whether or not the payment method should be displayed.
1338
+ sig {
1339
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)
1340
+ }
1341
+ attr_accessor :display_preference
1342
+ sig {
1343
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference).void
1344
+ }
1345
+ def initialize(display_preference: nil); end
1346
+ end
1347
+ class CartesBancaires < Stripe::RequestParams
1348
+ class DisplayPreference < Stripe::RequestParams
1349
+ # The account's preference for whether or not to display this payment method.
1350
+ sig { returns(String) }
1351
+ attr_accessor :preference
1352
+ sig { params(preference: String).void }
1353
+ def initialize(preference: nil); end
1354
+ end
1355
+ # Whether or not the payment method should be displayed.
1356
+ sig {
1357
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)
1358
+ }
1359
+ attr_accessor :display_preference
1360
+ sig {
1361
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference).void
1362
+ }
1363
+ def initialize(display_preference: nil); end
1364
+ end
1365
+ class Cashapp < Stripe::RequestParams
1366
+ class DisplayPreference < Stripe::RequestParams
1367
+ # The account's preference for whether or not to display this payment method.
1368
+ sig { returns(String) }
1369
+ attr_accessor :preference
1370
+ sig { params(preference: String).void }
1371
+ def initialize(preference: nil); end
1372
+ end
1373
+ # Whether or not the payment method should be displayed.
1374
+ sig {
1375
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)
1376
+ }
1377
+ attr_accessor :display_preference
1378
+ sig {
1379
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference).void
1380
+ }
1381
+ def initialize(display_preference: nil); end
1382
+ end
1383
+ class CustomerBalance < Stripe::RequestParams
1384
+ class DisplayPreference < Stripe::RequestParams
1385
+ # The account's preference for whether or not to display this payment method.
1386
+ sig { returns(String) }
1387
+ attr_accessor :preference
1388
+ sig { params(preference: String).void }
1389
+ def initialize(preference: nil); end
1390
+ end
1391
+ # Whether or not the payment method should be displayed.
1392
+ sig {
1393
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)
1394
+ }
1395
+ attr_accessor :display_preference
1396
+ sig {
1397
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference).void
1398
+ }
1399
+ def initialize(display_preference: nil); end
1400
+ end
1401
+ class Eps < 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 {
1411
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)
1412
+ }
1413
+ attr_accessor :display_preference
1414
+ sig {
1415
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference).void
1416
+ }
1417
+ def initialize(display_preference: nil); end
1418
+ end
1419
+ class Fpx < Stripe::RequestParams
1420
+ class DisplayPreference < Stripe::RequestParams
1421
+ # The account's preference for whether or not to display this payment method.
1422
+ sig { returns(String) }
1423
+ attr_accessor :preference
1424
+ sig { params(preference: String).void }
1425
+ def initialize(preference: nil); end
1426
+ end
1427
+ # Whether or not the payment method should be displayed.
1428
+ sig {
1429
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)
1430
+ }
1431
+ attr_accessor :display_preference
1432
+ sig {
1433
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference).void
1434
+ }
1435
+ def initialize(display_preference: nil); end
1436
+ end
1437
+ class Giropay < Stripe::RequestParams
1438
+ class DisplayPreference < Stripe::RequestParams
1439
+ # The account's preference for whether or not to display this payment method.
1440
+ sig { returns(String) }
1441
+ attr_accessor :preference
1442
+ sig { params(preference: String).void }
1443
+ def initialize(preference: nil); end
1444
+ end
1445
+ # Whether or not the payment method should be displayed.
1446
+ sig {
1447
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)
1448
+ }
1449
+ attr_accessor :display_preference
1450
+ sig {
1451
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference).void
1452
+ }
1453
+ def initialize(display_preference: nil); end
1454
+ end
1455
+ class GooglePay < Stripe::RequestParams
1456
+ class DisplayPreference < Stripe::RequestParams
1457
+ # The account's preference for whether or not to display this payment method.
1458
+ sig { returns(String) }
1459
+ attr_accessor :preference
1460
+ sig { params(preference: String).void }
1461
+ def initialize(preference: nil); end
1462
+ end
1463
+ # Whether or not the payment method should be displayed.
1464
+ sig {
1465
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)
1466
+ }
1467
+ attr_accessor :display_preference
1468
+ sig {
1469
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference).void
1470
+ }
1471
+ def initialize(display_preference: nil); end
1472
+ end
1473
+ class Gopay < Stripe::RequestParams
1474
+ class DisplayPreference < Stripe::RequestParams
1475
+ # The account's preference for whether or not to display this payment method.
1476
+ sig { returns(String) }
1477
+ attr_accessor :preference
1478
+ sig { params(preference: String).void }
1479
+ def initialize(preference: nil); end
1480
+ end
1481
+ # Whether or not the payment method should be displayed.
1482
+ sig {
1483
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference)
1484
+ }
1485
+ attr_accessor :display_preference
1486
+ sig {
1487
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference).void
1488
+ }
1489
+ def initialize(display_preference: nil); end
1490
+ end
1491
+ class Grabpay < Stripe::RequestParams
1492
+ class DisplayPreference < Stripe::RequestParams
1493
+ # The account's preference for whether or not to display this payment method.
1494
+ sig { returns(String) }
1495
+ attr_accessor :preference
1496
+ sig { params(preference: String).void }
1497
+ def initialize(preference: nil); end
1498
+ end
1499
+ # Whether or not the payment method should be displayed.
1500
+ sig {
1501
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)
1502
+ }
1503
+ attr_accessor :display_preference
1504
+ sig {
1505
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference).void
1506
+ }
1507
+ def initialize(display_preference: nil); end
1508
+ end
1509
+ class IdBankTransfer < Stripe::RequestParams
1510
+ class DisplayPreference < Stripe::RequestParams
1511
+ # The account's preference for whether or not to display this payment method.
1512
+ sig { returns(String) }
1513
+ attr_accessor :preference
1514
+ sig { params(preference: String).void }
1515
+ def initialize(preference: nil); end
1516
+ end
1517
+ # Whether or not the payment method should be displayed.
1518
+ sig {
1519
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference)
1520
+ }
1521
+ attr_accessor :display_preference
1522
+ sig {
1523
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference).void
1524
+ }
1525
+ def initialize(display_preference: nil); end
1526
+ end
1527
+ class Ideal < Stripe::RequestParams
1528
+ class DisplayPreference < Stripe::RequestParams
1529
+ # The account's preference for whether or not to display this payment method.
1530
+ sig { returns(String) }
1531
+ attr_accessor :preference
1532
+ sig { params(preference: String).void }
1533
+ def initialize(preference: nil); end
1534
+ end
1535
+ # Whether or not the payment method should be displayed.
1536
+ sig {
1537
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)
1538
+ }
1539
+ attr_accessor :display_preference
1540
+ sig {
1541
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference).void
1542
+ }
1543
+ def initialize(display_preference: nil); end
1544
+ end
1545
+ class Jcb < Stripe::RequestParams
1546
+ class DisplayPreference < Stripe::RequestParams
1547
+ # The account's preference for whether or not to display this payment method.
1548
+ sig { returns(String) }
1549
+ attr_accessor :preference
1550
+ sig { params(preference: String).void }
1551
+ def initialize(preference: nil); end
1552
+ end
1553
+ # Whether or not the payment method should be displayed.
1554
+ sig {
1555
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)
1556
+ }
1557
+ attr_accessor :display_preference
1558
+ sig {
1559
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference).void
1560
+ }
1561
+ def initialize(display_preference: nil); end
1562
+ end
1563
+ class Klarna < Stripe::RequestParams
1564
+ class DisplayPreference < Stripe::RequestParams
1565
+ # The account's preference for whether or not to display this payment method.
1566
+ sig { returns(String) }
1567
+ attr_accessor :preference
1568
+ sig { params(preference: String).void }
1569
+ def initialize(preference: nil); end
1570
+ end
1571
+ # Whether or not the payment method should be displayed.
1572
+ sig {
1573
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)
1574
+ }
1575
+ attr_accessor :display_preference
1576
+ sig {
1577
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference).void
1578
+ }
1579
+ def initialize(display_preference: nil); end
1580
+ end
1581
+ class Konbini < Stripe::RequestParams
1582
+ class DisplayPreference < Stripe::RequestParams
1583
+ # The account's preference for whether or not to display this payment method.
1584
+ sig { returns(String) }
1585
+ attr_accessor :preference
1586
+ sig { params(preference: String).void }
1587
+ def initialize(preference: nil); end
1588
+ end
1589
+ # Whether or not the payment method should be displayed.
1590
+ sig {
1591
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)
1592
+ }
1593
+ attr_accessor :display_preference
1594
+ sig {
1595
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference).void
1596
+ }
1597
+ def initialize(display_preference: nil); end
1598
+ end
1599
+ class Link < Stripe::RequestParams
1600
+ class DisplayPreference < Stripe::RequestParams
1601
+ # The account's preference for whether or not to display this payment method.
1602
+ sig { returns(String) }
1603
+ attr_accessor :preference
1604
+ sig { params(preference: String).void }
1605
+ def initialize(preference: nil); end
1606
+ end
1607
+ # Whether or not the payment method should be displayed.
1608
+ sig {
1609
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)
1610
+ }
1611
+ attr_accessor :display_preference
1612
+ sig {
1613
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference).void
1614
+ }
1615
+ def initialize(display_preference: nil); end
1616
+ end
1617
+ class Mobilepay < Stripe::RequestParams
1618
+ class DisplayPreference < Stripe::RequestParams
1619
+ # The account's preference for whether or not to display this payment method.
1620
+ sig { returns(String) }
1621
+ attr_accessor :preference
1622
+ sig { params(preference: String).void }
1623
+ def initialize(preference: nil); end
1624
+ end
1625
+ # Whether or not the payment method should be displayed.
1626
+ sig {
1627
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)
1628
+ }
1629
+ attr_accessor :display_preference
1630
+ sig {
1631
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference).void
1632
+ }
1633
+ def initialize(display_preference: nil); end
1634
+ end
1635
+ class Multibanco < Stripe::RequestParams
1636
+ class DisplayPreference < Stripe::RequestParams
1637
+ # The account's preference for whether or not to display this payment method.
1638
+ sig { returns(String) }
1639
+ attr_accessor :preference
1640
+ sig { params(preference: String).void }
1641
+ def initialize(preference: nil); end
1642
+ end
1643
+ # Whether or not the payment method should be displayed.
1644
+ sig {
1645
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)
1646
+ }
1647
+ attr_accessor :display_preference
1648
+ sig {
1649
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference).void
1650
+ }
1651
+ def initialize(display_preference: nil); end
1652
+ end
1653
+ class Oxxo < Stripe::RequestParams
1654
+ class DisplayPreference < Stripe::RequestParams
1655
+ # The account's preference for whether or not to display this payment method.
1656
+ sig { returns(String) }
1657
+ attr_accessor :preference
1658
+ sig { params(preference: String).void }
1659
+ def initialize(preference: nil); end
1660
+ end
1661
+ # Whether or not the payment method should be displayed.
1662
+ sig {
1663
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)
1664
+ }
1665
+ attr_accessor :display_preference
1666
+ sig {
1667
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference).void
1668
+ }
1669
+ def initialize(display_preference: nil); end
1670
+ end
1671
+ class P24 < Stripe::RequestParams
1672
+ class DisplayPreference < Stripe::RequestParams
1673
+ # The account's preference for whether or not to display this payment method.
1674
+ sig { returns(String) }
1675
+ attr_accessor :preference
1676
+ sig { params(preference: String).void }
1677
+ def initialize(preference: nil); end
1678
+ end
1679
+ # Whether or not the payment method should be displayed.
1680
+ sig {
1681
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)
1682
+ }
1683
+ attr_accessor :display_preference
1684
+ sig {
1685
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference).void
1686
+ }
1687
+ def initialize(display_preference: nil); end
1688
+ end
1689
+ class Paynow < Stripe::RequestParams
1690
+ class DisplayPreference < Stripe::RequestParams
1691
+ # The account's preference for whether or not to display this payment method.
1692
+ sig { returns(String) }
1693
+ attr_accessor :preference
1694
+ sig { params(preference: String).void }
1695
+ def initialize(preference: nil); end
1696
+ end
1697
+ # Whether or not the payment method should be displayed.
1698
+ sig {
1699
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)
1700
+ }
1701
+ attr_accessor :display_preference
1702
+ sig {
1703
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference).void
1704
+ }
1705
+ def initialize(display_preference: nil); end
1706
+ end
1707
+ class Paypal < Stripe::RequestParams
1708
+ class DisplayPreference < Stripe::RequestParams
1709
+ # The account's preference for whether or not to display this payment method.
1710
+ sig { returns(String) }
1711
+ attr_accessor :preference
1712
+ sig { params(preference: String).void }
1713
+ def initialize(preference: nil); end
1714
+ end
1715
+ # Whether or not the payment method should be displayed.
1716
+ sig {
1717
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)
1718
+ }
1719
+ attr_accessor :display_preference
1720
+ sig {
1721
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference).void
1722
+ }
1723
+ def initialize(display_preference: nil); end
1724
+ end
1725
+ class Payto < Stripe::RequestParams
1726
+ class DisplayPreference < Stripe::RequestParams
1727
+ # The account's preference for whether or not to display this payment method.
1728
+ sig { returns(String) }
1729
+ attr_accessor :preference
1730
+ sig { params(preference: String).void }
1731
+ def initialize(preference: nil); end
1732
+ end
1733
+ # Whether or not the payment method should be displayed.
1734
+ sig {
1735
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference)
1736
+ }
1737
+ attr_accessor :display_preference
1738
+ sig {
1739
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference).void
1740
+ }
1741
+ def initialize(display_preference: nil); end
1742
+ end
1743
+ class Promptpay < Stripe::RequestParams
1744
+ class DisplayPreference < Stripe::RequestParams
1745
+ # The account's preference for whether or not to display this payment method.
1746
+ sig { returns(String) }
1747
+ attr_accessor :preference
1748
+ sig { params(preference: String).void }
1749
+ def initialize(preference: nil); end
1750
+ end
1751
+ # Whether or not the payment method should be displayed.
1752
+ sig {
1753
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)
1754
+ }
1755
+ attr_accessor :display_preference
1756
+ sig {
1757
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference).void
1758
+ }
1759
+ def initialize(display_preference: nil); end
1760
+ end
1761
+ class Qris < Stripe::RequestParams
1762
+ class DisplayPreference < Stripe::RequestParams
1763
+ # The account's preference for whether or not to display this payment method.
1764
+ sig { returns(String) }
1765
+ attr_accessor :preference
1766
+ sig { params(preference: String).void }
1767
+ def initialize(preference: nil); end
1768
+ end
1769
+ # Whether or not the payment method should be displayed.
1770
+ sig {
1771
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference)
1772
+ }
1773
+ attr_accessor :display_preference
1774
+ sig {
1775
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference).void
1776
+ }
1777
+ def initialize(display_preference: nil); end
1778
+ end
1779
+ class RevolutPay < Stripe::RequestParams
1780
+ class DisplayPreference < Stripe::RequestParams
1781
+ # The account's preference for whether or not to display this payment method.
1782
+ sig { returns(String) }
1783
+ attr_accessor :preference
1784
+ sig { params(preference: String).void }
1785
+ def initialize(preference: nil); end
1786
+ end
1787
+ # Whether or not the payment method should be displayed.
1788
+ sig {
1789
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)
1790
+ }
1791
+ attr_accessor :display_preference
1792
+ sig {
1793
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference).void
1794
+ }
1795
+ def initialize(display_preference: nil); end
1796
+ end
1797
+ class SepaDebit < Stripe::RequestParams
1798
+ class DisplayPreference < Stripe::RequestParams
1799
+ # The account's preference for whether or not to display this payment method.
1800
+ sig { returns(String) }
1801
+ attr_accessor :preference
1802
+ sig { params(preference: String).void }
1803
+ def initialize(preference: nil); end
1804
+ end
1805
+ # Whether or not the payment method should be displayed.
1806
+ sig {
1807
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)
1808
+ }
1809
+ attr_accessor :display_preference
1810
+ sig {
1811
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference).void
1812
+ }
1813
+ def initialize(display_preference: nil); end
1814
+ end
1815
+ class Shopeepay < Stripe::RequestParams
1816
+ class DisplayPreference < Stripe::RequestParams
1817
+ # The account's preference for whether or not to display this payment method.
1818
+ sig { returns(String) }
1819
+ attr_accessor :preference
1820
+ sig { params(preference: String).void }
1821
+ def initialize(preference: nil); end
1822
+ end
1823
+ # Whether or not the payment method should be displayed.
1824
+ sig {
1825
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference)
1826
+ }
1827
+ attr_accessor :display_preference
1828
+ sig {
1829
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference).void
1830
+ }
1831
+ def initialize(display_preference: nil); end
1832
+ end
1833
+ class Sofort < Stripe::RequestParams
1834
+ class DisplayPreference < Stripe::RequestParams
1835
+ # The account's preference for whether or not to display this payment method.
1836
+ sig { returns(String) }
1837
+ attr_accessor :preference
1838
+ sig { params(preference: String).void }
1839
+ def initialize(preference: nil); end
1840
+ end
1841
+ # Whether or not the payment method should be displayed.
1842
+ sig {
1843
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)
1844
+ }
1845
+ attr_accessor :display_preference
1846
+ sig {
1847
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference).void
1848
+ }
1849
+ def initialize(display_preference: nil); end
1850
+ end
1851
+ class Swish < Stripe::RequestParams
1852
+ class DisplayPreference < Stripe::RequestParams
1853
+ # The account's preference for whether or not to display this payment method.
1854
+ sig { returns(String) }
1855
+ attr_accessor :preference
1856
+ sig { params(preference: String).void }
1857
+ def initialize(preference: nil); end
1858
+ end
1859
+ # Whether or not the payment method should be displayed.
1860
+ sig {
1861
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)
1862
+ }
1863
+ attr_accessor :display_preference
1864
+ sig {
1865
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference).void
1866
+ }
1867
+ def initialize(display_preference: nil); end
1868
+ end
1869
+ class Twint < Stripe::RequestParams
1870
+ class DisplayPreference < Stripe::RequestParams
1871
+ # The account's preference for whether or not to display this payment method.
1872
+ sig { returns(String) }
1873
+ attr_accessor :preference
1874
+ sig { params(preference: String).void }
1875
+ def initialize(preference: nil); end
1876
+ end
1877
+ # Whether or not the payment method should be displayed.
1878
+ sig {
1879
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)
1880
+ }
1881
+ attr_accessor :display_preference
1882
+ sig {
1883
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference).void
1884
+ }
1885
+ def initialize(display_preference: nil); end
1886
+ end
1887
+ class UsBankAccount < Stripe::RequestParams
1888
+ class DisplayPreference < Stripe::RequestParams
1889
+ # The account's preference for whether or not to display this payment method.
1890
+ sig { returns(String) }
1891
+ attr_accessor :preference
1892
+ sig { params(preference: String).void }
1893
+ def initialize(preference: nil); end
1894
+ end
1895
+ # Whether or not the payment method should be displayed.
1896
+ sig {
1897
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)
1898
+ }
1899
+ attr_accessor :display_preference
1900
+ sig {
1901
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference).void
1902
+ }
1903
+ def initialize(display_preference: nil); end
1904
+ end
1905
+ class WechatPay < Stripe::RequestParams
1906
+ class DisplayPreference < Stripe::RequestParams
1907
+ # The account's preference for whether or not to display this payment method.
1908
+ sig { returns(String) }
1909
+ attr_accessor :preference
1910
+ sig { params(preference: String).void }
1911
+ def initialize(preference: nil); end
1912
+ end
1913
+ # Whether or not the payment method should be displayed.
1914
+ sig {
1915
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)
1916
+ }
1917
+ attr_accessor :display_preference
1918
+ sig {
1919
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference).void
1920
+ }
1921
+ def initialize(display_preference: nil); end
1922
+ end
1923
+ class Zip < Stripe::RequestParams
1924
+ class DisplayPreference < Stripe::RequestParams
1925
+ # The account's preference for whether or not to display this payment method.
1926
+ sig { returns(String) }
1927
+ attr_accessor :preference
1928
+ sig { params(preference: String).void }
1929
+ def initialize(preference: nil); end
1930
+ end
1931
+ # Whether or not the payment method should be displayed.
1932
+ sig {
1933
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)
1934
+ }
1935
+ attr_accessor :display_preference
1936
+ sig {
1937
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference).void
1938
+ }
1939
+ def initialize(display_preference: nil); end
1940
+ end
1941
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
1942
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit) }
1943
+ attr_accessor :acss_debit
1944
+ # Whether the configuration can be used for new payments.
1945
+ sig { returns(T::Boolean) }
1946
+ attr_accessor :active
1947
+ # [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.
1948
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm) }
1949
+ attr_accessor :affirm
1950
+ # 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.
1951
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay) }
1952
+ attr_accessor :afterpay_clearpay
1953
+ # 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.
1954
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay) }
1955
+ attr_accessor :alipay
1956
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
1957
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma) }
1958
+ attr_accessor :alma
1959
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
1960
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay) }
1961
+ attr_accessor :amazon_pay
1962
+ # 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.
1963
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay) }
1964
+ attr_accessor :apple_pay
1965
+ # 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.
1966
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater) }
1967
+ attr_accessor :apple_pay_later
1968
+ # 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.
1969
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit) }
1970
+ attr_accessor :au_becs_debit
1971
+ # 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.
1972
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit) }
1973
+ attr_accessor :bacs_debit
1974
+ # 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.
1975
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact) }
1976
+ attr_accessor :bancontact
1977
+ # 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.
1978
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik) }
1979
+ attr_accessor :blik
1980
+ # 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.
1981
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto) }
1982
+ attr_accessor :boleto
1983
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
1984
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card) }
1985
+ attr_accessor :card
1986
+ # 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.
1987
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires) }
1988
+ attr_accessor :cartes_bancaires
1989
+ # 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.
1990
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp) }
1991
+ attr_accessor :cashapp
1992
+ # 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.
1993
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance) }
1994
+ attr_accessor :customer_balance
1995
+ # 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.
1996
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps) }
1997
+ attr_accessor :eps
1998
+ # Specifies which fields in the response should be expanded.
1999
+ sig { returns(T::Array[String]) }
2000
+ attr_accessor :expand
2001
+ # 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.
2002
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx) }
2003
+ attr_accessor :fpx
2004
+ # 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.
2005
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay) }
2006
+ attr_accessor :giropay
2007
+ # 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.
2008
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay) }
2009
+ attr_accessor :google_pay
2010
+ # 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.
2011
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay) }
2012
+ attr_accessor :gopay
2013
+ # 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.
2014
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay) }
2015
+ attr_accessor :grabpay
2016
+ # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
2017
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer) }
2018
+ attr_accessor :id_bank_transfer
2019
+ # 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.
2020
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal) }
2021
+ attr_accessor :ideal
2022
+ # 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.
2023
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb) }
2024
+ attr_accessor :jcb
2025
+ # 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.
2026
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna) }
2027
+ attr_accessor :klarna
2028
+ # 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.
2029
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini) }
2030
+ attr_accessor :konbini
2031
+ # [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.
2032
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link) }
2033
+ attr_accessor :link
2034
+ # 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.
2035
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay) }
2036
+ attr_accessor :mobilepay
2037
+ # 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.
2038
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco) }
2039
+ attr_accessor :multibanco
2040
+ # Configuration name.
2041
+ sig { returns(String) }
2042
+ attr_accessor :name
2043
+ # 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.
2044
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo) }
2045
+ attr_accessor :oxxo
2046
+ # 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.
2047
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24) }
2048
+ attr_accessor :p24
2049
+ # 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.
2050
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow) }
2051
+ attr_accessor :paynow
2052
+ # 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.
2053
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal) }
2054
+ attr_accessor :paypal
2055
+ # 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.
2056
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto) }
2057
+ attr_accessor :payto
2058
+ # 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.
2059
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay) }
2060
+ attr_accessor :promptpay
2061
+ # 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.
2062
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris) }
2063
+ attr_accessor :qris
2064
+ # 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.
2065
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay) }
2066
+ attr_accessor :revolut_pay
2067
+ # 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.
2068
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit) }
2069
+ attr_accessor :sepa_debit
2070
+ # 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.
2071
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay) }
2072
+ attr_accessor :shopeepay
2073
+ # 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.
2074
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort) }
2075
+ attr_accessor :sofort
2076
+ # 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.
2077
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish) }
2078
+ attr_accessor :swish
2079
+ # 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.
2080
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint) }
2081
+ attr_accessor :twint
2082
+ # 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.
2083
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount) }
2084
+ attr_accessor :us_bank_account
2085
+ # 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.
2086
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay) }
2087
+ attr_accessor :wechat_pay
2088
+ # 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.
2089
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip) }
2090
+ attr_accessor :zip
2091
+ sig {
2092
+ params(acss_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit, active: T::Boolean, affirm: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay, alma: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact, blik: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik, boleto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto, card: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx, giropay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay, gopay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay, grabpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay, id_bank_transfer: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer, ideal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal, jcb: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb, klarna: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna, konbini: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini, link: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link, mobilepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay, multibanco: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco, name: String, oxxo: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo, p24: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24, paynow: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow, paypal: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal, payto: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto, promptpay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay, qris: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris, revolut_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay, sepa_debit: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit, shopeepay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay, sofort: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort, swish: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish, twint: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint, us_bank_account: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount, wechat_pay: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay, zip: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip).void
2093
+ }
2094
+ def initialize(
2095
+ acss_debit: nil,
2096
+ active: nil,
2097
+ affirm: nil,
2098
+ afterpay_clearpay: nil,
2099
+ alipay: nil,
2100
+ alma: nil,
2101
+ amazon_pay: nil,
2102
+ apple_pay: nil,
2103
+ apple_pay_later: nil,
2104
+ au_becs_debit: nil,
2105
+ bacs_debit: nil,
2106
+ bancontact: nil,
2107
+ blik: nil,
2108
+ boleto: nil,
2109
+ card: nil,
2110
+ cartes_bancaires: nil,
2111
+ cashapp: nil,
2112
+ customer_balance: nil,
2113
+ eps: nil,
2114
+ expand: nil,
2115
+ fpx: nil,
2116
+ giropay: nil,
2117
+ google_pay: nil,
2118
+ gopay: nil,
2119
+ grabpay: nil,
2120
+ id_bank_transfer: nil,
2121
+ ideal: nil,
2122
+ jcb: nil,
2123
+ klarna: nil,
2124
+ konbini: nil,
2125
+ link: nil,
2126
+ mobilepay: nil,
2127
+ multibanco: nil,
2128
+ name: nil,
2129
+ oxxo: nil,
2130
+ p24: nil,
2131
+ paynow: nil,
2132
+ paypal: nil,
2133
+ payto: nil,
2134
+ promptpay: nil,
2135
+ qris: nil,
2136
+ revolut_pay: nil,
2137
+ sepa_debit: nil,
2138
+ shopeepay: nil,
2139
+ sofort: nil,
2140
+ swish: nil,
2141
+ twint: nil,
2142
+ us_bank_account: nil,
2143
+ wechat_pay: nil,
2144
+ zip: nil
2145
+ ); end
2146
+ end
2147
+ # Creates a payment method configuration
2148
+ sig {
2149
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2150
+ }
2151
+ def create(params = {}, opts = {}); end
2152
+
2153
+ # List payment method configurations
2154
+ sig {
2155
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
2156
+ }
2157
+ def list(params = {}, opts = {}); end
2158
+
2159
+ # Retrieve payment method configuration
2160
+ sig {
2161
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2162
+ }
2163
+ def retrieve(configuration, params = {}, opts = {}); end
2164
+
2165
+ # Update payment method configuration
2166
+ sig {
2167
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2168
+ }
2169
+ def update(configuration, params = {}, opts = {}); end
2170
+ end
2171
+ end