stripe 17.1.0.pre.beta.2 → 17.1.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 (1074) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +0 -34
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/errors.rb +0 -63
  5. data/lib/stripe/event_types.rb +0 -236
  6. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
  7. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
  8. data/lib/stripe/object_types.rb +0 -55
  9. data/lib/stripe/params/account_capability_list_params.rb +1 -1
  10. data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
  11. data/lib/stripe/params/account_capability_update_params.rb +1 -1
  12. data/lib/stripe/params/account_create_params.rb +137 -417
  13. data/lib/stripe/params/account_delete_params.rb +1 -1
  14. data/lib/stripe/params/account_external_account_create_params.rb +4 -4
  15. data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
  16. data/lib/stripe/params/account_external_account_list_params.rb +1 -1
  17. data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
  18. data/lib/stripe/params/account_external_account_update_params.rb +3 -3
  19. data/lib/stripe/params/account_link_create_params.rb +2 -2
  20. data/lib/stripe/params/account_list_params.rb +2 -2
  21. data/lib/stripe/params/account_login_link_create_params.rb +1 -1
  22. data/lib/stripe/params/account_person_create_params.rb +19 -19
  23. data/lib/stripe/params/account_person_delete_params.rb +1 -1
  24. data/lib/stripe/params/account_person_list_params.rb +2 -2
  25. data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
  26. data/lib/stripe/params/account_person_update_params.rb +19 -19
  27. data/lib/stripe/params/account_persons_params.rb +2 -2
  28. data/lib/stripe/params/account_reject_params.rb +1 -1
  29. data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
  30. data/lib/stripe/params/account_retrieve_params.rb +1 -1
  31. data/lib/stripe/params/account_session_create_params.rb +41 -266
  32. data/lib/stripe/params/account_update_params.rb +132 -375
  33. data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
  34. data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
  35. data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
  36. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
  37. data/lib/stripe/params/application_fee_list_params.rb +2 -2
  38. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  39. data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
  40. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
  41. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  42. data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
  43. data/lib/stripe/params/apps/secret_create_params.rb +2 -2
  44. data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
  45. data/lib/stripe/params/apps/secret_find_params.rb +2 -2
  46. data/lib/stripe/params/apps/secret_list_params.rb +2 -2
  47. data/lib/stripe/params/balance_retrieve_params.rb +1 -1
  48. data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
  49. data/lib/stripe/params/balance_settings_update_params.rb +5 -5
  50. data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
  51. data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
  52. data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
  53. data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
  54. data/lib/stripe/params/billing/alert_create_params.rb +3 -3
  55. data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
  56. data/lib/stripe/params/billing/alert_list_params.rb +1 -1
  57. data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
  58. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +5 -8
  59. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +1 -5
  60. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
  61. data/lib/stripe/params/billing/credit_grant_create_params.rb +7 -11
  62. data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
  63. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -5
  64. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
  65. data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
  66. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
  67. data/lib/stripe/params/billing/meter_create_params.rb +4 -4
  68. data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
  69. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
  70. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  71. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
  72. data/lib/stripe/params/billing/meter_list_params.rb +1 -1
  73. data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
  74. data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
  75. data/lib/stripe/params/billing/meter_update_params.rb +1 -1
  76. data/lib/stripe/params/billing_portal/configuration_create_params.rb +18 -15
  77. data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
  78. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
  79. data/lib/stripe/params/billing_portal/configuration_update_params.rb +18 -15
  80. data/lib/stripe/params/billing_portal/session_create_params.rb +12 -16
  81. data/lib/stripe/params/charge_capture_params.rb +2 -711
  82. data/lib/stripe/params/charge_create_params.rb +6 -6
  83. data/lib/stripe/params/charge_list_params.rb +2 -2
  84. data/lib/stripe/params/charge_retrieve_params.rb +1 -1
  85. data/lib/stripe/params/charge_search_params.rb +1 -1
  86. data/lib/stripe/params/charge_update_params.rb +4 -713
  87. data/lib/stripe/params/checkout/session_create_params.rb +146 -317
  88. data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
  89. data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
  90. data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
  91. data/lib/stripe/params/checkout/session_list_params.rb +3 -7
  92. data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
  93. data/lib/stripe/params/checkout/session_update_params.rb +12 -299
  94. data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
  95. data/lib/stripe/params/climate/order_create_params.rb +2 -2
  96. data/lib/stripe/params/climate/order_list_params.rb +1 -1
  97. data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
  98. data/lib/stripe/params/climate/order_update_params.rb +2 -2
  99. data/lib/stripe/params/climate/product_list_params.rb +1 -1
  100. data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
  101. data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
  102. data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
  103. data/lib/stripe/params/confirmation_token_create_params.rb +61 -158
  104. data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
  105. data/lib/stripe/params/country_spec_list_params.rb +1 -1
  106. data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
  107. data/lib/stripe/params/coupon_create_params.rb +4 -20
  108. data/lib/stripe/params/coupon_delete_params.rb +1 -1
  109. data/lib/stripe/params/coupon_list_params.rb +2 -2
  110. data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
  111. data/lib/stripe/params/coupon_update_params.rb +2 -2
  112. data/lib/stripe/params/credit_note_create_params.rb +23 -6
  113. data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
  114. data/lib/stripe/params/credit_note_list_params.rb +2 -6
  115. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
  116. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
  117. data/lib/stripe/params/credit_note_preview_params.rb +23 -6
  118. data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
  119. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  120. data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
  121. data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
  122. data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
  123. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
  124. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  125. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
  126. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
  127. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
  128. data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
  129. data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
  130. data/lib/stripe/params/customer_create_params.rb +11 -11
  131. data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
  132. data/lib/stripe/params/customer_delete_params.rb +1 -1
  133. data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
  134. data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
  135. data/lib/stripe/params/customer_list_params.rb +2 -2
  136. data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
  137. data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
  138. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
  139. data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
  140. data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
  141. data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
  142. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
  143. data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
  144. data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
  145. data/lib/stripe/params/customer_retrieve_params.rb +1 -1
  146. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
  147. data/lib/stripe/params/customer_search_params.rb +1 -1
  148. data/lib/stripe/params/customer_session_create_params.rb +93 -11
  149. data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
  150. data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
  151. data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
  152. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
  153. data/lib/stripe/params/customer_update_params.rb +10 -10
  154. data/lib/stripe/params/dispute_close_params.rb +1 -1
  155. data/lib/stripe/params/dispute_list_params.rb +2 -2
  156. data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
  157. data/lib/stripe/params/dispute_update_params.rb +10 -19
  158. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
  159. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
  160. data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
  161. data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
  162. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
  163. data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
  164. data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
  165. data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
  166. data/lib/stripe/params/event_list_params.rb +2 -2
  167. data/lib/stripe/params/event_retrieve_params.rb +1 -1
  168. data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
  169. data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -1
  170. data/lib/stripe/params/file_create_params.rb +2 -2
  171. data/lib/stripe/params/file_link_create_params.rb +1 -1
  172. data/lib/stripe/params/file_link_list_params.rb +2 -2
  173. data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
  174. data/lib/stripe/params/file_link_update_params.rb +1 -1
  175. data/lib/stripe/params/file_list_params.rb +2 -2
  176. data/lib/stripe/params/file_retrieve_params.rb +1 -1
  177. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
  178. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
  179. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -6
  180. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
  181. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
  182. data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
  183. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
  184. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
  185. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
  186. data/lib/stripe/params/financial_connections/session_create_params.rb +5 -37
  187. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
  188. data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
  189. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
  190. data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
  191. data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
  192. data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
  193. data/lib/stripe/params/identity/verification_report_list_params.rb +2 -2
  194. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
  195. data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
  196. data/lib/stripe/params/identity/verification_session_create_params.rb +5 -9
  197. data/lib/stripe/params/identity/verification_session_list_params.rb +2 -6
  198. data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
  199. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
  200. data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
  201. data/lib/stripe/params/invoice_add_lines_params.rb +10 -42
  202. data/lib/stripe/params/invoice_attach_payment_params.rb +2 -44
  203. data/lib/stripe/params/invoice_create_params.rb +37 -147
  204. data/lib/stripe/params/invoice_create_preview_params.rb +55 -872
  205. data/lib/stripe/params/invoice_delete_params.rb +1 -1
  206. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  207. data/lib/stripe/params/invoice_item_create_params.rb +6 -42
  208. data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
  209. data/lib/stripe/params/invoice_item_list_params.rb +2 -6
  210. data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
  211. data/lib/stripe/params/invoice_item_update_params.rb +6 -38
  212. data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
  213. data/lib/stripe/params/invoice_line_item_update_params.rb +9 -41
  214. data/lib/stripe/params/invoice_list_params.rb +3 -7
  215. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
  216. data/lib/stripe/params/invoice_pay_params.rb +1 -1
  217. data/lib/stripe/params/invoice_payment_list_params.rb +2 -2
  218. data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
  219. data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
  220. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
  221. data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
  222. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
  223. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
  224. data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
  225. data/lib/stripe/params/invoice_search_params.rb +1 -1
  226. data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
  227. data/lib/stripe/params/invoice_update_lines_params.rb +10 -42
  228. data/lib/stripe/params/invoice_update_params.rb +36 -142
  229. data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
  230. data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
  231. data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
  232. data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
  233. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  234. data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
  235. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
  236. data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
  237. data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
  238. data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
  239. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
  240. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  241. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  242. data/lib/stripe/params/issuing/card_create_params.rb +8 -8
  243. data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
  244. data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
  245. data/lib/stripe/params/issuing/card_list_params.rb +2 -2
  246. data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
  247. data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
  248. data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
  249. data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
  250. data/lib/stripe/params/issuing/card_update_params.rb +8 -8
  251. data/lib/stripe/params/issuing/cardholder_create_params.rb +13 -14
  252. data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
  253. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
  254. data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
  255. data/lib/stripe/params/issuing/dispute_create_params.rb +11 -11
  256. data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
  257. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
  258. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  259. data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
  260. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +1 -1
  261. data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
  262. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
  263. data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
  264. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
  265. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
  266. data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
  267. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
  268. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
  269. data/lib/stripe/params/issuing/token_list_params.rb +2 -2
  270. data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
  271. data/lib/stripe/params/issuing/token_update_params.rb +1 -1
  272. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
  273. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
  274. data/lib/stripe/params/issuing/transaction_list_params.rb +2 -6
  275. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  276. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
  277. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  278. data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
  279. data/lib/stripe/params/payment_attempt_record_list_params.rb +5 -2
  280. data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +1 -1
  281. data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +1 -1
  282. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  283. data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
  284. data/lib/stripe/params/payment_intent_capture_params.rb +52 -750
  285. data/lib/stripe/params/payment_intent_confirm_params.rb +186 -1355
  286. data/lib/stripe/params/payment_intent_create_params.rb +188 -1365
  287. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +51 -77
  288. data/lib/stripe/params/payment_intent_list_params.rb +2 -6
  289. data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
  290. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  291. data/lib/stripe/params/payment_intent_update_params.rb +183 -1391
  292. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
  293. data/lib/stripe/params/payment_link_create_params.rb +83 -44
  294. data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
  295. data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
  296. data/lib/stripe/params/payment_link_list_params.rb +1 -1
  297. data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
  298. data/lib/stripe/params/payment_link_update_params.rb +74 -35
  299. data/lib/stripe/params/payment_method_attach_params.rb +2 -5
  300. data/lib/stripe/params/payment_method_configuration_create_params.rb +119 -203
  301. data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
  302. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
  303. data/lib/stripe/params/payment_method_configuration_update_params.rb +119 -203
  304. data/lib/stripe/params/payment_method_create_params.rb +70 -153
  305. data/lib/stripe/params/payment_method_detach_params.rb +1 -1
  306. data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
  307. data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
  308. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
  309. data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
  310. data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
  311. data/lib/stripe/params/payment_method_list_params.rb +2 -2
  312. data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
  313. data/lib/stripe/params/payment_method_update_params.rb +6 -25
  314. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +1 -1
  315. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +1 -1
  316. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +1 -1
  317. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +4 -4
  318. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +9 -9
  319. data/lib/stripe/params/payment_record_report_payment_params.rb +13 -13
  320. data/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
  321. data/lib/stripe/params/payment_record_retrieve_params.rb +1 -1
  322. data/lib/stripe/params/payout_cancel_params.rb +1 -1
  323. data/lib/stripe/params/payout_create_params.rb +1 -1
  324. data/lib/stripe/params/payout_list_params.rb +3 -3
  325. data/lib/stripe/params/payout_retrieve_params.rb +1 -1
  326. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  327. data/lib/stripe/params/payout_update_params.rb +1 -1
  328. data/lib/stripe/params/plan_create_params.rb +4 -4
  329. data/lib/stripe/params/plan_delete_params.rb +1 -1
  330. data/lib/stripe/params/plan_list_params.rb +2 -2
  331. data/lib/stripe/params/plan_retrieve_params.rb +1 -1
  332. data/lib/stripe/params/plan_update_params.rb +1 -1
  333. data/lib/stripe/params/price_create_params.rb +9 -9
  334. data/lib/stripe/params/price_list_params.rb +3 -3
  335. data/lib/stripe/params/price_retrieve_params.rb +1 -1
  336. data/lib/stripe/params/price_search_params.rb +1 -1
  337. data/lib/stripe/params/price_update_params.rb +4 -23
  338. data/lib/stripe/params/product_create_params.rb +9 -9
  339. data/lib/stripe/params/product_delete_params.rb +1 -1
  340. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  341. data/lib/stripe/params/product_feature_delete_params.rb +1 -1
  342. data/lib/stripe/params/product_feature_list_params.rb +1 -1
  343. data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
  344. data/lib/stripe/params/product_list_params.rb +2 -2
  345. data/lib/stripe/params/product_retrieve_params.rb +1 -1
  346. data/lib/stripe/params/product_search_params.rb +1 -1
  347. data/lib/stripe/params/product_update_params.rb +3 -3
  348. data/lib/stripe/params/promotion_code_create_params.rb +4 -8
  349. data/lib/stripe/params/promotion_code_list_params.rb +2 -6
  350. data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
  351. data/lib/stripe/params/promotion_code_update_params.rb +3 -3
  352. data/lib/stripe/params/quote_accept_params.rb +1 -1
  353. data/lib/stripe/params/quote_cancel_params.rb +1 -1
  354. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
  355. data/lib/stripe/params/quote_create_params.rb +18 -820
  356. data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
  357. data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
  358. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
  359. data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
  360. data/lib/stripe/params/quote_list_params.rb +1 -9
  361. data/lib/stripe/params/quote_pdf_params.rb +1 -1
  362. data/lib/stripe/params/quote_retrieve_params.rb +1 -1
  363. data/lib/stripe/params/quote_update_params.rb +16 -825
  364. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
  365. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
  366. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  367. data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
  368. data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
  369. data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
  370. data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
  371. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
  372. data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
  373. data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
  374. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  375. data/lib/stripe/params/refund_cancel_params.rb +1 -1
  376. data/lib/stripe/params/refund_create_params.rb +1 -1
  377. data/lib/stripe/params/refund_expire_params.rb +1 -1
  378. data/lib/stripe/params/refund_list_params.rb +2 -2
  379. data/lib/stripe/params/refund_retrieve_params.rb +1 -1
  380. data/lib/stripe/params/refund_update_params.rb +1 -1
  381. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  382. data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
  383. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
  384. data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
  385. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
  386. data/lib/stripe/params/review_approve_params.rb +1 -1
  387. data/lib/stripe/params/review_list_params.rb +2 -2
  388. data/lib/stripe/params/review_retrieve_params.rb +1 -1
  389. data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
  390. data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
  391. data/lib/stripe/params/setup_intent_confirm_params.rb +87 -309
  392. data/lib/stripe/params/setup_intent_create_params.rb +93 -317
  393. data/lib/stripe/params/setup_intent_list_params.rb +2 -6
  394. data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
  395. data/lib/stripe/params/setup_intent_update_params.rb +87 -311
  396. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
  397. data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
  398. data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
  399. data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
  400. data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
  401. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
  402. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
  403. data/lib/stripe/params/source_create_params.rb +13 -13
  404. data/lib/stripe/params/source_detach_params.rb +1 -1
  405. data/lib/stripe/params/source_retrieve_params.rb +1 -1
  406. data/lib/stripe/params/source_transaction_list_params.rb +1 -1
  407. data/lib/stripe/params/source_update_params.rb +11 -11
  408. data/lib/stripe/params/source_verify_params.rb +1 -1
  409. data/lib/stripe/params/subscription_cancel_params.rb +2 -2
  410. data/lib/stripe/params/subscription_create_params.rb +45 -299
  411. data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
  412. data/lib/stripe/params/subscription_item_create_params.rb +7 -51
  413. data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
  414. data/lib/stripe/params/subscription_item_list_params.rb +1 -1
  415. data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
  416. data/lib/stripe/params/subscription_item_update_params.rb +6 -34
  417. data/lib/stripe/params/subscription_list_params.rb +5 -9
  418. data/lib/stripe/params/subscription_migrate_params.rb +3 -3
  419. data/lib/stripe/params/subscription_resume_params.rb +1 -1
  420. data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
  421. data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
  422. data/lib/stripe/params/subscription_schedule_create_params.rb +35 -197
  423. data/lib/stripe/params/subscription_schedule_list_params.rb +5 -9
  424. data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
  425. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
  426. data/lib/stripe/params/subscription_schedule_update_params.rb +33 -191
  427. data/lib/stripe/params/subscription_search_params.rb +1 -1
  428. data/lib/stripe/params/subscription_update_params.rb +43 -277
  429. data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
  430. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
  431. data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
  432. data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
  433. data/lib/stripe/params/tax/registration_create_params.rb +176 -163
  434. data/lib/stripe/params/tax/registration_list_params.rb +1 -1
  435. data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
  436. data/lib/stripe/params/tax/registration_update_params.rb +1 -1
  437. data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
  438. data/lib/stripe/params/tax/settings_update_params.rb +4 -4
  439. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  440. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
  441. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
  442. data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
  443. data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
  444. data/lib/stripe/params/tax_code_list_params.rb +1 -1
  445. data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
  446. data/lib/stripe/params/tax_id_create_params.rb +3 -6
  447. data/lib/stripe/params/tax_id_delete_params.rb +1 -1
  448. data/lib/stripe/params/tax_id_list_params.rb +3 -6
  449. data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
  450. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  451. data/lib/stripe/params/tax_rate_list_params.rb +2 -2
  452. data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
  453. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  454. data/lib/stripe/params/terminal/configuration_create_params.rb +52 -46
  455. data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
  456. data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
  457. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
  458. data/lib/stripe/params/terminal/configuration_update_params.rb +52 -46
  459. data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
  460. data/lib/stripe/params/terminal/location_create_params.rb +4 -4
  461. data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
  462. data/lib/stripe/params/terminal/location_list_params.rb +1 -1
  463. data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
  464. data/lib/stripe/params/terminal/location_update_params.rb +4 -4
  465. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
  466. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +13 -13
  467. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +5 -5
  468. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +4 -4
  469. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  470. data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
  471. data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
  472. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +5 -5
  473. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +5 -5
  474. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +4 -4
  475. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +3 -3
  476. data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
  477. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +9 -9
  478. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
  479. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
  480. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  481. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +61 -158
  482. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
  483. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
  484. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
  485. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
  486. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
  487. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
  488. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
  489. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  490. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
  491. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
  492. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
  493. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
  494. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
  495. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
  496. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
  497. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
  498. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
  499. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
  500. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  501. data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
  502. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +5 -5
  503. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
  504. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
  505. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
  506. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
  507. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
  508. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
  509. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
  510. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
  511. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
  512. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
  513. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
  514. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
  515. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
  516. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
  517. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
  518. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
  519. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
  520. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
  521. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +4 -28
  522. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +4 -28
  523. data/lib/stripe/params/token_create_params.rb +64 -45
  524. data/lib/stripe/params/token_retrieve_params.rb +1 -1
  525. data/lib/stripe/params/topup_cancel_params.rb +1 -1
  526. data/lib/stripe/params/topup_create_params.rb +1 -1
  527. data/lib/stripe/params/topup_list_params.rb +3 -3
  528. data/lib/stripe/params/topup_retrieve_params.rb +1 -1
  529. data/lib/stripe/params/topup_update_params.rb +1 -1
  530. data/lib/stripe/params/transfer_create_params.rb +1 -5
  531. data/lib/stripe/params/transfer_list_params.rb +2 -2
  532. data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
  533. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  534. data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
  535. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
  536. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  537. data/lib/stripe/params/transfer_update_params.rb +1 -1
  538. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  539. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
  540. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
  541. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  542. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
  543. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
  544. data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
  545. data/lib/stripe/params/treasury/financial_account_create_params.rb +17 -24
  546. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
  547. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +15 -18
  548. data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
  549. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
  550. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
  551. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +15 -18
  552. data/lib/stripe/params/treasury/financial_account_update_params.rb +18 -25
  553. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
  554. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
  555. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
  556. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
  557. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
  558. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
  559. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
  560. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
  561. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
  562. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
  563. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
  564. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
  565. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
  566. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
  567. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
  568. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
  569. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +4 -28
  570. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
  571. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
  572. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
  573. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
  574. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
  575. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
  576. data/lib/stripe/params/treasury/received_credit_create_params.rb +4 -28
  577. data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
  578. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
  579. data/lib/stripe/params/treasury/received_debit_create_params.rb +4 -28
  580. data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
  581. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
  582. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
  583. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
  584. data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
  585. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -1
  586. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
  587. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
  588. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
  589. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
  590. data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
  591. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
  592. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
  593. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
  594. data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
  595. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
  596. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
  597. data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
  598. data/lib/stripe/params/v2/core/event_list_params.rb +25 -2
  599. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
  600. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  601. data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
  602. data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
  603. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
  604. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  605. data/lib/stripe/params.rb +1 -159
  606. data/lib/stripe/resources/account.rb +62 -207
  607. data/lib/stripe/resources/account_session.rb +39 -120
  608. data/lib/stripe/resources/application_fee.rb +1 -1
  609. data/lib/stripe/resources/apps/secret.rb +1 -1
  610. data/lib/stripe/resources/balance.rb +18 -18
  611. data/lib/stripe/resources/balance_settings.rb +4 -4
  612. data/lib/stripe/resources/balance_transaction.rb +1 -1
  613. data/lib/stripe/resources/bank_account.rb +4 -4
  614. data/lib/stripe/resources/billing/alert.rb +2 -2
  615. data/lib/stripe/resources/billing/credit_balance_summary.rb +5 -7
  616. data/lib/stripe/resources/billing/credit_balance_transaction.rb +8 -8
  617. data/lib/stripe/resources/billing/credit_grant.rb +5 -7
  618. data/lib/stripe/resources/billing/meter.rb +4 -4
  619. data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
  620. data/lib/stripe/resources/billing_portal/configuration.rb +14 -14
  621. data/lib/stripe/resources/billing_portal/session.rb +11 -13
  622. data/lib/stripe/resources/capability.rb +6 -6
  623. data/lib/stripe/resources/card.rb +1 -3
  624. data/lib/stripe/resources/cash_balance.rb +1 -3
  625. data/lib/stripe/resources/charge.rb +105 -338
  626. data/lib/stripe/resources/checkout/session.rb +131 -259
  627. data/lib/stripe/resources/climate/order.rb +3 -3
  628. data/lib/stripe/resources/climate/product.rb +1 -1
  629. data/lib/stripe/resources/climate/supplier.rb +1 -1
  630. data/lib/stripe/resources/confirmation_token.rb +93 -248
  631. data/lib/stripe/resources/country_spec.rb +3 -3
  632. data/lib/stripe/resources/coupon.rb +3 -28
  633. data/lib/stripe/resources/credit_note.rb +26 -10
  634. data/lib/stripe/resources/credit_note_line_item.rb +4 -22
  635. data/lib/stripe/resources/customer.rb +10 -10
  636. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  637. data/lib/stripe/resources/customer_cash_balance_transaction.rb +11 -13
  638. data/lib/stripe/resources/customer_session.rb +87 -7
  639. data/lib/stripe/resources/discount.rb +1 -3
  640. data/lib/stripe/resources/dispute.rb +17 -39
  641. data/lib/stripe/resources/event.rb +3 -66
  642. data/lib/stripe/resources/financial_connections/account.rb +9 -36
  643. data/lib/stripe/resources/financial_connections/session.rb +3 -69
  644. data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
  645. data/lib/stripe/resources/forwarding/request.rb +5 -5
  646. data/lib/stripe/resources/funding_instructions.rb +20 -20
  647. data/lib/stripe/resources/identity/verification_report.rb +18 -18
  648. data/lib/stripe/resources/identity/verification_session.rb +13 -15
  649. data/lib/stripe/resources/invoice.rb +43 -194
  650. data/lib/stripe/resources/invoice_item.rb +7 -11
  651. data/lib/stripe/resources/invoice_line_item.rb +14 -54
  652. data/lib/stripe/resources/invoice_payment.rb +2 -2
  653. data/lib/stripe/resources/issuing/authorization.rb +19 -19
  654. data/lib/stripe/resources/issuing/card.rb +10 -10
  655. data/lib/stripe/resources/issuing/cardholder.rb +12 -12
  656. data/lib/stripe/resources/issuing/dispute.rb +10 -10
  657. data/lib/stripe/resources/issuing/personalization_design.rb +3 -3
  658. data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
  659. data/lib/stripe/resources/issuing/token.rb +6 -6
  660. data/lib/stripe/resources/issuing/transaction.rb +16 -18
  661. data/lib/stripe/resources/line_item.rb +3 -70
  662. data/lib/stripe/resources/mandate.rb +22 -93
  663. data/lib/stripe/resources/payment_attempt_record.rb +93 -292
  664. data/lib/stripe/resources/payment_intent.rb +144 -919
  665. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +23 -13
  666. data/lib/stripe/resources/payment_link.rb +85 -38
  667. data/lib/stripe/resources/payment_method.rb +115 -238
  668. data/lib/stripe/resources/payment_method_configuration.rb +112 -248
  669. data/lib/stripe/resources/payment_method_domain.rb +12 -12
  670. data/lib/stripe/resources/payment_record.rb +115 -292
  671. data/lib/stripe/resources/payout.rb +3 -3
  672. data/lib/stripe/resources/person.rb +20 -20
  673. data/lib/stripe/resources/plan.rb +2 -2
  674. data/lib/stripe/resources/price.rb +7 -27
  675. data/lib/stripe/resources/product.rb +2 -2
  676. data/lib/stripe/resources/promotion_code.rb +3 -5
  677. data/lib/stripe/resources/quote.rb +27 -596
  678. data/lib/stripe/resources/refund.rb +49 -51
  679. data/lib/stripe/resources/reporting/report_run.rb +1 -1
  680. data/lib/stripe/resources/review.rb +2 -2
  681. data/lib/stripe/resources/setup_attempt.rb +29 -92
  682. data/lib/stripe/resources/setup_intent.rb +29 -158
  683. data/lib/stripe/resources/shipping_rate.rb +5 -5
  684. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  685. data/lib/stripe/resources/source.rb +29 -67
  686. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  687. data/lib/stripe/resources/source_transaction.rb +5 -5
  688. data/lib/stripe/resources/subscription.rb +30 -262
  689. data/lib/stripe/resources/subscription_item.rb +2 -21
  690. data/lib/stripe/resources/subscription_schedule.rb +29 -224
  691. data/lib/stripe/resources/tax/calculation.rb +12 -12
  692. data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
  693. data/lib/stripe/resources/tax/registration.rb +156 -140
  694. data/lib/stripe/resources/tax/settings.rb +6 -6
  695. data/lib/stripe/resources/tax/transaction.rb +10 -10
  696. data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
  697. data/lib/stripe/resources/tax_id.rb +2 -6
  698. data/lib/stripe/resources/tax_rate.rb +1 -1
  699. data/lib/stripe/resources/terminal/configuration.rb +52 -48
  700. data/lib/stripe/resources/terminal/location.rb +3 -3
  701. data/lib/stripe/resources/terminal/reader.rb +54 -60
  702. data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
  703. data/lib/stripe/resources/transfer.rb +0 -2
  704. data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
  705. data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
  706. data/lib/stripe/resources/treasury/financial_account.rb +6 -8
  707. data/lib/stripe/resources/treasury/financial_account_features.rb +22 -24
  708. data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
  709. data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
  710. data/lib/stripe/resources/treasury/outbound_transfer.rb +10 -40
  711. data/lib/stripe/resources/treasury/received_credit.rb +8 -38
  712. data/lib/stripe/resources/treasury/received_debit.rb +7 -39
  713. data/lib/stripe/resources/treasury/transaction.rb +3 -3
  714. data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
  715. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
  716. data/lib/stripe/resources/v2/core/event.rb +2 -2
  717. data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
  718. data/lib/stripe/resources.rb +0 -113
  719. data/lib/stripe/services/billing_service.rb +1 -2
  720. data/lib/stripe/services/financial_connections/account_service.rb +2 -4
  721. data/lib/stripe/services/financial_connections_service.rb +1 -2
  722. data/lib/stripe/services/issuing_service.rb +1 -5
  723. data/lib/stripe/services/mandate_service.rb +0 -5
  724. data/lib/stripe/services/payment_intent_service.rb +0 -37
  725. data/lib/stripe/services/payment_record_service.rb +12 -0
  726. data/lib/stripe/services/payout_service.rb +1 -1
  727. data/lib/stripe/services/quote_service.rb +1 -49
  728. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  729. data/lib/stripe/services/subscription_service.rb +0 -11
  730. data/lib/stripe/services/tax_service.rb +1 -3
  731. data/lib/stripe/services/terminal/reader_service.rb +8 -8
  732. data/lib/stripe/services/terminal_service.rb +1 -3
  733. data/lib/stripe/services/v1_services.rb +1 -8
  734. data/lib/stripe/services/v2/billing_service.rb +1 -5
  735. data/lib/stripe/services/v2/core_service.rb +1 -4
  736. data/lib/stripe/services/v2_services.rb +1 -4
  737. data/lib/stripe/services.rb +0 -58
  738. data/lib/stripe/stripe_configuration.rb +1 -3
  739. data/lib/stripe/stripe_object.rb +1 -1
  740. data/lib/stripe/util.rb +1 -7
  741. data/lib/stripe/version.rb +1 -1
  742. data/lib/stripe.rb +0 -53
  743. data/rbi/stripe.rbi +87010 -143528
  744. metadata +5 -334
  745. data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
  746. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  747. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  748. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  749. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  750. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  751. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  752. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  753. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  754. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  755. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  756. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  757. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  758. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  759. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  760. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  761. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  762. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  763. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  764. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  765. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  766. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  767. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  768. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  769. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  770. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  771. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  772. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  773. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  774. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  775. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  776. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  777. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  778. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  779. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  780. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  781. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  782. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  783. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  784. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  785. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  786. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  787. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  788. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  789. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  790. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  791. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  792. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  793. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  794. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  795. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  796. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  797. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
  798. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  799. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
  800. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
  801. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  802. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  803. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  804. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  805. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  806. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  807. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  808. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  809. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  810. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  811. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  812. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  813. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  814. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  815. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  816. data/lib/stripe/params/external_account_create_params.rb +0 -134
  817. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  818. data/lib/stripe/params/external_account_list_params.rb +0 -25
  819. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  820. data/lib/stripe/params/external_account_update_params.rb +0 -91
  821. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  822. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  823. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  824. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  825. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  826. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  827. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  828. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  829. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  830. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  831. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  832. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  833. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  834. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  835. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  836. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  837. data/lib/stripe/params/mandate_list_params.rb +0 -39
  838. data/lib/stripe/params/margin_create_params.rb +0 -25
  839. data/lib/stripe/params/margin_list_params.rb +0 -25
  840. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  841. data/lib/stripe/params/margin_update_params.rb +0 -22
  842. data/lib/stripe/params/order_cancel_params.rb +0 -13
  843. data/lib/stripe/params/order_create_params.rb +0 -1124
  844. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  845. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  846. data/lib/stripe/params/order_list_params.rb +0 -25
  847. data/lib/stripe/params/order_reopen_params.rb +0 -13
  848. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  849. data/lib/stripe/params/order_submit_params.rb +0 -16
  850. data/lib/stripe/params/order_update_params.rb +0 -1128
  851. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  852. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  853. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  854. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  855. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  856. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  857. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  858. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  859. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  860. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  861. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  862. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  863. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  864. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  865. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  866. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  867. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  868. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  869. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  870. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  871. data/lib/stripe/params/tax/association_find_params.rb +0 -18
  872. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  873. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  874. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  875. data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
  876. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  877. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  878. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  879. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  880. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  881. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  882. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  883. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  884. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  885. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  886. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  887. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  888. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  889. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  890. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  891. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  892. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  893. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  894. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  895. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  896. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  897. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  898. data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
  899. data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
  900. data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
  901. data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
  902. data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
  903. data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
  904. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
  905. data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
  906. data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
  907. data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
  908. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
  909. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  910. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  911. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  912. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  913. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  914. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  915. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  916. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  917. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  918. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  919. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  920. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  921. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  922. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  923. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  924. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  925. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  926. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  927. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  928. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  929. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  930. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  931. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  932. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  933. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  934. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  935. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  936. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  937. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  938. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  939. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  940. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  941. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  942. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  943. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  944. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  945. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  946. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  947. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  948. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  949. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  950. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  951. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  952. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  953. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  954. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  955. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  956. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  957. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  958. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  959. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
  960. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
  961. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  962. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  963. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  964. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  965. data/lib/stripe/resources/account_notice.rb +0 -94
  966. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  967. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  968. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  969. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  970. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  971. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  972. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  973. data/lib/stripe/resources/fx_quote.rb +0 -147
  974. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  975. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  976. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  977. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  978. data/lib/stripe/resources/margin.rb +0 -64
  979. data/lib/stripe/resources/order.rb +0 -987
  980. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  981. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  982. data/lib/stripe/resources/quote_line.rb +0 -521
  983. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  984. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  985. data/lib/stripe/resources/tax/association.rb +0 -86
  986. data/lib/stripe/resources/tax/form.rb +0 -264
  987. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
  988. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  989. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  990. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  991. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  992. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  993. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  994. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  995. data/lib/stripe/resources/v2/core/account.rb +0 -3851
  996. data/lib/stripe/resources/v2/core/account_link.rb +0 -123
  997. data/lib/stripe/resources/v2/core/account_person.rb +0 -477
  998. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  999. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
  1000. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  1001. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  1002. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  1003. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  1004. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  1005. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  1006. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  1007. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  1008. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  1009. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  1010. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  1011. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  1012. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  1013. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  1014. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  1015. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  1016. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
  1017. data/lib/stripe/services/account_notice_service.rb +0 -39
  1018. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  1019. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  1020. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  1021. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  1022. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  1023. data/lib/stripe/services/capital_service.rb +0 -15
  1024. data/lib/stripe/services/external_account_service.rb +0 -68
  1025. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  1026. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  1027. data/lib/stripe/services/fx_quote_service.rb +0 -27
  1028. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  1029. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  1030. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  1031. data/lib/stripe/services/margin_service.rb +0 -50
  1032. data/lib/stripe/services/order_line_item_service.rb +0 -17
  1033. data/lib/stripe/services/order_service.rb +0 -78
  1034. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  1035. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  1036. data/lib/stripe/services/privacy_service.rb +0 -13
  1037. data/lib/stripe/services/quote_line_service.rb +0 -17
  1038. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  1039. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  1040. data/lib/stripe/services/tax/association_service.rb +0 -19
  1041. data/lib/stripe/services/tax/form_service.rb +0 -37
  1042. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
  1043. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  1044. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  1045. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  1046. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  1047. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  1048. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  1049. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  1050. data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
  1051. data/lib/stripe/services/v2/core/account_service.rb +0 -76
  1052. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
  1053. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
  1054. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
  1055. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  1056. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  1057. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
  1058. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  1059. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  1060. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  1061. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  1062. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  1063. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  1064. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  1065. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  1066. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  1067. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  1068. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  1069. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  1070. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  1071. data/lib/stripe/services/v2/payment_service.rb +0 -15
  1072. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  1073. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  1074. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -27,13 +27,13 @@ module Stripe
27
27
 
28
28
  nested_resource_class_methods :amount_details_line_item, operations: %i[list]
29
29
 
30
- class AmountDetails < Stripe::StripeObject
31
- class Shipping < Stripe::StripeObject
32
- # Portion of the amount that is for shipping.
30
+ class AmountDetails < ::Stripe::StripeObject
31
+ class Shipping < ::Stripe::StripeObject
32
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
33
33
  attr_reader :amount
34
- # The postal code that represents the shipping source.
34
+ # If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
35
35
  attr_reader :from_postal_code
36
- # The postal code that represents the shipping destination.
36
+ # If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
37
37
  attr_reader :to_postal_code
38
38
 
39
39
  def self.inner_class_types
@@ -45,8 +45,10 @@ module Stripe
45
45
  end
46
46
  end
47
47
 
48
- class Tax < Stripe::StripeObject
49
- # Total portion of the amount that is for tax.
48
+ class Tax < ::Stripe::StripeObject
49
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
50
+ #
51
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
50
52
  attr_reader :total_tax_amount
51
53
 
52
54
  def self.inner_class_types
@@ -58,7 +60,7 @@ module Stripe
58
60
  end
59
61
  end
60
62
 
61
- class Tip < Stripe::StripeObject
63
+ class Tip < ::Stripe::StripeObject
62
64
  # Portion of the amount that corresponds to a tip.
63
65
  attr_reader :amount
64
66
 
@@ -70,7 +72,9 @@ module Stripe
70
72
  @field_remappings = {}
71
73
  end
72
74
  end
73
- # The total discount applied on the transaction.
75
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
76
+ #
77
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
74
78
  attr_reader :discount_amount
75
79
  # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
76
80
  attr_reader :line_items
@@ -90,7 +94,7 @@ module Stripe
90
94
  end
91
95
  end
92
96
 
93
- class AutomaticPaymentMethods < Stripe::StripeObject
97
+ class AutomaticPaymentMethods < ::Stripe::StripeObject
94
98
  # Controls whether this PaymentIntent will accept redirect-based payment methods.
95
99
  #
96
100
  # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
@@ -107,44 +111,7 @@ module Stripe
107
111
  end
108
112
  end
109
113
 
110
- class Hooks < Stripe::StripeObject
111
- class Inputs < Stripe::StripeObject
112
- class Tax < Stripe::StripeObject
113
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
114
- attr_reader :calculation
115
-
116
- def self.inner_class_types
117
- @inner_class_types = {}
118
- end
119
-
120
- def self.field_remappings
121
- @field_remappings = {}
122
- end
123
- end
124
- # Attribute for field tax
125
- attr_reader :tax
126
-
127
- def self.inner_class_types
128
- @inner_class_types = { tax: Tax }
129
- end
130
-
131
- def self.field_remappings
132
- @field_remappings = {}
133
- end
134
- end
135
- # Attribute for field inputs
136
- attr_reader :inputs
137
-
138
- def self.inner_class_types
139
- @inner_class_types = { inputs: Inputs }
140
- end
141
-
142
- def self.field_remappings
143
- @field_remappings = {}
144
- end
145
- end
146
-
147
- class LastPaymentError < Stripe::StripeObject
114
+ class LastPaymentError < ::Stripe::StripeObject
148
115
  # For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
149
116
  attr_reader :advice_code
150
117
  # For card errors, the ID of the failed charge.
@@ -221,8 +188,8 @@ module Stripe
221
188
  end
222
189
  end
223
190
 
224
- class NextAction < Stripe::StripeObject
225
- class AlipayHandleRedirect < Stripe::StripeObject
191
+ class NextAction < ::Stripe::StripeObject
192
+ class AlipayHandleRedirect < ::Stripe::StripeObject
226
193
  # The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App.
227
194
  attr_reader :native_data
228
195
  # The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.
@@ -241,7 +208,7 @@ module Stripe
241
208
  end
242
209
  end
243
210
 
244
- class BoletoDisplayDetails < Stripe::StripeObject
211
+ class BoletoDisplayDetails < ::Stripe::StripeObject
245
212
  # The timestamp after which the boleto expires.
246
213
  attr_reader :expires_at
247
214
  # The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.
@@ -260,7 +227,7 @@ module Stripe
260
227
  end
261
228
  end
262
229
 
263
- class CardAwaitNotification < Stripe::StripeObject
230
+ class CardAwaitNotification < ::Stripe::StripeObject
264
231
  # The time that payment will be attempted. If customer approval is required, they need to provide approval before this time.
265
232
  attr_reader :charge_attempt_at
266
233
  # For payments greater than INR 15000, the customer must provide explicit approval of the payment with their bank. For payments of lower amount, no customer action is required.
@@ -275,8 +242,8 @@ module Stripe
275
242
  end
276
243
  end
277
244
 
278
- class CashappHandleRedirectOrDisplayQrCode < Stripe::StripeObject
279
- class QrCode < Stripe::StripeObject
245
+ class CashappHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
246
+ class QrCode < ::Stripe::StripeObject
280
247
  # The date (unix timestamp) when the QR code expires.
281
248
  attr_reader :expires_at
282
249
  # The image_url_png string used to render QR code
@@ -308,10 +275,10 @@ module Stripe
308
275
  end
309
276
  end
310
277
 
311
- class DisplayBankTransferInstructions < Stripe::StripeObject
312
- class FinancialAddress < Stripe::StripeObject
313
- class Aba < Stripe::StripeObject
314
- class AccountHolderAddress < Stripe::StripeObject
278
+ class DisplayBankTransferInstructions < ::Stripe::StripeObject
279
+ class FinancialAddress < ::Stripe::StripeObject
280
+ class Aba < ::Stripe::StripeObject
281
+ class AccountHolderAddress < ::Stripe::StripeObject
315
282
  # City, district, suburb, town, or village.
316
283
  attr_reader :city
317
284
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -334,7 +301,7 @@ module Stripe
334
301
  end
335
302
  end
336
303
 
337
- class BankAddress < Stripe::StripeObject
304
+ class BankAddress < ::Stripe::StripeObject
338
305
  # City, district, suburb, town, or village.
339
306
  attr_reader :city
340
307
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -383,8 +350,8 @@ module Stripe
383
350
  end
384
351
  end
385
352
 
386
- class Iban < Stripe::StripeObject
387
- class AccountHolderAddress < Stripe::StripeObject
353
+ class Iban < ::Stripe::StripeObject
354
+ class AccountHolderAddress < ::Stripe::StripeObject
388
355
  # City, district, suburb, town, or village.
389
356
  attr_reader :city
390
357
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -407,7 +374,7 @@ module Stripe
407
374
  end
408
375
  end
409
376
 
410
- class BankAddress < Stripe::StripeObject
377
+ class BankAddress < ::Stripe::StripeObject
411
378
  # City, district, suburb, town, or village.
412
379
  attr_reader :city
413
380
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -454,8 +421,8 @@ module Stripe
454
421
  end
455
422
  end
456
423
 
457
- class SortCode < Stripe::StripeObject
458
- class AccountHolderAddress < Stripe::StripeObject
424
+ class SortCode < ::Stripe::StripeObject
425
+ class AccountHolderAddress < ::Stripe::StripeObject
459
426
  # City, district, suburb, town, or village.
460
427
  attr_reader :city
461
428
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -478,7 +445,7 @@ module Stripe
478
445
  end
479
446
  end
480
447
 
481
- class BankAddress < Stripe::StripeObject
448
+ class BankAddress < ::Stripe::StripeObject
482
449
  # City, district, suburb, town, or village.
483
450
  attr_reader :city
484
451
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -523,8 +490,8 @@ module Stripe
523
490
  end
524
491
  end
525
492
 
526
- class Spei < Stripe::StripeObject
527
- class AccountHolderAddress < Stripe::StripeObject
493
+ class Spei < ::Stripe::StripeObject
494
+ class AccountHolderAddress < ::Stripe::StripeObject
528
495
  # City, district, suburb, town, or village.
529
496
  attr_reader :city
530
497
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -547,7 +514,7 @@ module Stripe
547
514
  end
548
515
  end
549
516
 
550
- class BankAddress < Stripe::StripeObject
517
+ class BankAddress < ::Stripe::StripeObject
551
518
  # City, district, suburb, town, or village.
552
519
  attr_reader :city
553
520
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -594,8 +561,8 @@ module Stripe
594
561
  end
595
562
  end
596
563
 
597
- class Swift < Stripe::StripeObject
598
- class AccountHolderAddress < Stripe::StripeObject
564
+ class Swift < ::Stripe::StripeObject
565
+ class AccountHolderAddress < ::Stripe::StripeObject
599
566
  # City, district, suburb, town, or village.
600
567
  attr_reader :city
601
568
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -618,7 +585,7 @@ module Stripe
618
585
  end
619
586
  end
620
587
 
621
- class BankAddress < Stripe::StripeObject
588
+ class BankAddress < ::Stripe::StripeObject
622
589
  # City, district, suburb, town, or village.
623
590
  attr_reader :city
624
591
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -667,8 +634,8 @@ module Stripe
667
634
  end
668
635
  end
669
636
 
670
- class Zengin < Stripe::StripeObject
671
- class AccountHolderAddress < Stripe::StripeObject
637
+ class Zengin < ::Stripe::StripeObject
638
+ class AccountHolderAddress < ::Stripe::StripeObject
672
639
  # City, district, suburb, town, or village.
673
640
  attr_reader :city
674
641
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -691,7 +658,7 @@ module Stripe
691
658
  end
692
659
  end
693
660
 
694
- class BankAddress < Stripe::StripeObject
661
+ class BankAddress < ::Stripe::StripeObject
695
662
  # City, district, suburb, town, or village.
696
663
  attr_reader :city
697
664
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -797,9 +764,9 @@ module Stripe
797
764
  end
798
765
  end
799
766
 
800
- class KonbiniDisplayDetails < Stripe::StripeObject
801
- class Stores < Stripe::StripeObject
802
- class Familymart < Stripe::StripeObject
767
+ class KonbiniDisplayDetails < ::Stripe::StripeObject
768
+ class Stores < ::Stripe::StripeObject
769
+ class Familymart < ::Stripe::StripeObject
803
770
  # The confirmation number.
804
771
  attr_reader :confirmation_number
805
772
  # The payment code.
@@ -814,7 +781,7 @@ module Stripe
814
781
  end
815
782
  end
816
783
 
817
- class Lawson < Stripe::StripeObject
784
+ class Lawson < ::Stripe::StripeObject
818
785
  # The confirmation number.
819
786
  attr_reader :confirmation_number
820
787
  # The payment code.
@@ -829,7 +796,7 @@ module Stripe
829
796
  end
830
797
  end
831
798
 
832
- class Ministop < Stripe::StripeObject
799
+ class Ministop < ::Stripe::StripeObject
833
800
  # The confirmation number.
834
801
  attr_reader :confirmation_number
835
802
  # The payment code.
@@ -844,7 +811,7 @@ module Stripe
844
811
  end
845
812
  end
846
813
 
847
- class Seicomart < Stripe::StripeObject
814
+ class Seicomart < ::Stripe::StripeObject
848
815
  # The confirmation number.
849
816
  attr_reader :confirmation_number
850
817
  # The payment code.
@@ -896,7 +863,7 @@ module Stripe
896
863
  end
897
864
  end
898
865
 
899
- class MultibancoDisplayDetails < Stripe::StripeObject
866
+ class MultibancoDisplayDetails < ::Stripe::StripeObject
900
867
  # Entity number associated with this Multibanco payment.
901
868
  attr_reader :entity
902
869
  # The timestamp at which the Multibanco voucher expires.
@@ -915,7 +882,7 @@ module Stripe
915
882
  end
916
883
  end
917
884
 
918
- class OxxoDisplayDetails < Stripe::StripeObject
885
+ class OxxoDisplayDetails < ::Stripe::StripeObject
919
886
  # The timestamp after which the OXXO voucher expires.
920
887
  attr_reader :expires_after
921
888
  # The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.
@@ -932,7 +899,7 @@ module Stripe
932
899
  end
933
900
  end
934
901
 
935
- class PaynowDisplayQrCode < Stripe::StripeObject
902
+ class PaynowDisplayQrCode < ::Stripe::StripeObject
936
903
  # The raw data string used to generate QR code, it should be used together with QR code library.
937
904
  attr_reader :data
938
905
  # The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.
@@ -951,7 +918,7 @@ module Stripe
951
918
  end
952
919
  end
953
920
 
954
- class PixDisplayQrCode < Stripe::StripeObject
921
+ class PixDisplayQrCode < ::Stripe::StripeObject
955
922
  # The raw data string used to generate QR code, it should be used together with QR code library.
956
923
  attr_reader :data
957
924
  # The date (unix timestamp) when the PIX expires.
@@ -972,7 +939,7 @@ module Stripe
972
939
  end
973
940
  end
974
941
 
975
- class PromptpayDisplayQrCode < Stripe::StripeObject
942
+ class PromptpayDisplayQrCode < ::Stripe::StripeObject
976
943
  # The raw data string used to generate QR code, it should be used together with QR code library.
977
944
  attr_reader :data
978
945
  # The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code.
@@ -991,7 +958,7 @@ module Stripe
991
958
  end
992
959
  end
993
960
 
994
- class RedirectToUrl < Stripe::StripeObject
961
+ class RedirectToUrl < ::Stripe::StripeObject
995
962
  # If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
996
963
  attr_reader :return_url
997
964
  # The URL you must redirect your customer to in order to authenticate the payment.
@@ -1006,8 +973,8 @@ module Stripe
1006
973
  end
1007
974
  end
1008
975
 
1009
- class SwishHandleRedirectOrDisplayQrCode < Stripe::StripeObject
1010
- class QrCode < Stripe::StripeObject
976
+ class SwishHandleRedirectOrDisplayQrCode < ::Stripe::StripeObject
977
+ class QrCode < ::Stripe::StripeObject
1011
978
  # The raw data string used to generate QR code, it should be used together with QR code library.
1012
979
  attr_reader :data
1013
980
  # The image_url_png string used to render QR code
@@ -1039,7 +1006,7 @@ module Stripe
1039
1006
  end
1040
1007
  end
1041
1008
 
1042
- class VerifyWithMicrodeposits < Stripe::StripeObject
1009
+ class VerifyWithMicrodeposits < ::Stripe::StripeObject
1043
1010
  # The timestamp when the microdeposits are expected to land.
1044
1011
  attr_reader :arrival_date
1045
1012
  # The URL for the hosted verification page, which allows customers to verify their bank account.
@@ -1056,7 +1023,7 @@ module Stripe
1056
1023
  end
1057
1024
  end
1058
1025
 
1059
- class WechatPayDisplayQrCode < Stripe::StripeObject
1026
+ class WechatPayDisplayQrCode < ::Stripe::StripeObject
1060
1027
  # The data being used to generate QR code
1061
1028
  attr_reader :data
1062
1029
  # The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code.
@@ -1077,7 +1044,7 @@ module Stripe
1077
1044
  end
1078
1045
  end
1079
1046
 
1080
- class WechatPayRedirectToAndroidApp < Stripe::StripeObject
1047
+ class WechatPayRedirectToAndroidApp < ::Stripe::StripeObject
1081
1048
  # app_id is the APP ID registered on WeChat open platform
1082
1049
  attr_reader :app_id
1083
1050
  # nonce_str is a random string
@@ -1102,7 +1069,7 @@ module Stripe
1102
1069
  end
1103
1070
  end
1104
1071
 
1105
- class WechatPayRedirectToIosApp < Stripe::StripeObject
1072
+ class WechatPayRedirectToIosApp < ::Stripe::StripeObject
1106
1073
  # An universal link that redirect to WeChat Pay app
1107
1074
  attr_reader :native_url
1108
1075
 
@@ -1180,355 +1147,20 @@ module Stripe
1180
1147
  end
1181
1148
  end
1182
1149
 
1183
- class PaymentDetails < Stripe::StripeObject
1184
- class CarRental < Stripe::StripeObject
1185
- class Affiliate < Stripe::StripeObject
1186
- # The name of the affiliate that originated the purchase.
1187
- attr_reader :name
1188
-
1189
- def self.inner_class_types
1190
- @inner_class_types = {}
1191
- end
1192
-
1193
- def self.field_remappings
1194
- @field_remappings = {}
1195
- end
1196
- end
1197
-
1198
- class Delivery < Stripe::StripeObject
1199
- class Recipient < Stripe::StripeObject
1200
- # The email of the recipient the ticket is delivered to.
1201
- attr_reader :email
1202
- # The name of the recipient the ticket is delivered to.
1203
- attr_reader :name
1204
- # The phone number of the recipient the ticket is delivered to.
1205
- attr_reader :phone
1206
-
1207
- def self.inner_class_types
1208
- @inner_class_types = {}
1209
- end
1210
-
1211
- def self.field_remappings
1212
- @field_remappings = {}
1213
- end
1214
- end
1215
- # The delivery method for the payment
1216
- attr_reader :mode
1217
- # Attribute for field recipient
1218
- attr_reader :recipient
1219
-
1220
- def self.inner_class_types
1221
- @inner_class_types = { recipient: Recipient }
1222
- end
1223
-
1224
- def self.field_remappings
1225
- @field_remappings = {}
1226
- end
1227
- end
1228
-
1229
- class Distance < Stripe::StripeObject
1230
- # Distance traveled.
1231
- attr_reader :amount
1232
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`
1233
- attr_reader :unit
1234
-
1235
- def self.inner_class_types
1236
- @inner_class_types = {}
1237
- end
1238
-
1239
- def self.field_remappings
1240
- @field_remappings = {}
1241
- end
1242
- end
1243
-
1244
- class Driver < Stripe::StripeObject
1245
- # Driver's identification number.
1246
- attr_reader :driver_identification_number
1247
- # Driver's tax number.
1248
- attr_reader :driver_tax_number
1249
- # Full name of the driver on the reservation.
1250
- attr_reader :name
1251
-
1252
- def self.inner_class_types
1253
- @inner_class_types = {}
1254
- end
1255
-
1256
- def self.field_remappings
1257
- @field_remappings = {}
1258
- end
1259
- end
1260
-
1261
- class PickupAddress < Stripe::StripeObject
1262
- # City, district, suburb, town, or village.
1263
- attr_reader :city
1264
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1265
- attr_reader :country
1266
- # Address line 1, such as the street, PO Box, or company name.
1267
- attr_reader :line1
1268
- # Address line 2, such as the apartment, suite, unit, or building.
1269
- attr_reader :line2
1270
- # ZIP or postal code.
1271
- attr_reader :postal_code
1272
- # State, county, province, or region.
1273
- attr_reader :state
1274
-
1275
- def self.inner_class_types
1276
- @inner_class_types = {}
1277
- end
1278
-
1279
- def self.field_remappings
1280
- @field_remappings = {}
1281
- end
1282
- end
1283
-
1284
- class ReturnAddress < Stripe::StripeObject
1285
- # City, district, suburb, town, or village.
1286
- attr_reader :city
1287
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1288
- attr_reader :country
1289
- # Address line 1, such as the street, PO Box, or company name.
1290
- attr_reader :line1
1291
- # Address line 2, such as the apartment, suite, unit, or building.
1292
- attr_reader :line2
1293
- # ZIP or postal code.
1294
- attr_reader :postal_code
1295
- # State, county, province, or region.
1296
- attr_reader :state
1297
-
1298
- def self.inner_class_types
1299
- @inner_class_types = {}
1300
- end
1301
-
1302
- def self.field_remappings
1303
- @field_remappings = {}
1304
- end
1305
- end
1306
- # Attribute for field affiliate
1307
- attr_reader :affiliate
1308
- # The booking number associated with the car rental.
1309
- attr_reader :booking_number
1310
- # Class code of the car.
1311
- attr_reader :car_class_code
1312
- # Make of the car.
1313
- attr_reader :car_make
1314
- # Model of the car.
1315
- attr_reader :car_model
1316
- # The name of the rental car company.
1317
- attr_reader :company
1318
- # The customer service phone number of the car rental company.
1319
- attr_reader :customer_service_phone_number
1320
- # Number of days the car is being rented.
1321
- attr_reader :days_rented
1322
- # Attribute for field delivery
1323
- attr_reader :delivery
1324
- # Attribute for field distance
1325
- attr_reader :distance
1326
- # The details of the drivers associated with the trip.
1327
- attr_reader :drivers
1328
- # List of additional charges being billed.
1329
- attr_reader :extra_charges
1330
- # Indicates if the customer did not keep nor cancel their booking.
1331
- attr_reader :no_show
1332
- # Attribute for field pickup_address
1333
- attr_reader :pickup_address
1334
- # Car pick-up time. Measured in seconds since the Unix epoch.
1335
- attr_reader :pickup_at
1336
- # Name of the pickup location.
1337
- attr_reader :pickup_location_name
1338
- # Rental rate.
1339
- attr_reader :rate_amount
1340
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1341
- attr_reader :rate_interval
1342
- # The full name of the person or entity renting the car.
1343
- attr_reader :renter_name
1344
- # Attribute for field return_address
1345
- attr_reader :return_address
1346
- # Car return time. Measured in seconds since the Unix epoch.
1347
- attr_reader :return_at
1348
- # Name of the return location.
1349
- attr_reader :return_location_name
1350
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1351
- attr_reader :tax_exempt
1352
- # The vehicle identification number of the car.
1353
- attr_reader :vehicle_identification_number
1354
-
1355
- def self.inner_class_types
1356
- @inner_class_types = {
1357
- affiliate: Affiliate,
1358
- delivery: Delivery,
1359
- distance: Distance,
1360
- drivers: Driver,
1361
- pickup_address: PickupAddress,
1362
- return_address: ReturnAddress,
1363
- }
1364
- end
1365
-
1366
- def self.field_remappings
1367
- @field_remappings = {}
1368
- end
1369
- end
1370
-
1371
- class EventDetails < Stripe::StripeObject
1372
- class Address < Stripe::StripeObject
1373
- # City, district, suburb, town, or village.
1374
- attr_reader :city
1375
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1376
- attr_reader :country
1377
- # Address line 1, such as the street, PO Box, or company name.
1378
- attr_reader :line1
1379
- # Address line 2, such as the apartment, suite, unit, or building.
1380
- attr_reader :line2
1381
- # ZIP or postal code.
1382
- attr_reader :postal_code
1383
- # State, county, province, or region.
1384
- attr_reader :state
1385
-
1386
- def self.inner_class_types
1387
- @inner_class_types = {}
1388
- end
1389
-
1390
- def self.field_remappings
1391
- @field_remappings = {}
1392
- end
1393
- end
1394
-
1395
- class Affiliate < Stripe::StripeObject
1396
- # The name of the affiliate that originated the purchase.
1397
- attr_reader :name
1398
-
1399
- def self.inner_class_types
1400
- @inner_class_types = {}
1401
- end
1402
-
1403
- def self.field_remappings
1404
- @field_remappings = {}
1405
- end
1406
- end
1407
-
1408
- class Delivery < Stripe::StripeObject
1409
- class Recipient < Stripe::StripeObject
1410
- # The email of the recipient the ticket is delivered to.
1411
- attr_reader :email
1412
- # The name of the recipient the ticket is delivered to.
1413
- attr_reader :name
1414
- # The phone number of the recipient the ticket is delivered to.
1415
- attr_reader :phone
1416
-
1417
- def self.inner_class_types
1418
- @inner_class_types = {}
1419
- end
1420
-
1421
- def self.field_remappings
1422
- @field_remappings = {}
1423
- end
1424
- end
1425
- # The delivery method for the payment
1426
- attr_reader :mode
1427
- # Attribute for field recipient
1428
- attr_reader :recipient
1429
-
1430
- def self.inner_class_types
1431
- @inner_class_types = { recipient: Recipient }
1432
- end
1433
-
1434
- def self.field_remappings
1435
- @field_remappings = {}
1436
- end
1437
- end
1438
- # Indicates if the tickets are digitally checked when entering the venue.
1439
- attr_reader :access_controlled_venue
1440
- # Attribute for field address
1441
- attr_reader :address
1442
- # Attribute for field affiliate
1443
- attr_reader :affiliate
1444
- # The name of the company
1445
- attr_reader :company
1446
- # Attribute for field delivery
1447
- attr_reader :delivery
1448
- # Event end time. Measured in seconds since the Unix epoch.
1449
- attr_reader :ends_at
1450
- # Type of the event entertainment (concert, sports event etc)
1451
- attr_reader :genre
1452
- # The name of the event.
1453
- attr_reader :name
1454
- # Event start time. Measured in seconds since the Unix epoch.
1455
- attr_reader :starts_at
1456
-
1457
- def self.inner_class_types
1458
- @inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
1459
- end
1460
-
1461
- def self.field_remappings
1462
- @field_remappings = {}
1463
- end
1464
- end
1465
-
1466
- class Subscription < Stripe::StripeObject
1467
- class Affiliate < Stripe::StripeObject
1468
- # The name of the affiliate that originated the purchase.
1469
- attr_reader :name
1470
-
1471
- def self.inner_class_types
1472
- @inner_class_types = {}
1473
- end
1474
-
1475
- def self.field_remappings
1476
- @field_remappings = {}
1477
- end
1478
- end
1479
-
1480
- class BillingInterval < Stripe::StripeObject
1481
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1482
- attr_reader :count
1483
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1484
- attr_reader :interval
1485
-
1486
- def self.inner_class_types
1487
- @inner_class_types = {}
1488
- end
1489
-
1490
- def self.field_remappings
1491
- @field_remappings = {}
1492
- end
1493
- end
1494
- # Attribute for field affiliate
1495
- attr_reader :affiliate
1496
- # Info whether the subscription will be auto renewed upon expiry.
1497
- attr_reader :auto_renewal
1498
- # Attribute for field billing_interval
1499
- attr_reader :billing_interval
1500
- # Subscription end time. Measured in seconds since the Unix epoch.
1501
- attr_reader :ends_at
1502
- # Name of the product on subscription. e.g. Apple Music Subscription.
1503
- attr_reader :name
1504
- # Subscription start time. Measured in seconds since the Unix epoch.
1505
- attr_reader :starts_at
1506
-
1507
- def self.inner_class_types
1508
- @inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
1509
- end
1510
-
1511
- def self.field_remappings
1512
- @field_remappings = {}
1513
- end
1514
- end
1515
- # Attribute for field car_rental
1516
- attr_reader :car_rental
1517
- # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
1150
+ class PaymentDetails < ::Stripe::StripeObject
1151
+ # A unique value to identify the customer. This field is available only for card payments.
1152
+ #
1153
+ # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1518
1154
  attr_reader :customer_reference
1519
- # Attribute for field event_details
1520
- attr_reader :event_details
1521
- # A unique value assigned by the business to identify the transaction.
1155
+ # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1156
+ #
1157
+ # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
1158
+ #
1159
+ # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
1522
1160
  attr_reader :order_reference
1523
- # Attribute for field subscription
1524
- attr_reader :subscription
1525
1161
 
1526
1162
  def self.inner_class_types
1527
- @inner_class_types = {
1528
- car_rental: CarRental,
1529
- event_details: EventDetails,
1530
- subscription: Subscription,
1531
- }
1163
+ @inner_class_types = {}
1532
1164
  end
1533
1165
 
1534
1166
  def self.field_remappings
@@ -1536,7 +1168,7 @@ module Stripe
1536
1168
  end
1537
1169
  end
1538
1170
 
1539
- class PaymentMethodConfigurationDetails < Stripe::StripeObject
1171
+ class PaymentMethodConfigurationDetails < ::Stripe::StripeObject
1540
1172
  # ID of the payment method configuration used.
1541
1173
  attr_reader :id
1542
1174
  # ID of the parent payment method configuration used.
@@ -1551,9 +1183,9 @@ module Stripe
1551
1183
  end
1552
1184
  end
1553
1185
 
1554
- class PaymentMethodOptions < Stripe::StripeObject
1555
- class AcssDebit < Stripe::StripeObject
1556
- class MandateOptions < Stripe::StripeObject
1186
+ class PaymentMethodOptions < ::Stripe::StripeObject
1187
+ class AcssDebit < ::Stripe::StripeObject
1188
+ class MandateOptions < ::Stripe::StripeObject
1557
1189
  # A URL for custom mandate text
1558
1190
  attr_reader :custom_mandate_url
1559
1191
  # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
@@ -1595,7 +1227,7 @@ module Stripe
1595
1227
  end
1596
1228
  end
1597
1229
 
1598
- class Affirm < Stripe::StripeObject
1230
+ class Affirm < ::Stripe::StripeObject
1599
1231
  # Controls when the funds will be captured from the customer's account.
1600
1232
  attr_reader :capture_method
1601
1233
  # Preferred language of the Affirm authorization page that the customer is redirected to.
@@ -1618,7 +1250,7 @@ module Stripe
1618
1250
  end
1619
1251
  end
1620
1252
 
1621
- class AfterpayClearpay < Stripe::StripeObject
1253
+ class AfterpayClearpay < ::Stripe::StripeObject
1622
1254
  # Controls when the funds will be captured from the customer's account.
1623
1255
  attr_reader :capture_method
1624
1256
  # An internal identifier or reference that this payment corresponds to. You must limit the identifier to 128 characters, and it can only contain letters, numbers, underscores, backslashes, and dashes.
@@ -1642,7 +1274,7 @@ module Stripe
1642
1274
  end
1643
1275
  end
1644
1276
 
1645
- class Alipay < Stripe::StripeObject
1277
+ class Alipay < ::Stripe::StripeObject
1646
1278
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1647
1279
  #
1648
1280
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1661,7 +1293,7 @@ module Stripe
1661
1293
  end
1662
1294
  end
1663
1295
 
1664
- class Alma < Stripe::StripeObject
1296
+ class Alma < ::Stripe::StripeObject
1665
1297
  # Controls when the funds will be captured from the customer's account.
1666
1298
  attr_reader :capture_method
1667
1299
 
@@ -1674,7 +1306,7 @@ module Stripe
1674
1306
  end
1675
1307
  end
1676
1308
 
1677
- class AmazonPay < Stripe::StripeObject
1309
+ class AmazonPay < ::Stripe::StripeObject
1678
1310
  # Controls when the funds will be captured from the customer's account.
1679
1311
  attr_reader :capture_method
1680
1312
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -1695,7 +1327,7 @@ module Stripe
1695
1327
  end
1696
1328
  end
1697
1329
 
1698
- class AuBecsDebit < Stripe::StripeObject
1330
+ class AuBecsDebit < ::Stripe::StripeObject
1699
1331
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1700
1332
  #
1701
1333
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1716,8 +1348,8 @@ module Stripe
1716
1348
  end
1717
1349
  end
1718
1350
 
1719
- class BacsDebit < Stripe::StripeObject
1720
- class MandateOptions < Stripe::StripeObject
1351
+ class BacsDebit < ::Stripe::StripeObject
1352
+ class MandateOptions < ::Stripe::StripeObject
1721
1353
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
1722
1354
  attr_reader :reference_prefix
1723
1355
 
@@ -1751,7 +1383,7 @@ module Stripe
1751
1383
  end
1752
1384
  end
1753
1385
 
1754
- class Bancontact < Stripe::StripeObject
1386
+ class Bancontact < ::Stripe::StripeObject
1755
1387
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
1756
1388
  attr_reader :preferred_language
1757
1389
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -1772,7 +1404,7 @@ module Stripe
1772
1404
  end
1773
1405
  end
1774
1406
 
1775
- class Billie < Stripe::StripeObject
1407
+ class Billie < ::Stripe::StripeObject
1776
1408
  # Controls when the funds will be captured from the customer's account.
1777
1409
  attr_reader :capture_method
1778
1410
 
@@ -1785,7 +1417,7 @@ module Stripe
1785
1417
  end
1786
1418
  end
1787
1419
 
1788
- class Blik < Stripe::StripeObject
1420
+ class Blik < ::Stripe::StripeObject
1789
1421
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1790
1422
  #
1791
1423
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1804,7 +1436,7 @@ module Stripe
1804
1436
  end
1805
1437
  end
1806
1438
 
1807
- class Boleto < Stripe::StripeObject
1439
+ class Boleto < ::Stripe::StripeObject
1808
1440
  # The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto voucher will expire on Wednesday at 23:59 America/Sao_Paulo time.
1809
1441
  attr_reader :expires_after_days
1810
1442
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -1825,9 +1457,9 @@ module Stripe
1825
1457
  end
1826
1458
  end
1827
1459
 
1828
- class Card < Stripe::StripeObject
1829
- class Installments < Stripe::StripeObject
1830
- class AvailablePlan < Stripe::StripeObject
1460
+ class Card < ::Stripe::StripeObject
1461
+ class Installments < ::Stripe::StripeObject
1462
+ class AvailablePlan < ::Stripe::StripeObject
1831
1463
  # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
1832
1464
  attr_reader :count
1833
1465
  # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
@@ -1845,7 +1477,7 @@ module Stripe
1845
1477
  end
1846
1478
  end
1847
1479
 
1848
- class Plan < Stripe::StripeObject
1480
+ class Plan < ::Stripe::StripeObject
1849
1481
  # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
1850
1482
  attr_reader :count
1851
1483
  # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
@@ -1878,7 +1510,7 @@ module Stripe
1878
1510
  end
1879
1511
  end
1880
1512
 
1881
- class MandateOptions < Stripe::StripeObject
1513
+ class MandateOptions < ::Stripe::StripeObject
1882
1514
  # Amount to be charged for future payments.
1883
1515
  attr_reader :amount
1884
1516
  # One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
@@ -1906,43 +1538,6 @@ module Stripe
1906
1538
  @field_remappings = {}
1907
1539
  end
1908
1540
  end
1909
-
1910
- class StatementDetails < Stripe::StripeObject
1911
- class Address < Stripe::StripeObject
1912
- # City, district, suburb, town, or village.
1913
- attr_reader :city
1914
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1915
- attr_reader :country
1916
- # Address line 1, such as the street, PO Box, or company name.
1917
- attr_reader :line1
1918
- # Address line 2, such as the apartment, suite, unit, or building.
1919
- attr_reader :line2
1920
- # ZIP or postal code.
1921
- attr_reader :postal_code
1922
- # State, county, province, or region.
1923
- attr_reader :state
1924
-
1925
- def self.inner_class_types
1926
- @inner_class_types = {}
1927
- end
1928
-
1929
- def self.field_remappings
1930
- @field_remappings = {}
1931
- end
1932
- end
1933
- # Attribute for field address
1934
- attr_reader :address
1935
- # Phone number
1936
- attr_reader :phone
1937
-
1938
- def self.inner_class_types
1939
- @inner_class_types = { address: Address }
1940
- end
1941
-
1942
- def self.field_remappings
1943
- @field_remappings = {}
1944
- end
1945
- end
1946
1541
  # Controls when the funds will be captured from the customer's account.
1947
1542
  attr_reader :capture_method
1948
1543
  # Installment details for this payment.
@@ -1953,8 +1548,6 @@ module Stripe
1953
1548
  attr_reader :mandate_options
1954
1549
  # Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
1955
1550
  attr_reader :network
1956
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
1957
- attr_reader :request_decremental_authorization
1958
1551
  # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1959
1552
  attr_reader :request_extended_authorization
1960
1553
  # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
@@ -1963,8 +1556,6 @@ module Stripe
1963
1556
  attr_reader :request_multicapture
1964
1557
  # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1965
1558
  attr_reader :request_overcapture
1966
- # Request partial authorization on this PaymentIntent.
1967
- attr_reader :request_partial_authorization
1968
1559
  # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1969
1560
  attr_reader :request_three_d_secure
1970
1561
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
@@ -1981,15 +1572,9 @@ module Stripe
1981
1572
  attr_reader :statement_descriptor_suffix_kana
1982
1573
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
1983
1574
  attr_reader :statement_descriptor_suffix_kanji
1984
- # Attribute for field statement_details
1985
- attr_reader :statement_details
1986
1575
 
1987
1576
  def self.inner_class_types
1988
- @inner_class_types = {
1989
- installments: Installments,
1990
- mandate_options: MandateOptions,
1991
- statement_details: StatementDetails,
1992
- }
1577
+ @inner_class_types = { installments: Installments, mandate_options: MandateOptions }
1993
1578
  end
1994
1579
 
1995
1580
  def self.field_remappings
@@ -1997,8 +1582,8 @@ module Stripe
1997
1582
  end
1998
1583
  end
1999
1584
 
2000
- class CardPresent < Stripe::StripeObject
2001
- class Routing < Stripe::StripeObject
1585
+ class CardPresent < ::Stripe::StripeObject
1586
+ class Routing < ::Stripe::StripeObject
2002
1587
  # Requested routing priority
2003
1588
  attr_reader :requested_priority
2004
1589
 
@@ -2026,7 +1611,7 @@ module Stripe
2026
1611
  end
2027
1612
  end
2028
1613
 
2029
- class Cashapp < Stripe::StripeObject
1614
+ class Cashapp < ::Stripe::StripeObject
2030
1615
  # Controls when the funds will be captured from the customer's account.
2031
1616
  attr_reader :capture_method
2032
1617
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2047,7 +1632,7 @@ module Stripe
2047
1632
  end
2048
1633
  end
2049
1634
 
2050
- class Crypto < Stripe::StripeObject
1635
+ class Crypto < ::Stripe::StripeObject
2051
1636
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2052
1637
  #
2053
1638
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2066,9 +1651,9 @@ module Stripe
2066
1651
  end
2067
1652
  end
2068
1653
 
2069
- class CustomerBalance < Stripe::StripeObject
2070
- class BankTransfer < Stripe::StripeObject
2071
- class EuBankTransfer < Stripe::StripeObject
1654
+ class CustomerBalance < ::Stripe::StripeObject
1655
+ class BankTransfer < ::Stripe::StripeObject
1656
+ class EuBankTransfer < ::Stripe::StripeObject
2072
1657
  # The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
2073
1658
  attr_reader :country
2074
1659
 
@@ -2119,7 +1704,7 @@ module Stripe
2119
1704
  end
2120
1705
  end
2121
1706
 
2122
- class Eps < Stripe::StripeObject
1707
+ class Eps < ::Stripe::StripeObject
2123
1708
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2124
1709
  #
2125
1710
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2138,7 +1723,7 @@ module Stripe
2138
1723
  end
2139
1724
  end
2140
1725
 
2141
- class Fpx < Stripe::StripeObject
1726
+ class Fpx < ::Stripe::StripeObject
2142
1727
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2143
1728
  #
2144
1729
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2157,7 +1742,7 @@ module Stripe
2157
1742
  end
2158
1743
  end
2159
1744
 
2160
- class Giropay < Stripe::StripeObject
1745
+ class Giropay < ::Stripe::StripeObject
2161
1746
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2162
1747
  #
2163
1748
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2176,7 +1761,7 @@ module Stripe
2176
1761
  end
2177
1762
  end
2178
1763
 
2179
- class Gopay < Stripe::StripeObject
1764
+ class Grabpay < ::Stripe::StripeObject
2180
1765
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2181
1766
  #
2182
1767
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2195,7 +1780,7 @@ module Stripe
2195
1780
  end
2196
1781
  end
2197
1782
 
2198
- class Grabpay < Stripe::StripeObject
1783
+ class Ideal < ::Stripe::StripeObject
2199
1784
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2200
1785
  #
2201
1786
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2214,20 +1799,7 @@ module Stripe
2214
1799
  end
2215
1800
  end
2216
1801
 
2217
- class IdBankTransfer < Stripe::StripeObject
2218
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
2219
- attr_reader :expires_after
2220
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
2221
- attr_reader :expires_at
2222
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2223
- #
2224
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2225
- #
2226
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2227
- #
2228
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2229
- attr_reader :setup_future_usage
2230
-
1802
+ class InteracPresent < ::Stripe::StripeObject
2231
1803
  def self.inner_class_types
2232
1804
  @inner_class_types = {}
2233
1805
  end
@@ -2237,36 +1809,7 @@ module Stripe
2237
1809
  end
2238
1810
  end
2239
1811
 
2240
- class Ideal < Stripe::StripeObject
2241
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2242
- #
2243
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2244
- #
2245
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2246
- #
2247
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2248
- attr_reader :setup_future_usage
2249
-
2250
- def self.inner_class_types
2251
- @inner_class_types = {}
2252
- end
2253
-
2254
- def self.field_remappings
2255
- @field_remappings = {}
2256
- end
2257
- end
2258
-
2259
- class InteracPresent < Stripe::StripeObject
2260
- def self.inner_class_types
2261
- @inner_class_types = {}
2262
- end
2263
-
2264
- def self.field_remappings
2265
- @field_remappings = {}
2266
- end
2267
- end
2268
-
2269
- class KakaoPay < Stripe::StripeObject
1812
+ class KakaoPay < ::Stripe::StripeObject
2270
1813
  # Controls when the funds will be captured from the customer's account.
2271
1814
  attr_reader :capture_method
2272
1815
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2287,7 +1830,7 @@ module Stripe
2287
1830
  end
2288
1831
  end
2289
1832
 
2290
- class Klarna < Stripe::StripeObject
1833
+ class Klarna < ::Stripe::StripeObject
2291
1834
  # Controls when the funds will be captured from the customer's account.
2292
1835
  attr_reader :capture_method
2293
1836
  # Preferred locale of the Klarna checkout page that the customer is redirected to.
@@ -2310,7 +1853,7 @@ module Stripe
2310
1853
  end
2311
1854
  end
2312
1855
 
2313
- class Konbini < Stripe::StripeObject
1856
+ class Konbini < ::Stripe::StripeObject
2314
1857
  # An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.
2315
1858
  attr_reader :confirmation_number
2316
1859
  # The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST.
@@ -2337,7 +1880,7 @@ module Stripe
2337
1880
  end
2338
1881
  end
2339
1882
 
2340
- class KrCard < Stripe::StripeObject
1883
+ class KrCard < ::Stripe::StripeObject
2341
1884
  # Controls when the funds will be captured from the customer's account.
2342
1885
  attr_reader :capture_method
2343
1886
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2358,7 +1901,7 @@ module Stripe
2358
1901
  end
2359
1902
  end
2360
1903
 
2361
- class Link < Stripe::StripeObject
1904
+ class Link < ::Stripe::StripeObject
2362
1905
  # Controls when the funds will be captured from the customer's account.
2363
1906
  attr_reader :capture_method
2364
1907
  # [Deprecated] This is a legacy parameter that no longer has any function.
@@ -2381,7 +1924,7 @@ module Stripe
2381
1924
  end
2382
1925
  end
2383
1926
 
2384
- class MbWay < Stripe::StripeObject
1927
+ class MbWay < ::Stripe::StripeObject
2385
1928
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2386
1929
  #
2387
1930
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2400,7 +1943,7 @@ module Stripe
2400
1943
  end
2401
1944
  end
2402
1945
 
2403
- class Mobilepay < Stripe::StripeObject
1946
+ class Mobilepay < ::Stripe::StripeObject
2404
1947
  # Controls when the funds will be captured from the customer's account.
2405
1948
  attr_reader :capture_method
2406
1949
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2421,7 +1964,7 @@ module Stripe
2421
1964
  end
2422
1965
  end
2423
1966
 
2424
- class Multibanco < Stripe::StripeObject
1967
+ class Multibanco < ::Stripe::StripeObject
2425
1968
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2426
1969
  #
2427
1970
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2440,7 +1983,7 @@ module Stripe
2440
1983
  end
2441
1984
  end
2442
1985
 
2443
- class NaverPay < Stripe::StripeObject
1986
+ class NaverPay < ::Stripe::StripeObject
2444
1987
  # Controls when the funds will be captured from the customer's account.
2445
1988
  attr_reader :capture_method
2446
1989
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2461,7 +2004,7 @@ module Stripe
2461
2004
  end
2462
2005
  end
2463
2006
 
2464
- class NzBankAccount < Stripe::StripeObject
2007
+ class NzBankAccount < ::Stripe::StripeObject
2465
2008
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2466
2009
  #
2467
2010
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2482,7 +2025,7 @@ module Stripe
2482
2025
  end
2483
2026
  end
2484
2027
 
2485
- class Oxxo < Stripe::StripeObject
2028
+ class Oxxo < ::Stripe::StripeObject
2486
2029
  # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
2487
2030
  attr_reader :expires_after_days
2488
2031
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2503,7 +2046,7 @@ module Stripe
2503
2046
  end
2504
2047
  end
2505
2048
 
2506
- class P24 < Stripe::StripeObject
2049
+ class P24 < ::Stripe::StripeObject
2507
2050
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2508
2051
  #
2509
2052
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2522,7 +2065,7 @@ module Stripe
2522
2065
  end
2523
2066
  end
2524
2067
 
2525
- class PayByBank < Stripe::StripeObject
2068
+ class PayByBank < ::Stripe::StripeObject
2526
2069
  def self.inner_class_types
2527
2070
  @inner_class_types = {}
2528
2071
  end
@@ -2532,7 +2075,7 @@ module Stripe
2532
2075
  end
2533
2076
  end
2534
2077
 
2535
- class Payco < Stripe::StripeObject
2078
+ class Payco < ::Stripe::StripeObject
2536
2079
  # Controls when the funds will be captured from the customer's account.
2537
2080
  attr_reader :capture_method
2538
2081
 
@@ -2545,7 +2088,7 @@ module Stripe
2545
2088
  end
2546
2089
  end
2547
2090
 
2548
- class Paynow < Stripe::StripeObject
2091
+ class Paynow < ::Stripe::StripeObject
2549
2092
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2550
2093
  #
2551
2094
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2564,57 +2107,13 @@ module Stripe
2564
2107
  end
2565
2108
  end
2566
2109
 
2567
- class Paypal < Stripe::StripeObject
2568
- class LineItem < Stripe::StripeObject
2569
- class Tax < Stripe::StripeObject
2570
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2571
- attr_reader :amount
2572
- # The tax behavior for the line item.
2573
- attr_reader :behavior
2574
-
2575
- def self.inner_class_types
2576
- @inner_class_types = {}
2577
- end
2578
-
2579
- def self.field_remappings
2580
- @field_remappings = {}
2581
- end
2582
- end
2583
- # Type of the line item.
2584
- attr_reader :category
2585
- # Description of the line item.
2586
- attr_reader :description
2587
- # Descriptive name of the line item.
2588
- attr_reader :name
2589
- # Quantity of the line item. Cannot be a negative number.
2590
- attr_reader :quantity
2591
- # Client facing stock keeping unit, article number or similar.
2592
- attr_reader :sku
2593
- # The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
2594
- attr_reader :sold_by
2595
- # Attribute for field tax
2596
- attr_reader :tax
2597
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
2598
- attr_reader :unit_amount
2599
-
2600
- def self.inner_class_types
2601
- @inner_class_types = { tax: Tax }
2602
- end
2603
-
2604
- def self.field_remappings
2605
- @field_remappings = {}
2606
- end
2607
- end
2110
+ class Paypal < ::Stripe::StripeObject
2608
2111
  # Controls when the funds will be captured from the customer's account.
2609
2112
  attr_reader :capture_method
2610
- # The line items purchased by the customer.
2611
- attr_reader :line_items
2612
2113
  # Preferred locale of the PayPal checkout page that the customer is redirected to.
2613
2114
  attr_reader :preferred_locale
2614
2115
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2615
2116
  attr_reader :reference
2616
- # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2617
- attr_reader :reference_id
2618
2117
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2619
2118
  #
2620
2119
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2623,19 +2122,7 @@ module Stripe
2623
2122
  #
2624
2123
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2625
2124
  attr_reader :setup_future_usage
2626
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2627
- attr_reader :subsellers
2628
-
2629
- def self.inner_class_types
2630
- @inner_class_types = { line_items: LineItem }
2631
- end
2632
-
2633
- def self.field_remappings
2634
- @field_remappings = {}
2635
- end
2636
- end
2637
2125
 
2638
- class Paypay < Stripe::StripeObject
2639
2126
  def self.inner_class_types
2640
2127
  @inner_class_types = {}
2641
2128
  end
@@ -2645,103 +2132,13 @@ module Stripe
2645
2132
  end
2646
2133
  end
2647
2134
 
2648
- class Payto < Stripe::StripeObject
2649
- class MandateOptions < Stripe::StripeObject
2650
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2651
- attr_reader :amount
2652
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2653
- attr_reader :amount_type
2654
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2655
- attr_reader :end_date
2656
- # The periodicity at which payments will be collected.
2657
- attr_reader :payment_schedule
2658
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2659
- attr_reader :payments_per_period
2660
- # The purpose for which payments are made. Defaults to retail.
2661
- attr_reader :purpose
2662
-
2663
- def self.inner_class_types
2664
- @inner_class_types = {}
2665
- end
2666
-
2667
- def self.field_remappings
2668
- @field_remappings = {}
2669
- end
2670
- end
2671
- # Attribute for field mandate_options
2672
- attr_reader :mandate_options
2673
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2674
- #
2675
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2676
- #
2677
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2678
- #
2679
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2680
- attr_reader :setup_future_usage
2681
-
2682
- def self.inner_class_types
2683
- @inner_class_types = { mandate_options: MandateOptions }
2684
- end
2685
-
2686
- def self.field_remappings
2687
- @field_remappings = {}
2688
- end
2689
- end
2690
-
2691
- class Pix < Stripe::StripeObject
2692
- class MandateOptions < Stripe::StripeObject
2693
- # Amount to be charged for future payments.
2694
- attr_reader :amount
2695
- # Determines if the amount includes the IOF tax.
2696
- attr_reader :amount_includes_iof
2697
- # Type of amount.
2698
- attr_reader :amount_type
2699
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
2700
- attr_reader :currency
2701
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
2702
- attr_reader :end_date
2703
- # Schedule at which the future payments will be charged.
2704
- attr_reader :payment_schedule
2705
- # Subscription name displayed to buyers in their bank app.
2706
- attr_reader :reference
2707
- # Start date of the mandate, in `YYYY-MM-DD`.
2708
- attr_reader :start_date
2709
-
2710
- def self.inner_class_types
2711
- @inner_class_types = {}
2712
- end
2713
-
2714
- def self.field_remappings
2715
- @field_remappings = {}
2716
- end
2717
- end
2135
+ class Pix < ::Stripe::StripeObject
2718
2136
  # Determines if the amount includes the IOF tax.
2719
2137
  attr_reader :amount_includes_iof
2720
2138
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire.
2721
2139
  attr_reader :expires_after_seconds
2722
2140
  # The timestamp at which the Pix expires.
2723
2141
  attr_reader :expires_at
2724
- # Attribute for field mandate_options
2725
- attr_reader :mandate_options
2726
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2727
- #
2728
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2729
- #
2730
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2731
- #
2732
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2733
- attr_reader :setup_future_usage
2734
-
2735
- def self.inner_class_types
2736
- @inner_class_types = { mandate_options: MandateOptions }
2737
- end
2738
-
2739
- def self.field_remappings
2740
- @field_remappings = {}
2741
- end
2742
- end
2743
-
2744
- class Promptpay < Stripe::StripeObject
2745
2142
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2746
2143
  #
2747
2144
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2760,7 +2157,7 @@ module Stripe
2760
2157
  end
2761
2158
  end
2762
2159
 
2763
- class Qris < Stripe::StripeObject
2160
+ class Promptpay < ::Stripe::StripeObject
2764
2161
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2765
2162
  #
2766
2163
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2779,17 +2176,7 @@ module Stripe
2779
2176
  end
2780
2177
  end
2781
2178
 
2782
- class Rechnung < Stripe::StripeObject
2783
- def self.inner_class_types
2784
- @inner_class_types = {}
2785
- end
2786
-
2787
- def self.field_remappings
2788
- @field_remappings = {}
2789
- end
2790
- end
2791
-
2792
- class RevolutPay < Stripe::StripeObject
2179
+ class RevolutPay < ::Stripe::StripeObject
2793
2180
  # Controls when the funds will be captured from the customer's account.
2794
2181
  attr_reader :capture_method
2795
2182
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2810,7 +2197,7 @@ module Stripe
2810
2197
  end
2811
2198
  end
2812
2199
 
2813
- class SamsungPay < Stripe::StripeObject
2200
+ class SamsungPay < ::Stripe::StripeObject
2814
2201
  # Controls when the funds will be captured from the customer's account.
2815
2202
  attr_reader :capture_method
2816
2203
 
@@ -2823,7 +2210,7 @@ module Stripe
2823
2210
  end
2824
2211
  end
2825
2212
 
2826
- class Satispay < Stripe::StripeObject
2213
+ class Satispay < ::Stripe::StripeObject
2827
2214
  # Controls when the funds will be captured from the customer's account.
2828
2215
  attr_reader :capture_method
2829
2216
 
@@ -2836,8 +2223,8 @@ module Stripe
2836
2223
  end
2837
2224
  end
2838
2225
 
2839
- class SepaDebit < Stripe::StripeObject
2840
- class MandateOptions < Stripe::StripeObject
2226
+ class SepaDebit < ::Stripe::StripeObject
2227
+ class MandateOptions < ::Stripe::StripeObject
2841
2228
  # Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
2842
2229
  attr_reader :reference_prefix
2843
2230
 
@@ -2871,26 +2258,7 @@ module Stripe
2871
2258
  end
2872
2259
  end
2873
2260
 
2874
- class Shopeepay < Stripe::StripeObject
2875
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2876
- #
2877
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2878
- #
2879
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2880
- #
2881
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2882
- attr_reader :setup_future_usage
2883
-
2884
- def self.inner_class_types
2885
- @inner_class_types = {}
2886
- end
2887
-
2888
- def self.field_remappings
2889
- @field_remappings = {}
2890
- end
2891
- end
2892
-
2893
- class Sofort < Stripe::StripeObject
2261
+ class Sofort < ::Stripe::StripeObject
2894
2262
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
2895
2263
  attr_reader :preferred_language
2896
2264
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2911,26 +2279,7 @@ module Stripe
2911
2279
  end
2912
2280
  end
2913
2281
 
2914
- class StripeBalance < Stripe::StripeObject
2915
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2916
- #
2917
- # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2918
- #
2919
- # If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2920
- #
2921
- # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
2922
- attr_reader :setup_future_usage
2923
-
2924
- def self.inner_class_types
2925
- @inner_class_types = {}
2926
- end
2927
-
2928
- def self.field_remappings
2929
- @field_remappings = {}
2930
- end
2931
- end
2932
-
2933
- class Swish < Stripe::StripeObject
2282
+ class Swish < ::Stripe::StripeObject
2934
2283
  # A reference for this payment to be displayed in the Swish app.
2935
2284
  attr_reader :reference
2936
2285
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -2951,7 +2300,7 @@ module Stripe
2951
2300
  end
2952
2301
  end
2953
2302
 
2954
- class Twint < Stripe::StripeObject
2303
+ class Twint < ::Stripe::StripeObject
2955
2304
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2956
2305
  #
2957
2306
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2970,26 +2319,11 @@ module Stripe
2970
2319
  end
2971
2320
  end
2972
2321
 
2973
- class UsBankAccount < Stripe::StripeObject
2974
- class FinancialConnections < Stripe::StripeObject
2975
- class Filters < Stripe::StripeObject
2322
+ class UsBankAccount < ::Stripe::StripeObject
2323
+ class FinancialConnections < ::Stripe::StripeObject
2324
+ class Filters < ::Stripe::StripeObject
2976
2325
  # The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
2977
2326
  attr_reader :account_subcategories
2978
- # The institution to use to filter for possible accounts to link.
2979
- attr_reader :institution
2980
-
2981
- def self.inner_class_types
2982
- @inner_class_types = {}
2983
- end
2984
-
2985
- def self.field_remappings
2986
- @field_remappings = {}
2987
- end
2988
- end
2989
-
2990
- class ManualEntry < Stripe::StripeObject
2991
- # Settings for configuring manual entry of account details.
2992
- attr_reader :mode
2993
2327
 
2994
2328
  def self.inner_class_types
2995
2329
  @inner_class_types = {}
@@ -3001,8 +2335,6 @@ module Stripe
3001
2335
  end
3002
2336
  # Attribute for field filters
3003
2337
  attr_reader :filters
3004
- # Attribute for field manual_entry
3005
- attr_reader :manual_entry
3006
2338
  # The list of permissions to request. The `payment_method` permission must be included.
3007
2339
  attr_reader :permissions
3008
2340
  # Data features requested to be retrieved upon account creation.
@@ -3011,7 +2343,7 @@ module Stripe
3011
2343
  attr_reader :return_url
3012
2344
 
3013
2345
  def self.inner_class_types
3014
- @inner_class_types = { filters: Filters, manual_entry: ManualEntry }
2346
+ @inner_class_types = { filters: Filters }
3015
2347
  end
3016
2348
 
3017
2349
  def self.field_remappings
@@ -3019,7 +2351,7 @@ module Stripe
3019
2351
  end
3020
2352
  end
3021
2353
 
3022
- class MandateOptions < Stripe::StripeObject
2354
+ class MandateOptions < ::Stripe::StripeObject
3023
2355
  # Mandate collection method
3024
2356
  attr_reader :collection_method
3025
2357
 
@@ -3062,7 +2394,7 @@ module Stripe
3062
2394
  end
3063
2395
  end
3064
2396
 
3065
- class WechatPay < Stripe::StripeObject
2397
+ class WechatPay < ::Stripe::StripeObject
3066
2398
  # The app ID registered with WeChat Pay. Only required when client is ios or android.
3067
2399
  attr_reader :app_id
3068
2400
  # The client type that the end customer will pay from
@@ -3085,7 +2417,7 @@ module Stripe
3085
2417
  end
3086
2418
  end
3087
2419
 
3088
- class Zip < Stripe::StripeObject
2420
+ class Zip < ::Stripe::StripeObject
3089
2421
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3090
2422
  #
3091
2423
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3143,12 +2475,8 @@ module Stripe
3143
2475
  attr_reader :fpx
3144
2476
  # Attribute for field giropay
3145
2477
  attr_reader :giropay
3146
- # Attribute for field gopay
3147
- attr_reader :gopay
3148
2478
  # Attribute for field grabpay
3149
2479
  attr_reader :grabpay
3150
- # Attribute for field id_bank_transfer
3151
- attr_reader :id_bank_transfer
3152
2480
  # Attribute for field ideal
3153
2481
  attr_reader :ideal
3154
2482
  # Attribute for field interac_present
@@ -3185,18 +2513,10 @@ module Stripe
3185
2513
  attr_reader :paynow
3186
2514
  # Attribute for field paypal
3187
2515
  attr_reader :paypal
3188
- # Attribute for field paypay
3189
- attr_reader :paypay
3190
- # Attribute for field payto
3191
- attr_reader :payto
3192
2516
  # Attribute for field pix
3193
2517
  attr_reader :pix
3194
2518
  # Attribute for field promptpay
3195
2519
  attr_reader :promptpay
3196
- # Attribute for field qris
3197
- attr_reader :qris
3198
- # Attribute for field rechnung
3199
- attr_reader :rechnung
3200
2520
  # Attribute for field revolut_pay
3201
2521
  attr_reader :revolut_pay
3202
2522
  # Attribute for field samsung_pay
@@ -3205,12 +2525,8 @@ module Stripe
3205
2525
  attr_reader :satispay
3206
2526
  # Attribute for field sepa_debit
3207
2527
  attr_reader :sepa_debit
3208
- # Attribute for field shopeepay
3209
- attr_reader :shopeepay
3210
2528
  # Attribute for field sofort
3211
2529
  attr_reader :sofort
3212
- # Attribute for field stripe_balance
3213
- attr_reader :stripe_balance
3214
2530
  # Attribute for field swish
3215
2531
  attr_reader :swish
3216
2532
  # Attribute for field twint
@@ -3244,9 +2560,7 @@ module Stripe
3244
2560
  eps: Eps,
3245
2561
  fpx: Fpx,
3246
2562
  giropay: Giropay,
3247
- gopay: Gopay,
3248
2563
  grabpay: Grabpay,
3249
- id_bank_transfer: IdBankTransfer,
3250
2564
  ideal: Ideal,
3251
2565
  interac_present: InteracPresent,
3252
2566
  kakao_pay: KakaoPay,
@@ -3265,19 +2579,13 @@ module Stripe
3265
2579
  payco: Payco,
3266
2580
  paynow: Paynow,
3267
2581
  paypal: Paypal,
3268
- paypay: Paypay,
3269
- payto: Payto,
3270
2582
  pix: Pix,
3271
2583
  promptpay: Promptpay,
3272
- qris: Qris,
3273
- rechnung: Rechnung,
3274
2584
  revolut_pay: RevolutPay,
3275
2585
  samsung_pay: SamsungPay,
3276
2586
  satispay: Satispay,
3277
2587
  sepa_debit: SepaDebit,
3278
- shopeepay: Shopeepay,
3279
2588
  sofort: Sofort,
3280
- stripe_balance: StripeBalance,
3281
2589
  swish: Swish,
3282
2590
  twint: Twint,
3283
2591
  us_bank_account: UsBankAccount,
@@ -3291,7 +2599,7 @@ module Stripe
3291
2599
  end
3292
2600
  end
3293
2601
 
3294
- class PresentmentDetails < Stripe::StripeObject
2602
+ class PresentmentDetails < ::Stripe::StripeObject
3295
2603
  # Amount intended to be collected by this payment, denominated in `presentment_currency`.
3296
2604
  attr_reader :presentment_amount
3297
2605
  # Currency presented to the customer during payment.
@@ -3306,9 +2614,9 @@ module Stripe
3306
2614
  end
3307
2615
  end
3308
2616
 
3309
- class Processing < Stripe::StripeObject
3310
- class Card < Stripe::StripeObject
3311
- class CustomerNotification < Stripe::StripeObject
2617
+ class Processing < ::Stripe::StripeObject
2618
+ class Card < ::Stripe::StripeObject
2619
+ class CustomerNotification < ::Stripe::StripeObject
3312
2620
  # Whether customer approval has been requested for this payment. For payments greater than INR 15000 or mandate amount, the customer must provide explicit approval of the payment with their bank.
3313
2621
  attr_reader :approval_requested
3314
2622
  # If customer approval is required, they need to provide approval before this time.
@@ -3347,8 +2655,8 @@ module Stripe
3347
2655
  end
3348
2656
  end
3349
2657
 
3350
- class Shipping < Stripe::StripeObject
3351
- class Address < Stripe::StripeObject
2658
+ class Shipping < ::Stripe::StripeObject
2659
+ class Address < ::Stripe::StripeObject
3352
2660
  # City, district, suburb, town, or village.
3353
2661
  attr_reader :city
3354
2662
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
@@ -3390,7 +2698,7 @@ module Stripe
3390
2698
  end
3391
2699
  end
3392
2700
 
3393
- class TransferData < Stripe::StripeObject
2701
+ class TransferData < ::Stripe::StripeObject
3394
2702
  # The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
3395
2703
  # The amount must be less than or equal to the [amount](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
3396
2704
  # representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
@@ -3444,20 +2752,10 @@ module Stripe
3444
2752
  #
3445
2753
  # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
3446
2754
  attr_reader :customer
3447
- # ID of the Account this PaymentIntent belongs to, if one exists.
3448
- #
3449
- # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
3450
- #
3451
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
3452
- attr_reader :customer_account
3453
2755
  # An arbitrary string attached to the object. Often useful for displaying to users.
3454
2756
  attr_reader :description
3455
2757
  # The list of payment method types to exclude from use with this payment.
3456
2758
  attr_reader :excluded_payment_method_types
3457
- # The FX Quote used for the PaymentIntent.
3458
- attr_reader :fx_quote
3459
- # Attribute for field hooks
3460
- attr_reader :hooks
3461
2759
  # Unique identifier for the object.
3462
2760
  attr_reader :id
3463
2761
  # The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
@@ -3492,8 +2790,6 @@ module Stripe
3492
2790
  attr_reader :receipt_email
3493
2791
  # ID of the review associated with this PaymentIntent, if any.
3494
2792
  attr_reader :review
3495
- # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
3496
- attr_reader :secret_key_confirmation
3497
2793
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3498
2794
  #
3499
2795
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3687,56 +2983,6 @@ module Stripe
3687
2983
  request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
3688
2984
  end
3689
2985
 
3690
- # Perform a decremental authorization on an eligible
3691
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3692
- # PaymentIntent's status must be requires_capture and
3693
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
3694
- # must be available.
3695
- #
3696
- # Decremental authorizations decrease the authorized amount on your customer's card
3697
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
3698
- #
3699
- # After decrement, the PaymentIntent object
3700
- # returns with the updated
3701
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3702
- # The PaymentIntent will now be capturable up to the new authorized amount.
3703
- #
3704
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
3705
- # After it's fully captured, a PaymentIntent can no longer be decremented.
3706
- def decrement_authorization(params = {}, opts = {})
3707
- request_stripe_object(
3708
- method: :post,
3709
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
3710
- params: params,
3711
- opts: opts
3712
- )
3713
- end
3714
-
3715
- # Perform a decremental authorization on an eligible
3716
- # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3717
- # PaymentIntent's status must be requires_capture and
3718
- # [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
3719
- # must be available.
3720
- #
3721
- # Decremental authorizations decrease the authorized amount on your customer's card
3722
- # to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
3723
- #
3724
- # After decrement, the PaymentIntent object
3725
- # returns with the updated
3726
- # [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
3727
- # The PaymentIntent will now be capturable up to the new authorized amount.
3728
- #
3729
- # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
3730
- # After it's fully captured, a PaymentIntent can no longer be decremented.
3731
- def self.decrement_authorization(intent, params = {}, opts = {})
3732
- request_stripe_object(
3733
- method: :post,
3734
- path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
3735
- params: params,
3736
- opts: opts
3737
- )
3738
- end
3739
-
3740
2986
  # Perform an incremental authorization on an eligible
3741
2987
  # [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
3742
2988
  # PaymentIntent's status must be requires_capture and
@@ -3821,26 +3067,6 @@ module Stripe
3821
3067
  search(params, opts).auto_paging_each(&blk)
3822
3068
  end
3823
3069
 
3824
- # Trigger an external action on a PaymentIntent.
3825
- def trigger_action(params = {}, opts = {})
3826
- request_stripe_object(
3827
- method: :post,
3828
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
3829
- params: params,
3830
- opts: opts
3831
- )
3832
- end
3833
-
3834
- # Trigger an external action on a PaymentIntent.
3835
- def self.trigger_action(intent, params = {}, opts = {})
3836
- request_stripe_object(
3837
- method: :post,
3838
- path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
3839
- params: params,
3840
- opts: opts
3841
- )
3842
- end
3843
-
3844
3070
  # Updates properties on a PaymentIntent object without confirming.
3845
3071
  #
3846
3072
  # Depending on which properties you update, you might need to confirm the
@@ -3881,7 +3107,6 @@ module Stripe
3881
3107
  @inner_class_types = {
3882
3108
  amount_details: AmountDetails,
3883
3109
  automatic_payment_methods: AutomaticPaymentMethods,
3884
- hooks: Hooks,
3885
3110
  last_payment_error: LastPaymentError,
3886
3111
  next_action: NextAction,
3887
3112
  payment_details: PaymentDetails,