stripe 13.3.0 → 13.4.0.pre.beta.2

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