stripe 13.4.1 → 13.5.0.pre.beta.1

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 +1427 -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 +5165 -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 +985 -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 +88 -0
  25. data/lib/stripe/resources/billing/credit_balance_transaction.rb +116 -0
  26. data/lib/stripe/resources/billing/credit_grant.rb +220 -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 +17 -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 +3034 -0
  41. data/lib/stripe/resources/checkout/session.rb +3690 -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 +1530 -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 +1113 -0
  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 +12910 -0
  102. data/lib/stripe/resources/payment_link.rb +1563 -0
  103. data/lib/stripe/resources/payment_method.rb +1655 -0
  104. data/lib/stripe/resources/payment_method_configuration.rb +2903 -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 +3855 -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 +202 -2
  149. data/lib/stripe/resources/terminal/configuration.rb +1060 -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 +774 -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 +1168 -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 +752 -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 +4441 -0
  186. data/lib/stripe/services/account_session_service.rb +700 -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 +48 -0
  195. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +40 -0
  196. data/lib/stripe/services/billing/credit_grant_service.rb +162 -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 +2485 -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 +10936 -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 +2088 -0
  276. data/lib/stripe/services/payment_method_domain_service.rb +76 -0
  277. data/lib/stripe/services/payment_method_service.rb +878 -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 +3497 -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 +831 -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 +680 -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 +1140 -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 +498 -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 +5188 -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 +1143 -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 +116 -0
  386. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +154 -0
  387. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -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 +35 -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 +3494 -0
  402. data/rbi/stripe/resources/checkout/session.rbi +4036 -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 +1787 -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 +13895 -0
  463. data/rbi/stripe/resources/payment_link.rbi +1666 -0
  464. data/rbi/stripe/resources/payment_method.rbi +1926 -0
  465. data/rbi/stripe/resources/payment_method_configuration.rbi +3237 -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 +4062 -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 +1143 -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 +940 -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 +1192 -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 +4267 -0
  546. data/rbi/stripe/services/account_session_service.rbi +803 -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 +68 -0
  556. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  557. data/rbi/stripe/services/billing/credit_grant_service.rbi +205 -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 +2604 -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 +11477 -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 +2215 -0
  644. data/rbi/stripe/services/payment_method_domain_service.rbi +110 -0
  645. data/rbi/stripe/services/payment_method_service.rbi +897 -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 +3630 -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 +860 -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 +787 -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 +1155 -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,2215 @@
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 PayByBank < 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::PayByBank::DisplayPreference)
640
+ }
641
+ attr_accessor :display_preference
642
+ sig {
643
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank::DisplayPreference).void
644
+ }
645
+ def initialize(display_preference: nil); end
646
+ end
647
+ class Paynow < 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::Paynow::DisplayPreference)
658
+ }
659
+ attr_accessor :display_preference
660
+ sig {
661
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow::DisplayPreference).void
662
+ }
663
+ def initialize(display_preference: nil); end
664
+ end
665
+ class Paypal < 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::Paypal::DisplayPreference)
676
+ }
677
+ attr_accessor :display_preference
678
+ sig {
679
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal::DisplayPreference).void
680
+ }
681
+ def initialize(display_preference: nil); end
682
+ end
683
+ class Payto < 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::Payto::DisplayPreference)
694
+ }
695
+ attr_accessor :display_preference
696
+ sig {
697
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Payto::DisplayPreference).void
698
+ }
699
+ def initialize(display_preference: nil); end
700
+ end
701
+ class Promptpay < 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::Promptpay::DisplayPreference)
712
+ }
713
+ attr_accessor :display_preference
714
+ sig {
715
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay::DisplayPreference).void
716
+ }
717
+ def initialize(display_preference: nil); end
718
+ end
719
+ class Qris < 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::Qris::DisplayPreference)
730
+ }
731
+ attr_accessor :display_preference
732
+ sig {
733
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Qris::DisplayPreference).void
734
+ }
735
+ def initialize(display_preference: nil); end
736
+ end
737
+ class RevolutPay < 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::RevolutPay::DisplayPreference)
748
+ }
749
+ attr_accessor :display_preference
750
+ sig {
751
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay::DisplayPreference).void
752
+ }
753
+ def initialize(display_preference: nil); end
754
+ end
755
+ class SepaDebit < 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::SepaDebit::DisplayPreference)
766
+ }
767
+ attr_accessor :display_preference
768
+ sig {
769
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit::DisplayPreference).void
770
+ }
771
+ def initialize(display_preference: nil); end
772
+ end
773
+ class Shopeepay < 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::Shopeepay::DisplayPreference)
784
+ }
785
+ attr_accessor :display_preference
786
+ sig {
787
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay::DisplayPreference).void
788
+ }
789
+ def initialize(display_preference: nil); end
790
+ end
791
+ class Sofort < 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::Sofort::DisplayPreference)
802
+ }
803
+ attr_accessor :display_preference
804
+ sig {
805
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort::DisplayPreference).void
806
+ }
807
+ def initialize(display_preference: nil); end
808
+ end
809
+ class Swish < 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::Swish::DisplayPreference)
820
+ }
821
+ attr_accessor :display_preference
822
+ sig {
823
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Swish::DisplayPreference).void
824
+ }
825
+ def initialize(display_preference: nil); end
826
+ end
827
+ class Twint < 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::Twint::DisplayPreference)
838
+ }
839
+ attr_accessor :display_preference
840
+ sig {
841
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Twint::DisplayPreference).void
842
+ }
843
+ def initialize(display_preference: nil); end
844
+ end
845
+ class UsBankAccount < 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::UsBankAccount::DisplayPreference)
856
+ }
857
+ attr_accessor :display_preference
858
+ sig {
859
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount::DisplayPreference).void
860
+ }
861
+ def initialize(display_preference: nil); end
862
+ end
863
+ class WechatPay < 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::WechatPay::DisplayPreference)
874
+ }
875
+ attr_accessor :display_preference
876
+ sig {
877
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay::DisplayPreference).void
878
+ }
879
+ def initialize(display_preference: nil); end
880
+ end
881
+ class Zip < Stripe::RequestParams
882
+ class DisplayPreference < Stripe::RequestParams
883
+ # The account's preference for whether or not to display this payment method.
884
+ sig { returns(String) }
885
+ attr_accessor :preference
886
+ sig { params(preference: String).void }
887
+ def initialize(preference: nil); end
888
+ end
889
+ # Whether or not the payment method should be displayed.
890
+ sig {
891
+ returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference)
892
+ }
893
+ attr_accessor :display_preference
894
+ sig {
895
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::CreateParams::Zip::DisplayPreference).void
896
+ }
897
+ def initialize(display_preference: nil); end
898
+ end
899
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
900
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AcssDebit) }
901
+ attr_accessor :acss_debit
902
+ # [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.
903
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Affirm) }
904
+ attr_accessor :affirm
905
+ # 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.
906
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AfterpayClearpay) }
907
+ attr_accessor :afterpay_clearpay
908
+ # 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.
909
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alipay) }
910
+ attr_accessor :alipay
911
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
912
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Alma) }
913
+ attr_accessor :alma
914
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
915
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AmazonPay) }
916
+ attr_accessor :amazon_pay
917
+ # 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.
918
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePay) }
919
+ attr_accessor :apple_pay
920
+ # 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.
921
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::ApplePayLater) }
922
+ attr_accessor :apple_pay_later
923
+ # 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.
924
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::AuBecsDebit) }
925
+ attr_accessor :au_becs_debit
926
+ # 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.
927
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::BacsDebit) }
928
+ attr_accessor :bacs_debit
929
+ # 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.
930
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Bancontact) }
931
+ attr_accessor :bancontact
932
+ # 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.
933
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Blik) }
934
+ attr_accessor :blik
935
+ # 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.
936
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Boleto) }
937
+ attr_accessor :boleto
938
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
939
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Card) }
940
+ attr_accessor :card
941
+ # 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.
942
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CartesBancaires) }
943
+ attr_accessor :cartes_bancaires
944
+ # 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.
945
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Cashapp) }
946
+ attr_accessor :cashapp
947
+ # 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.
948
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::CustomerBalance) }
949
+ attr_accessor :customer_balance
950
+ # 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.
951
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Eps) }
952
+ attr_accessor :eps
953
+ # Specifies which fields in the response should be expanded.
954
+ sig { returns(T::Array[String]) }
955
+ attr_accessor :expand
956
+ # 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.
957
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Fpx) }
958
+ attr_accessor :fpx
959
+ # 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.
960
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Giropay) }
961
+ attr_accessor :giropay
962
+ # 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.
963
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::GooglePay) }
964
+ attr_accessor :google_pay
965
+ # 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.
966
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Gopay) }
967
+ attr_accessor :gopay
968
+ # 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.
969
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Grabpay) }
970
+ attr_accessor :grabpay
971
+ # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
972
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::IdBankTransfer) }
973
+ attr_accessor :id_bank_transfer
974
+ # 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.
975
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Ideal) }
976
+ attr_accessor :ideal
977
+ # 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.
978
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Jcb) }
979
+ attr_accessor :jcb
980
+ # 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.
981
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Klarna) }
982
+ attr_accessor :klarna
983
+ # 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.
984
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Konbini) }
985
+ attr_accessor :konbini
986
+ # [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.
987
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Link) }
988
+ attr_accessor :link
989
+ # 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.
990
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Mobilepay) }
991
+ attr_accessor :mobilepay
992
+ # 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.
993
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Multibanco) }
994
+ attr_accessor :multibanco
995
+ # Configuration name.
996
+ sig { returns(String) }
997
+ attr_accessor :name
998
+ # 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.
999
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Oxxo) }
1000
+ attr_accessor :oxxo
1001
+ # 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.
1002
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::P24) }
1003
+ attr_accessor :p24
1004
+ # Configuration's parent configuration. Specify to create a child configuration.
1005
+ sig { returns(String) }
1006
+ attr_accessor :parent
1007
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1008
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank) }
1009
+ attr_accessor :pay_by_bank
1010
+ # 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.
1011
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paynow) }
1012
+ attr_accessor :paynow
1013
+ # 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.
1014
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Paypal) }
1015
+ attr_accessor :paypal
1016
+ # 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.
1017
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Payto) }
1018
+ attr_accessor :payto
1019
+ # 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.
1020
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Promptpay) }
1021
+ attr_accessor :promptpay
1022
+ # 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.
1023
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Qris) }
1024
+ attr_accessor :qris
1025
+ # 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.
1026
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::RevolutPay) }
1027
+ attr_accessor :revolut_pay
1028
+ # 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.
1029
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::SepaDebit) }
1030
+ attr_accessor :sepa_debit
1031
+ # 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.
1032
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Shopeepay) }
1033
+ attr_accessor :shopeepay
1034
+ # 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.
1035
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Sofort) }
1036
+ attr_accessor :sofort
1037
+ # 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.
1038
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Swish) }
1039
+ attr_accessor :swish
1040
+ # 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.
1041
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Twint) }
1042
+ attr_accessor :twint
1043
+ # 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.
1044
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::UsBankAccount) }
1045
+ attr_accessor :us_bank_account
1046
+ # 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.
1047
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::WechatPay) }
1048
+ attr_accessor :wechat_pay
1049
+ # 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.
1050
+ sig { returns(::Stripe::PaymentMethodConfigurationService::CreateParams::Zip) }
1051
+ attr_accessor :zip
1052
+ sig {
1053
+ 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, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::CreateParams::PayByBank, 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
1054
+ }
1055
+ def initialize(
1056
+ acss_debit: nil,
1057
+ affirm: nil,
1058
+ afterpay_clearpay: nil,
1059
+ alipay: nil,
1060
+ alma: nil,
1061
+ amazon_pay: nil,
1062
+ apple_pay: nil,
1063
+ apple_pay_later: nil,
1064
+ au_becs_debit: nil,
1065
+ bacs_debit: nil,
1066
+ bancontact: nil,
1067
+ blik: nil,
1068
+ boleto: nil,
1069
+ card: nil,
1070
+ cartes_bancaires: nil,
1071
+ cashapp: nil,
1072
+ customer_balance: nil,
1073
+ eps: nil,
1074
+ expand: nil,
1075
+ fpx: nil,
1076
+ giropay: nil,
1077
+ google_pay: nil,
1078
+ gopay: nil,
1079
+ grabpay: nil,
1080
+ id_bank_transfer: nil,
1081
+ ideal: nil,
1082
+ jcb: nil,
1083
+ klarna: nil,
1084
+ konbini: nil,
1085
+ link: nil,
1086
+ mobilepay: nil,
1087
+ multibanco: nil,
1088
+ name: nil,
1089
+ oxxo: nil,
1090
+ p24: nil,
1091
+ parent: nil,
1092
+ pay_by_bank: nil,
1093
+ paynow: nil,
1094
+ paypal: nil,
1095
+ payto: nil,
1096
+ promptpay: nil,
1097
+ qris: nil,
1098
+ revolut_pay: nil,
1099
+ sepa_debit: nil,
1100
+ shopeepay: nil,
1101
+ sofort: nil,
1102
+ swish: nil,
1103
+ twint: nil,
1104
+ us_bank_account: nil,
1105
+ wechat_pay: nil,
1106
+ zip: nil
1107
+ ); end
1108
+ end
1109
+ class RetrieveParams < Stripe::RequestParams
1110
+ # Specifies which fields in the response should be expanded.
1111
+ sig { returns(T::Array[String]) }
1112
+ attr_accessor :expand
1113
+ sig { params(expand: T::Array[String]).void }
1114
+ def initialize(expand: nil); end
1115
+ end
1116
+ class UpdateParams < Stripe::RequestParams
1117
+ class AcssDebit < Stripe::RequestParams
1118
+ class DisplayPreference < Stripe::RequestParams
1119
+ # The account's preference for whether or not to display this payment method.
1120
+ sig { returns(String) }
1121
+ attr_accessor :preference
1122
+ sig { params(preference: String).void }
1123
+ def initialize(preference: nil); end
1124
+ end
1125
+ # Whether or not the payment method should be displayed.
1126
+ sig {
1127
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference)
1128
+ }
1129
+ attr_accessor :display_preference
1130
+ sig {
1131
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit::DisplayPreference).void
1132
+ }
1133
+ def initialize(display_preference: nil); end
1134
+ end
1135
+ class Affirm < Stripe::RequestParams
1136
+ class DisplayPreference < Stripe::RequestParams
1137
+ # The account's preference for whether or not to display this payment method.
1138
+ sig { returns(String) }
1139
+ attr_accessor :preference
1140
+ sig { params(preference: String).void }
1141
+ def initialize(preference: nil); end
1142
+ end
1143
+ # Whether or not the payment method should be displayed.
1144
+ sig {
1145
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference)
1146
+ }
1147
+ attr_accessor :display_preference
1148
+ sig {
1149
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm::DisplayPreference).void
1150
+ }
1151
+ def initialize(display_preference: nil); end
1152
+ end
1153
+ class AfterpayClearpay < Stripe::RequestParams
1154
+ class DisplayPreference < Stripe::RequestParams
1155
+ # The account's preference for whether or not to display this payment method.
1156
+ sig { returns(String) }
1157
+ attr_accessor :preference
1158
+ sig { params(preference: String).void }
1159
+ def initialize(preference: nil); end
1160
+ end
1161
+ # Whether or not the payment method should be displayed.
1162
+ sig {
1163
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference)
1164
+ }
1165
+ attr_accessor :display_preference
1166
+ sig {
1167
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay::DisplayPreference).void
1168
+ }
1169
+ def initialize(display_preference: nil); end
1170
+ end
1171
+ class Alipay < Stripe::RequestParams
1172
+ class DisplayPreference < Stripe::RequestParams
1173
+ # The account's preference for whether or not to display this payment method.
1174
+ sig { returns(String) }
1175
+ attr_accessor :preference
1176
+ sig { params(preference: String).void }
1177
+ def initialize(preference: nil); end
1178
+ end
1179
+ # Whether or not the payment method should be displayed.
1180
+ sig {
1181
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference)
1182
+ }
1183
+ attr_accessor :display_preference
1184
+ sig {
1185
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay::DisplayPreference).void
1186
+ }
1187
+ def initialize(display_preference: nil); end
1188
+ end
1189
+ class Alma < Stripe::RequestParams
1190
+ class DisplayPreference < Stripe::RequestParams
1191
+ # The account's preference for whether or not to display this payment method.
1192
+ sig { returns(String) }
1193
+ attr_accessor :preference
1194
+ sig { params(preference: String).void }
1195
+ def initialize(preference: nil); end
1196
+ end
1197
+ # Whether or not the payment method should be displayed.
1198
+ sig {
1199
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference)
1200
+ }
1201
+ attr_accessor :display_preference
1202
+ sig {
1203
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma::DisplayPreference).void
1204
+ }
1205
+ def initialize(display_preference: nil); end
1206
+ end
1207
+ class AmazonPay < Stripe::RequestParams
1208
+ class DisplayPreference < Stripe::RequestParams
1209
+ # The account's preference for whether or not to display this payment method.
1210
+ sig { returns(String) }
1211
+ attr_accessor :preference
1212
+ sig { params(preference: String).void }
1213
+ def initialize(preference: nil); end
1214
+ end
1215
+ # Whether or not the payment method should be displayed.
1216
+ sig {
1217
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference)
1218
+ }
1219
+ attr_accessor :display_preference
1220
+ sig {
1221
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay::DisplayPreference).void
1222
+ }
1223
+ def initialize(display_preference: nil); end
1224
+ end
1225
+ class ApplePay < Stripe::RequestParams
1226
+ class DisplayPreference < Stripe::RequestParams
1227
+ # The account's preference for whether or not to display this payment method.
1228
+ sig { returns(String) }
1229
+ attr_accessor :preference
1230
+ sig { params(preference: String).void }
1231
+ def initialize(preference: nil); end
1232
+ end
1233
+ # Whether or not the payment method should be displayed.
1234
+ sig {
1235
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference)
1236
+ }
1237
+ attr_accessor :display_preference
1238
+ sig {
1239
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay::DisplayPreference).void
1240
+ }
1241
+ def initialize(display_preference: nil); end
1242
+ end
1243
+ class ApplePayLater < Stripe::RequestParams
1244
+ class DisplayPreference < Stripe::RequestParams
1245
+ # The account's preference for whether or not to display this payment method.
1246
+ sig { returns(String) }
1247
+ attr_accessor :preference
1248
+ sig { params(preference: String).void }
1249
+ def initialize(preference: nil); end
1250
+ end
1251
+ # Whether or not the payment method should be displayed.
1252
+ sig {
1253
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference)
1254
+ }
1255
+ attr_accessor :display_preference
1256
+ sig {
1257
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater::DisplayPreference).void
1258
+ }
1259
+ def initialize(display_preference: nil); end
1260
+ end
1261
+ class AuBecsDebit < Stripe::RequestParams
1262
+ class DisplayPreference < Stripe::RequestParams
1263
+ # The account's preference for whether or not to display this payment method.
1264
+ sig { returns(String) }
1265
+ attr_accessor :preference
1266
+ sig { params(preference: String).void }
1267
+ def initialize(preference: nil); end
1268
+ end
1269
+ # Whether or not the payment method should be displayed.
1270
+ sig {
1271
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference)
1272
+ }
1273
+ attr_accessor :display_preference
1274
+ sig {
1275
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit::DisplayPreference).void
1276
+ }
1277
+ def initialize(display_preference: nil); end
1278
+ end
1279
+ class BacsDebit < Stripe::RequestParams
1280
+ class DisplayPreference < Stripe::RequestParams
1281
+ # The account's preference for whether or not to display this payment method.
1282
+ sig { returns(String) }
1283
+ attr_accessor :preference
1284
+ sig { params(preference: String).void }
1285
+ def initialize(preference: nil); end
1286
+ end
1287
+ # Whether or not the payment method should be displayed.
1288
+ sig {
1289
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference)
1290
+ }
1291
+ attr_accessor :display_preference
1292
+ sig {
1293
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit::DisplayPreference).void
1294
+ }
1295
+ def initialize(display_preference: nil); end
1296
+ end
1297
+ class Bancontact < Stripe::RequestParams
1298
+ class DisplayPreference < Stripe::RequestParams
1299
+ # The account's preference for whether or not to display this payment method.
1300
+ sig { returns(String) }
1301
+ attr_accessor :preference
1302
+ sig { params(preference: String).void }
1303
+ def initialize(preference: nil); end
1304
+ end
1305
+ # Whether or not the payment method should be displayed.
1306
+ sig {
1307
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference)
1308
+ }
1309
+ attr_accessor :display_preference
1310
+ sig {
1311
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact::DisplayPreference).void
1312
+ }
1313
+ def initialize(display_preference: nil); end
1314
+ end
1315
+ class Blik < Stripe::RequestParams
1316
+ class DisplayPreference < Stripe::RequestParams
1317
+ # The account's preference for whether or not to display this payment method.
1318
+ sig { returns(String) }
1319
+ attr_accessor :preference
1320
+ sig { params(preference: String).void }
1321
+ def initialize(preference: nil); end
1322
+ end
1323
+ # Whether or not the payment method should be displayed.
1324
+ sig {
1325
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference)
1326
+ }
1327
+ attr_accessor :display_preference
1328
+ sig {
1329
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik::DisplayPreference).void
1330
+ }
1331
+ def initialize(display_preference: nil); end
1332
+ end
1333
+ class Boleto < Stripe::RequestParams
1334
+ class DisplayPreference < Stripe::RequestParams
1335
+ # The account's preference for whether or not to display this payment method.
1336
+ sig { returns(String) }
1337
+ attr_accessor :preference
1338
+ sig { params(preference: String).void }
1339
+ def initialize(preference: nil); end
1340
+ end
1341
+ # Whether or not the payment method should be displayed.
1342
+ sig {
1343
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference)
1344
+ }
1345
+ attr_accessor :display_preference
1346
+ sig {
1347
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto::DisplayPreference).void
1348
+ }
1349
+ def initialize(display_preference: nil); end
1350
+ end
1351
+ class Card < Stripe::RequestParams
1352
+ class DisplayPreference < Stripe::RequestParams
1353
+ # The account's preference for whether or not to display this payment method.
1354
+ sig { returns(String) }
1355
+ attr_accessor :preference
1356
+ sig { params(preference: String).void }
1357
+ def initialize(preference: nil); end
1358
+ end
1359
+ # Whether or not the payment method should be displayed.
1360
+ sig {
1361
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference)
1362
+ }
1363
+ attr_accessor :display_preference
1364
+ sig {
1365
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Card::DisplayPreference).void
1366
+ }
1367
+ def initialize(display_preference: nil); end
1368
+ end
1369
+ class CartesBancaires < Stripe::RequestParams
1370
+ class DisplayPreference < Stripe::RequestParams
1371
+ # The account's preference for whether or not to display this payment method.
1372
+ sig { returns(String) }
1373
+ attr_accessor :preference
1374
+ sig { params(preference: String).void }
1375
+ def initialize(preference: nil); end
1376
+ end
1377
+ # Whether or not the payment method should be displayed.
1378
+ sig {
1379
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference)
1380
+ }
1381
+ attr_accessor :display_preference
1382
+ sig {
1383
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires::DisplayPreference).void
1384
+ }
1385
+ def initialize(display_preference: nil); end
1386
+ end
1387
+ class Cashapp < Stripe::RequestParams
1388
+ class DisplayPreference < Stripe::RequestParams
1389
+ # The account's preference for whether or not to display this payment method.
1390
+ sig { returns(String) }
1391
+ attr_accessor :preference
1392
+ sig { params(preference: String).void }
1393
+ def initialize(preference: nil); end
1394
+ end
1395
+ # Whether or not the payment method should be displayed.
1396
+ sig {
1397
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference)
1398
+ }
1399
+ attr_accessor :display_preference
1400
+ sig {
1401
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp::DisplayPreference).void
1402
+ }
1403
+ def initialize(display_preference: nil); end
1404
+ end
1405
+ class CustomerBalance < Stripe::RequestParams
1406
+ class DisplayPreference < Stripe::RequestParams
1407
+ # The account's preference for whether or not to display this payment method.
1408
+ sig { returns(String) }
1409
+ attr_accessor :preference
1410
+ sig { params(preference: String).void }
1411
+ def initialize(preference: nil); end
1412
+ end
1413
+ # Whether or not the payment method should be displayed.
1414
+ sig {
1415
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference)
1416
+ }
1417
+ attr_accessor :display_preference
1418
+ sig {
1419
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance::DisplayPreference).void
1420
+ }
1421
+ def initialize(display_preference: nil); end
1422
+ end
1423
+ class Eps < Stripe::RequestParams
1424
+ class DisplayPreference < Stripe::RequestParams
1425
+ # The account's preference for whether or not to display this payment method.
1426
+ sig { returns(String) }
1427
+ attr_accessor :preference
1428
+ sig { params(preference: String).void }
1429
+ def initialize(preference: nil); end
1430
+ end
1431
+ # Whether or not the payment method should be displayed.
1432
+ sig {
1433
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference)
1434
+ }
1435
+ attr_accessor :display_preference
1436
+ sig {
1437
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps::DisplayPreference).void
1438
+ }
1439
+ def initialize(display_preference: nil); end
1440
+ end
1441
+ class Fpx < Stripe::RequestParams
1442
+ class DisplayPreference < Stripe::RequestParams
1443
+ # The account's preference for whether or not to display this payment method.
1444
+ sig { returns(String) }
1445
+ attr_accessor :preference
1446
+ sig { params(preference: String).void }
1447
+ def initialize(preference: nil); end
1448
+ end
1449
+ # Whether or not the payment method should be displayed.
1450
+ sig {
1451
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference)
1452
+ }
1453
+ attr_accessor :display_preference
1454
+ sig {
1455
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx::DisplayPreference).void
1456
+ }
1457
+ def initialize(display_preference: nil); end
1458
+ end
1459
+ class Giropay < Stripe::RequestParams
1460
+ class DisplayPreference < Stripe::RequestParams
1461
+ # The account's preference for whether or not to display this payment method.
1462
+ sig { returns(String) }
1463
+ attr_accessor :preference
1464
+ sig { params(preference: String).void }
1465
+ def initialize(preference: nil); end
1466
+ end
1467
+ # Whether or not the payment method should be displayed.
1468
+ sig {
1469
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference)
1470
+ }
1471
+ attr_accessor :display_preference
1472
+ sig {
1473
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay::DisplayPreference).void
1474
+ }
1475
+ def initialize(display_preference: nil); end
1476
+ end
1477
+ class GooglePay < Stripe::RequestParams
1478
+ class DisplayPreference < Stripe::RequestParams
1479
+ # The account's preference for whether or not to display this payment method.
1480
+ sig { returns(String) }
1481
+ attr_accessor :preference
1482
+ sig { params(preference: String).void }
1483
+ def initialize(preference: nil); end
1484
+ end
1485
+ # Whether or not the payment method should be displayed.
1486
+ sig {
1487
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference)
1488
+ }
1489
+ attr_accessor :display_preference
1490
+ sig {
1491
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay::DisplayPreference).void
1492
+ }
1493
+ def initialize(display_preference: nil); end
1494
+ end
1495
+ class Gopay < Stripe::RequestParams
1496
+ class DisplayPreference < Stripe::RequestParams
1497
+ # The account's preference for whether or not to display this payment method.
1498
+ sig { returns(String) }
1499
+ attr_accessor :preference
1500
+ sig { params(preference: String).void }
1501
+ def initialize(preference: nil); end
1502
+ end
1503
+ # Whether or not the payment method should be displayed.
1504
+ sig {
1505
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference)
1506
+ }
1507
+ attr_accessor :display_preference
1508
+ sig {
1509
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay::DisplayPreference).void
1510
+ }
1511
+ def initialize(display_preference: nil); end
1512
+ end
1513
+ class Grabpay < Stripe::RequestParams
1514
+ class DisplayPreference < Stripe::RequestParams
1515
+ # The account's preference for whether or not to display this payment method.
1516
+ sig { returns(String) }
1517
+ attr_accessor :preference
1518
+ sig { params(preference: String).void }
1519
+ def initialize(preference: nil); end
1520
+ end
1521
+ # Whether or not the payment method should be displayed.
1522
+ sig {
1523
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference)
1524
+ }
1525
+ attr_accessor :display_preference
1526
+ sig {
1527
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay::DisplayPreference).void
1528
+ }
1529
+ def initialize(display_preference: nil); end
1530
+ end
1531
+ class IdBankTransfer < Stripe::RequestParams
1532
+ class DisplayPreference < Stripe::RequestParams
1533
+ # The account's preference for whether or not to display this payment method.
1534
+ sig { returns(String) }
1535
+ attr_accessor :preference
1536
+ sig { params(preference: String).void }
1537
+ def initialize(preference: nil); end
1538
+ end
1539
+ # Whether or not the payment method should be displayed.
1540
+ sig {
1541
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference)
1542
+ }
1543
+ attr_accessor :display_preference
1544
+ sig {
1545
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer::DisplayPreference).void
1546
+ }
1547
+ def initialize(display_preference: nil); end
1548
+ end
1549
+ class Ideal < Stripe::RequestParams
1550
+ class DisplayPreference < Stripe::RequestParams
1551
+ # The account's preference for whether or not to display this payment method.
1552
+ sig { returns(String) }
1553
+ attr_accessor :preference
1554
+ sig { params(preference: String).void }
1555
+ def initialize(preference: nil); end
1556
+ end
1557
+ # Whether or not the payment method should be displayed.
1558
+ sig {
1559
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference)
1560
+ }
1561
+ attr_accessor :display_preference
1562
+ sig {
1563
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal::DisplayPreference).void
1564
+ }
1565
+ def initialize(display_preference: nil); end
1566
+ end
1567
+ class Jcb < Stripe::RequestParams
1568
+ class DisplayPreference < Stripe::RequestParams
1569
+ # The account's preference for whether or not to display this payment method.
1570
+ sig { returns(String) }
1571
+ attr_accessor :preference
1572
+ sig { params(preference: String).void }
1573
+ def initialize(preference: nil); end
1574
+ end
1575
+ # Whether or not the payment method should be displayed.
1576
+ sig {
1577
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference)
1578
+ }
1579
+ attr_accessor :display_preference
1580
+ sig {
1581
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb::DisplayPreference).void
1582
+ }
1583
+ def initialize(display_preference: nil); end
1584
+ end
1585
+ class Klarna < Stripe::RequestParams
1586
+ class DisplayPreference < Stripe::RequestParams
1587
+ # The account's preference for whether or not to display this payment method.
1588
+ sig { returns(String) }
1589
+ attr_accessor :preference
1590
+ sig { params(preference: String).void }
1591
+ def initialize(preference: nil); end
1592
+ end
1593
+ # Whether or not the payment method should be displayed.
1594
+ sig {
1595
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference)
1596
+ }
1597
+ attr_accessor :display_preference
1598
+ sig {
1599
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna::DisplayPreference).void
1600
+ }
1601
+ def initialize(display_preference: nil); end
1602
+ end
1603
+ class Konbini < Stripe::RequestParams
1604
+ class DisplayPreference < Stripe::RequestParams
1605
+ # The account's preference for whether or not to display this payment method.
1606
+ sig { returns(String) }
1607
+ attr_accessor :preference
1608
+ sig { params(preference: String).void }
1609
+ def initialize(preference: nil); end
1610
+ end
1611
+ # Whether or not the payment method should be displayed.
1612
+ sig {
1613
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference)
1614
+ }
1615
+ attr_accessor :display_preference
1616
+ sig {
1617
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini::DisplayPreference).void
1618
+ }
1619
+ def initialize(display_preference: nil); end
1620
+ end
1621
+ class Link < Stripe::RequestParams
1622
+ class DisplayPreference < Stripe::RequestParams
1623
+ # The account's preference for whether or not to display this payment method.
1624
+ sig { returns(String) }
1625
+ attr_accessor :preference
1626
+ sig { params(preference: String).void }
1627
+ def initialize(preference: nil); end
1628
+ end
1629
+ # Whether or not the payment method should be displayed.
1630
+ sig {
1631
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference)
1632
+ }
1633
+ attr_accessor :display_preference
1634
+ sig {
1635
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Link::DisplayPreference).void
1636
+ }
1637
+ def initialize(display_preference: nil); end
1638
+ end
1639
+ class Mobilepay < Stripe::RequestParams
1640
+ class DisplayPreference < Stripe::RequestParams
1641
+ # The account's preference for whether or not to display this payment method.
1642
+ sig { returns(String) }
1643
+ attr_accessor :preference
1644
+ sig { params(preference: String).void }
1645
+ def initialize(preference: nil); end
1646
+ end
1647
+ # Whether or not the payment method should be displayed.
1648
+ sig {
1649
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference)
1650
+ }
1651
+ attr_accessor :display_preference
1652
+ sig {
1653
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay::DisplayPreference).void
1654
+ }
1655
+ def initialize(display_preference: nil); end
1656
+ end
1657
+ class Multibanco < Stripe::RequestParams
1658
+ class DisplayPreference < Stripe::RequestParams
1659
+ # The account's preference for whether or not to display this payment method.
1660
+ sig { returns(String) }
1661
+ attr_accessor :preference
1662
+ sig { params(preference: String).void }
1663
+ def initialize(preference: nil); end
1664
+ end
1665
+ # Whether or not the payment method should be displayed.
1666
+ sig {
1667
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference)
1668
+ }
1669
+ attr_accessor :display_preference
1670
+ sig {
1671
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco::DisplayPreference).void
1672
+ }
1673
+ def initialize(display_preference: nil); end
1674
+ end
1675
+ class Oxxo < Stripe::RequestParams
1676
+ class DisplayPreference < Stripe::RequestParams
1677
+ # The account's preference for whether or not to display this payment method.
1678
+ sig { returns(String) }
1679
+ attr_accessor :preference
1680
+ sig { params(preference: String).void }
1681
+ def initialize(preference: nil); end
1682
+ end
1683
+ # Whether or not the payment method should be displayed.
1684
+ sig {
1685
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference)
1686
+ }
1687
+ attr_accessor :display_preference
1688
+ sig {
1689
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo::DisplayPreference).void
1690
+ }
1691
+ def initialize(display_preference: nil); end
1692
+ end
1693
+ class P24 < Stripe::RequestParams
1694
+ class DisplayPreference < Stripe::RequestParams
1695
+ # The account's preference for whether or not to display this payment method.
1696
+ sig { returns(String) }
1697
+ attr_accessor :preference
1698
+ sig { params(preference: String).void }
1699
+ def initialize(preference: nil); end
1700
+ end
1701
+ # Whether or not the payment method should be displayed.
1702
+ sig {
1703
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference)
1704
+ }
1705
+ attr_accessor :display_preference
1706
+ sig {
1707
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::P24::DisplayPreference).void
1708
+ }
1709
+ def initialize(display_preference: nil); end
1710
+ end
1711
+ class PayByBank < Stripe::RequestParams
1712
+ class DisplayPreference < Stripe::RequestParams
1713
+ # The account's preference for whether or not to display this payment method.
1714
+ sig { returns(String) }
1715
+ attr_accessor :preference
1716
+ sig { params(preference: String).void }
1717
+ def initialize(preference: nil); end
1718
+ end
1719
+ # Whether or not the payment method should be displayed.
1720
+ sig {
1721
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference)
1722
+ }
1723
+ attr_accessor :display_preference
1724
+ sig {
1725
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank::DisplayPreference).void
1726
+ }
1727
+ def initialize(display_preference: nil); end
1728
+ end
1729
+ class Paynow < Stripe::RequestParams
1730
+ class DisplayPreference < Stripe::RequestParams
1731
+ # The account's preference for whether or not to display this payment method.
1732
+ sig { returns(String) }
1733
+ attr_accessor :preference
1734
+ sig { params(preference: String).void }
1735
+ def initialize(preference: nil); end
1736
+ end
1737
+ # Whether or not the payment method should be displayed.
1738
+ sig {
1739
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference)
1740
+ }
1741
+ attr_accessor :display_preference
1742
+ sig {
1743
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow::DisplayPreference).void
1744
+ }
1745
+ def initialize(display_preference: nil); end
1746
+ end
1747
+ class Paypal < Stripe::RequestParams
1748
+ class DisplayPreference < Stripe::RequestParams
1749
+ # The account's preference for whether or not to display this payment method.
1750
+ sig { returns(String) }
1751
+ attr_accessor :preference
1752
+ sig { params(preference: String).void }
1753
+ def initialize(preference: nil); end
1754
+ end
1755
+ # Whether or not the payment method should be displayed.
1756
+ sig {
1757
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference)
1758
+ }
1759
+ attr_accessor :display_preference
1760
+ sig {
1761
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal::DisplayPreference).void
1762
+ }
1763
+ def initialize(display_preference: nil); end
1764
+ end
1765
+ class Payto < Stripe::RequestParams
1766
+ class DisplayPreference < Stripe::RequestParams
1767
+ # The account's preference for whether or not to display this payment method.
1768
+ sig { returns(String) }
1769
+ attr_accessor :preference
1770
+ sig { params(preference: String).void }
1771
+ def initialize(preference: nil); end
1772
+ end
1773
+ # Whether or not the payment method should be displayed.
1774
+ sig {
1775
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference)
1776
+ }
1777
+ attr_accessor :display_preference
1778
+ sig {
1779
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto::DisplayPreference).void
1780
+ }
1781
+ def initialize(display_preference: nil); end
1782
+ end
1783
+ class Promptpay < Stripe::RequestParams
1784
+ class DisplayPreference < Stripe::RequestParams
1785
+ # The account's preference for whether or not to display this payment method.
1786
+ sig { returns(String) }
1787
+ attr_accessor :preference
1788
+ sig { params(preference: String).void }
1789
+ def initialize(preference: nil); end
1790
+ end
1791
+ # Whether or not the payment method should be displayed.
1792
+ sig {
1793
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference)
1794
+ }
1795
+ attr_accessor :display_preference
1796
+ sig {
1797
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay::DisplayPreference).void
1798
+ }
1799
+ def initialize(display_preference: nil); end
1800
+ end
1801
+ class Qris < Stripe::RequestParams
1802
+ class DisplayPreference < Stripe::RequestParams
1803
+ # The account's preference for whether or not to display this payment method.
1804
+ sig { returns(String) }
1805
+ attr_accessor :preference
1806
+ sig { params(preference: String).void }
1807
+ def initialize(preference: nil); end
1808
+ end
1809
+ # Whether or not the payment method should be displayed.
1810
+ sig {
1811
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference)
1812
+ }
1813
+ attr_accessor :display_preference
1814
+ sig {
1815
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris::DisplayPreference).void
1816
+ }
1817
+ def initialize(display_preference: nil); end
1818
+ end
1819
+ class RevolutPay < Stripe::RequestParams
1820
+ class DisplayPreference < Stripe::RequestParams
1821
+ # The account's preference for whether or not to display this payment method.
1822
+ sig { returns(String) }
1823
+ attr_accessor :preference
1824
+ sig { params(preference: String).void }
1825
+ def initialize(preference: nil); end
1826
+ end
1827
+ # Whether or not the payment method should be displayed.
1828
+ sig {
1829
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference)
1830
+ }
1831
+ attr_accessor :display_preference
1832
+ sig {
1833
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay::DisplayPreference).void
1834
+ }
1835
+ def initialize(display_preference: nil); end
1836
+ end
1837
+ class SepaDebit < Stripe::RequestParams
1838
+ class DisplayPreference < Stripe::RequestParams
1839
+ # The account's preference for whether or not to display this payment method.
1840
+ sig { returns(String) }
1841
+ attr_accessor :preference
1842
+ sig { params(preference: String).void }
1843
+ def initialize(preference: nil); end
1844
+ end
1845
+ # Whether or not the payment method should be displayed.
1846
+ sig {
1847
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference)
1848
+ }
1849
+ attr_accessor :display_preference
1850
+ sig {
1851
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit::DisplayPreference).void
1852
+ }
1853
+ def initialize(display_preference: nil); end
1854
+ end
1855
+ class Shopeepay < Stripe::RequestParams
1856
+ class DisplayPreference < Stripe::RequestParams
1857
+ # The account's preference for whether or not to display this payment method.
1858
+ sig { returns(String) }
1859
+ attr_accessor :preference
1860
+ sig { params(preference: String).void }
1861
+ def initialize(preference: nil); end
1862
+ end
1863
+ # Whether or not the payment method should be displayed.
1864
+ sig {
1865
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference)
1866
+ }
1867
+ attr_accessor :display_preference
1868
+ sig {
1869
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay::DisplayPreference).void
1870
+ }
1871
+ def initialize(display_preference: nil); end
1872
+ end
1873
+ class Sofort < Stripe::RequestParams
1874
+ class DisplayPreference < Stripe::RequestParams
1875
+ # The account's preference for whether or not to display this payment method.
1876
+ sig { returns(String) }
1877
+ attr_accessor :preference
1878
+ sig { params(preference: String).void }
1879
+ def initialize(preference: nil); end
1880
+ end
1881
+ # Whether or not the payment method should be displayed.
1882
+ sig {
1883
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference)
1884
+ }
1885
+ attr_accessor :display_preference
1886
+ sig {
1887
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort::DisplayPreference).void
1888
+ }
1889
+ def initialize(display_preference: nil); end
1890
+ end
1891
+ class Swish < Stripe::RequestParams
1892
+ class DisplayPreference < Stripe::RequestParams
1893
+ # The account's preference for whether or not to display this payment method.
1894
+ sig { returns(String) }
1895
+ attr_accessor :preference
1896
+ sig { params(preference: String).void }
1897
+ def initialize(preference: nil); end
1898
+ end
1899
+ # Whether or not the payment method should be displayed.
1900
+ sig {
1901
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference)
1902
+ }
1903
+ attr_accessor :display_preference
1904
+ sig {
1905
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish::DisplayPreference).void
1906
+ }
1907
+ def initialize(display_preference: nil); end
1908
+ end
1909
+ class Twint < Stripe::RequestParams
1910
+ class DisplayPreference < Stripe::RequestParams
1911
+ # The account's preference for whether or not to display this payment method.
1912
+ sig { returns(String) }
1913
+ attr_accessor :preference
1914
+ sig { params(preference: String).void }
1915
+ def initialize(preference: nil); end
1916
+ end
1917
+ # Whether or not the payment method should be displayed.
1918
+ sig {
1919
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference)
1920
+ }
1921
+ attr_accessor :display_preference
1922
+ sig {
1923
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint::DisplayPreference).void
1924
+ }
1925
+ def initialize(display_preference: nil); end
1926
+ end
1927
+ class UsBankAccount < Stripe::RequestParams
1928
+ class DisplayPreference < Stripe::RequestParams
1929
+ # The account's preference for whether or not to display this payment method.
1930
+ sig { returns(String) }
1931
+ attr_accessor :preference
1932
+ sig { params(preference: String).void }
1933
+ def initialize(preference: nil); end
1934
+ end
1935
+ # Whether or not the payment method should be displayed.
1936
+ sig {
1937
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference)
1938
+ }
1939
+ attr_accessor :display_preference
1940
+ sig {
1941
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount::DisplayPreference).void
1942
+ }
1943
+ def initialize(display_preference: nil); end
1944
+ end
1945
+ class WechatPay < Stripe::RequestParams
1946
+ class DisplayPreference < Stripe::RequestParams
1947
+ # The account's preference for whether or not to display this payment method.
1948
+ sig { returns(String) }
1949
+ attr_accessor :preference
1950
+ sig { params(preference: String).void }
1951
+ def initialize(preference: nil); end
1952
+ end
1953
+ # Whether or not the payment method should be displayed.
1954
+ sig {
1955
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference)
1956
+ }
1957
+ attr_accessor :display_preference
1958
+ sig {
1959
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay::DisplayPreference).void
1960
+ }
1961
+ def initialize(display_preference: nil); end
1962
+ end
1963
+ class Zip < Stripe::RequestParams
1964
+ class DisplayPreference < Stripe::RequestParams
1965
+ # The account's preference for whether or not to display this payment method.
1966
+ sig { returns(String) }
1967
+ attr_accessor :preference
1968
+ sig { params(preference: String).void }
1969
+ def initialize(preference: nil); end
1970
+ end
1971
+ # Whether or not the payment method should be displayed.
1972
+ sig {
1973
+ returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference)
1974
+ }
1975
+ attr_accessor :display_preference
1976
+ sig {
1977
+ params(display_preference: ::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip::DisplayPreference).void
1978
+ }
1979
+ def initialize(display_preference: nil); end
1980
+ end
1981
+ # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
1982
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AcssDebit) }
1983
+ attr_accessor :acss_debit
1984
+ # Whether the configuration can be used for new payments.
1985
+ sig { returns(T::Boolean) }
1986
+ attr_accessor :active
1987
+ # [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.
1988
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Affirm) }
1989
+ attr_accessor :affirm
1990
+ # 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.
1991
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AfterpayClearpay) }
1992
+ attr_accessor :afterpay_clearpay
1993
+ # 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.
1994
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alipay) }
1995
+ attr_accessor :alipay
1996
+ # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
1997
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Alma) }
1998
+ attr_accessor :alma
1999
+ # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
2000
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AmazonPay) }
2001
+ attr_accessor :amazon_pay
2002
+ # 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.
2003
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePay) }
2004
+ attr_accessor :apple_pay
2005
+ # 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.
2006
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::ApplePayLater) }
2007
+ attr_accessor :apple_pay_later
2008
+ # 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.
2009
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::AuBecsDebit) }
2010
+ attr_accessor :au_becs_debit
2011
+ # 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.
2012
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::BacsDebit) }
2013
+ attr_accessor :bacs_debit
2014
+ # 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.
2015
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Bancontact) }
2016
+ attr_accessor :bancontact
2017
+ # 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.
2018
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Blik) }
2019
+ attr_accessor :blik
2020
+ # 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.
2021
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Boleto) }
2022
+ attr_accessor :boleto
2023
+ # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
2024
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Card) }
2025
+ attr_accessor :card
2026
+ # 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.
2027
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CartesBancaires) }
2028
+ attr_accessor :cartes_bancaires
2029
+ # 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.
2030
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Cashapp) }
2031
+ attr_accessor :cashapp
2032
+ # 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.
2033
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::CustomerBalance) }
2034
+ attr_accessor :customer_balance
2035
+ # 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.
2036
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Eps) }
2037
+ attr_accessor :eps
2038
+ # Specifies which fields in the response should be expanded.
2039
+ sig { returns(T::Array[String]) }
2040
+ attr_accessor :expand
2041
+ # 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.
2042
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Fpx) }
2043
+ attr_accessor :fpx
2044
+ # 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.
2045
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Giropay) }
2046
+ attr_accessor :giropay
2047
+ # 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.
2048
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::GooglePay) }
2049
+ attr_accessor :google_pay
2050
+ # 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.
2051
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay) }
2052
+ attr_accessor :gopay
2053
+ # 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.
2054
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Grabpay) }
2055
+ attr_accessor :grabpay
2056
+ # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
2057
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::IdBankTransfer) }
2058
+ attr_accessor :id_bank_transfer
2059
+ # 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.
2060
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Ideal) }
2061
+ attr_accessor :ideal
2062
+ # 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.
2063
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Jcb) }
2064
+ attr_accessor :jcb
2065
+ # 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.
2066
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Klarna) }
2067
+ attr_accessor :klarna
2068
+ # 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.
2069
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Konbini) }
2070
+ attr_accessor :konbini
2071
+ # [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.
2072
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Link) }
2073
+ attr_accessor :link
2074
+ # 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.
2075
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Mobilepay) }
2076
+ attr_accessor :mobilepay
2077
+ # 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.
2078
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Multibanco) }
2079
+ attr_accessor :multibanco
2080
+ # Configuration name.
2081
+ sig { returns(String) }
2082
+ attr_accessor :name
2083
+ # 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.
2084
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Oxxo) }
2085
+ attr_accessor :oxxo
2086
+ # 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.
2087
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::P24) }
2088
+ attr_accessor :p24
2089
+ # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
2090
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank) }
2091
+ attr_accessor :pay_by_bank
2092
+ # 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.
2093
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paynow) }
2094
+ attr_accessor :paynow
2095
+ # 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.
2096
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Paypal) }
2097
+ attr_accessor :paypal
2098
+ # 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.
2099
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Payto) }
2100
+ attr_accessor :payto
2101
+ # 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.
2102
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Promptpay) }
2103
+ attr_accessor :promptpay
2104
+ # 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.
2105
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Qris) }
2106
+ attr_accessor :qris
2107
+ # 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.
2108
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::RevolutPay) }
2109
+ attr_accessor :revolut_pay
2110
+ # 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.
2111
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::SepaDebit) }
2112
+ attr_accessor :sepa_debit
2113
+ # 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.
2114
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Shopeepay) }
2115
+ attr_accessor :shopeepay
2116
+ # 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.
2117
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Sofort) }
2118
+ attr_accessor :sofort
2119
+ # 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.
2120
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Swish) }
2121
+ attr_accessor :swish
2122
+ # 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.
2123
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Twint) }
2124
+ attr_accessor :twint
2125
+ # 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.
2126
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::UsBankAccount) }
2127
+ attr_accessor :us_bank_account
2128
+ # 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.
2129
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::WechatPay) }
2130
+ attr_accessor :wechat_pay
2131
+ # 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.
2132
+ sig { returns(::Stripe::PaymentMethodConfigurationService::UpdateParams::Zip) }
2133
+ attr_accessor :zip
2134
+ sig {
2135
+ 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, pay_by_bank: ::Stripe::PaymentMethodConfigurationService::UpdateParams::PayByBank, 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
2136
+ }
2137
+ def initialize(
2138
+ acss_debit: nil,
2139
+ active: nil,
2140
+ affirm: nil,
2141
+ afterpay_clearpay: nil,
2142
+ alipay: nil,
2143
+ alma: nil,
2144
+ amazon_pay: nil,
2145
+ apple_pay: nil,
2146
+ apple_pay_later: nil,
2147
+ au_becs_debit: nil,
2148
+ bacs_debit: nil,
2149
+ bancontact: nil,
2150
+ blik: nil,
2151
+ boleto: nil,
2152
+ card: nil,
2153
+ cartes_bancaires: nil,
2154
+ cashapp: nil,
2155
+ customer_balance: nil,
2156
+ eps: nil,
2157
+ expand: nil,
2158
+ fpx: nil,
2159
+ giropay: nil,
2160
+ google_pay: nil,
2161
+ gopay: nil,
2162
+ grabpay: nil,
2163
+ id_bank_transfer: nil,
2164
+ ideal: nil,
2165
+ jcb: nil,
2166
+ klarna: nil,
2167
+ konbini: nil,
2168
+ link: nil,
2169
+ mobilepay: nil,
2170
+ multibanco: nil,
2171
+ name: nil,
2172
+ oxxo: nil,
2173
+ p24: nil,
2174
+ pay_by_bank: nil,
2175
+ paynow: nil,
2176
+ paypal: nil,
2177
+ payto: nil,
2178
+ promptpay: nil,
2179
+ qris: nil,
2180
+ revolut_pay: nil,
2181
+ sepa_debit: nil,
2182
+ shopeepay: nil,
2183
+ sofort: nil,
2184
+ swish: nil,
2185
+ twint: nil,
2186
+ us_bank_account: nil,
2187
+ wechat_pay: nil,
2188
+ zip: nil
2189
+ ); end
2190
+ end
2191
+ # Creates a payment method configuration
2192
+ sig {
2193
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2194
+ }
2195
+ def create(params = {}, opts = {}); end
2196
+
2197
+ # List payment method configurations
2198
+ sig {
2199
+ params(params: T.any(::Stripe::PaymentMethodConfigurationService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
2200
+ }
2201
+ def list(params = {}, opts = {}); end
2202
+
2203
+ # Retrieve payment method configuration
2204
+ sig {
2205
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2206
+ }
2207
+ def retrieve(configuration, params = {}, opts = {}); end
2208
+
2209
+ # Update payment method configuration
2210
+ sig {
2211
+ params(configuration: String, params: T.any(::Stripe::PaymentMethodConfigurationService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::PaymentMethodConfiguration)
2212
+ }
2213
+ def update(configuration, params = {}, opts = {}); end
2214
+ end
2215
+ end