stripe 15.6.0.pre.beta.1 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1097) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +5 -34
  3. data/lib/stripe/api_resource.rb +3 -0
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -60
  6. data/lib/stripe/event_types.rb +20 -108
  7. data/lib/stripe/events/unknown_event_notification.rb +19 -0
  8. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
  9. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
  10. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
  11. data/lib/stripe/object_types.rb +2 -54
  12. data/lib/stripe/params/account_capability_list_params.rb +13 -0
  13. data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  14. data/lib/stripe/params/account_capability_update_params.rb +18 -0
  15. data/lib/stripe/params/account_create_params.rb +2083 -0
  16. data/lib/stripe/params/account_delete_params.rb +6 -0
  17. data/lib/stripe/params/account_external_account_create_params.rb +134 -0
  18. data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  19. data/lib/stripe/params/account_external_account_list_params.rb +25 -0
  20. data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  21. data/lib/stripe/params/account_external_account_update_params.rb +91 -0
  22. data/lib/stripe/params/account_link_create_params.rb +52 -0
  23. data/lib/stripe/params/account_list_params.rb +42 -0
  24. data/lib/stripe/params/account_login_link_create_params.rb +13 -0
  25. data/lib/stripe/params/account_person_create_params.rb +435 -0
  26. data/lib/stripe/params/account_person_delete_params.rb +6 -0
  27. data/lib/stripe/params/account_person_list_params.rb +61 -0
  28. data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  29. data/lib/stripe/params/account_person_update_params.rb +435 -0
  30. data/lib/stripe/params/account_persons_params.rb +61 -0
  31. data/lib/stripe/params/account_reject_params.rb +16 -0
  32. data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  33. data/lib/stripe/params/account_retrieve_params.rb +13 -0
  34. data/lib/stripe/params/account_session_create_params.rb +598 -0
  35. data/lib/stripe/params/account_update_params.rb +2030 -0
  36. data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  37. data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  38. data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  39. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  40. data/lib/stripe/params/application_fee_list_params.rb +52 -0
  41. data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  42. data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  43. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  44. data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  45. data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  46. data/lib/stripe/params/apps/secret_create_params.rb +38 -0
  47. data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  48. data/lib/stripe/params/apps/secret_find_params.rb +32 -0
  49. data/lib/stripe/{services/quote_line_service.rb → params/apps/secret_list_params.rb} +17 -14
  50. data/lib/stripe/params/balance_retrieve_params.rb +13 -0
  51. data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  52. data/lib/stripe/params/balance_settings_update_params.rb +67 -0
  53. data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  54. data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  55. data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  56. data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  57. data/lib/stripe/params/billing/alert_create_params.rb +52 -0
  58. data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  59. data/lib/stripe/params/billing/alert_list_params.rb +37 -0
  60. data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  61. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
  62. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
  63. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  64. data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
  65. data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  66. data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
  67. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  68. data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  69. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  70. data/lib/stripe/params/billing/meter_create_params.rb +70 -0
  71. data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  72. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  73. data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  74. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  75. data/lib/stripe/params/billing/meter_list_params.rb +27 -0
  76. data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  77. data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  78. data/lib/stripe/params/billing/meter_update_params.rb +18 -0
  79. data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
  80. data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  81. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  82. data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
  83. data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
  84. data/lib/stripe/params/charge_capture_params.rb +57 -0
  85. data/lib/stripe/params/charge_create_params.rb +172 -0
  86. data/lib/stripe/params/charge_list_params.rb +60 -0
  87. data/lib/stripe/params/charge_retrieve_params.rb +13 -0
  88. data/lib/stripe/params/charge_search_params.rb +22 -0
  89. data/lib/stripe/params/charge_update_params.rb +102 -0
  90. data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
  91. data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  92. data/lib/stripe/{services/quote_preview_subscription_schedule_service.rb → params/checkout/session_line_item_list_params.rb} +2 -13
  93. data/lib/stripe/{services/order_line_item_service.rb → params/checkout/session_list_line_items_params.rb} +2 -13
  94. data/lib/stripe/params/checkout/session_list_params.rb +83 -0
  95. data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  96. data/lib/stripe/params/checkout/session_update_params.rb +179 -0
  97. data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  98. data/lib/stripe/params/climate/order_create_params.rb +49 -0
  99. data/lib/stripe/params/climate/order_list_params.rb +24 -0
  100. data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  101. data/lib/stripe/params/climate/order_update_params.rb +29 -0
  102. data/lib/stripe/params/climate/product_list_params.rb +24 -0
  103. data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  104. data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  105. data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  106. data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
  107. data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  108. data/lib/stripe/params/country_spec_list_params.rb +22 -0
  109. data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  110. data/lib/stripe/params/coupon_create_params.rb +80 -0
  111. data/lib/stripe/params/coupon_delete_params.rb +6 -0
  112. data/lib/stripe/params/coupon_list_params.rb +42 -0
  113. data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  114. data/lib/stripe/params/coupon_update_params.rb +30 -0
  115. data/lib/stripe/params/credit_note_create_params.rb +144 -0
  116. data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  117. data/lib/stripe/params/credit_note_list_params.rb +56 -0
  118. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
  119. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
  120. data/lib/stripe/params/credit_note_preview_params.rb +144 -0
  121. data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  122. data/lib/stripe/params/credit_note_update_params.rb +19 -0
  123. data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  124. data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  125. data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
  126. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  127. data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  128. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  129. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  130. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  131. data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  132. data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  133. data/lib/stripe/params/customer_create_params.rb +259 -0
  134. data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  135. data/lib/stripe/params/customer_delete_params.rb +6 -0
  136. data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  137. data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  138. data/lib/stripe/params/customer_list_params.rb +56 -0
  139. data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  140. data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  141. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  142. data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  143. data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  144. data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  145. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  146. data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  147. data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  148. data/lib/stripe/params/customer_retrieve_params.rb +13 -0
  149. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  150. data/lib/stripe/params/customer_search_params.rb +22 -0
  151. data/lib/stripe/params/customer_session_create_params.rb +100 -0
  152. data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  153. data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  154. data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  155. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  156. data/lib/stripe/params/customer_update_params.rb +243 -0
  157. data/lib/stripe/params/dispute_close_params.rb +13 -0
  158. data/lib/stripe/params/dispute_list_params.rb +56 -0
  159. data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  160. data/lib/stripe/params/dispute_update_params.rb +308 -0
  161. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  162. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  163. data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  164. data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  165. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  166. data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  167. data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  168. data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  169. data/lib/stripe/params/event_list_params.rb +60 -0
  170. data/lib/stripe/params/event_retrieve_params.rb +13 -0
  171. data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  172. data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  173. data/lib/stripe/params/file_create_params.rb +36 -0
  174. data/lib/stripe/params/file_link_create_params.rb +22 -0
  175. data/lib/stripe/params/file_link_list_params.rb +56 -0
  176. data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  177. data/lib/stripe/params/file_link_update_params.rb +19 -0
  178. data/lib/stripe/params/file_list_params.rb +52 -0
  179. data/lib/stripe/params/file_retrieve_params.rb +13 -0
  180. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  181. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  182. data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
  183. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  184. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  185. data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  186. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  187. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  188. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  189. data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
  190. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  191. data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  192. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  193. data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  194. data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  195. data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  196. data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  197. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  198. data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  199. data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
  200. data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
  201. data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  202. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  203. data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  204. data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
  205. data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
  206. data/lib/stripe/params/invoice_create_params.rb +589 -0
  207. data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
  208. data/lib/stripe/params/invoice_delete_params.rb +6 -0
  209. data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  210. data/lib/stripe/params/invoice_item_create_params.rb +145 -0
  211. data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  212. data/lib/stripe/params/invoice_item_list_params.rb +60 -0
  213. data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  214. data/lib/stripe/params/invoice_item_update_params.rb +129 -0
  215. data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  216. data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
  217. data/lib/stripe/params/invoice_list_params.rb +86 -0
  218. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  219. data/lib/stripe/params/invoice_pay_params.rb +41 -0
  220. data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
  221. data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  222. data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  223. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  224. data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  225. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  226. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  227. data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  228. data/lib/stripe/params/invoice_search_params.rb +22 -0
  229. data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  230. data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
  231. data/lib/stripe/params/invoice_update_params.rb +557 -0
  232. data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  233. data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  234. data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
  235. data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
  236. data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  237. data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  238. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
  239. data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  240. data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  241. data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  242. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  243. data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  244. data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  245. data/lib/stripe/params/issuing/card_create_params.rb +213 -0
  246. data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  247. data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  248. data/lib/stripe/params/issuing/card_list_params.rb +78 -0
  249. data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  250. data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  251. data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  252. data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  253. data/lib/stripe/params/issuing/card_update_params.rb +181 -0
  254. data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
  255. data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  256. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  257. data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
  258. data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  259. data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  260. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  261. data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  262. data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  263. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  264. data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  265. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  266. data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  267. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  268. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  269. data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  270. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  271. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  272. data/lib/stripe/params/issuing/token_list_params.rb +58 -0
  273. data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  274. data/lib/stripe/params/issuing/token_update_params.rb +18 -0
  275. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
  276. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
  277. data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  278. data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  279. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  280. data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  281. data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  282. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  283. data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  284. data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
  285. data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
  286. data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
  287. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
  288. data/lib/stripe/params/payment_intent_list_params.rb +52 -0
  289. data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  290. data/lib/stripe/params/payment_intent_search_params.rb +22 -0
  291. data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
  292. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  293. data/lib/stripe/params/payment_link_create_params.rb +776 -0
  294. data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  295. data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  296. data/lib/stripe/params/payment_link_list_params.rb +25 -0
  297. data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  298. data/lib/stripe/params/payment_link_update_params.rb +564 -0
  299. data/lib/stripe/params/payment_method_attach_params.rb +16 -0
  300. data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
  301. data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
  302. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  303. data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
  304. data/lib/stripe/params/payment_method_create_params.rb +583 -0
  305. data/lib/stripe/params/payment_method_detach_params.rb +13 -0
  306. data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  307. data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  308. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  309. data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  310. data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  311. data/lib/stripe/params/payment_method_list_params.rb +35 -0
  312. data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  313. data/lib/stripe/params/payment_method_update_params.rb +120 -0
  314. data/lib/stripe/params/payout_cancel_params.rb +13 -0
  315. data/lib/stripe/params/payout_create_params.rb +51 -0
  316. data/lib/stripe/params/payout_list_params.rb +78 -0
  317. data/lib/stripe/params/payout_retrieve_params.rb +13 -0
  318. data/lib/stripe/params/payout_reverse_params.rb +16 -0
  319. data/lib/stripe/params/payout_update_params.rb +16 -0
  320. data/lib/stripe/params/plan_create_params.rb +158 -0
  321. data/lib/stripe/params/plan_delete_params.rb +6 -0
  322. data/lib/stripe/params/plan_list_params.rb +56 -0
  323. data/lib/stripe/params/plan_retrieve_params.rb +13 -0
  324. data/lib/stripe/params/plan_update_params.rb +35 -0
  325. data/lib/stripe/params/price_create_params.rb +278 -0
  326. data/lib/stripe/params/price_list_params.rb +87 -0
  327. data/lib/stripe/params/price_retrieve_params.rb +13 -0
  328. data/lib/stripe/params/price_search_params.rb +22 -0
  329. data/lib/stripe/params/price_update_params.rb +113 -0
  330. data/lib/stripe/params/product_create_params.rb +243 -0
  331. data/lib/stripe/params/product_delete_params.rb +6 -0
  332. data/lib/stripe/params/product_feature_create_params.rb +16 -0
  333. data/lib/stripe/params/product_feature_delete_params.rb +6 -0
  334. data/lib/stripe/params/product_feature_list_params.rb +22 -0
  335. data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  336. data/lib/stripe/params/product_list_params.rb +68 -0
  337. data/lib/stripe/params/product_retrieve_params.rb +13 -0
  338. data/lib/stripe/params/product_search_params.rb +22 -0
  339. data/lib/stripe/params/product_update_params.rb +96 -0
  340. data/lib/stripe/params/promotion_code_create_params.rb +91 -0
  341. data/lib/stripe/params/promotion_code_list_params.rb +64 -0
  342. data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  343. data/lib/stripe/params/promotion_code_update_params.rb +38 -0
  344. data/lib/stripe/params/quote_accept_params.rb +13 -0
  345. data/lib/stripe/params/quote_cancel_params.rb +13 -0
  346. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  347. data/lib/stripe/params/quote_create_params.rb +301 -0
  348. data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  349. data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  350. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  351. data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  352. data/lib/stripe/params/quote_list_params.rb +39 -0
  353. data/lib/stripe/params/quote_pdf_params.rb +13 -0
  354. data/lib/stripe/params/quote_retrieve_params.rb +13 -0
  355. data/lib/stripe/params/quote_update_params.rb +263 -0
  356. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  357. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  358. data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  359. data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  360. data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  361. data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  362. data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  363. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  364. data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  365. data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  366. data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  367. data/lib/stripe/params/refund_cancel_params.rb +13 -0
  368. data/lib/stripe/params/refund_create_params.rb +59 -0
  369. data/lib/stripe/params/refund_expire_params.rb +13 -0
  370. data/lib/stripe/params/refund_list_params.rb +56 -0
  371. data/lib/stripe/params/refund_retrieve_params.rb +13 -0
  372. data/lib/stripe/params/refund_update_params.rb +16 -0
  373. data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  374. data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  375. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  376. data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  377. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  378. data/lib/stripe/params/review_approve_params.rb +13 -0
  379. data/lib/stripe/params/review_list_params.rb +42 -0
  380. data/lib/stripe/params/review_retrieve_params.rb +13 -0
  381. data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  382. data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  383. data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
  384. data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
  385. data/lib/stripe/params/setup_intent_list_params.rb +62 -0
  386. data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  387. data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
  388. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  389. data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  390. data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  391. data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  392. data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  393. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  394. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  395. data/lib/stripe/params/source_create_params.rb +317 -0
  396. data/lib/stripe/params/source_detach_params.rb +13 -0
  397. data/lib/stripe/params/source_retrieve_params.rb +16 -0
  398. data/lib/stripe/params/source_transaction_list_params.rb +22 -0
  399. data/lib/stripe/params/source_update_params.rb +259 -0
  400. data/lib/stripe/params/source_verify_params.rb +16 -0
  401. data/lib/stripe/params/subscription_cancel_params.rb +33 -0
  402. data/lib/stripe/params/subscription_create_params.rb +704 -0
  403. data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  404. data/lib/stripe/params/subscription_item_create_params.rb +134 -0
  405. data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
  406. data/lib/stripe/params/subscription_item_list_params.rb +31 -0
  407. data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  408. data/lib/stripe/params/subscription_item_update_params.rb +134 -0
  409. data/lib/stripe/params/subscription_list_params.rb +129 -0
  410. data/lib/stripe/params/subscription_migrate_params.rb +35 -0
  411. data/lib/stripe/params/subscription_resume_params.rb +27 -0
  412. data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  413. data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  414. data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
  415. data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
  416. data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  417. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  418. data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
  419. data/lib/stripe/params/subscription_search_params.rb +22 -0
  420. data/lib/stripe/params/subscription_update_params.rb +683 -0
  421. data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  422. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  423. data/lib/stripe/{services/quote_preview_invoice_service.rb → params/tax/calculation_list_line_items_params.rb} +2 -13
  424. data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  425. data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
  426. data/lib/stripe/params/tax/registration_list_params.rb +27 -0
  427. data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  428. data/lib/stripe/params/tax/registration_update_params.rb +21 -0
  429. data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  430. data/lib/stripe/params/tax/settings_update_params.rb +71 -0
  431. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  432. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  433. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  434. data/lib/stripe/{services/payment_intent_amount_details_line_item_service.rb → params/tax/transaction_list_line_items_params.rb} +2 -13
  435. data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  436. data/lib/stripe/params/tax_code_list_params.rb +22 -0
  437. data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  438. data/lib/stripe/params/tax_id_create_params.rb +36 -0
  439. data/lib/stripe/params/tax_id_delete_params.rb +6 -0
  440. data/lib/stripe/params/tax_id_list_params.rb +39 -0
  441. data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  442. data/lib/stripe/params/tax_rate_create_params.rb +55 -0
  443. data/lib/stripe/params/tax_rate_list_params.rb +56 -0
  444. data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  445. data/lib/stripe/params/tax_rate_update_params.rb +47 -0
  446. data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
  447. data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  448. data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  449. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  450. data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
  451. data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  452. data/lib/stripe/params/terminal/location_create_params.rb +153 -0
  453. data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  454. data/lib/stripe/params/terminal/location_list_params.rb +24 -0
  455. data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  456. data/lib/stripe/params/terminal/location_update_params.rb +153 -0
  457. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  458. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  459. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  460. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  461. data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  462. data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  463. data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  464. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  465. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  466. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  467. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  468. data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  469. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  470. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  471. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  472. data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  473. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
  474. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  475. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
  476. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
  477. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  478. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
  479. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  480. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  481. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  482. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  483. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  484. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  485. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  486. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  487. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  488. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  489. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  490. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
  491. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
  492. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  493. data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  494. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  495. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  496. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  497. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  498. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
  499. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  500. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  501. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  502. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  503. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  504. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  505. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  506. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  507. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  508. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  509. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  510. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  511. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  512. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  513. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  514. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  515. data/lib/stripe/params/token_create_params.rb +1191 -0
  516. data/lib/stripe/params/token_retrieve_params.rb +13 -0
  517. data/lib/stripe/params/topup_cancel_params.rb +13 -0
  518. data/lib/stripe/params/topup_create_params.rb +43 -0
  519. data/lib/stripe/params/topup_list_params.rb +74 -0
  520. data/lib/stripe/params/topup_retrieve_params.rb +13 -0
  521. data/lib/stripe/params/topup_update_params.rb +19 -0
  522. data/lib/stripe/params/transfer_create_params.rb +47 -0
  523. data/lib/stripe/params/transfer_list_params.rb +56 -0
  524. data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  525. data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  526. data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  527. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  528. data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  529. data/lib/stripe/params/transfer_update_params.rb +19 -0
  530. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  531. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  532. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  533. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  534. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  535. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  536. data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  537. data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  538. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  539. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  540. data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  541. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  542. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  543. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  544. data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  545. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  546. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  547. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  548. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  549. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  550. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  551. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  552. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  553. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  554. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  555. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  556. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  557. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  558. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  559. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  560. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  561. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  562. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  563. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  564. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  565. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  566. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  567. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  568. data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  569. data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  570. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  571. data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  572. data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  573. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  574. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  575. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  576. data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  577. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  578. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  579. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  580. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  581. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  582. data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
  583. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  584. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  585. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  586. data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  587. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  588. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  589. data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  590. data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
  591. data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  593. data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  594. data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  595. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  596. data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  597. data/lib/stripe/params.rb +588 -0
  598. data/lib/stripe/request_options.rb +14 -5
  599. data/lib/stripe/resources/account.rb +437 -4906
  600. data/lib/stripe/resources/account_link.rb +8 -47
  601. data/lib/stripe/resources/account_session.rb +338 -910
  602. data/lib/stripe/resources/apple_pay_domain.rb +8 -40
  603. data/lib/stripe/resources/application.rb +8 -0
  604. data/lib/stripe/resources/application_fee.rb +12 -44
  605. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  606. data/lib/stripe/resources/apps/secret.rb +12 -112
  607. data/lib/stripe/resources/balance.rb +159 -0
  608. data/lib/stripe/resources/balance_settings.rb +40 -60
  609. data/lib/stripe/resources/balance_transaction.rb +12 -56
  610. data/lib/stripe/resources/bank_account.rb +40 -0
  611. data/lib/stripe/resources/billing/alert.rb +20 -100
  612. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  613. data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -2
  614. data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -33
  615. data/lib/stripe/resources/billing/credit_grant.rb +42 -161
  616. data/lib/stripe/resources/billing/meter.rb +40 -116
  617. data/lib/stripe/resources/billing/meter_event.rb +8 -20
  618. data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
  619. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  620. data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
  621. data/lib/stripe/resources/billing_portal/session.rb +98 -176
  622. data/lib/stripe/resources/capability.rb +56 -0
  623. data/lib/stripe/resources/card.rb +17 -3
  624. data/lib/stripe/resources/cash_balance.rb +16 -2
  625. data/lib/stripe/resources/charge.rb +949 -1945
  626. data/lib/stripe/resources/checkout/session.rb +1038 -2991
  627. data/lib/stripe/resources/climate/order.rb +28 -89
  628. data/lib/stripe/resources/climate/product.rb +13 -15
  629. data/lib/stripe/resources/climate/supplier.rb +13 -15
  630. data/lib/stripe/resources/confirmation_token.rb +883 -841
  631. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  632. data/lib/stripe/resources/country_spec.rb +29 -15
  633. data/lib/stripe/resources/coupon.rb +19 -166
  634. data/lib/stripe/resources/credit_note.rb +66 -510
  635. data/lib/stripe/resources/credit_note_line_item.rb +43 -8
  636. data/lib/stripe/resources/customer.rb +81 -677
  637. data/lib/stripe/resources/customer_balance_transaction.rb +8 -2
  638. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -2
  639. data/lib/stripe/resources/customer_session.rb +49 -98
  640. data/lib/stripe/resources/discount.rb +24 -6
  641. data/lib/stripe/resources/dispute.rb +159 -376
  642. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
  643. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  644. data/lib/stripe/resources/entitlements/feature.rb +8 -66
  645. data/lib/stripe/resources/ephemeral_key.rb +8 -8
  646. data/lib/stripe/resources/event.rb +16 -79
  647. data/lib/stripe/resources/exchange_rate.rb +18 -17
  648. data/lib/stripe/resources/file.rb +8 -79
  649. data/lib/stripe/resources/file_link.rb +8 -84
  650. data/lib/stripe/resources/financial_connections/account.rb +65 -130
  651. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  652. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  653. data/lib/stripe/resources/financial_connections/session.rb +20 -115
  654. data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
  655. data/lib/stripe/resources/forwarding/request.rb +48 -93
  656. data/lib/stripe/resources/funding_instructions.rb +217 -24
  657. data/lib/stripe/resources/identity/verification_report.rb +165 -56
  658. data/lib/stripe/resources/identity/verification_session.rb +124 -247
  659. data/lib/stripe/resources/invoice.rb +500 -4017
  660. data/lib/stripe/resources/invoice_item.rb +69 -385
  661. data/lib/stripe/resources/invoice_line_item.rb +124 -251
  662. data/lib/stripe/resources/invoice_payment.rb +20 -47
  663. data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
  664. data/lib/stripe/resources/issuing/authorization.rb +173 -836
  665. data/lib/stripe/resources/issuing/card.rb +98 -499
  666. data/lib/stripe/resources/issuing/cardholder.rb +108 -515
  667. data/lib/stripe/resources/issuing/dispute.rb +93 -620
  668. data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
  669. data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
  670. data/lib/stripe/resources/issuing/token.rb +57 -60
  671. data/lib/stripe/resources/issuing/transaction.rb +147 -702
  672. data/lib/stripe/resources/line_item.rb +22 -35
  673. data/lib/stripe/resources/login_link.rb +8 -0
  674. data/lib/stripe/resources/mandate.rb +219 -94
  675. data/lib/stripe/resources/payment_intent.rb +1241 -13361
  676. data/lib/stripe/resources/payment_link.rb +333 -1357
  677. data/lib/stripe/resources/payment_method.rb +796 -966
  678. data/lib/stripe/resources/payment_method_configuration.rb +862 -2528
  679. data/lib/stripe/resources/payment_method_domain.rb +107 -63
  680. data/lib/stripe/resources/payout.rb +12 -150
  681. data/lib/stripe/resources/person.rb +184 -4
  682. data/lib/stripe/resources/plan.rb +20 -235
  683. data/lib/stripe/resources/price.rb +65 -509
  684. data/lib/stripe/resources/product.rb +23 -411
  685. data/lib/stripe/resources/product_feature.rb +8 -0
  686. data/lib/stripe/resources/promotion_code.rb +40 -182
  687. data/lib/stripe/resources/quote.rb +280 -2743
  688. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
  689. data/lib/stripe/resources/radar/value_list.rb +8 -92
  690. data/lib/stripe/resources/radar/value_list_item.rb +8 -68
  691. data/lib/stripe/resources/refund.rb +365 -159
  692. data/lib/stripe/resources/reporting/report_run.rb +12 -93
  693. data/lib/stripe/resources/reporting/report_type.rb +8 -8
  694. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  695. data/lib/stripe/resources/reversal.rb +8 -0
  696. data/lib/stripe/resources/review.rb +20 -43
  697. data/lib/stripe/resources/setup_attempt.rb +284 -87
  698. data/lib/stripe/resources/setup_intent.rb +358 -4143
  699. data/lib/stripe/resources/shipping_rate.rb +44 -187
  700. data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
  701. data/lib/stripe/resources/source.rb +267 -611
  702. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  703. data/lib/stripe/resources/source_transaction.rb +54 -0
  704. data/lib/stripe/resources/subscription.rb +266 -1931
  705. data/lib/stripe/resources/subscription_item.rb +12 -379
  706. data/lib/stripe/resources/subscription_schedule.rb +230 -2273
  707. data/lib/stripe/resources/tax/calculation.rb +111 -220
  708. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  709. data/lib/stripe/resources/tax/registration.rb +1274 -2096
  710. data/lib/stripe/resources/tax/settings.rb +61 -64
  711. data/lib/stripe/resources/tax/transaction.rb +95 -122
  712. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  713. data/lib/stripe/resources/tax_code.rb +8 -17
  714. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  715. data/lib/stripe/resources/tax_id.rb +20 -75
  716. data/lib/stripe/resources/tax_rate.rb +12 -142
  717. data/lib/stripe/resources/terminal/configuration.rb +301 -1205
  718. data/lib/stripe/resources/terminal/connection_token.rb +8 -11
  719. data/lib/stripe/resources/terminal/location.rb +72 -126
  720. data/lib/stripe/resources/terminal/reader.rb +237 -509
  721. data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
  722. data/lib/stripe/resources/token.rb +8 -1191
  723. data/lib/stripe/resources/topup.rb +8 -132
  724. data/lib/stripe/resources/transfer.rb +8 -115
  725. data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
  726. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
  727. data/lib/stripe/resources/treasury/financial_account.rb +55 -658
  728. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -2
  729. data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
  730. data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
  731. data/lib/stripe/resources/treasury/outbound_transfer.rb +93 -235
  732. data/lib/stripe/resources/treasury/received_credit.rb +76 -136
  733. data/lib/stripe/resources/treasury/received_debit.rb +68 -126
  734. data/lib/stripe/resources/treasury/transaction.rb +32 -82
  735. data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
  736. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  737. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  738. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  739. data/lib/stripe/resources/v2/core/event.rb +67 -0
  740. data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
  741. data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
  742. data/lib/stripe/resources/v2/deleted_object.rb +21 -0
  743. data/lib/stripe/resources/webhook_endpoint.rb +8 -85
  744. data/lib/stripe/resources.rb +3 -110
  745. data/lib/stripe/services/account_capability_service.rb +0 -32
  746. data/lib/stripe/services/account_external_account_service.rb +0 -249
  747. data/lib/stripe/services/account_link_service.rb +0 -48
  748. data/lib/stripe/services/account_login_link_service.rb +0 -9
  749. data/lib/stripe/services/account_person_service.rb +0 -958
  750. data/lib/stripe/services/account_service.rb +0 -4710
  751. data/lib/stripe/services/account_session_service.rb +0 -862
  752. data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
  753. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  754. data/lib/stripe/services/application_fee_service.rb +0 -57
  755. data/lib/stripe/services/apps/secret_service.rb +0 -116
  756. data/lib/stripe/services/balance_service.rb +0 -9
  757. data/lib/stripe/services/balance_settings_service.rb +0 -69
  758. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  759. data/lib/stripe/services/billing/alert_service.rb +0 -113
  760. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -51
  761. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -44
  762. data/lib/stripe/services/billing/credit_grant_service.rb +0 -174
  763. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  764. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  765. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  766. data/lib/stripe/services/billing/meter_service.rb +0 -130
  767. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
  768. data/lib/stripe/services/billing_portal/session_service.rb +0 -177
  769. data/lib/stripe/services/billing_service.rb +1 -2
  770. data/lib/stripe/services/charge_service.rb +0 -1820
  771. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  772. data/lib/stripe/services/checkout/session_service.rb +0 -2882
  773. data/lib/stripe/services/climate/order_service.rb +0 -102
  774. data/lib/stripe/services/climate/product_service.rb +0 -27
  775. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  776. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  777. data/lib/stripe/services/country_spec_service.rb +0 -27
  778. data/lib/stripe/services/coupon_service.rb +0 -167
  779. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  780. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
  781. data/lib/stripe/services/credit_note_service.rb +0 -369
  782. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  783. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  784. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  785. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  786. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  787. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  788. data/lib/stripe/services/customer_service.rb +0 -575
  789. data/lib/stripe/services/customer_session_service.rb +0 -99
  790. data/lib/stripe/services/customer_tax_id_service.rb +0 -44
  791. data/lib/stripe/services/dispute_service.rb +0 -374
  792. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  793. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  794. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  795. data/lib/stripe/services/event_service.rb +0 -65
  796. data/lib/stripe/services/exchange_rate_service.rb +4 -27
  797. data/lib/stripe/services/file_link_service.rb +0 -94
  798. data/lib/stripe/services/file_service.rb +0 -89
  799. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  800. data/lib/stripe/services/financial_connections/account_service.rb +1 -102
  801. data/lib/stripe/services/financial_connections/session_service.rb +0 -100
  802. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  803. data/lib/stripe/services/financial_connections_service.rb +1 -2
  804. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  805. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  806. data/lib/stripe/services/identity/verification_session_service.rb +0 -255
  807. data/lib/stripe/services/invoice_item_service.rb +0 -405
  808. data/lib/stripe/services/invoice_line_item_service.rb +0 -253
  809. data/lib/stripe/services/invoice_payment_service.rb +0 -58
  810. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  811. data/lib/stripe/services/invoice_service.rb +0 -3836
  812. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  813. data/lib/stripe/services/issuing/card_service.rb +0 -463
  814. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  815. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  816. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  817. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  818. data/lib/stripe/services/issuing/token_service.rb +0 -73
  819. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  820. data/lib/stripe/services/issuing_service.rb +1 -5
  821. data/lib/stripe/services/mandate_service.rb +0 -49
  822. data/lib/stripe/services/payment_intent_service.rb +0 -12747
  823. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  824. data/lib/stripe/services/payment_link_service.rb +0 -1352
  825. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2466
  826. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  827. data/lib/stripe/services/payment_method_service.rb +0 -881
  828. data/lib/stripe/services/payout_service.rb +0 -163
  829. data/lib/stripe/services/plan_service.rb +0 -248
  830. data/lib/stripe/services/price_service.rb +0 -512
  831. data/lib/stripe/services/product_feature_service.rb +0 -41
  832. data/lib/stripe/services/product_service.rb +0 -424
  833. data/lib/stripe/services/promotion_code_service.rb +1 -187
  834. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  835. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  836. data/lib/stripe/services/quote_service.rb +1 -2344
  837. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  838. data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
  839. data/lib/stripe/services/radar/value_list_service.rb +0 -102
  840. data/lib/stripe/services/refund_service.rb +0 -137
  841. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  842. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  843. data/lib/stripe/services/review_service.rb +0 -56
  844. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  845. data/lib/stripe/services/setup_intent_service.rb +0 -3957
  846. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  847. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  848. data/lib/stripe/services/source_service.rb +0 -601
  849. data/lib/stripe/services/source_transaction_service.rb +0 -18
  850. data/lib/stripe/services/subscription_item_service.rb +0 -383
  851. data/lib/stripe/services/subscription_schedule_service.rb +0 -2196
  852. data/lib/stripe/services/subscription_service.rb +0 -1894
  853. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  854. data/lib/stripe/services/tax/calculation_service.rb +0 -209
  855. data/lib/stripe/services/tax/registration_service.rb +0 -2063
  856. data/lib/stripe/services/tax/settings_service.rb +0 -74
  857. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  858. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  859. data/lib/stripe/services/tax_code_service.rb +0 -27
  860. data/lib/stripe/services/tax_id_service.rb +0 -84
  861. data/lib/stripe/services/tax_rate_service.rb +0 -155
  862. data/lib/stripe/services/tax_service.rb +1 -3
  863. data/lib/stripe/services/terminal/configuration_service.rb +0 -1212
  864. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  865. data/lib/stripe/services/terminal/location_service.rb +0 -143
  866. data/lib/stripe/services/terminal/reader_service.rb +0 -427
  867. data/lib/stripe/services/terminal_service.rb +1 -3
  868. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -738
  869. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  870. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  871. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  872. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  873. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  874. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  875. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
  876. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
  877. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  878. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  879. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  880. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  881. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  882. data/lib/stripe/services/token_service.rb +0 -1201
  883. data/lib/stripe/services/topup_service.rb +0 -142
  884. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  885. data/lib/stripe/services/transfer_service.rb +0 -123
  886. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  887. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  888. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  889. data/lib/stripe/services/treasury/financial_account_service.rb +0 -502
  890. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  891. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  892. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  893. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  894. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  895. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  896. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  897. data/lib/stripe/services/v1_services.rb +1 -10
  898. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  899. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  900. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
  901. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  902. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
  903. data/lib/stripe/services/v2/core/event_service.rb +0 -16
  904. data/lib/stripe/services/v2/core_service.rb +1 -4
  905. data/lib/stripe/services/v2_services.rb +1 -4
  906. data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
  907. data/lib/stripe/services.rb +0 -54
  908. data/lib/stripe/stripe_client.rb +8 -5
  909. data/lib/stripe/stripe_configuration.rb +2 -9
  910. data/lib/stripe/stripe_context.rb +68 -0
  911. data/lib/stripe/stripe_object.rb +34 -10
  912. data/lib/stripe/util.rb +25 -20
  913. data/lib/stripe/version.rb +1 -1
  914. data/lib/stripe.rb +3 -54
  915. data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  916. data/rbi/stripe/stripe_client.rbi +17 -0
  917. data/rbi/stripe.rbi +121931 -190301
  918. metadata +599 -189
  919. data/API_VERSION +0 -1
  920. data/CHANGELOG.md +0 -2780
  921. data/CODE_OF_CONDUCT.md +0 -77
  922. data/CONTRIBUTING.md +0 -25
  923. data/CONTRIBUTORS +0 -3
  924. data/Gemfile +0 -41
  925. data/History.txt +0 -1
  926. data/LICENSE +0 -21
  927. data/Makefile +0 -22
  928. data/OPENAPI_VERSION +0 -1
  929. data/README.md +0 -424
  930. data/Rakefile +0 -34
  931. data/VERSION +0 -1
  932. data/examples/README.md +0 -16
  933. data/examples/example_template.rb +0 -36
  934. data/examples/meter_event_stream.rb +0 -57
  935. data/examples/thinevent_webhook_handler.rb +0 -39
  936. data/justfile +0 -43
  937. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  938. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  939. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  940. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  941. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  942. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  943. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  944. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  945. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
  946. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  947. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  948. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  949. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  950. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
  951. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  952. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  953. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  954. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  955. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  956. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  957. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  958. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  959. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  960. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  961. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  962. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  963. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  964. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  965. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  966. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  967. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  968. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  969. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  970. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  971. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  972. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  973. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  974. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  975. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  976. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  977. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  978. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
  979. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  980. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  981. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  982. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  983. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  984. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  985. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  986. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  987. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  988. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  989. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  990. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  991. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
  992. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  993. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  994. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  995. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  996. data/lib/stripe/resources/account_notice.rb +0 -123
  997. data/lib/stripe/resources/billing/meter_usage.rb +0 -23
  998. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
  999. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  1000. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  1001. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  1002. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  1003. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  1004. data/lib/stripe/resources/fx_quote.rb +0 -186
  1005. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  1006. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  1007. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  1008. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  1009. data/lib/stripe/resources/margin.rb +0 -115
  1010. data/lib/stripe/resources/order.rb +0 -2958
  1011. data/lib/stripe/resources/payment_attempt_record.rb +0 -1181
  1012. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  1013. data/lib/stripe/resources/payment_record.rb +0 -1727
  1014. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  1015. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  1016. data/lib/stripe/resources/quote_line.rb +0 -274
  1017. data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
  1018. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -395
  1019. data/lib/stripe/resources/tax/association.rb +0 -66
  1020. data/lib/stripe/resources/tax/form.rb +0 -211
  1021. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
  1022. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  1023. data/lib/stripe/resources/v2/core/account.rb +0 -1938
  1024. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  1025. data/lib/stripe/resources/v2/core/person.rb +0 -276
  1026. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  1027. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  1028. data/lib/stripe/resources/v2/event.rb +0 -41
  1029. data/lib/stripe/resources/v2/event_destination.rb +0 -73
  1030. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  1031. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  1032. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  1033. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -79
  1034. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  1035. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  1036. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  1037. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  1038. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  1039. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  1040. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
  1041. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  1042. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  1043. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  1044. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -80
  1045. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -70
  1046. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
  1047. data/lib/stripe/services/account_notice_service.rb +0 -101
  1048. data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
  1049. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  1050. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  1051. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  1052. data/lib/stripe/services/capital_service.rb +0 -15
  1053. data/lib/stripe/services/external_account_service.rb +0 -317
  1054. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  1055. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  1056. data/lib/stripe/services/fx_quote_service.rb +0 -123
  1057. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  1058. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  1059. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  1060. data/lib/stripe/services/margin_service.rb +0 -119
  1061. data/lib/stripe/services/order_service.rb +0 -2388
  1062. data/lib/stripe/services/payment_attempt_record_service.rb +0 -52
  1063. data/lib/stripe/services/payment_record_service.rb +0 -562
  1064. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  1065. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -37
  1066. data/lib/stripe/services/privacy_service.rb +0 -13
  1067. data/lib/stripe/services/tax/association_service.rb +0 -31
  1068. data/lib/stripe/services/tax/form_service.rb +0 -100
  1069. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
  1070. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  1071. data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
  1072. data/lib/stripe/services/v2/core/account_service.rb +0 -4536
  1073. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  1074. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  1075. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  1076. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  1077. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  1078. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -119
  1079. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  1080. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  1081. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  1082. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  1083. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  1084. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  1085. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  1086. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  1087. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  1088. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  1089. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  1090. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  1091. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  1092. data/lib/stripe/services/v2/payment_service.rb +0 -15
  1093. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -152
  1094. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  1095. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
  1096. data/lib/stripe/thin_event.rb +0 -37
  1097. data/stripe.gemspec +0 -47
@@ -34,11 +34,27 @@ module Stripe
34
34
  attr_reader :preference
35
35
  # The effective display preference value.
36
36
  attr_reader :value
37
+
38
+ def self.inner_class_types
39
+ @inner_class_types = {}
40
+ end
41
+
42
+ def self.field_remappings
43
+ @field_remappings = {}
44
+ end
37
45
  end
38
46
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
39
47
  attr_reader :available
40
48
  # Attribute for field display_preference
41
49
  attr_reader :display_preference
50
+
51
+ def self.inner_class_types
52
+ @inner_class_types = { display_preference: DisplayPreference }
53
+ end
54
+
55
+ def self.field_remappings
56
+ @field_remappings = {}
57
+ end
42
58
  end
43
59
 
44
60
  class Affirm < Stripe::StripeObject
@@ -49,11 +65,27 @@ module Stripe
49
65
  attr_reader :preference
50
66
  # The effective display preference value.
51
67
  attr_reader :value
68
+
69
+ def self.inner_class_types
70
+ @inner_class_types = {}
71
+ end
72
+
73
+ def self.field_remappings
74
+ @field_remappings = {}
75
+ end
52
76
  end
53
77
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
54
78
  attr_reader :available
55
79
  # Attribute for field display_preference
56
80
  attr_reader :display_preference
81
+
82
+ def self.inner_class_types
83
+ @inner_class_types = { display_preference: DisplayPreference }
84
+ end
85
+
86
+ def self.field_remappings
87
+ @field_remappings = {}
88
+ end
57
89
  end
58
90
 
59
91
  class AfterpayClearpay < Stripe::StripeObject
@@ -64,11 +96,27 @@ module Stripe
64
96
  attr_reader :preference
65
97
  # The effective display preference value.
66
98
  attr_reader :value
99
+
100
+ def self.inner_class_types
101
+ @inner_class_types = {}
102
+ end
103
+
104
+ def self.field_remappings
105
+ @field_remappings = {}
106
+ end
67
107
  end
68
108
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
69
109
  attr_reader :available
70
110
  # Attribute for field display_preference
71
111
  attr_reader :display_preference
112
+
113
+ def self.inner_class_types
114
+ @inner_class_types = { display_preference: DisplayPreference }
115
+ end
116
+
117
+ def self.field_remappings
118
+ @field_remappings = {}
119
+ end
72
120
  end
73
121
 
74
122
  class Alipay < Stripe::StripeObject
@@ -79,11 +127,27 @@ module Stripe
79
127
  attr_reader :preference
80
128
  # The effective display preference value.
81
129
  attr_reader :value
130
+
131
+ def self.inner_class_types
132
+ @inner_class_types = {}
133
+ end
134
+
135
+ def self.field_remappings
136
+ @field_remappings = {}
137
+ end
82
138
  end
83
139
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
84
140
  attr_reader :available
85
141
  # Attribute for field display_preference
86
142
  attr_reader :display_preference
143
+
144
+ def self.inner_class_types
145
+ @inner_class_types = { display_preference: DisplayPreference }
146
+ end
147
+
148
+ def self.field_remappings
149
+ @field_remappings = {}
150
+ end
87
151
  end
88
152
 
89
153
  class Alma < Stripe::StripeObject
@@ -94,11 +158,27 @@ module Stripe
94
158
  attr_reader :preference
95
159
  # The effective display preference value.
96
160
  attr_reader :value
161
+
162
+ def self.inner_class_types
163
+ @inner_class_types = {}
164
+ end
165
+
166
+ def self.field_remappings
167
+ @field_remappings = {}
168
+ end
97
169
  end
98
170
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
99
171
  attr_reader :available
100
172
  # Attribute for field display_preference
101
173
  attr_reader :display_preference
174
+
175
+ def self.inner_class_types
176
+ @inner_class_types = { display_preference: DisplayPreference }
177
+ end
178
+
179
+ def self.field_remappings
180
+ @field_remappings = {}
181
+ end
102
182
  end
103
183
 
104
184
  class AmazonPay < Stripe::StripeObject
@@ -109,11 +189,27 @@ module Stripe
109
189
  attr_reader :preference
110
190
  # The effective display preference value.
111
191
  attr_reader :value
192
+
193
+ def self.inner_class_types
194
+ @inner_class_types = {}
195
+ end
196
+
197
+ def self.field_remappings
198
+ @field_remappings = {}
199
+ end
112
200
  end
113
201
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
114
202
  attr_reader :available
115
203
  # Attribute for field display_preference
116
204
  attr_reader :display_preference
205
+
206
+ def self.inner_class_types
207
+ @inner_class_types = { display_preference: DisplayPreference }
208
+ end
209
+
210
+ def self.field_remappings
211
+ @field_remappings = {}
212
+ end
117
213
  end
118
214
 
119
215
  class ApplePay < Stripe::StripeObject
@@ -124,11 +220,27 @@ module Stripe
124
220
  attr_reader :preference
125
221
  # The effective display preference value.
126
222
  attr_reader :value
223
+
224
+ def self.inner_class_types
225
+ @inner_class_types = {}
226
+ end
227
+
228
+ def self.field_remappings
229
+ @field_remappings = {}
230
+ end
127
231
  end
128
232
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
129
233
  attr_reader :available
130
234
  # Attribute for field display_preference
131
235
  attr_reader :display_preference
236
+
237
+ def self.inner_class_types
238
+ @inner_class_types = { display_preference: DisplayPreference }
239
+ end
240
+
241
+ def self.field_remappings
242
+ @field_remappings = {}
243
+ end
132
244
  end
133
245
 
134
246
  class AuBecsDebit < Stripe::StripeObject
@@ -139,11 +251,27 @@ module Stripe
139
251
  attr_reader :preference
140
252
  # The effective display preference value.
141
253
  attr_reader :value
254
+
255
+ def self.inner_class_types
256
+ @inner_class_types = {}
257
+ end
258
+
259
+ def self.field_remappings
260
+ @field_remappings = {}
261
+ end
142
262
  end
143
263
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
144
264
  attr_reader :available
145
265
  # Attribute for field display_preference
146
266
  attr_reader :display_preference
267
+
268
+ def self.inner_class_types
269
+ @inner_class_types = { display_preference: DisplayPreference }
270
+ end
271
+
272
+ def self.field_remappings
273
+ @field_remappings = {}
274
+ end
147
275
  end
148
276
 
149
277
  class BacsDebit < Stripe::StripeObject
@@ -154,11 +282,27 @@ module Stripe
154
282
  attr_reader :preference
155
283
  # The effective display preference value.
156
284
  attr_reader :value
285
+
286
+ def self.inner_class_types
287
+ @inner_class_types = {}
288
+ end
289
+
290
+ def self.field_remappings
291
+ @field_remappings = {}
292
+ end
157
293
  end
158
294
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
159
295
  attr_reader :available
160
296
  # Attribute for field display_preference
161
297
  attr_reader :display_preference
298
+
299
+ def self.inner_class_types
300
+ @inner_class_types = { display_preference: DisplayPreference }
301
+ end
302
+
303
+ def self.field_remappings
304
+ @field_remappings = {}
305
+ end
162
306
  end
163
307
 
164
308
  class Bancontact < Stripe::StripeObject
@@ -169,11 +313,27 @@ module Stripe
169
313
  attr_reader :preference
170
314
  # The effective display preference value.
171
315
  attr_reader :value
316
+
317
+ def self.inner_class_types
318
+ @inner_class_types = {}
319
+ end
320
+
321
+ def self.field_remappings
322
+ @field_remappings = {}
323
+ end
172
324
  end
173
325
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
174
326
  attr_reader :available
175
327
  # Attribute for field display_preference
176
328
  attr_reader :display_preference
329
+
330
+ def self.inner_class_types
331
+ @inner_class_types = { display_preference: DisplayPreference }
332
+ end
333
+
334
+ def self.field_remappings
335
+ @field_remappings = {}
336
+ end
177
337
  end
178
338
 
179
339
  class Billie < Stripe::StripeObject
@@ -184,11 +344,27 @@ module Stripe
184
344
  attr_reader :preference
185
345
  # The effective display preference value.
186
346
  attr_reader :value
347
+
348
+ def self.inner_class_types
349
+ @inner_class_types = {}
350
+ end
351
+
352
+ def self.field_remappings
353
+ @field_remappings = {}
354
+ end
187
355
  end
188
356
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
189
357
  attr_reader :available
190
358
  # Attribute for field display_preference
191
359
  attr_reader :display_preference
360
+
361
+ def self.inner_class_types
362
+ @inner_class_types = { display_preference: DisplayPreference }
363
+ end
364
+
365
+ def self.field_remappings
366
+ @field_remappings = {}
367
+ end
192
368
  end
193
369
 
194
370
  class Blik < Stripe::StripeObject
@@ -199,11 +375,27 @@ module Stripe
199
375
  attr_reader :preference
200
376
  # The effective display preference value.
201
377
  attr_reader :value
378
+
379
+ def self.inner_class_types
380
+ @inner_class_types = {}
381
+ end
382
+
383
+ def self.field_remappings
384
+ @field_remappings = {}
385
+ end
202
386
  end
203
387
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
204
388
  attr_reader :available
205
389
  # Attribute for field display_preference
206
390
  attr_reader :display_preference
391
+
392
+ def self.inner_class_types
393
+ @inner_class_types = { display_preference: DisplayPreference }
394
+ end
395
+
396
+ def self.field_remappings
397
+ @field_remappings = {}
398
+ end
207
399
  end
208
400
 
209
401
  class Boleto < Stripe::StripeObject
@@ -214,11 +406,27 @@ module Stripe
214
406
  attr_reader :preference
215
407
  # The effective display preference value.
216
408
  attr_reader :value
409
+
410
+ def self.inner_class_types
411
+ @inner_class_types = {}
412
+ end
413
+
414
+ def self.field_remappings
415
+ @field_remappings = {}
416
+ end
217
417
  end
218
418
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
219
419
  attr_reader :available
220
420
  # Attribute for field display_preference
221
421
  attr_reader :display_preference
422
+
423
+ def self.inner_class_types
424
+ @inner_class_types = { display_preference: DisplayPreference }
425
+ end
426
+
427
+ def self.field_remappings
428
+ @field_remappings = {}
429
+ end
222
430
  end
223
431
 
224
432
  class Card < Stripe::StripeObject
@@ -229,11 +437,27 @@ module Stripe
229
437
  attr_reader :preference
230
438
  # The effective display preference value.
231
439
  attr_reader :value
440
+
441
+ def self.inner_class_types
442
+ @inner_class_types = {}
443
+ end
444
+
445
+ def self.field_remappings
446
+ @field_remappings = {}
447
+ end
232
448
  end
233
449
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
234
450
  attr_reader :available
235
451
  # Attribute for field display_preference
236
452
  attr_reader :display_preference
453
+
454
+ def self.inner_class_types
455
+ @inner_class_types = { display_preference: DisplayPreference }
456
+ end
457
+
458
+ def self.field_remappings
459
+ @field_remappings = {}
460
+ end
237
461
  end
238
462
 
239
463
  class CartesBancaires < Stripe::StripeObject
@@ -244,11 +468,27 @@ module Stripe
244
468
  attr_reader :preference
245
469
  # The effective display preference value.
246
470
  attr_reader :value
471
+
472
+ def self.inner_class_types
473
+ @inner_class_types = {}
474
+ end
475
+
476
+ def self.field_remappings
477
+ @field_remappings = {}
478
+ end
247
479
  end
248
480
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
249
481
  attr_reader :available
250
482
  # Attribute for field display_preference
251
483
  attr_reader :display_preference
484
+
485
+ def self.inner_class_types
486
+ @inner_class_types = { display_preference: DisplayPreference }
487
+ end
488
+
489
+ def self.field_remappings
490
+ @field_remappings = {}
491
+ end
252
492
  end
253
493
 
254
494
  class Cashapp < Stripe::StripeObject
@@ -259,11 +499,27 @@ module Stripe
259
499
  attr_reader :preference
260
500
  # The effective display preference value.
261
501
  attr_reader :value
502
+
503
+ def self.inner_class_types
504
+ @inner_class_types = {}
505
+ end
506
+
507
+ def self.field_remappings
508
+ @field_remappings = {}
509
+ end
262
510
  end
263
511
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
264
512
  attr_reader :available
265
513
  # Attribute for field display_preference
266
514
  attr_reader :display_preference
515
+
516
+ def self.inner_class_types
517
+ @inner_class_types = { display_preference: DisplayPreference }
518
+ end
519
+
520
+ def self.field_remappings
521
+ @field_remappings = {}
522
+ end
267
523
  end
268
524
 
269
525
  class CustomerBalance < Stripe::StripeObject
@@ -274,11 +530,27 @@ module Stripe
274
530
  attr_reader :preference
275
531
  # The effective display preference value.
276
532
  attr_reader :value
533
+
534
+ def self.inner_class_types
535
+ @inner_class_types = {}
536
+ end
537
+
538
+ def self.field_remappings
539
+ @field_remappings = {}
540
+ end
277
541
  end
278
542
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
279
543
  attr_reader :available
280
544
  # Attribute for field display_preference
281
545
  attr_reader :display_preference
546
+
547
+ def self.inner_class_types
548
+ @inner_class_types = { display_preference: DisplayPreference }
549
+ end
550
+
551
+ def self.field_remappings
552
+ @field_remappings = {}
553
+ end
282
554
  end
283
555
 
284
556
  class Eps < Stripe::StripeObject
@@ -289,11 +561,27 @@ module Stripe
289
561
  attr_reader :preference
290
562
  # The effective display preference value.
291
563
  attr_reader :value
564
+
565
+ def self.inner_class_types
566
+ @inner_class_types = {}
567
+ end
568
+
569
+ def self.field_remappings
570
+ @field_remappings = {}
571
+ end
292
572
  end
293
573
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
294
574
  attr_reader :available
295
575
  # Attribute for field display_preference
296
576
  attr_reader :display_preference
577
+
578
+ def self.inner_class_types
579
+ @inner_class_types = { display_preference: DisplayPreference }
580
+ end
581
+
582
+ def self.field_remappings
583
+ @field_remappings = {}
584
+ end
297
585
  end
298
586
 
299
587
  class Fpx < Stripe::StripeObject
@@ -304,11 +592,27 @@ module Stripe
304
592
  attr_reader :preference
305
593
  # The effective display preference value.
306
594
  attr_reader :value
595
+
596
+ def self.inner_class_types
597
+ @inner_class_types = {}
598
+ end
599
+
600
+ def self.field_remappings
601
+ @field_remappings = {}
602
+ end
307
603
  end
308
604
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
309
605
  attr_reader :available
310
606
  # Attribute for field display_preference
311
607
  attr_reader :display_preference
608
+
609
+ def self.inner_class_types
610
+ @inner_class_types = { display_preference: DisplayPreference }
611
+ end
612
+
613
+ def self.field_remappings
614
+ @field_remappings = {}
615
+ end
312
616
  end
313
617
 
314
618
  class Giropay < Stripe::StripeObject
@@ -319,11 +623,27 @@ module Stripe
319
623
  attr_reader :preference
320
624
  # The effective display preference value.
321
625
  attr_reader :value
626
+
627
+ def self.inner_class_types
628
+ @inner_class_types = {}
629
+ end
630
+
631
+ def self.field_remappings
632
+ @field_remappings = {}
633
+ end
322
634
  end
323
635
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
324
636
  attr_reader :available
325
637
  # Attribute for field display_preference
326
638
  attr_reader :display_preference
639
+
640
+ def self.inner_class_types
641
+ @inner_class_types = { display_preference: DisplayPreference }
642
+ end
643
+
644
+ def self.field_remappings
645
+ @field_remappings = {}
646
+ end
327
647
  end
328
648
 
329
649
  class GooglePay < Stripe::StripeObject
@@ -334,26 +654,27 @@ module Stripe
334
654
  attr_reader :preference
335
655
  # The effective display preference value.
336
656
  attr_reader :value
657
+
658
+ def self.inner_class_types
659
+ @inner_class_types = {}
660
+ end
661
+
662
+ def self.field_remappings
663
+ @field_remappings = {}
664
+ end
337
665
  end
338
666
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
339
667
  attr_reader :available
340
668
  # Attribute for field display_preference
341
669
  attr_reader :display_preference
342
- end
343
670
 
344
- class Gopay < 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
671
+ def self.inner_class_types
672
+ @inner_class_types = { display_preference: DisplayPreference }
673
+ end
674
+
675
+ def self.field_remappings
676
+ @field_remappings = {}
352
677
  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
678
  end
358
679
 
359
680
  class Grabpay < Stripe::StripeObject
@@ -364,26 +685,27 @@ module Stripe
364
685
  attr_reader :preference
365
686
  # The effective display preference value.
366
687
  attr_reader :value
688
+
689
+ def self.inner_class_types
690
+ @inner_class_types = {}
691
+ end
692
+
693
+ def self.field_remappings
694
+ @field_remappings = {}
695
+ end
367
696
  end
368
697
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
369
698
  attr_reader :available
370
699
  # Attribute for field display_preference
371
700
  attr_reader :display_preference
372
- end
373
701
 
374
- class IdBankTransfer < 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
702
+ def self.inner_class_types
703
+ @inner_class_types = { display_preference: DisplayPreference }
704
+ end
705
+
706
+ def self.field_remappings
707
+ @field_remappings = {}
382
708
  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
709
  end
388
710
 
389
711
  class Ideal < Stripe::StripeObject
@@ -394,11 +716,27 @@ module Stripe
394
716
  attr_reader :preference
395
717
  # The effective display preference value.
396
718
  attr_reader :value
719
+
720
+ def self.inner_class_types
721
+ @inner_class_types = {}
722
+ end
723
+
724
+ def self.field_remappings
725
+ @field_remappings = {}
726
+ end
397
727
  end
398
728
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
399
729
  attr_reader :available
400
730
  # Attribute for field display_preference
401
731
  attr_reader :display_preference
732
+
733
+ def self.inner_class_types
734
+ @inner_class_types = { display_preference: DisplayPreference }
735
+ end
736
+
737
+ def self.field_remappings
738
+ @field_remappings = {}
739
+ end
402
740
  end
403
741
 
404
742
  class Jcb < Stripe::StripeObject
@@ -409,11 +747,27 @@ module Stripe
409
747
  attr_reader :preference
410
748
  # The effective display preference value.
411
749
  attr_reader :value
750
+
751
+ def self.inner_class_types
752
+ @inner_class_types = {}
753
+ end
754
+
755
+ def self.field_remappings
756
+ @field_remappings = {}
757
+ end
412
758
  end
413
759
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
414
760
  attr_reader :available
415
761
  # Attribute for field display_preference
416
762
  attr_reader :display_preference
763
+
764
+ def self.inner_class_types
765
+ @inner_class_types = { display_preference: DisplayPreference }
766
+ end
767
+
768
+ def self.field_remappings
769
+ @field_remappings = {}
770
+ end
417
771
  end
418
772
 
419
773
  class KakaoPay < Stripe::StripeObject
@@ -424,11 +778,27 @@ module Stripe
424
778
  attr_reader :preference
425
779
  # The effective display preference value.
426
780
  attr_reader :value
781
+
782
+ def self.inner_class_types
783
+ @inner_class_types = {}
784
+ end
785
+
786
+ def self.field_remappings
787
+ @field_remappings = {}
788
+ end
427
789
  end
428
790
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
429
791
  attr_reader :available
430
792
  # Attribute for field display_preference
431
793
  attr_reader :display_preference
794
+
795
+ def self.inner_class_types
796
+ @inner_class_types = { display_preference: DisplayPreference }
797
+ end
798
+
799
+ def self.field_remappings
800
+ @field_remappings = {}
801
+ end
432
802
  end
433
803
 
434
804
  class Klarna < Stripe::StripeObject
@@ -439,11 +809,27 @@ module Stripe
439
809
  attr_reader :preference
440
810
  # The effective display preference value.
441
811
  attr_reader :value
812
+
813
+ def self.inner_class_types
814
+ @inner_class_types = {}
815
+ end
816
+
817
+ def self.field_remappings
818
+ @field_remappings = {}
819
+ end
442
820
  end
443
821
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
444
822
  attr_reader :available
445
823
  # Attribute for field display_preference
446
824
  attr_reader :display_preference
825
+
826
+ def self.inner_class_types
827
+ @inner_class_types = { display_preference: DisplayPreference }
828
+ end
829
+
830
+ def self.field_remappings
831
+ @field_remappings = {}
832
+ end
447
833
  end
448
834
 
449
835
  class Konbini < Stripe::StripeObject
@@ -454,11 +840,27 @@ module Stripe
454
840
  attr_reader :preference
455
841
  # The effective display preference value.
456
842
  attr_reader :value
843
+
844
+ def self.inner_class_types
845
+ @inner_class_types = {}
846
+ end
847
+
848
+ def self.field_remappings
849
+ @field_remappings = {}
850
+ end
457
851
  end
458
852
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
459
853
  attr_reader :available
460
854
  # Attribute for field display_preference
461
855
  attr_reader :display_preference
856
+
857
+ def self.inner_class_types
858
+ @inner_class_types = { display_preference: DisplayPreference }
859
+ end
860
+
861
+ def self.field_remappings
862
+ @field_remappings = {}
863
+ end
462
864
  end
463
865
 
464
866
  class KrCard < Stripe::StripeObject
@@ -469,11 +871,27 @@ module Stripe
469
871
  attr_reader :preference
470
872
  # The effective display preference value.
471
873
  attr_reader :value
874
+
875
+ def self.inner_class_types
876
+ @inner_class_types = {}
877
+ end
878
+
879
+ def self.field_remappings
880
+ @field_remappings = {}
881
+ end
472
882
  end
473
883
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
474
884
  attr_reader :available
475
885
  # Attribute for field display_preference
476
886
  attr_reader :display_preference
887
+
888
+ def self.inner_class_types
889
+ @inner_class_types = { display_preference: DisplayPreference }
890
+ end
891
+
892
+ def self.field_remappings
893
+ @field_remappings = {}
894
+ end
477
895
  end
478
896
 
479
897
  class Link < Stripe::StripeObject
@@ -484,11 +902,27 @@ module Stripe
484
902
  attr_reader :preference
485
903
  # The effective display preference value.
486
904
  attr_reader :value
905
+
906
+ def self.inner_class_types
907
+ @inner_class_types = {}
908
+ end
909
+
910
+ def self.field_remappings
911
+ @field_remappings = {}
912
+ end
487
913
  end
488
914
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
489
915
  attr_reader :available
490
916
  # Attribute for field display_preference
491
917
  attr_reader :display_preference
918
+
919
+ def self.inner_class_types
920
+ @inner_class_types = { display_preference: DisplayPreference }
921
+ end
922
+
923
+ def self.field_remappings
924
+ @field_remappings = {}
925
+ end
492
926
  end
493
927
 
494
928
  class Mobilepay < Stripe::StripeObject
@@ -499,11 +933,27 @@ module Stripe
499
933
  attr_reader :preference
500
934
  # The effective display preference value.
501
935
  attr_reader :value
936
+
937
+ def self.inner_class_types
938
+ @inner_class_types = {}
939
+ end
940
+
941
+ def self.field_remappings
942
+ @field_remappings = {}
943
+ end
502
944
  end
503
945
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
504
946
  attr_reader :available
505
947
  # Attribute for field display_preference
506
948
  attr_reader :display_preference
949
+
950
+ def self.inner_class_types
951
+ @inner_class_types = { display_preference: DisplayPreference }
952
+ end
953
+
954
+ def self.field_remappings
955
+ @field_remappings = {}
956
+ end
507
957
  end
508
958
 
509
959
  class Multibanco < Stripe::StripeObject
@@ -514,11 +964,27 @@ module Stripe
514
964
  attr_reader :preference
515
965
  # The effective display preference value.
516
966
  attr_reader :value
967
+
968
+ def self.inner_class_types
969
+ @inner_class_types = {}
970
+ end
971
+
972
+ def self.field_remappings
973
+ @field_remappings = {}
974
+ end
517
975
  end
518
976
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
519
977
  attr_reader :available
520
978
  # Attribute for field display_preference
521
979
  attr_reader :display_preference
980
+
981
+ def self.inner_class_types
982
+ @inner_class_types = { display_preference: DisplayPreference }
983
+ end
984
+
985
+ def self.field_remappings
986
+ @field_remappings = {}
987
+ end
522
988
  end
523
989
 
524
990
  class NaverPay < Stripe::StripeObject
@@ -529,11 +995,27 @@ module Stripe
529
995
  attr_reader :preference
530
996
  # The effective display preference value.
531
997
  attr_reader :value
998
+
999
+ def self.inner_class_types
1000
+ @inner_class_types = {}
1001
+ end
1002
+
1003
+ def self.field_remappings
1004
+ @field_remappings = {}
1005
+ end
532
1006
  end
533
1007
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
534
1008
  attr_reader :available
535
1009
  # Attribute for field display_preference
536
1010
  attr_reader :display_preference
1011
+
1012
+ def self.inner_class_types
1013
+ @inner_class_types = { display_preference: DisplayPreference }
1014
+ end
1015
+
1016
+ def self.field_remappings
1017
+ @field_remappings = {}
1018
+ end
537
1019
  end
538
1020
 
539
1021
  class NzBankAccount < Stripe::StripeObject
@@ -544,11 +1026,27 @@ module Stripe
544
1026
  attr_reader :preference
545
1027
  # The effective display preference value.
546
1028
  attr_reader :value
1029
+
1030
+ def self.inner_class_types
1031
+ @inner_class_types = {}
1032
+ end
1033
+
1034
+ def self.field_remappings
1035
+ @field_remappings = {}
1036
+ end
547
1037
  end
548
1038
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
549
1039
  attr_reader :available
550
1040
  # Attribute for field display_preference
551
1041
  attr_reader :display_preference
1042
+
1043
+ def self.inner_class_types
1044
+ @inner_class_types = { display_preference: DisplayPreference }
1045
+ end
1046
+
1047
+ def self.field_remappings
1048
+ @field_remappings = {}
1049
+ end
552
1050
  end
553
1051
 
554
1052
  class Oxxo < Stripe::StripeObject
@@ -559,11 +1057,27 @@ module Stripe
559
1057
  attr_reader :preference
560
1058
  # The effective display preference value.
561
1059
  attr_reader :value
1060
+
1061
+ def self.inner_class_types
1062
+ @inner_class_types = {}
1063
+ end
1064
+
1065
+ def self.field_remappings
1066
+ @field_remappings = {}
1067
+ end
562
1068
  end
563
1069
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
564
1070
  attr_reader :available
565
1071
  # Attribute for field display_preference
566
1072
  attr_reader :display_preference
1073
+
1074
+ def self.inner_class_types
1075
+ @inner_class_types = { display_preference: DisplayPreference }
1076
+ end
1077
+
1078
+ def self.field_remappings
1079
+ @field_remappings = {}
1080
+ end
567
1081
  end
568
1082
 
569
1083
  class P24 < Stripe::StripeObject
@@ -574,11 +1088,27 @@ module Stripe
574
1088
  attr_reader :preference
575
1089
  # The effective display preference value.
576
1090
  attr_reader :value
1091
+
1092
+ def self.inner_class_types
1093
+ @inner_class_types = {}
1094
+ end
1095
+
1096
+ def self.field_remappings
1097
+ @field_remappings = {}
1098
+ end
577
1099
  end
578
1100
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
579
1101
  attr_reader :available
580
1102
  # Attribute for field display_preference
581
1103
  attr_reader :display_preference
1104
+
1105
+ def self.inner_class_types
1106
+ @inner_class_types = { display_preference: DisplayPreference }
1107
+ end
1108
+
1109
+ def self.field_remappings
1110
+ @field_remappings = {}
1111
+ end
582
1112
  end
583
1113
 
584
1114
  class PayByBank < Stripe::StripeObject
@@ -589,11 +1119,27 @@ module Stripe
589
1119
  attr_reader :preference
590
1120
  # The effective display preference value.
591
1121
  attr_reader :value
1122
+
1123
+ def self.inner_class_types
1124
+ @inner_class_types = {}
1125
+ end
1126
+
1127
+ def self.field_remappings
1128
+ @field_remappings = {}
1129
+ end
592
1130
  end
593
1131
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
594
1132
  attr_reader :available
595
1133
  # Attribute for field display_preference
596
1134
  attr_reader :display_preference
1135
+
1136
+ def self.inner_class_types
1137
+ @inner_class_types = { display_preference: DisplayPreference }
1138
+ end
1139
+
1140
+ def self.field_remappings
1141
+ @field_remappings = {}
1142
+ end
597
1143
  end
598
1144
 
599
1145
  class Payco < Stripe::StripeObject
@@ -604,11 +1150,27 @@ module Stripe
604
1150
  attr_reader :preference
605
1151
  # The effective display preference value.
606
1152
  attr_reader :value
1153
+
1154
+ def self.inner_class_types
1155
+ @inner_class_types = {}
1156
+ end
1157
+
1158
+ def self.field_remappings
1159
+ @field_remappings = {}
1160
+ end
607
1161
  end
608
1162
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
609
1163
  attr_reader :available
610
1164
  # Attribute for field display_preference
611
1165
  attr_reader :display_preference
1166
+
1167
+ def self.inner_class_types
1168
+ @inner_class_types = { display_preference: DisplayPreference }
1169
+ end
1170
+
1171
+ def self.field_remappings
1172
+ @field_remappings = {}
1173
+ end
612
1174
  end
613
1175
 
614
1176
  class Paynow < Stripe::StripeObject
@@ -619,11 +1181,27 @@ module Stripe
619
1181
  attr_reader :preference
620
1182
  # The effective display preference value.
621
1183
  attr_reader :value
1184
+
1185
+ def self.inner_class_types
1186
+ @inner_class_types = {}
1187
+ end
1188
+
1189
+ def self.field_remappings
1190
+ @field_remappings = {}
1191
+ end
622
1192
  end
623
1193
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
624
1194
  attr_reader :available
625
1195
  # Attribute for field display_preference
626
1196
  attr_reader :display_preference
1197
+
1198
+ def self.inner_class_types
1199
+ @inner_class_types = { display_preference: DisplayPreference }
1200
+ end
1201
+
1202
+ def self.field_remappings
1203
+ @field_remappings = {}
1204
+ end
627
1205
  end
628
1206
 
629
1207
  class Paypal < Stripe::StripeObject
@@ -634,26 +1212,27 @@ module Stripe
634
1212
  attr_reader :preference
635
1213
  # The effective display preference value.
636
1214
  attr_reader :value
1215
+
1216
+ def self.inner_class_types
1217
+ @inner_class_types = {}
1218
+ end
1219
+
1220
+ def self.field_remappings
1221
+ @field_remappings = {}
1222
+ end
637
1223
  end
638
1224
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
639
1225
  attr_reader :available
640
1226
  # Attribute for field display_preference
641
1227
  attr_reader :display_preference
642
- end
643
1228
 
644
- class Payto < 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
1229
+ def self.inner_class_types
1230
+ @inner_class_types = { display_preference: DisplayPreference }
1231
+ end
1232
+
1233
+ def self.field_remappings
1234
+ @field_remappings = {}
652
1235
  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
1236
  end
658
1237
 
659
1238
  class Pix < Stripe::StripeObject
@@ -664,11 +1243,27 @@ module Stripe
664
1243
  attr_reader :preference
665
1244
  # The effective display preference value.
666
1245
  attr_reader :value
1246
+
1247
+ def self.inner_class_types
1248
+ @inner_class_types = {}
1249
+ end
1250
+
1251
+ def self.field_remappings
1252
+ @field_remappings = {}
1253
+ end
667
1254
  end
668
1255
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
669
1256
  attr_reader :available
670
1257
  # Attribute for field display_preference
671
1258
  attr_reader :display_preference
1259
+
1260
+ def self.inner_class_types
1261
+ @inner_class_types = { display_preference: DisplayPreference }
1262
+ end
1263
+
1264
+ def self.field_remappings
1265
+ @field_remappings = {}
1266
+ end
672
1267
  end
673
1268
 
674
1269
  class Promptpay < Stripe::StripeObject
@@ -679,26 +1274,27 @@ module Stripe
679
1274
  attr_reader :preference
680
1275
  # The effective display preference value.
681
1276
  attr_reader :value
1277
+
1278
+ def self.inner_class_types
1279
+ @inner_class_types = {}
1280
+ end
1281
+
1282
+ def self.field_remappings
1283
+ @field_remappings = {}
1284
+ end
682
1285
  end
683
1286
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
684
1287
  attr_reader :available
685
1288
  # Attribute for field display_preference
686
1289
  attr_reader :display_preference
687
- end
688
1290
 
689
- class Qris < 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
1291
+ def self.inner_class_types
1292
+ @inner_class_types = { display_preference: DisplayPreference }
1293
+ end
1294
+
1295
+ def self.field_remappings
1296
+ @field_remappings = {}
697
1297
  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
1298
  end
703
1299
 
704
1300
  class RevolutPay < Stripe::StripeObject
@@ -709,11 +1305,27 @@ module Stripe
709
1305
  attr_reader :preference
710
1306
  # The effective display preference value.
711
1307
  attr_reader :value
1308
+
1309
+ def self.inner_class_types
1310
+ @inner_class_types = {}
1311
+ end
1312
+
1313
+ def self.field_remappings
1314
+ @field_remappings = {}
1315
+ end
712
1316
  end
713
1317
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
714
1318
  attr_reader :available
715
1319
  # Attribute for field display_preference
716
1320
  attr_reader :display_preference
1321
+
1322
+ def self.inner_class_types
1323
+ @inner_class_types = { display_preference: DisplayPreference }
1324
+ end
1325
+
1326
+ def self.field_remappings
1327
+ @field_remappings = {}
1328
+ end
717
1329
  end
718
1330
 
719
1331
  class SamsungPay < Stripe::StripeObject
@@ -724,11 +1336,27 @@ module Stripe
724
1336
  attr_reader :preference
725
1337
  # The effective display preference value.
726
1338
  attr_reader :value
1339
+
1340
+ def self.inner_class_types
1341
+ @inner_class_types = {}
1342
+ end
1343
+
1344
+ def self.field_remappings
1345
+ @field_remappings = {}
1346
+ end
727
1347
  end
728
1348
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
729
1349
  attr_reader :available
730
1350
  # Attribute for field display_preference
731
1351
  attr_reader :display_preference
1352
+
1353
+ def self.inner_class_types
1354
+ @inner_class_types = { display_preference: DisplayPreference }
1355
+ end
1356
+
1357
+ def self.field_remappings
1358
+ @field_remappings = {}
1359
+ end
732
1360
  end
733
1361
 
734
1362
  class Satispay < Stripe::StripeObject
@@ -739,11 +1367,27 @@ module Stripe
739
1367
  attr_reader :preference
740
1368
  # The effective display preference value.
741
1369
  attr_reader :value
1370
+
1371
+ def self.inner_class_types
1372
+ @inner_class_types = {}
1373
+ end
1374
+
1375
+ def self.field_remappings
1376
+ @field_remappings = {}
1377
+ end
742
1378
  end
743
1379
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
744
1380
  attr_reader :available
745
1381
  # Attribute for field display_preference
746
1382
  attr_reader :display_preference
1383
+
1384
+ def self.inner_class_types
1385
+ @inner_class_types = { display_preference: DisplayPreference }
1386
+ end
1387
+
1388
+ def self.field_remappings
1389
+ @field_remappings = {}
1390
+ end
747
1391
  end
748
1392
 
749
1393
  class SepaDebit < Stripe::StripeObject
@@ -754,26 +1398,27 @@ module Stripe
754
1398
  attr_reader :preference
755
1399
  # The effective display preference value.
756
1400
  attr_reader :value
1401
+
1402
+ def self.inner_class_types
1403
+ @inner_class_types = {}
1404
+ end
1405
+
1406
+ def self.field_remappings
1407
+ @field_remappings = {}
1408
+ end
757
1409
  end
758
1410
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
759
1411
  attr_reader :available
760
1412
  # Attribute for field display_preference
761
1413
  attr_reader :display_preference
762
- end
763
1414
 
764
- class Shopeepay < Stripe::StripeObject
765
- class DisplayPreference < Stripe::StripeObject
766
- # For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
767
- attr_reader :overridable
768
- # The account's display preference.
769
- attr_reader :preference
770
- # The effective display preference value.
771
- attr_reader :value
1415
+ def self.inner_class_types
1416
+ @inner_class_types = { display_preference: DisplayPreference }
1417
+ end
1418
+
1419
+ def self.field_remappings
1420
+ @field_remappings = {}
772
1421
  end
773
- # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
774
- attr_reader :available
775
- # Attribute for field display_preference
776
- attr_reader :display_preference
777
1422
  end
778
1423
 
779
1424
  class Sofort < Stripe::StripeObject
@@ -784,11 +1429,27 @@ module Stripe
784
1429
  attr_reader :preference
785
1430
  # The effective display preference value.
786
1431
  attr_reader :value
1432
+
1433
+ def self.inner_class_types
1434
+ @inner_class_types = {}
1435
+ end
1436
+
1437
+ def self.field_remappings
1438
+ @field_remappings = {}
1439
+ end
787
1440
  end
788
1441
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
789
1442
  attr_reader :available
790
1443
  # Attribute for field display_preference
791
1444
  attr_reader :display_preference
1445
+
1446
+ def self.inner_class_types
1447
+ @inner_class_types = { display_preference: DisplayPreference }
1448
+ end
1449
+
1450
+ def self.field_remappings
1451
+ @field_remappings = {}
1452
+ end
792
1453
  end
793
1454
 
794
1455
  class Swish < Stripe::StripeObject
@@ -799,11 +1460,27 @@ module Stripe
799
1460
  attr_reader :preference
800
1461
  # The effective display preference value.
801
1462
  attr_reader :value
1463
+
1464
+ def self.inner_class_types
1465
+ @inner_class_types = {}
1466
+ end
1467
+
1468
+ def self.field_remappings
1469
+ @field_remappings = {}
1470
+ end
802
1471
  end
803
1472
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
804
1473
  attr_reader :available
805
1474
  # Attribute for field display_preference
806
1475
  attr_reader :display_preference
1476
+
1477
+ def self.inner_class_types
1478
+ @inner_class_types = { display_preference: DisplayPreference }
1479
+ end
1480
+
1481
+ def self.field_remappings
1482
+ @field_remappings = {}
1483
+ end
807
1484
  end
808
1485
 
809
1486
  class Twint < Stripe::StripeObject
@@ -814,11 +1491,27 @@ module Stripe
814
1491
  attr_reader :preference
815
1492
  # The effective display preference value.
816
1493
  attr_reader :value
1494
+
1495
+ def self.inner_class_types
1496
+ @inner_class_types = {}
1497
+ end
1498
+
1499
+ def self.field_remappings
1500
+ @field_remappings = {}
1501
+ end
817
1502
  end
818
1503
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
819
1504
  attr_reader :available
820
1505
  # Attribute for field display_preference
821
1506
  attr_reader :display_preference
1507
+
1508
+ def self.inner_class_types
1509
+ @inner_class_types = { display_preference: DisplayPreference }
1510
+ end
1511
+
1512
+ def self.field_remappings
1513
+ @field_remappings = {}
1514
+ end
822
1515
  end
823
1516
 
824
1517
  class UsBankAccount < Stripe::StripeObject
@@ -829,11 +1522,27 @@ module Stripe
829
1522
  attr_reader :preference
830
1523
  # The effective display preference value.
831
1524
  attr_reader :value
1525
+
1526
+ def self.inner_class_types
1527
+ @inner_class_types = {}
1528
+ end
1529
+
1530
+ def self.field_remappings
1531
+ @field_remappings = {}
1532
+ end
832
1533
  end
833
1534
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
834
1535
  attr_reader :available
835
1536
  # Attribute for field display_preference
836
1537
  attr_reader :display_preference
1538
+
1539
+ def self.inner_class_types
1540
+ @inner_class_types = { display_preference: DisplayPreference }
1541
+ end
1542
+
1543
+ def self.field_remappings
1544
+ @field_remappings = {}
1545
+ end
837
1546
  end
838
1547
 
839
1548
  class WechatPay < Stripe::StripeObject
@@ -844,11 +1553,27 @@ module Stripe
844
1553
  attr_reader :preference
845
1554
  # The effective display preference value.
846
1555
  attr_reader :value
1556
+
1557
+ def self.inner_class_types
1558
+ @inner_class_types = {}
1559
+ end
1560
+
1561
+ def self.field_remappings
1562
+ @field_remappings = {}
1563
+ end
847
1564
  end
848
1565
  # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
849
1566
  attr_reader :available
850
1567
  # Attribute for field display_preference
851
1568
  attr_reader :display_preference
1569
+
1570
+ def self.inner_class_types
1571
+ @inner_class_types = { display_preference: DisplayPreference }
1572
+ end
1573
+
1574
+ def self.field_remappings
1575
+ @field_remappings = {}
1576
+ end
852
1577
  end
853
1578
 
854
1579
  class Zip < Stripe::StripeObject
@@ -859,2467 +1584,26 @@ module Stripe
859
1584
  attr_reader :preference
860
1585
  # The effective display preference value.
861
1586
  attr_reader :value
862
- end
863
- # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
864
- attr_reader :available
865
- # Attribute for field display_preference
866
- attr_reader :display_preference
867
- end
868
-
869
- class ListParams < Stripe::RequestParams
870
- # The Connect application to filter by.
871
- attr_accessor :application
872
- # 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.
873
- attr_accessor :ending_before
874
- # Specifies which fields in the response should be expanded.
875
- attr_accessor :expand
876
- # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
877
- attr_accessor :limit
878
- # 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.
879
- attr_accessor :starting_after
880
-
881
- def initialize(
882
- application: nil,
883
- ending_before: nil,
884
- expand: nil,
885
- limit: nil,
886
- starting_after: nil
887
- )
888
- @application = application
889
- @ending_before = ending_before
890
- @expand = expand
891
- @limit = limit
892
- @starting_after = starting_after
893
- end
894
- end
895
-
896
- class CreateParams < Stripe::RequestParams
897
- class AcssDebit < Stripe::RequestParams
898
- class DisplayPreference < Stripe::RequestParams
899
- # The account's preference for whether or not to display this payment method.
900
- attr_accessor :preference
901
-
902
- def initialize(preference: nil)
903
- @preference = preference
904
- end
905
- end
906
- # Whether or not the payment method should be displayed.
907
- attr_accessor :display_preference
908
-
909
- def initialize(display_preference: nil)
910
- @display_preference = display_preference
911
- end
912
- end
913
-
914
- class Affirm < Stripe::RequestParams
915
- class DisplayPreference < Stripe::RequestParams
916
- # The account's preference for whether or not to display this payment method.
917
- attr_accessor :preference
918
-
919
- def initialize(preference: nil)
920
- @preference = preference
921
- end
922
- end
923
- # Whether or not the payment method should be displayed.
924
- attr_accessor :display_preference
925
-
926
- def initialize(display_preference: nil)
927
- @display_preference = display_preference
928
- end
929
- end
930
-
931
- class AfterpayClearpay < Stripe::RequestParams
932
- class DisplayPreference < Stripe::RequestParams
933
- # The account's preference for whether or not to display this payment method.
934
- attr_accessor :preference
935
-
936
- def initialize(preference: nil)
937
- @preference = preference
938
- end
939
- end
940
- # Whether or not the payment method should be displayed.
941
- attr_accessor :display_preference
942
-
943
- def initialize(display_preference: nil)
944
- @display_preference = display_preference
945
- end
946
- end
947
-
948
- class Alipay < Stripe::RequestParams
949
- class DisplayPreference < Stripe::RequestParams
950
- # The account's preference for whether or not to display this payment method.
951
- attr_accessor :preference
952
-
953
- def initialize(preference: nil)
954
- @preference = preference
955
- end
956
- end
957
- # Whether or not the payment method should be displayed.
958
- attr_accessor :display_preference
959
-
960
- def initialize(display_preference: nil)
961
- @display_preference = display_preference
962
- end
963
- end
964
-
965
- class Alma < Stripe::RequestParams
966
- class DisplayPreference < Stripe::RequestParams
967
- # The account's preference for whether or not to display this payment method.
968
- attr_accessor :preference
969
-
970
- def initialize(preference: nil)
971
- @preference = preference
972
- end
973
- end
974
- # Whether or not the payment method should be displayed.
975
- attr_accessor :display_preference
976
-
977
- def initialize(display_preference: nil)
978
- @display_preference = display_preference
979
- end
980
- end
981
-
982
- class AmazonPay < Stripe::RequestParams
983
- class DisplayPreference < Stripe::RequestParams
984
- # The account's preference for whether or not to display this payment method.
985
- attr_accessor :preference
986
-
987
- def initialize(preference: nil)
988
- @preference = preference
989
- end
990
- end
991
- # Whether or not the payment method should be displayed.
992
- attr_accessor :display_preference
993
-
994
- def initialize(display_preference: nil)
995
- @display_preference = display_preference
996
- end
997
- end
998
1587
 
999
- class ApplePay < Stripe::RequestParams
1000
- class DisplayPreference < Stripe::RequestParams
1001
- # The account's preference for whether or not to display this payment method.
1002
- attr_accessor :preference
1003
-
1004
- def initialize(preference: nil)
1005
- @preference = preference
1006
- end
1588
+ def self.inner_class_types
1589
+ @inner_class_types = {}
1007
1590
  end
1008
- # Whether or not the payment method should be displayed.
1009
- attr_accessor :display_preference
1010
1591
 
1011
- def initialize(display_preference: nil)
1012
- @display_preference = display_preference
1592
+ def self.field_remappings
1593
+ @field_remappings = {}
1013
1594
  end
1014
1595
  end
1596
+ # Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1597
+ attr_reader :available
1598
+ # Attribute for field display_preference
1599
+ attr_reader :display_preference
1015
1600
 
1016
- class ApplePayLater < Stripe::RequestParams
1017
- class DisplayPreference < Stripe::RequestParams
1018
- # The account's preference for whether or not to display this payment method.
1019
- attr_accessor :preference
1020
-
1021
- def initialize(preference: nil)
1022
- @preference = preference
1023
- end
1024
- end
1025
- # Whether or not the payment method should be displayed.
1026
- attr_accessor :display_preference
1027
-
1028
- def initialize(display_preference: nil)
1029
- @display_preference = display_preference
1030
- end
1601
+ def self.inner_class_types
1602
+ @inner_class_types = { display_preference: DisplayPreference }
1031
1603
  end
1032
1604
 
1033
- class AuBecsDebit < Stripe::RequestParams
1034
- class DisplayPreference < Stripe::RequestParams
1035
- # The account's preference for whether or not to display this payment method.
1036
- attr_accessor :preference
1037
-
1038
- def initialize(preference: nil)
1039
- @preference = preference
1040
- end
1041
- end
1042
- # Whether or not the payment method should be displayed.
1043
- attr_accessor :display_preference
1044
-
1045
- def initialize(display_preference: nil)
1046
- @display_preference = display_preference
1047
- end
1048
- end
1049
-
1050
- class BacsDebit < Stripe::RequestParams
1051
- class DisplayPreference < Stripe::RequestParams
1052
- # The account's preference for whether or not to display this payment method.
1053
- attr_accessor :preference
1054
-
1055
- def initialize(preference: nil)
1056
- @preference = preference
1057
- end
1058
- end
1059
- # Whether or not the payment method should be displayed.
1060
- attr_accessor :display_preference
1061
-
1062
- def initialize(display_preference: nil)
1063
- @display_preference = display_preference
1064
- end
1065
- end
1066
-
1067
- class Bancontact < Stripe::RequestParams
1068
- class DisplayPreference < Stripe::RequestParams
1069
- # The account's preference for whether or not to display this payment method.
1070
- attr_accessor :preference
1071
-
1072
- def initialize(preference: nil)
1073
- @preference = preference
1074
- end
1075
- end
1076
- # Whether or not the payment method should be displayed.
1077
- attr_accessor :display_preference
1078
-
1079
- def initialize(display_preference: nil)
1080
- @display_preference = display_preference
1081
- end
1082
- end
1083
-
1084
- class Billie < Stripe::RequestParams
1085
- class DisplayPreference < Stripe::RequestParams
1086
- # The account's preference for whether or not to display this payment method.
1087
- attr_accessor :preference
1088
-
1089
- def initialize(preference: nil)
1090
- @preference = preference
1091
- end
1092
- end
1093
- # Whether or not the payment method should be displayed.
1094
- attr_accessor :display_preference
1095
-
1096
- def initialize(display_preference: nil)
1097
- @display_preference = display_preference
1098
- end
1099
- end
1100
-
1101
- class Blik < Stripe::RequestParams
1102
- class DisplayPreference < Stripe::RequestParams
1103
- # The account's preference for whether or not to display this payment method.
1104
- attr_accessor :preference
1105
-
1106
- def initialize(preference: nil)
1107
- @preference = preference
1108
- end
1109
- end
1110
- # Whether or not the payment method should be displayed.
1111
- attr_accessor :display_preference
1112
-
1113
- def initialize(display_preference: nil)
1114
- @display_preference = display_preference
1115
- end
1116
- end
1117
-
1118
- class Boleto < Stripe::RequestParams
1119
- class DisplayPreference < Stripe::RequestParams
1120
- # The account's preference for whether or not to display this payment method.
1121
- attr_accessor :preference
1122
-
1123
- def initialize(preference: nil)
1124
- @preference = preference
1125
- end
1126
- end
1127
- # Whether or not the payment method should be displayed.
1128
- attr_accessor :display_preference
1129
-
1130
- def initialize(display_preference: nil)
1131
- @display_preference = display_preference
1132
- end
1133
- end
1134
-
1135
- class Card < Stripe::RequestParams
1136
- class DisplayPreference < Stripe::RequestParams
1137
- # The account's preference for whether or not to display this payment method.
1138
- attr_accessor :preference
1139
-
1140
- def initialize(preference: nil)
1141
- @preference = preference
1142
- end
1143
- end
1144
- # Whether or not the payment method should be displayed.
1145
- attr_accessor :display_preference
1146
-
1147
- def initialize(display_preference: nil)
1148
- @display_preference = display_preference
1149
- end
1150
- end
1151
-
1152
- class CartesBancaires < Stripe::RequestParams
1153
- class DisplayPreference < Stripe::RequestParams
1154
- # The account's preference for whether or not to display this payment method.
1155
- attr_accessor :preference
1156
-
1157
- def initialize(preference: nil)
1158
- @preference = preference
1159
- end
1160
- end
1161
- # Whether or not the payment method should be displayed.
1162
- attr_accessor :display_preference
1163
-
1164
- def initialize(display_preference: nil)
1165
- @display_preference = display_preference
1166
- end
1167
- end
1168
-
1169
- class Cashapp < Stripe::RequestParams
1170
- class DisplayPreference < Stripe::RequestParams
1171
- # The account's preference for whether or not to display this payment method.
1172
- attr_accessor :preference
1173
-
1174
- def initialize(preference: nil)
1175
- @preference = preference
1176
- end
1177
- end
1178
- # Whether or not the payment method should be displayed.
1179
- attr_accessor :display_preference
1180
-
1181
- def initialize(display_preference: nil)
1182
- @display_preference = display_preference
1183
- end
1184
- end
1185
-
1186
- class CustomerBalance < Stripe::RequestParams
1187
- class DisplayPreference < Stripe::RequestParams
1188
- # The account's preference for whether or not to display this payment method.
1189
- attr_accessor :preference
1190
-
1191
- def initialize(preference: nil)
1192
- @preference = preference
1193
- end
1194
- end
1195
- # Whether or not the payment method should be displayed.
1196
- attr_accessor :display_preference
1197
-
1198
- def initialize(display_preference: nil)
1199
- @display_preference = display_preference
1200
- end
1201
- end
1202
-
1203
- class Eps < Stripe::RequestParams
1204
- class DisplayPreference < Stripe::RequestParams
1205
- # The account's preference for whether or not to display this payment method.
1206
- attr_accessor :preference
1207
-
1208
- def initialize(preference: nil)
1209
- @preference = preference
1210
- end
1211
- end
1212
- # Whether or not the payment method should be displayed.
1213
- attr_accessor :display_preference
1214
-
1215
- def initialize(display_preference: nil)
1216
- @display_preference = display_preference
1217
- end
1218
- end
1219
-
1220
- class Fpx < Stripe::RequestParams
1221
- class DisplayPreference < Stripe::RequestParams
1222
- # The account's preference for whether or not to display this payment method.
1223
- attr_accessor :preference
1224
-
1225
- def initialize(preference: nil)
1226
- @preference = preference
1227
- end
1228
- end
1229
- # Whether or not the payment method should be displayed.
1230
- attr_accessor :display_preference
1231
-
1232
- def initialize(display_preference: nil)
1233
- @display_preference = display_preference
1234
- end
1235
- end
1236
-
1237
- class Giropay < Stripe::RequestParams
1238
- class DisplayPreference < Stripe::RequestParams
1239
- # The account's preference for whether or not to display this payment method.
1240
- attr_accessor :preference
1241
-
1242
- def initialize(preference: nil)
1243
- @preference = preference
1244
- end
1245
- end
1246
- # Whether or not the payment method should be displayed.
1247
- attr_accessor :display_preference
1248
-
1249
- def initialize(display_preference: nil)
1250
- @display_preference = display_preference
1251
- end
1252
- end
1253
-
1254
- class GooglePay < Stripe::RequestParams
1255
- class DisplayPreference < Stripe::RequestParams
1256
- # The account's preference for whether or not to display this payment method.
1257
- attr_accessor :preference
1258
-
1259
- def initialize(preference: nil)
1260
- @preference = preference
1261
- end
1262
- end
1263
- # Whether or not the payment method should be displayed.
1264
- attr_accessor :display_preference
1265
-
1266
- def initialize(display_preference: nil)
1267
- @display_preference = display_preference
1268
- end
1269
- end
1270
-
1271
- class Gopay < Stripe::RequestParams
1272
- class DisplayPreference < Stripe::RequestParams
1273
- # The account's preference for whether or not to display this payment method.
1274
- attr_accessor :preference
1275
-
1276
- def initialize(preference: nil)
1277
- @preference = preference
1278
- end
1279
- end
1280
- # Whether or not the payment method should be displayed.
1281
- attr_accessor :display_preference
1282
-
1283
- def initialize(display_preference: nil)
1284
- @display_preference = display_preference
1285
- end
1286
- end
1287
-
1288
- class Grabpay < Stripe::RequestParams
1289
- class DisplayPreference < Stripe::RequestParams
1290
- # The account's preference for whether or not to display this payment method.
1291
- attr_accessor :preference
1292
-
1293
- def initialize(preference: nil)
1294
- @preference = preference
1295
- end
1296
- end
1297
- # Whether or not the payment method should be displayed.
1298
- attr_accessor :display_preference
1299
-
1300
- def initialize(display_preference: nil)
1301
- @display_preference = display_preference
1302
- end
1303
- end
1304
-
1305
- class IdBankTransfer < Stripe::RequestParams
1306
- class DisplayPreference < Stripe::RequestParams
1307
- # The account's preference for whether or not to display this payment method.
1308
- attr_accessor :preference
1309
-
1310
- def initialize(preference: nil)
1311
- @preference = preference
1312
- end
1313
- end
1314
- # Whether or not the payment method should be displayed.
1315
- attr_accessor :display_preference
1316
-
1317
- def initialize(display_preference: nil)
1318
- @display_preference = display_preference
1319
- end
1320
- end
1321
-
1322
- class Ideal < Stripe::RequestParams
1323
- class DisplayPreference < Stripe::RequestParams
1324
- # The account's preference for whether or not to display this payment method.
1325
- attr_accessor :preference
1326
-
1327
- def initialize(preference: nil)
1328
- @preference = preference
1329
- end
1330
- end
1331
- # Whether or not the payment method should be displayed.
1332
- attr_accessor :display_preference
1333
-
1334
- def initialize(display_preference: nil)
1335
- @display_preference = display_preference
1336
- end
1337
- end
1338
-
1339
- class Jcb < Stripe::RequestParams
1340
- class DisplayPreference < Stripe::RequestParams
1341
- # The account's preference for whether or not to display this payment method.
1342
- attr_accessor :preference
1343
-
1344
- def initialize(preference: nil)
1345
- @preference = preference
1346
- end
1347
- end
1348
- # Whether or not the payment method should be displayed.
1349
- attr_accessor :display_preference
1350
-
1351
- def initialize(display_preference: nil)
1352
- @display_preference = display_preference
1353
- end
1354
- end
1355
-
1356
- class KakaoPay < Stripe::RequestParams
1357
- class DisplayPreference < Stripe::RequestParams
1358
- # The account's preference for whether or not to display this payment method.
1359
- attr_accessor :preference
1360
-
1361
- def initialize(preference: nil)
1362
- @preference = preference
1363
- end
1364
- end
1365
- # Whether or not the payment method should be displayed.
1366
- attr_accessor :display_preference
1367
-
1368
- def initialize(display_preference: nil)
1369
- @display_preference = display_preference
1370
- end
1371
- end
1372
-
1373
- class Klarna < Stripe::RequestParams
1374
- class DisplayPreference < Stripe::RequestParams
1375
- # The account's preference for whether or not to display this payment method.
1376
- attr_accessor :preference
1377
-
1378
- def initialize(preference: nil)
1379
- @preference = preference
1380
- end
1381
- end
1382
- # Whether or not the payment method should be displayed.
1383
- attr_accessor :display_preference
1384
-
1385
- def initialize(display_preference: nil)
1386
- @display_preference = display_preference
1387
- end
1388
- end
1389
-
1390
- class Konbini < Stripe::RequestParams
1391
- class DisplayPreference < Stripe::RequestParams
1392
- # The account's preference for whether or not to display this payment method.
1393
- attr_accessor :preference
1394
-
1395
- def initialize(preference: nil)
1396
- @preference = preference
1397
- end
1398
- end
1399
- # Whether or not the payment method should be displayed.
1400
- attr_accessor :display_preference
1401
-
1402
- def initialize(display_preference: nil)
1403
- @display_preference = display_preference
1404
- end
1405
- end
1406
-
1407
- class KrCard < Stripe::RequestParams
1408
- class DisplayPreference < Stripe::RequestParams
1409
- # The account's preference for whether or not to display this payment method.
1410
- attr_accessor :preference
1411
-
1412
- def initialize(preference: nil)
1413
- @preference = preference
1414
- end
1415
- end
1416
- # Whether or not the payment method should be displayed.
1417
- attr_accessor :display_preference
1418
-
1419
- def initialize(display_preference: nil)
1420
- @display_preference = display_preference
1421
- end
1422
- end
1423
-
1424
- class Link < Stripe::RequestParams
1425
- class DisplayPreference < Stripe::RequestParams
1426
- # The account's preference for whether or not to display this payment method.
1427
- attr_accessor :preference
1428
-
1429
- def initialize(preference: nil)
1430
- @preference = preference
1431
- end
1432
- end
1433
- # Whether or not the payment method should be displayed.
1434
- attr_accessor :display_preference
1435
-
1436
- def initialize(display_preference: nil)
1437
- @display_preference = display_preference
1438
- end
1439
- end
1440
-
1441
- class Mobilepay < Stripe::RequestParams
1442
- class DisplayPreference < Stripe::RequestParams
1443
- # The account's preference for whether or not to display this payment method.
1444
- attr_accessor :preference
1445
-
1446
- def initialize(preference: nil)
1447
- @preference = preference
1448
- end
1449
- end
1450
- # Whether or not the payment method should be displayed.
1451
- attr_accessor :display_preference
1452
-
1453
- def initialize(display_preference: nil)
1454
- @display_preference = display_preference
1455
- end
1456
- end
1457
-
1458
- class Multibanco < Stripe::RequestParams
1459
- class DisplayPreference < Stripe::RequestParams
1460
- # The account's preference for whether or not to display this payment method.
1461
- attr_accessor :preference
1462
-
1463
- def initialize(preference: nil)
1464
- @preference = preference
1465
- end
1466
- end
1467
- # Whether or not the payment method should be displayed.
1468
- attr_accessor :display_preference
1469
-
1470
- def initialize(display_preference: nil)
1471
- @display_preference = display_preference
1472
- end
1473
- end
1474
-
1475
- class NaverPay < Stripe::RequestParams
1476
- class DisplayPreference < Stripe::RequestParams
1477
- # The account's preference for whether or not to display this payment method.
1478
- attr_accessor :preference
1479
-
1480
- def initialize(preference: nil)
1481
- @preference = preference
1482
- end
1483
- end
1484
- # Whether or not the payment method should be displayed.
1485
- attr_accessor :display_preference
1486
-
1487
- def initialize(display_preference: nil)
1488
- @display_preference = display_preference
1489
- end
1490
- end
1491
-
1492
- class NzBankAccount < Stripe::RequestParams
1493
- class DisplayPreference < Stripe::RequestParams
1494
- # The account's preference for whether or not to display this payment method.
1495
- attr_accessor :preference
1496
-
1497
- def initialize(preference: nil)
1498
- @preference = preference
1499
- end
1500
- end
1501
- # Whether or not the payment method should be displayed.
1502
- attr_accessor :display_preference
1503
-
1504
- def initialize(display_preference: nil)
1505
- @display_preference = display_preference
1506
- end
1507
- end
1508
-
1509
- class Oxxo < Stripe::RequestParams
1510
- class DisplayPreference < Stripe::RequestParams
1511
- # The account's preference for whether or not to display this payment method.
1512
- attr_accessor :preference
1513
-
1514
- def initialize(preference: nil)
1515
- @preference = preference
1516
- end
1517
- end
1518
- # Whether or not the payment method should be displayed.
1519
- attr_accessor :display_preference
1520
-
1521
- def initialize(display_preference: nil)
1522
- @display_preference = display_preference
1523
- end
1524
- end
1525
-
1526
- class P24 < Stripe::RequestParams
1527
- class DisplayPreference < Stripe::RequestParams
1528
- # The account's preference for whether or not to display this payment method.
1529
- attr_accessor :preference
1530
-
1531
- def initialize(preference: nil)
1532
- @preference = preference
1533
- end
1534
- end
1535
- # Whether or not the payment method should be displayed.
1536
- attr_accessor :display_preference
1537
-
1538
- def initialize(display_preference: nil)
1539
- @display_preference = display_preference
1540
- end
1541
- end
1542
-
1543
- class PayByBank < Stripe::RequestParams
1544
- class DisplayPreference < Stripe::RequestParams
1545
- # The account's preference for whether or not to display this payment method.
1546
- attr_accessor :preference
1547
-
1548
- def initialize(preference: nil)
1549
- @preference = preference
1550
- end
1551
- end
1552
- # Whether or not the payment method should be displayed.
1553
- attr_accessor :display_preference
1554
-
1555
- def initialize(display_preference: nil)
1556
- @display_preference = display_preference
1557
- end
1558
- end
1559
-
1560
- class Payco < Stripe::RequestParams
1561
- class DisplayPreference < Stripe::RequestParams
1562
- # The account's preference for whether or not to display this payment method.
1563
- attr_accessor :preference
1564
-
1565
- def initialize(preference: nil)
1566
- @preference = preference
1567
- end
1568
- end
1569
- # Whether or not the payment method should be displayed.
1570
- attr_accessor :display_preference
1571
-
1572
- def initialize(display_preference: nil)
1573
- @display_preference = display_preference
1574
- end
1575
- end
1576
-
1577
- class Paynow < Stripe::RequestParams
1578
- class DisplayPreference < Stripe::RequestParams
1579
- # The account's preference for whether or not to display this payment method.
1580
- attr_accessor :preference
1581
-
1582
- def initialize(preference: nil)
1583
- @preference = preference
1584
- end
1585
- end
1586
- # Whether or not the payment method should be displayed.
1587
- attr_accessor :display_preference
1588
-
1589
- def initialize(display_preference: nil)
1590
- @display_preference = display_preference
1591
- end
1592
- end
1593
-
1594
- class Paypal < Stripe::RequestParams
1595
- class DisplayPreference < Stripe::RequestParams
1596
- # The account's preference for whether or not to display this payment method.
1597
- attr_accessor :preference
1598
-
1599
- def initialize(preference: nil)
1600
- @preference = preference
1601
- end
1602
- end
1603
- # Whether or not the payment method should be displayed.
1604
- attr_accessor :display_preference
1605
-
1606
- def initialize(display_preference: nil)
1607
- @display_preference = display_preference
1608
- end
1609
- end
1610
-
1611
- class Payto < Stripe::RequestParams
1612
- class DisplayPreference < Stripe::RequestParams
1613
- # The account's preference for whether or not to display this payment method.
1614
- attr_accessor :preference
1615
-
1616
- def initialize(preference: nil)
1617
- @preference = preference
1618
- end
1619
- end
1620
- # Whether or not the payment method should be displayed.
1621
- attr_accessor :display_preference
1622
-
1623
- def initialize(display_preference: nil)
1624
- @display_preference = display_preference
1625
- end
1626
- end
1627
-
1628
- class Pix < Stripe::RequestParams
1629
- class DisplayPreference < Stripe::RequestParams
1630
- # The account's preference for whether or not to display this payment method.
1631
- attr_accessor :preference
1632
-
1633
- def initialize(preference: nil)
1634
- @preference = preference
1635
- end
1636
- end
1637
- # Whether or not the payment method should be displayed.
1638
- attr_accessor :display_preference
1639
-
1640
- def initialize(display_preference: nil)
1641
- @display_preference = display_preference
1642
- end
1643
- end
1644
-
1645
- class Promptpay < Stripe::RequestParams
1646
- class DisplayPreference < Stripe::RequestParams
1647
- # The account's preference for whether or not to display this payment method.
1648
- attr_accessor :preference
1649
-
1650
- def initialize(preference: nil)
1651
- @preference = preference
1652
- end
1653
- end
1654
- # Whether or not the payment method should be displayed.
1655
- attr_accessor :display_preference
1656
-
1657
- def initialize(display_preference: nil)
1658
- @display_preference = display_preference
1659
- end
1660
- end
1661
-
1662
- class Qris < Stripe::RequestParams
1663
- class DisplayPreference < Stripe::RequestParams
1664
- # The account's preference for whether or not to display this payment method.
1665
- attr_accessor :preference
1666
-
1667
- def initialize(preference: nil)
1668
- @preference = preference
1669
- end
1670
- end
1671
- # Whether or not the payment method should be displayed.
1672
- attr_accessor :display_preference
1673
-
1674
- def initialize(display_preference: nil)
1675
- @display_preference = display_preference
1676
- end
1677
- end
1678
-
1679
- class RevolutPay < Stripe::RequestParams
1680
- class DisplayPreference < Stripe::RequestParams
1681
- # The account's preference for whether or not to display this payment method.
1682
- attr_accessor :preference
1683
-
1684
- def initialize(preference: nil)
1685
- @preference = preference
1686
- end
1687
- end
1688
- # Whether or not the payment method should be displayed.
1689
- attr_accessor :display_preference
1690
-
1691
- def initialize(display_preference: nil)
1692
- @display_preference = display_preference
1693
- end
1694
- end
1695
-
1696
- class SamsungPay < Stripe::RequestParams
1697
- class DisplayPreference < Stripe::RequestParams
1698
- # The account's preference for whether or not to display this payment method.
1699
- attr_accessor :preference
1700
-
1701
- def initialize(preference: nil)
1702
- @preference = preference
1703
- end
1704
- end
1705
- # Whether or not the payment method should be displayed.
1706
- attr_accessor :display_preference
1707
-
1708
- def initialize(display_preference: nil)
1709
- @display_preference = display_preference
1710
- end
1711
- end
1712
-
1713
- class Satispay < Stripe::RequestParams
1714
- class DisplayPreference < Stripe::RequestParams
1715
- # The account's preference for whether or not to display this payment method.
1716
- attr_accessor :preference
1717
-
1718
- def initialize(preference: nil)
1719
- @preference = preference
1720
- end
1721
- end
1722
- # Whether or not the payment method should be displayed.
1723
- attr_accessor :display_preference
1724
-
1725
- def initialize(display_preference: nil)
1726
- @display_preference = display_preference
1727
- end
1728
- end
1729
-
1730
- class SepaDebit < Stripe::RequestParams
1731
- class DisplayPreference < Stripe::RequestParams
1732
- # The account's preference for whether or not to display this payment method.
1733
- attr_accessor :preference
1734
-
1735
- def initialize(preference: nil)
1736
- @preference = preference
1737
- end
1738
- end
1739
- # Whether or not the payment method should be displayed.
1740
- attr_accessor :display_preference
1741
-
1742
- def initialize(display_preference: nil)
1743
- @display_preference = display_preference
1744
- end
1745
- end
1746
-
1747
- class Shopeepay < Stripe::RequestParams
1748
- class DisplayPreference < Stripe::RequestParams
1749
- # The account's preference for whether or not to display this payment method.
1750
- attr_accessor :preference
1751
-
1752
- def initialize(preference: nil)
1753
- @preference = preference
1754
- end
1755
- end
1756
- # Whether or not the payment method should be displayed.
1757
- attr_accessor :display_preference
1758
-
1759
- def initialize(display_preference: nil)
1760
- @display_preference = display_preference
1761
- end
1762
- end
1763
-
1764
- class Sofort < Stripe::RequestParams
1765
- class DisplayPreference < Stripe::RequestParams
1766
- # The account's preference for whether or not to display this payment method.
1767
- attr_accessor :preference
1768
-
1769
- def initialize(preference: nil)
1770
- @preference = preference
1771
- end
1772
- end
1773
- # Whether or not the payment method should be displayed.
1774
- attr_accessor :display_preference
1775
-
1776
- def initialize(display_preference: nil)
1777
- @display_preference = display_preference
1778
- end
1779
- end
1780
-
1781
- class Swish < Stripe::RequestParams
1782
- class DisplayPreference < Stripe::RequestParams
1783
- # The account's preference for whether or not to display this payment method.
1784
- attr_accessor :preference
1785
-
1786
- def initialize(preference: nil)
1787
- @preference = preference
1788
- end
1789
- end
1790
- # Whether or not the payment method should be displayed.
1791
- attr_accessor :display_preference
1792
-
1793
- def initialize(display_preference: nil)
1794
- @display_preference = display_preference
1795
- end
1796
- end
1797
-
1798
- class Twint < Stripe::RequestParams
1799
- class DisplayPreference < Stripe::RequestParams
1800
- # The account's preference for whether or not to display this payment method.
1801
- attr_accessor :preference
1802
-
1803
- def initialize(preference: nil)
1804
- @preference = preference
1805
- end
1806
- end
1807
- # Whether or not the payment method should be displayed.
1808
- attr_accessor :display_preference
1809
-
1810
- def initialize(display_preference: nil)
1811
- @display_preference = display_preference
1812
- end
1813
- end
1814
-
1815
- class UsBankAccount < Stripe::RequestParams
1816
- class DisplayPreference < Stripe::RequestParams
1817
- # The account's preference for whether or not to display this payment method.
1818
- attr_accessor :preference
1819
-
1820
- def initialize(preference: nil)
1821
- @preference = preference
1822
- end
1823
- end
1824
- # Whether or not the payment method should be displayed.
1825
- attr_accessor :display_preference
1826
-
1827
- def initialize(display_preference: nil)
1828
- @display_preference = display_preference
1829
- end
1830
- end
1831
-
1832
- class WechatPay < Stripe::RequestParams
1833
- class DisplayPreference < Stripe::RequestParams
1834
- # The account's preference for whether or not to display this payment method.
1835
- attr_accessor :preference
1836
-
1837
- def initialize(preference: nil)
1838
- @preference = preference
1839
- end
1840
- end
1841
- # Whether or not the payment method should be displayed.
1842
- attr_accessor :display_preference
1843
-
1844
- def initialize(display_preference: nil)
1845
- @display_preference = display_preference
1846
- end
1847
- end
1848
-
1849
- class Zip < Stripe::RequestParams
1850
- class DisplayPreference < Stripe::RequestParams
1851
- # The account's preference for whether or not to display this payment method.
1852
- attr_accessor :preference
1853
-
1854
- def initialize(preference: nil)
1855
- @preference = preference
1856
- end
1857
- end
1858
- # Whether or not the payment method should be displayed.
1859
- attr_accessor :display_preference
1860
-
1861
- def initialize(display_preference: nil)
1862
- @display_preference = display_preference
1863
- end
1864
- end
1865
- # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
1866
- attr_accessor :acss_debit
1867
- # [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.
1868
- attr_accessor :affirm
1869
- # 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.
1870
- attr_accessor :afterpay_clearpay
1871
- # 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.
1872
- attr_accessor :alipay
1873
- # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
1874
- attr_accessor :alma
1875
- # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
1876
- attr_accessor :amazon_pay
1877
- # Stripe users can accept [Apple Pay](https://stripe.com/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](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
1878
- attr_accessor :apple_pay
1879
- # 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.
1880
- attr_accessor :apple_pay_later
1881
- # 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.
1882
- attr_accessor :au_becs_debit
1883
- # 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.
1884
- attr_accessor :bacs_debit
1885
- # 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.
1886
- attr_accessor :bancontact
1887
- # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1888
- attr_accessor :billie
1889
- # 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.
1890
- attr_accessor :blik
1891
- # 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.
1892
- attr_accessor :boleto
1893
- # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
1894
- attr_accessor :card
1895
- # 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.
1896
- attr_accessor :cartes_bancaires
1897
- # 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.
1898
- attr_accessor :cashapp
1899
- # 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.
1900
- attr_accessor :customer_balance
1901
- # 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.
1902
- attr_accessor :eps
1903
- # Specifies which fields in the response should be expanded.
1904
- attr_accessor :expand
1905
- # 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.
1906
- attr_accessor :fpx
1907
- # 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.
1908
- attr_accessor :giropay
1909
- # 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.
1910
- attr_accessor :google_pay
1911
- # 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.
1912
- attr_accessor :gopay
1913
- # 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.
1914
- attr_accessor :grabpay
1915
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1916
- attr_accessor :id_bank_transfer
1917
- # 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.
1918
- attr_accessor :ideal
1919
- # 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.
1920
- attr_accessor :jcb
1921
- # Kakao Pay is a popular local wallet available in South Korea.
1922
- attr_accessor :kakao_pay
1923
- # 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.
1924
- attr_accessor :klarna
1925
- # 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.
1926
- attr_accessor :konbini
1927
- # Korean cards let users pay using locally issued cards from South Korea.
1928
- attr_accessor :kr_card
1929
- # [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.
1930
- attr_accessor :link
1931
- # 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.
1932
- attr_accessor :mobilepay
1933
- # 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.
1934
- attr_accessor :multibanco
1935
- # Configuration name.
1936
- attr_accessor :name
1937
- # Naver Pay is a popular local wallet available in South Korea.
1938
- attr_accessor :naver_pay
1939
- # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
1940
- attr_accessor :nz_bank_account
1941
- # 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.
1942
- attr_accessor :oxxo
1943
- # 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.
1944
- attr_accessor :p24
1945
- # Configuration's parent configuration. Specify to create a child configuration.
1946
- attr_accessor :parent
1947
- # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
1948
- attr_accessor :pay_by_bank
1949
- # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
1950
- attr_accessor :payco
1951
- # 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.
1952
- attr_accessor :paynow
1953
- # 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.
1954
- attr_accessor :paypal
1955
- # 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.
1956
- attr_accessor :payto
1957
- # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
1958
- attr_accessor :pix
1959
- # 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.
1960
- attr_accessor :promptpay
1961
- # 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.
1962
- attr_accessor :qris
1963
- # 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.
1964
- attr_accessor :revolut_pay
1965
- # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
1966
- attr_accessor :samsung_pay
1967
- # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
1968
- attr_accessor :satispay
1969
- # 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.
1970
- attr_accessor :sepa_debit
1971
- # 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.
1972
- attr_accessor :shopeepay
1973
- # 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.
1974
- attr_accessor :sofort
1975
- # 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.
1976
- attr_accessor :swish
1977
- # 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.
1978
- attr_accessor :twint
1979
- # 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.
1980
- attr_accessor :us_bank_account
1981
- # 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.
1982
- attr_accessor :wechat_pay
1983
- # 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.
1984
- attr_accessor :zip
1985
-
1986
- def initialize(
1987
- acss_debit: nil,
1988
- affirm: nil,
1989
- afterpay_clearpay: nil,
1990
- alipay: nil,
1991
- alma: nil,
1992
- amazon_pay: nil,
1993
- apple_pay: nil,
1994
- apple_pay_later: nil,
1995
- au_becs_debit: nil,
1996
- bacs_debit: nil,
1997
- bancontact: nil,
1998
- billie: nil,
1999
- blik: nil,
2000
- boleto: nil,
2001
- card: nil,
2002
- cartes_bancaires: nil,
2003
- cashapp: nil,
2004
- customer_balance: nil,
2005
- eps: nil,
2006
- expand: nil,
2007
- fpx: nil,
2008
- giropay: nil,
2009
- google_pay: nil,
2010
- gopay: nil,
2011
- grabpay: nil,
2012
- id_bank_transfer: nil,
2013
- ideal: nil,
2014
- jcb: nil,
2015
- kakao_pay: nil,
2016
- klarna: nil,
2017
- konbini: nil,
2018
- kr_card: nil,
2019
- link: nil,
2020
- mobilepay: nil,
2021
- multibanco: nil,
2022
- name: nil,
2023
- naver_pay: nil,
2024
- nz_bank_account: nil,
2025
- oxxo: nil,
2026
- p24: nil,
2027
- parent: nil,
2028
- pay_by_bank: nil,
2029
- payco: nil,
2030
- paynow: nil,
2031
- paypal: nil,
2032
- payto: nil,
2033
- pix: nil,
2034
- promptpay: nil,
2035
- qris: nil,
2036
- revolut_pay: nil,
2037
- samsung_pay: nil,
2038
- satispay: nil,
2039
- sepa_debit: nil,
2040
- shopeepay: nil,
2041
- sofort: nil,
2042
- swish: nil,
2043
- twint: nil,
2044
- us_bank_account: nil,
2045
- wechat_pay: nil,
2046
- zip: nil
2047
- )
2048
- @acss_debit = acss_debit
2049
- @affirm = affirm
2050
- @afterpay_clearpay = afterpay_clearpay
2051
- @alipay = alipay
2052
- @alma = alma
2053
- @amazon_pay = amazon_pay
2054
- @apple_pay = apple_pay
2055
- @apple_pay_later = apple_pay_later
2056
- @au_becs_debit = au_becs_debit
2057
- @bacs_debit = bacs_debit
2058
- @bancontact = bancontact
2059
- @billie = billie
2060
- @blik = blik
2061
- @boleto = boleto
2062
- @card = card
2063
- @cartes_bancaires = cartes_bancaires
2064
- @cashapp = cashapp
2065
- @customer_balance = customer_balance
2066
- @eps = eps
2067
- @expand = expand
2068
- @fpx = fpx
2069
- @giropay = giropay
2070
- @google_pay = google_pay
2071
- @gopay = gopay
2072
- @grabpay = grabpay
2073
- @id_bank_transfer = id_bank_transfer
2074
- @ideal = ideal
2075
- @jcb = jcb
2076
- @kakao_pay = kakao_pay
2077
- @klarna = klarna
2078
- @konbini = konbini
2079
- @kr_card = kr_card
2080
- @link = link
2081
- @mobilepay = mobilepay
2082
- @multibanco = multibanco
2083
- @name = name
2084
- @naver_pay = naver_pay
2085
- @nz_bank_account = nz_bank_account
2086
- @oxxo = oxxo
2087
- @p24 = p24
2088
- @parent = parent
2089
- @pay_by_bank = pay_by_bank
2090
- @payco = payco
2091
- @paynow = paynow
2092
- @paypal = paypal
2093
- @payto = payto
2094
- @pix = pix
2095
- @promptpay = promptpay
2096
- @qris = qris
2097
- @revolut_pay = revolut_pay
2098
- @samsung_pay = samsung_pay
2099
- @satispay = satispay
2100
- @sepa_debit = sepa_debit
2101
- @shopeepay = shopeepay
2102
- @sofort = sofort
2103
- @swish = swish
2104
- @twint = twint
2105
- @us_bank_account = us_bank_account
2106
- @wechat_pay = wechat_pay
2107
- @zip = zip
2108
- end
2109
- end
2110
-
2111
- class UpdateParams < Stripe::RequestParams
2112
- class AcssDebit < Stripe::RequestParams
2113
- class DisplayPreference < Stripe::RequestParams
2114
- # The account's preference for whether or not to display this payment method.
2115
- attr_accessor :preference
2116
-
2117
- def initialize(preference: nil)
2118
- @preference = preference
2119
- end
2120
- end
2121
- # Whether or not the payment method should be displayed.
2122
- attr_accessor :display_preference
2123
-
2124
- def initialize(display_preference: nil)
2125
- @display_preference = display_preference
2126
- end
2127
- end
2128
-
2129
- class Affirm < Stripe::RequestParams
2130
- class DisplayPreference < Stripe::RequestParams
2131
- # The account's preference for whether or not to display this payment method.
2132
- attr_accessor :preference
2133
-
2134
- def initialize(preference: nil)
2135
- @preference = preference
2136
- end
2137
- end
2138
- # Whether or not the payment method should be displayed.
2139
- attr_accessor :display_preference
2140
-
2141
- def initialize(display_preference: nil)
2142
- @display_preference = display_preference
2143
- end
2144
- end
2145
-
2146
- class AfterpayClearpay < Stripe::RequestParams
2147
- class DisplayPreference < Stripe::RequestParams
2148
- # The account's preference for whether or not to display this payment method.
2149
- attr_accessor :preference
2150
-
2151
- def initialize(preference: nil)
2152
- @preference = preference
2153
- end
2154
- end
2155
- # Whether or not the payment method should be displayed.
2156
- attr_accessor :display_preference
2157
-
2158
- def initialize(display_preference: nil)
2159
- @display_preference = display_preference
2160
- end
2161
- end
2162
-
2163
- class Alipay < Stripe::RequestParams
2164
- class DisplayPreference < Stripe::RequestParams
2165
- # The account's preference for whether or not to display this payment method.
2166
- attr_accessor :preference
2167
-
2168
- def initialize(preference: nil)
2169
- @preference = preference
2170
- end
2171
- end
2172
- # Whether or not the payment method should be displayed.
2173
- attr_accessor :display_preference
2174
-
2175
- def initialize(display_preference: nil)
2176
- @display_preference = display_preference
2177
- end
2178
- end
2179
-
2180
- class Alma < Stripe::RequestParams
2181
- class DisplayPreference < Stripe::RequestParams
2182
- # The account's preference for whether or not to display this payment method.
2183
- attr_accessor :preference
2184
-
2185
- def initialize(preference: nil)
2186
- @preference = preference
2187
- end
2188
- end
2189
- # Whether or not the payment method should be displayed.
2190
- attr_accessor :display_preference
2191
-
2192
- def initialize(display_preference: nil)
2193
- @display_preference = display_preference
2194
- end
2195
- end
2196
-
2197
- class AmazonPay < Stripe::RequestParams
2198
- class DisplayPreference < Stripe::RequestParams
2199
- # The account's preference for whether or not to display this payment method.
2200
- attr_accessor :preference
2201
-
2202
- def initialize(preference: nil)
2203
- @preference = preference
2204
- end
2205
- end
2206
- # Whether or not the payment method should be displayed.
2207
- attr_accessor :display_preference
2208
-
2209
- def initialize(display_preference: nil)
2210
- @display_preference = display_preference
2211
- end
2212
- end
2213
-
2214
- class ApplePay < Stripe::RequestParams
2215
- class DisplayPreference < Stripe::RequestParams
2216
- # The account's preference for whether or not to display this payment method.
2217
- attr_accessor :preference
2218
-
2219
- def initialize(preference: nil)
2220
- @preference = preference
2221
- end
2222
- end
2223
- # Whether or not the payment method should be displayed.
2224
- attr_accessor :display_preference
2225
-
2226
- def initialize(display_preference: nil)
2227
- @display_preference = display_preference
2228
- end
2229
- end
2230
-
2231
- class ApplePayLater < Stripe::RequestParams
2232
- class DisplayPreference < Stripe::RequestParams
2233
- # The account's preference for whether or not to display this payment method.
2234
- attr_accessor :preference
2235
-
2236
- def initialize(preference: nil)
2237
- @preference = preference
2238
- end
2239
- end
2240
- # Whether or not the payment method should be displayed.
2241
- attr_accessor :display_preference
2242
-
2243
- def initialize(display_preference: nil)
2244
- @display_preference = display_preference
2245
- end
2246
- end
2247
-
2248
- class AuBecsDebit < Stripe::RequestParams
2249
- class DisplayPreference < Stripe::RequestParams
2250
- # The account's preference for whether or not to display this payment method.
2251
- attr_accessor :preference
2252
-
2253
- def initialize(preference: nil)
2254
- @preference = preference
2255
- end
2256
- end
2257
- # Whether or not the payment method should be displayed.
2258
- attr_accessor :display_preference
2259
-
2260
- def initialize(display_preference: nil)
2261
- @display_preference = display_preference
2262
- end
2263
- end
2264
-
2265
- class BacsDebit < Stripe::RequestParams
2266
- class DisplayPreference < Stripe::RequestParams
2267
- # The account's preference for whether or not to display this payment method.
2268
- attr_accessor :preference
2269
-
2270
- def initialize(preference: nil)
2271
- @preference = preference
2272
- end
2273
- end
2274
- # Whether or not the payment method should be displayed.
2275
- attr_accessor :display_preference
2276
-
2277
- def initialize(display_preference: nil)
2278
- @display_preference = display_preference
2279
- end
2280
- end
2281
-
2282
- class Bancontact < Stripe::RequestParams
2283
- class DisplayPreference < Stripe::RequestParams
2284
- # The account's preference for whether or not to display this payment method.
2285
- attr_accessor :preference
2286
-
2287
- def initialize(preference: nil)
2288
- @preference = preference
2289
- end
2290
- end
2291
- # Whether or not the payment method should be displayed.
2292
- attr_accessor :display_preference
2293
-
2294
- def initialize(display_preference: nil)
2295
- @display_preference = display_preference
2296
- end
2297
- end
2298
-
2299
- class Billie < Stripe::RequestParams
2300
- class DisplayPreference < Stripe::RequestParams
2301
- # The account's preference for whether or not to display this payment method.
2302
- attr_accessor :preference
2303
-
2304
- def initialize(preference: nil)
2305
- @preference = preference
2306
- end
2307
- end
2308
- # Whether or not the payment method should be displayed.
2309
- attr_accessor :display_preference
2310
-
2311
- def initialize(display_preference: nil)
2312
- @display_preference = display_preference
2313
- end
2314
- end
2315
-
2316
- class Blik < Stripe::RequestParams
2317
- class DisplayPreference < Stripe::RequestParams
2318
- # The account's preference for whether or not to display this payment method.
2319
- attr_accessor :preference
2320
-
2321
- def initialize(preference: nil)
2322
- @preference = preference
2323
- end
2324
- end
2325
- # Whether or not the payment method should be displayed.
2326
- attr_accessor :display_preference
2327
-
2328
- def initialize(display_preference: nil)
2329
- @display_preference = display_preference
2330
- end
2331
- end
2332
-
2333
- class Boleto < Stripe::RequestParams
2334
- class DisplayPreference < Stripe::RequestParams
2335
- # The account's preference for whether or not to display this payment method.
2336
- attr_accessor :preference
2337
-
2338
- def initialize(preference: nil)
2339
- @preference = preference
2340
- end
2341
- end
2342
- # Whether or not the payment method should be displayed.
2343
- attr_accessor :display_preference
2344
-
2345
- def initialize(display_preference: nil)
2346
- @display_preference = display_preference
2347
- end
2348
- end
2349
-
2350
- class Card < Stripe::RequestParams
2351
- class DisplayPreference < Stripe::RequestParams
2352
- # The account's preference for whether or not to display this payment method.
2353
- attr_accessor :preference
2354
-
2355
- def initialize(preference: nil)
2356
- @preference = preference
2357
- end
2358
- end
2359
- # Whether or not the payment method should be displayed.
2360
- attr_accessor :display_preference
2361
-
2362
- def initialize(display_preference: nil)
2363
- @display_preference = display_preference
2364
- end
2365
- end
2366
-
2367
- class CartesBancaires < Stripe::RequestParams
2368
- class DisplayPreference < Stripe::RequestParams
2369
- # The account's preference for whether or not to display this payment method.
2370
- attr_accessor :preference
2371
-
2372
- def initialize(preference: nil)
2373
- @preference = preference
2374
- end
2375
- end
2376
- # Whether or not the payment method should be displayed.
2377
- attr_accessor :display_preference
2378
-
2379
- def initialize(display_preference: nil)
2380
- @display_preference = display_preference
2381
- end
2382
- end
2383
-
2384
- class Cashapp < Stripe::RequestParams
2385
- class DisplayPreference < Stripe::RequestParams
2386
- # The account's preference for whether or not to display this payment method.
2387
- attr_accessor :preference
2388
-
2389
- def initialize(preference: nil)
2390
- @preference = preference
2391
- end
2392
- end
2393
- # Whether or not the payment method should be displayed.
2394
- attr_accessor :display_preference
2395
-
2396
- def initialize(display_preference: nil)
2397
- @display_preference = display_preference
2398
- end
2399
- end
2400
-
2401
- class CustomerBalance < Stripe::RequestParams
2402
- class DisplayPreference < Stripe::RequestParams
2403
- # The account's preference for whether or not to display this payment method.
2404
- attr_accessor :preference
2405
-
2406
- def initialize(preference: nil)
2407
- @preference = preference
2408
- end
2409
- end
2410
- # Whether or not the payment method should be displayed.
2411
- attr_accessor :display_preference
2412
-
2413
- def initialize(display_preference: nil)
2414
- @display_preference = display_preference
2415
- end
2416
- end
2417
-
2418
- class Eps < Stripe::RequestParams
2419
- class DisplayPreference < Stripe::RequestParams
2420
- # The account's preference for whether or not to display this payment method.
2421
- attr_accessor :preference
2422
-
2423
- def initialize(preference: nil)
2424
- @preference = preference
2425
- end
2426
- end
2427
- # Whether or not the payment method should be displayed.
2428
- attr_accessor :display_preference
2429
-
2430
- def initialize(display_preference: nil)
2431
- @display_preference = display_preference
2432
- end
2433
- end
2434
-
2435
- class Fpx < Stripe::RequestParams
2436
- class DisplayPreference < Stripe::RequestParams
2437
- # The account's preference for whether or not to display this payment method.
2438
- attr_accessor :preference
2439
-
2440
- def initialize(preference: nil)
2441
- @preference = preference
2442
- end
2443
- end
2444
- # Whether or not the payment method should be displayed.
2445
- attr_accessor :display_preference
2446
-
2447
- def initialize(display_preference: nil)
2448
- @display_preference = display_preference
2449
- end
2450
- end
2451
-
2452
- class Giropay < Stripe::RequestParams
2453
- class DisplayPreference < Stripe::RequestParams
2454
- # The account's preference for whether or not to display this payment method.
2455
- attr_accessor :preference
2456
-
2457
- def initialize(preference: nil)
2458
- @preference = preference
2459
- end
2460
- end
2461
- # Whether or not the payment method should be displayed.
2462
- attr_accessor :display_preference
2463
-
2464
- def initialize(display_preference: nil)
2465
- @display_preference = display_preference
2466
- end
2467
- end
2468
-
2469
- class GooglePay < Stripe::RequestParams
2470
- class DisplayPreference < Stripe::RequestParams
2471
- # The account's preference for whether or not to display this payment method.
2472
- attr_accessor :preference
2473
-
2474
- def initialize(preference: nil)
2475
- @preference = preference
2476
- end
2477
- end
2478
- # Whether or not the payment method should be displayed.
2479
- attr_accessor :display_preference
2480
-
2481
- def initialize(display_preference: nil)
2482
- @display_preference = display_preference
2483
- end
2484
- end
2485
-
2486
- class Gopay < Stripe::RequestParams
2487
- class DisplayPreference < Stripe::RequestParams
2488
- # The account's preference for whether or not to display this payment method.
2489
- attr_accessor :preference
2490
-
2491
- def initialize(preference: nil)
2492
- @preference = preference
2493
- end
2494
- end
2495
- # Whether or not the payment method should be displayed.
2496
- attr_accessor :display_preference
2497
-
2498
- def initialize(display_preference: nil)
2499
- @display_preference = display_preference
2500
- end
2501
- end
2502
-
2503
- class Grabpay < Stripe::RequestParams
2504
- class DisplayPreference < Stripe::RequestParams
2505
- # The account's preference for whether or not to display this payment method.
2506
- attr_accessor :preference
2507
-
2508
- def initialize(preference: nil)
2509
- @preference = preference
2510
- end
2511
- end
2512
- # Whether or not the payment method should be displayed.
2513
- attr_accessor :display_preference
2514
-
2515
- def initialize(display_preference: nil)
2516
- @display_preference = display_preference
2517
- end
2518
- end
2519
-
2520
- class IdBankTransfer < Stripe::RequestParams
2521
- class DisplayPreference < Stripe::RequestParams
2522
- # The account's preference for whether or not to display this payment method.
2523
- attr_accessor :preference
2524
-
2525
- def initialize(preference: nil)
2526
- @preference = preference
2527
- end
2528
- end
2529
- # Whether or not the payment method should be displayed.
2530
- attr_accessor :display_preference
2531
-
2532
- def initialize(display_preference: nil)
2533
- @display_preference = display_preference
2534
- end
2535
- end
2536
-
2537
- class Ideal < Stripe::RequestParams
2538
- class DisplayPreference < Stripe::RequestParams
2539
- # The account's preference for whether or not to display this payment method.
2540
- attr_accessor :preference
2541
-
2542
- def initialize(preference: nil)
2543
- @preference = preference
2544
- end
2545
- end
2546
- # Whether or not the payment method should be displayed.
2547
- attr_accessor :display_preference
2548
-
2549
- def initialize(display_preference: nil)
2550
- @display_preference = display_preference
2551
- end
2552
- end
2553
-
2554
- class Jcb < Stripe::RequestParams
2555
- class DisplayPreference < Stripe::RequestParams
2556
- # The account's preference for whether or not to display this payment method.
2557
- attr_accessor :preference
2558
-
2559
- def initialize(preference: nil)
2560
- @preference = preference
2561
- end
2562
- end
2563
- # Whether or not the payment method should be displayed.
2564
- attr_accessor :display_preference
2565
-
2566
- def initialize(display_preference: nil)
2567
- @display_preference = display_preference
2568
- end
2569
- end
2570
-
2571
- class KakaoPay < Stripe::RequestParams
2572
- class DisplayPreference < Stripe::RequestParams
2573
- # The account's preference for whether or not to display this payment method.
2574
- attr_accessor :preference
2575
-
2576
- def initialize(preference: nil)
2577
- @preference = preference
2578
- end
2579
- end
2580
- # Whether or not the payment method should be displayed.
2581
- attr_accessor :display_preference
2582
-
2583
- def initialize(display_preference: nil)
2584
- @display_preference = display_preference
2585
- end
2586
- end
2587
-
2588
- class Klarna < Stripe::RequestParams
2589
- class DisplayPreference < Stripe::RequestParams
2590
- # The account's preference for whether or not to display this payment method.
2591
- attr_accessor :preference
2592
-
2593
- def initialize(preference: nil)
2594
- @preference = preference
2595
- end
2596
- end
2597
- # Whether or not the payment method should be displayed.
2598
- attr_accessor :display_preference
2599
-
2600
- def initialize(display_preference: nil)
2601
- @display_preference = display_preference
2602
- end
2603
- end
2604
-
2605
- class Konbini < Stripe::RequestParams
2606
- class DisplayPreference < Stripe::RequestParams
2607
- # The account's preference for whether or not to display this payment method.
2608
- attr_accessor :preference
2609
-
2610
- def initialize(preference: nil)
2611
- @preference = preference
2612
- end
2613
- end
2614
- # Whether or not the payment method should be displayed.
2615
- attr_accessor :display_preference
2616
-
2617
- def initialize(display_preference: nil)
2618
- @display_preference = display_preference
2619
- end
2620
- end
2621
-
2622
- class KrCard < Stripe::RequestParams
2623
- class DisplayPreference < Stripe::RequestParams
2624
- # The account's preference for whether or not to display this payment method.
2625
- attr_accessor :preference
2626
-
2627
- def initialize(preference: nil)
2628
- @preference = preference
2629
- end
2630
- end
2631
- # Whether or not the payment method should be displayed.
2632
- attr_accessor :display_preference
2633
-
2634
- def initialize(display_preference: nil)
2635
- @display_preference = display_preference
2636
- end
2637
- end
2638
-
2639
- class Link < Stripe::RequestParams
2640
- class DisplayPreference < Stripe::RequestParams
2641
- # The account's preference for whether or not to display this payment method.
2642
- attr_accessor :preference
2643
-
2644
- def initialize(preference: nil)
2645
- @preference = preference
2646
- end
2647
- end
2648
- # Whether or not the payment method should be displayed.
2649
- attr_accessor :display_preference
2650
-
2651
- def initialize(display_preference: nil)
2652
- @display_preference = display_preference
2653
- end
2654
- end
2655
-
2656
- class Mobilepay < Stripe::RequestParams
2657
- class DisplayPreference < Stripe::RequestParams
2658
- # The account's preference for whether or not to display this payment method.
2659
- attr_accessor :preference
2660
-
2661
- def initialize(preference: nil)
2662
- @preference = preference
2663
- end
2664
- end
2665
- # Whether or not the payment method should be displayed.
2666
- attr_accessor :display_preference
2667
-
2668
- def initialize(display_preference: nil)
2669
- @display_preference = display_preference
2670
- end
2671
- end
2672
-
2673
- class Multibanco < Stripe::RequestParams
2674
- class DisplayPreference < Stripe::RequestParams
2675
- # The account's preference for whether or not to display this payment method.
2676
- attr_accessor :preference
2677
-
2678
- def initialize(preference: nil)
2679
- @preference = preference
2680
- end
2681
- end
2682
- # Whether or not the payment method should be displayed.
2683
- attr_accessor :display_preference
2684
-
2685
- def initialize(display_preference: nil)
2686
- @display_preference = display_preference
2687
- end
2688
- end
2689
-
2690
- class NaverPay < Stripe::RequestParams
2691
- class DisplayPreference < Stripe::RequestParams
2692
- # The account's preference for whether or not to display this payment method.
2693
- attr_accessor :preference
2694
-
2695
- def initialize(preference: nil)
2696
- @preference = preference
2697
- end
2698
- end
2699
- # Whether or not the payment method should be displayed.
2700
- attr_accessor :display_preference
2701
-
2702
- def initialize(display_preference: nil)
2703
- @display_preference = display_preference
2704
- end
2705
- end
2706
-
2707
- class NzBankAccount < Stripe::RequestParams
2708
- class DisplayPreference < Stripe::RequestParams
2709
- # The account's preference for whether or not to display this payment method.
2710
- attr_accessor :preference
2711
-
2712
- def initialize(preference: nil)
2713
- @preference = preference
2714
- end
2715
- end
2716
- # Whether or not the payment method should be displayed.
2717
- attr_accessor :display_preference
2718
-
2719
- def initialize(display_preference: nil)
2720
- @display_preference = display_preference
2721
- end
2722
- end
2723
-
2724
- class Oxxo < Stripe::RequestParams
2725
- class DisplayPreference < Stripe::RequestParams
2726
- # The account's preference for whether or not to display this payment method.
2727
- attr_accessor :preference
2728
-
2729
- def initialize(preference: nil)
2730
- @preference = preference
2731
- end
2732
- end
2733
- # Whether or not the payment method should be displayed.
2734
- attr_accessor :display_preference
2735
-
2736
- def initialize(display_preference: nil)
2737
- @display_preference = display_preference
2738
- end
2739
- end
2740
-
2741
- class P24 < Stripe::RequestParams
2742
- class DisplayPreference < Stripe::RequestParams
2743
- # The account's preference for whether or not to display this payment method.
2744
- attr_accessor :preference
2745
-
2746
- def initialize(preference: nil)
2747
- @preference = preference
2748
- end
2749
- end
2750
- # Whether or not the payment method should be displayed.
2751
- attr_accessor :display_preference
2752
-
2753
- def initialize(display_preference: nil)
2754
- @display_preference = display_preference
2755
- end
2756
- end
2757
-
2758
- class PayByBank < Stripe::RequestParams
2759
- class DisplayPreference < Stripe::RequestParams
2760
- # The account's preference for whether or not to display this payment method.
2761
- attr_accessor :preference
2762
-
2763
- def initialize(preference: nil)
2764
- @preference = preference
2765
- end
2766
- end
2767
- # Whether or not the payment method should be displayed.
2768
- attr_accessor :display_preference
2769
-
2770
- def initialize(display_preference: nil)
2771
- @display_preference = display_preference
2772
- end
2773
- end
2774
-
2775
- class Payco < Stripe::RequestParams
2776
- class DisplayPreference < Stripe::RequestParams
2777
- # The account's preference for whether or not to display this payment method.
2778
- attr_accessor :preference
2779
-
2780
- def initialize(preference: nil)
2781
- @preference = preference
2782
- end
2783
- end
2784
- # Whether or not the payment method should be displayed.
2785
- attr_accessor :display_preference
2786
-
2787
- def initialize(display_preference: nil)
2788
- @display_preference = display_preference
2789
- end
2790
- end
2791
-
2792
- class Paynow < Stripe::RequestParams
2793
- class DisplayPreference < Stripe::RequestParams
2794
- # The account's preference for whether or not to display this payment method.
2795
- attr_accessor :preference
2796
-
2797
- def initialize(preference: nil)
2798
- @preference = preference
2799
- end
2800
- end
2801
- # Whether or not the payment method should be displayed.
2802
- attr_accessor :display_preference
2803
-
2804
- def initialize(display_preference: nil)
2805
- @display_preference = display_preference
2806
- end
2807
- end
2808
-
2809
- class Paypal < Stripe::RequestParams
2810
- class DisplayPreference < Stripe::RequestParams
2811
- # The account's preference for whether or not to display this payment method.
2812
- attr_accessor :preference
2813
-
2814
- def initialize(preference: nil)
2815
- @preference = preference
2816
- end
2817
- end
2818
- # Whether or not the payment method should be displayed.
2819
- attr_accessor :display_preference
2820
-
2821
- def initialize(display_preference: nil)
2822
- @display_preference = display_preference
2823
- end
2824
- end
2825
-
2826
- class Payto < Stripe::RequestParams
2827
- class DisplayPreference < Stripe::RequestParams
2828
- # The account's preference for whether or not to display this payment method.
2829
- attr_accessor :preference
2830
-
2831
- def initialize(preference: nil)
2832
- @preference = preference
2833
- end
2834
- end
2835
- # Whether or not the payment method should be displayed.
2836
- attr_accessor :display_preference
2837
-
2838
- def initialize(display_preference: nil)
2839
- @display_preference = display_preference
2840
- end
2841
- end
2842
-
2843
- class Pix < Stripe::RequestParams
2844
- class DisplayPreference < Stripe::RequestParams
2845
- # The account's preference for whether or not to display this payment method.
2846
- attr_accessor :preference
2847
-
2848
- def initialize(preference: nil)
2849
- @preference = preference
2850
- end
2851
- end
2852
- # Whether or not the payment method should be displayed.
2853
- attr_accessor :display_preference
2854
-
2855
- def initialize(display_preference: nil)
2856
- @display_preference = display_preference
2857
- end
2858
- end
2859
-
2860
- class Promptpay < Stripe::RequestParams
2861
- class DisplayPreference < Stripe::RequestParams
2862
- # The account's preference for whether or not to display this payment method.
2863
- attr_accessor :preference
2864
-
2865
- def initialize(preference: nil)
2866
- @preference = preference
2867
- end
2868
- end
2869
- # Whether or not the payment method should be displayed.
2870
- attr_accessor :display_preference
2871
-
2872
- def initialize(display_preference: nil)
2873
- @display_preference = display_preference
2874
- end
2875
- end
2876
-
2877
- class Qris < Stripe::RequestParams
2878
- class DisplayPreference < Stripe::RequestParams
2879
- # The account's preference for whether or not to display this payment method.
2880
- attr_accessor :preference
2881
-
2882
- def initialize(preference: nil)
2883
- @preference = preference
2884
- end
2885
- end
2886
- # Whether or not the payment method should be displayed.
2887
- attr_accessor :display_preference
2888
-
2889
- def initialize(display_preference: nil)
2890
- @display_preference = display_preference
2891
- end
2892
- end
2893
-
2894
- class RevolutPay < Stripe::RequestParams
2895
- class DisplayPreference < Stripe::RequestParams
2896
- # The account's preference for whether or not to display this payment method.
2897
- attr_accessor :preference
2898
-
2899
- def initialize(preference: nil)
2900
- @preference = preference
2901
- end
2902
- end
2903
- # Whether or not the payment method should be displayed.
2904
- attr_accessor :display_preference
2905
-
2906
- def initialize(display_preference: nil)
2907
- @display_preference = display_preference
2908
- end
2909
- end
2910
-
2911
- class SamsungPay < Stripe::RequestParams
2912
- class DisplayPreference < Stripe::RequestParams
2913
- # The account's preference for whether or not to display this payment method.
2914
- attr_accessor :preference
2915
-
2916
- def initialize(preference: nil)
2917
- @preference = preference
2918
- end
2919
- end
2920
- # Whether or not the payment method should be displayed.
2921
- attr_accessor :display_preference
2922
-
2923
- def initialize(display_preference: nil)
2924
- @display_preference = display_preference
2925
- end
2926
- end
2927
-
2928
- class Satispay < Stripe::RequestParams
2929
- class DisplayPreference < Stripe::RequestParams
2930
- # The account's preference for whether or not to display this payment method.
2931
- attr_accessor :preference
2932
-
2933
- def initialize(preference: nil)
2934
- @preference = preference
2935
- end
2936
- end
2937
- # Whether or not the payment method should be displayed.
2938
- attr_accessor :display_preference
2939
-
2940
- def initialize(display_preference: nil)
2941
- @display_preference = display_preference
2942
- end
2943
- end
2944
-
2945
- class SepaDebit < Stripe::RequestParams
2946
- class DisplayPreference < Stripe::RequestParams
2947
- # The account's preference for whether or not to display this payment method.
2948
- attr_accessor :preference
2949
-
2950
- def initialize(preference: nil)
2951
- @preference = preference
2952
- end
2953
- end
2954
- # Whether or not the payment method should be displayed.
2955
- attr_accessor :display_preference
2956
-
2957
- def initialize(display_preference: nil)
2958
- @display_preference = display_preference
2959
- end
2960
- end
2961
-
2962
- class Shopeepay < Stripe::RequestParams
2963
- class DisplayPreference < Stripe::RequestParams
2964
- # The account's preference for whether or not to display this payment method.
2965
- attr_accessor :preference
2966
-
2967
- def initialize(preference: nil)
2968
- @preference = preference
2969
- end
2970
- end
2971
- # Whether or not the payment method should be displayed.
2972
- attr_accessor :display_preference
2973
-
2974
- def initialize(display_preference: nil)
2975
- @display_preference = display_preference
2976
- end
2977
- end
2978
-
2979
- class Sofort < Stripe::RequestParams
2980
- class DisplayPreference < Stripe::RequestParams
2981
- # The account's preference for whether or not to display this payment method.
2982
- attr_accessor :preference
2983
-
2984
- def initialize(preference: nil)
2985
- @preference = preference
2986
- end
2987
- end
2988
- # Whether or not the payment method should be displayed.
2989
- attr_accessor :display_preference
2990
-
2991
- def initialize(display_preference: nil)
2992
- @display_preference = display_preference
2993
- end
2994
- end
2995
-
2996
- class Swish < Stripe::RequestParams
2997
- class DisplayPreference < Stripe::RequestParams
2998
- # The account's preference for whether or not to display this payment method.
2999
- attr_accessor :preference
3000
-
3001
- def initialize(preference: nil)
3002
- @preference = preference
3003
- end
3004
- end
3005
- # Whether or not the payment method should be displayed.
3006
- attr_accessor :display_preference
3007
-
3008
- def initialize(display_preference: nil)
3009
- @display_preference = display_preference
3010
- end
3011
- end
3012
-
3013
- class Twint < Stripe::RequestParams
3014
- class DisplayPreference < Stripe::RequestParams
3015
- # The account's preference for whether or not to display this payment method.
3016
- attr_accessor :preference
3017
-
3018
- def initialize(preference: nil)
3019
- @preference = preference
3020
- end
3021
- end
3022
- # Whether or not the payment method should be displayed.
3023
- attr_accessor :display_preference
3024
-
3025
- def initialize(display_preference: nil)
3026
- @display_preference = display_preference
3027
- end
3028
- end
3029
-
3030
- class UsBankAccount < Stripe::RequestParams
3031
- class DisplayPreference < Stripe::RequestParams
3032
- # The account's preference for whether or not to display this payment method.
3033
- attr_accessor :preference
3034
-
3035
- def initialize(preference: nil)
3036
- @preference = preference
3037
- end
3038
- end
3039
- # Whether or not the payment method should be displayed.
3040
- attr_accessor :display_preference
3041
-
3042
- def initialize(display_preference: nil)
3043
- @display_preference = display_preference
3044
- end
3045
- end
3046
-
3047
- class WechatPay < Stripe::RequestParams
3048
- class DisplayPreference < Stripe::RequestParams
3049
- # The account's preference for whether or not to display this payment method.
3050
- attr_accessor :preference
3051
-
3052
- def initialize(preference: nil)
3053
- @preference = preference
3054
- end
3055
- end
3056
- # Whether or not the payment method should be displayed.
3057
- attr_accessor :display_preference
3058
-
3059
- def initialize(display_preference: nil)
3060
- @display_preference = display_preference
3061
- end
3062
- end
3063
-
3064
- class Zip < Stripe::RequestParams
3065
- class DisplayPreference < Stripe::RequestParams
3066
- # The account's preference for whether or not to display this payment method.
3067
- attr_accessor :preference
3068
-
3069
- def initialize(preference: nil)
3070
- @preference = preference
3071
- end
3072
- end
3073
- # Whether or not the payment method should be displayed.
3074
- attr_accessor :display_preference
3075
-
3076
- def initialize(display_preference: nil)
3077
- @display_preference = display_preference
3078
- end
3079
- end
3080
- # Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
3081
- attr_accessor :acss_debit
3082
- # Whether the configuration can be used for new payments.
3083
- attr_accessor :active
3084
- # [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.
3085
- attr_accessor :affirm
3086
- # 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.
3087
- attr_accessor :afterpay_clearpay
3088
- # 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.
3089
- attr_accessor :alipay
3090
- # Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
3091
- attr_accessor :alma
3092
- # Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
3093
- attr_accessor :amazon_pay
3094
- # Stripe users can accept [Apple Pay](https://stripe.com/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](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
3095
- attr_accessor :apple_pay
3096
- # 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.
3097
- attr_accessor :apple_pay_later
3098
- # 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.
3099
- attr_accessor :au_becs_debit
3100
- # 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.
3101
- attr_accessor :bacs_debit
3102
- # 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.
3103
- attr_accessor :bancontact
3104
- # Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
3105
- attr_accessor :billie
3106
- # 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.
3107
- attr_accessor :blik
3108
- # 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.
3109
- attr_accessor :boleto
3110
- # Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
3111
- attr_accessor :card
3112
- # 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.
3113
- attr_accessor :cartes_bancaires
3114
- # 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.
3115
- attr_accessor :cashapp
3116
- # 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.
3117
- attr_accessor :customer_balance
3118
- # 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.
3119
- attr_accessor :eps
3120
- # Specifies which fields in the response should be expanded.
3121
- attr_accessor :expand
3122
- # 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.
3123
- attr_accessor :fpx
3124
- # 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.
3125
- attr_accessor :giropay
3126
- # 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.
3127
- attr_accessor :google_pay
3128
- # 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.
3129
- attr_accessor :gopay
3130
- # 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.
3131
- attr_accessor :grabpay
3132
- # Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
3133
- attr_accessor :id_bank_transfer
3134
- # 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.
3135
- attr_accessor :ideal
3136
- # 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.
3137
- attr_accessor :jcb
3138
- # Kakao Pay is a popular local wallet available in South Korea.
3139
- attr_accessor :kakao_pay
3140
- # 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.
3141
- attr_accessor :klarna
3142
- # 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.
3143
- attr_accessor :konbini
3144
- # Korean cards let users pay using locally issued cards from South Korea.
3145
- attr_accessor :kr_card
3146
- # [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.
3147
- attr_accessor :link
3148
- # 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.
3149
- attr_accessor :mobilepay
3150
- # 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.
3151
- attr_accessor :multibanco
3152
- # Configuration name.
3153
- attr_accessor :name
3154
- # Naver Pay is a popular local wallet available in South Korea.
3155
- attr_accessor :naver_pay
3156
- # Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
3157
- attr_accessor :nz_bank_account
3158
- # 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.
3159
- attr_accessor :oxxo
3160
- # 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.
3161
- attr_accessor :p24
3162
- # Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
3163
- attr_accessor :pay_by_bank
3164
- # PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
3165
- attr_accessor :payco
3166
- # 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.
3167
- attr_accessor :paynow
3168
- # 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.
3169
- attr_accessor :paypal
3170
- # 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.
3171
- attr_accessor :payto
3172
- # Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
3173
- attr_accessor :pix
3174
- # 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.
3175
- attr_accessor :promptpay
3176
- # 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.
3177
- attr_accessor :qris
3178
- # 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.
3179
- attr_accessor :revolut_pay
3180
- # Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.
3181
- attr_accessor :samsung_pay
3182
- # Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
3183
- attr_accessor :satispay
3184
- # 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.
3185
- attr_accessor :sepa_debit
3186
- # 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.
3187
- attr_accessor :shopeepay
3188
- # 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.
3189
- attr_accessor :sofort
3190
- # 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.
3191
- attr_accessor :swish
3192
- # 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.
3193
- attr_accessor :twint
3194
- # 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.
3195
- attr_accessor :us_bank_account
3196
- # 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.
3197
- attr_accessor :wechat_pay
3198
- # 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.
3199
- attr_accessor :zip
3200
-
3201
- def initialize(
3202
- acss_debit: nil,
3203
- active: nil,
3204
- affirm: nil,
3205
- afterpay_clearpay: nil,
3206
- alipay: nil,
3207
- alma: nil,
3208
- amazon_pay: nil,
3209
- apple_pay: nil,
3210
- apple_pay_later: nil,
3211
- au_becs_debit: nil,
3212
- bacs_debit: nil,
3213
- bancontact: nil,
3214
- billie: nil,
3215
- blik: nil,
3216
- boleto: nil,
3217
- card: nil,
3218
- cartes_bancaires: nil,
3219
- cashapp: nil,
3220
- customer_balance: nil,
3221
- eps: nil,
3222
- expand: nil,
3223
- fpx: nil,
3224
- giropay: nil,
3225
- google_pay: nil,
3226
- gopay: nil,
3227
- grabpay: nil,
3228
- id_bank_transfer: nil,
3229
- ideal: nil,
3230
- jcb: nil,
3231
- kakao_pay: nil,
3232
- klarna: nil,
3233
- konbini: nil,
3234
- kr_card: nil,
3235
- link: nil,
3236
- mobilepay: nil,
3237
- multibanco: nil,
3238
- name: nil,
3239
- naver_pay: nil,
3240
- nz_bank_account: nil,
3241
- oxxo: nil,
3242
- p24: nil,
3243
- pay_by_bank: nil,
3244
- payco: nil,
3245
- paynow: nil,
3246
- paypal: nil,
3247
- payto: nil,
3248
- pix: nil,
3249
- promptpay: nil,
3250
- qris: nil,
3251
- revolut_pay: nil,
3252
- samsung_pay: nil,
3253
- satispay: nil,
3254
- sepa_debit: nil,
3255
- shopeepay: nil,
3256
- sofort: nil,
3257
- swish: nil,
3258
- twint: nil,
3259
- us_bank_account: nil,
3260
- wechat_pay: nil,
3261
- zip: nil
3262
- )
3263
- @acss_debit = acss_debit
3264
- @active = active
3265
- @affirm = affirm
3266
- @afterpay_clearpay = afterpay_clearpay
3267
- @alipay = alipay
3268
- @alma = alma
3269
- @amazon_pay = amazon_pay
3270
- @apple_pay = apple_pay
3271
- @apple_pay_later = apple_pay_later
3272
- @au_becs_debit = au_becs_debit
3273
- @bacs_debit = bacs_debit
3274
- @bancontact = bancontact
3275
- @billie = billie
3276
- @blik = blik
3277
- @boleto = boleto
3278
- @card = card
3279
- @cartes_bancaires = cartes_bancaires
3280
- @cashapp = cashapp
3281
- @customer_balance = customer_balance
3282
- @eps = eps
3283
- @expand = expand
3284
- @fpx = fpx
3285
- @giropay = giropay
3286
- @google_pay = google_pay
3287
- @gopay = gopay
3288
- @grabpay = grabpay
3289
- @id_bank_transfer = id_bank_transfer
3290
- @ideal = ideal
3291
- @jcb = jcb
3292
- @kakao_pay = kakao_pay
3293
- @klarna = klarna
3294
- @konbini = konbini
3295
- @kr_card = kr_card
3296
- @link = link
3297
- @mobilepay = mobilepay
3298
- @multibanco = multibanco
3299
- @name = name
3300
- @naver_pay = naver_pay
3301
- @nz_bank_account = nz_bank_account
3302
- @oxxo = oxxo
3303
- @p24 = p24
3304
- @pay_by_bank = pay_by_bank
3305
- @payco = payco
3306
- @paynow = paynow
3307
- @paypal = paypal
3308
- @payto = payto
3309
- @pix = pix
3310
- @promptpay = promptpay
3311
- @qris = qris
3312
- @revolut_pay = revolut_pay
3313
- @samsung_pay = samsung_pay
3314
- @satispay = satispay
3315
- @sepa_debit = sepa_debit
3316
- @shopeepay = shopeepay
3317
- @sofort = sofort
3318
- @swish = swish
3319
- @twint = twint
3320
- @us_bank_account = us_bank_account
3321
- @wechat_pay = wechat_pay
3322
- @zip = zip
1605
+ def self.field_remappings
1606
+ @field_remappings = {}
3323
1607
  end
3324
1608
  end
3325
1609
  # Attribute for field acss_debit
@@ -3368,14 +1652,10 @@ module Stripe
3368
1652
  attr_reader :giropay
3369
1653
  # Attribute for field google_pay
3370
1654
  attr_reader :google_pay
3371
- # Attribute for field gopay
3372
- attr_reader :gopay
3373
1655
  # Attribute for field grabpay
3374
1656
  attr_reader :grabpay
3375
1657
  # Unique identifier for the object.
3376
1658
  attr_reader :id
3377
- # Attribute for field id_bank_transfer
3378
- attr_reader :id_bank_transfer
3379
1659
  # Attribute for field ideal
3380
1660
  attr_reader :ideal
3381
1661
  # The default configuration is used whenever a payment method configuration is not specified.
@@ -3420,14 +1700,10 @@ module Stripe
3420
1700
  attr_reader :paynow
3421
1701
  # Attribute for field paypal
3422
1702
  attr_reader :paypal
3423
- # Attribute for field payto
3424
- attr_reader :payto
3425
1703
  # Attribute for field pix
3426
1704
  attr_reader :pix
3427
1705
  # Attribute for field promptpay
3428
1706
  attr_reader :promptpay
3429
- # Attribute for field qris
3430
- attr_reader :qris
3431
1707
  # Attribute for field revolut_pay
3432
1708
  attr_reader :revolut_pay
3433
1709
  # Attribute for field samsung_pay
@@ -3436,8 +1712,6 @@ module Stripe
3436
1712
  attr_reader :satispay
3437
1713
  # Attribute for field sepa_debit
3438
1714
  attr_reader :sepa_debit
3439
- # Attribute for field shopeepay
3440
- attr_reader :shopeepay
3441
1715
  # Attribute for field sofort
3442
1716
  attr_reader :sofort
3443
1717
  # Attribute for field swish
@@ -3480,5 +1754,65 @@ module Stripe
3480
1754
  opts: opts
3481
1755
  )
3482
1756
  end
1757
+
1758
+ def self.inner_class_types
1759
+ @inner_class_types = {
1760
+ acss_debit: AcssDebit,
1761
+ affirm: Affirm,
1762
+ afterpay_clearpay: AfterpayClearpay,
1763
+ alipay: Alipay,
1764
+ alma: Alma,
1765
+ amazon_pay: AmazonPay,
1766
+ apple_pay: ApplePay,
1767
+ au_becs_debit: AuBecsDebit,
1768
+ bacs_debit: BacsDebit,
1769
+ bancontact: Bancontact,
1770
+ billie: Billie,
1771
+ blik: Blik,
1772
+ boleto: Boleto,
1773
+ card: Card,
1774
+ cartes_bancaires: CartesBancaires,
1775
+ cashapp: Cashapp,
1776
+ customer_balance: CustomerBalance,
1777
+ eps: Eps,
1778
+ fpx: Fpx,
1779
+ giropay: Giropay,
1780
+ google_pay: GooglePay,
1781
+ grabpay: Grabpay,
1782
+ ideal: Ideal,
1783
+ jcb: Jcb,
1784
+ kakao_pay: KakaoPay,
1785
+ klarna: Klarna,
1786
+ konbini: Konbini,
1787
+ kr_card: KrCard,
1788
+ link: Link,
1789
+ mobilepay: Mobilepay,
1790
+ multibanco: Multibanco,
1791
+ naver_pay: NaverPay,
1792
+ nz_bank_account: NzBankAccount,
1793
+ oxxo: Oxxo,
1794
+ p24: P24,
1795
+ pay_by_bank: PayByBank,
1796
+ payco: Payco,
1797
+ paynow: Paynow,
1798
+ paypal: Paypal,
1799
+ pix: Pix,
1800
+ promptpay: Promptpay,
1801
+ revolut_pay: RevolutPay,
1802
+ samsung_pay: SamsungPay,
1803
+ satispay: Satispay,
1804
+ sepa_debit: SepaDebit,
1805
+ sofort: Sofort,
1806
+ swish: Swish,
1807
+ twint: Twint,
1808
+ us_bank_account: UsBankAccount,
1809
+ wechat_pay: WechatPay,
1810
+ zip: Zip,
1811
+ }
1812
+ end
1813
+
1814
+ def self.field_remappings
1815
+ @field_remappings = {}
1816
+ end
3483
1817
  end
3484
1818
  end