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