stripe 18.1.0.pre.alpha.4 → 18.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 (929) hide show
  1. checksums.yaml +4 -4
  2. data/lib/data/ca-certificates.crt +682 -518
  3. data/lib/stripe/api_requestor.rb +0 -34
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -63
  6. data/lib/stripe/event_types.rb +0 -513
  7. data/lib/stripe/object_types.rb +0 -83
  8. data/lib/stripe/params/account_create_params.rb +48 -361
  9. data/lib/stripe/params/account_external_account_create_params.rb +2 -2
  10. data/lib/stripe/params/account_external_account_update_params.rb +2 -2
  11. data/lib/stripe/params/account_person_create_params.rb +10 -42
  12. data/lib/stripe/params/account_person_update_params.rb +10 -42
  13. data/lib/stripe/params/account_session_create_params.rb +1 -226
  14. data/lib/stripe/params/account_update_params.rb +47 -323
  15. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  16. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  17. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  18. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  19. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +3 -15
  20. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
  21. data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -31
  22. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
  23. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  24. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  25. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  26. data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
  27. data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
  28. data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
  29. data/lib/stripe/params/charge_capture_params.rb +2 -1650
  30. data/lib/stripe/params/charge_create_params.rb +12 -12
  31. data/lib/stripe/params/charge_search_params.rb +1 -1
  32. data/lib/stripe/params/charge_update_params.rb +3 -1651
  33. data/lib/stripe/params/checkout/session_create_params.rb +42 -247
  34. data/lib/stripe/params/checkout/session_update_params.rb +12 -152
  35. data/lib/stripe/params/climate/order_create_params.rb +1 -1
  36. data/lib/stripe/params/climate/order_update_params.rb +1 -1
  37. data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
  38. data/lib/stripe/params/coupon_create_params.rb +2 -18
  39. data/lib/stripe/params/coupon_update_params.rb +1 -1
  40. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  41. data/lib/stripe/params/credit_note_list_params.rb +1 -1
  42. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  43. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  44. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  45. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  46. data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
  47. data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
  48. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  49. data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
  50. data/lib/stripe/params/customer_create_params.rb +5 -5
  51. data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
  52. data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
  53. data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
  54. data/lib/stripe/params/customer_search_params.rb +1 -1
  55. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  56. data/lib/stripe/params/customer_update_params.rb +7 -7
  57. data/lib/stripe/params/dispute_update_params.rb +4 -13
  58. data/lib/stripe/params/file_create_params.rb +3 -3
  59. data/lib/stripe/params/file_link_create_params.rb +1 -1
  60. data/lib/stripe/params/file_link_update_params.rb +1 -1
  61. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
  62. data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
  63. data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
  64. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  65. data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
  66. data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
  67. data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
  68. data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
  69. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  70. data/lib/stripe/params/invoice_create_params.rb +29 -110
  71. data/lib/stripe/params/invoice_create_preview_params.rb +43 -975
  72. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  73. data/lib/stripe/params/invoice_item_create_params.rb +9 -41
  74. data/lib/stripe/params/invoice_item_list_params.rb +2 -2
  75. data/lib/stripe/params/invoice_item_update_params.rb +7 -39
  76. data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
  77. data/lib/stripe/params/invoice_list_params.rb +2 -6
  78. data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
  79. data/lib/stripe/params/invoice_search_params.rb +1 -1
  80. data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
  81. data/lib/stripe/params/invoice_update_params.rb +26 -107
  82. data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
  83. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  84. data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
  85. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  86. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  87. data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
  88. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  89. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  90. data/lib/stripe/params/issuing/card_create_params.rb +7 -7
  91. data/lib/stripe/params/issuing/card_update_params.rb +6 -6
  92. data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
  93. data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
  94. data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
  95. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  96. data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
  97. data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
  98. data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
  99. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
  100. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  101. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  102. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  103. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  104. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  105. data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
  106. data/lib/stripe/params/payment_intent_confirm_params.rb +150 -3144
  107. data/lib/stripe/params/payment_intent_create_params.rb +167 -3174
  108. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
  109. data/lib/stripe/params/payment_intent_list_params.rb +1 -1
  110. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  111. data/lib/stripe/params/payment_intent_update_params.rb +205 -3230
  112. data/lib/stripe/params/payment_link_create_params.rb +19 -19
  113. data/lib/stripe/params/payment_link_update_params.rb +9 -9
  114. data/lib/stripe/params/payment_method_attach_params.rb +1 -1
  115. data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
  116. data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
  117. data/lib/stripe/params/payment_method_create_params.rb +4 -81
  118. data/lib/stripe/params/payment_method_update_params.rb +2 -2
  119. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
  120. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
  121. data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
  122. data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
  123. data/lib/stripe/params/payout_create_params.rb +1 -1
  124. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  125. data/lib/stripe/params/payout_update_params.rb +1 -1
  126. data/lib/stripe/params/plan_create_params.rb +4 -4
  127. data/lib/stripe/params/plan_update_params.rb +2 -2
  128. data/lib/stripe/params/price_create_params.rb +6 -6
  129. data/lib/stripe/params/price_search_params.rb +1 -1
  130. data/lib/stripe/params/price_update_params.rb +3 -22
  131. data/lib/stripe/params/product_create_params.rb +7 -7
  132. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  133. data/lib/stripe/params/product_list_params.rb +1 -1
  134. data/lib/stripe/params/product_search_params.rb +1 -1
  135. data/lib/stripe/params/product_update_params.rb +4 -4
  136. data/lib/stripe/params/promotion_code_create_params.rb +3 -3
  137. data/lib/stripe/params/promotion_code_list_params.rb +1 -1
  138. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  139. data/lib/stripe/params/quote_create_params.rb +7 -1025
  140. data/lib/stripe/params/quote_list_params.rb +2 -6
  141. data/lib/stripe/params/quote_update_params.rb +8 -1033
  142. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  143. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  144. data/lib/stripe/params/refund_create_params.rb +2 -2
  145. data/lib/stripe/params/refund_update_params.rb +1 -1
  146. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  147. data/lib/stripe/params/setup_intent_confirm_params.rb +9 -193
  148. data/lib/stripe/params/setup_intent_create_params.rb +15 -199
  149. data/lib/stripe/params/setup_intent_update_params.rb +12 -196
  150. data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
  151. data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
  152. data/lib/stripe/params/source_create_params.rb +3 -3
  153. data/lib/stripe/params/source_update_params.rb +3 -3
  154. data/lib/stripe/params/subscription_create_params.rb +39 -280
  155. data/lib/stripe/params/subscription_item_create_params.rb +12 -72
  156. data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
  157. data/lib/stripe/params/subscription_item_update_params.rb +12 -56
  158. data/lib/stripe/params/subscription_list_params.rb +3 -3
  159. data/lib/stripe/params/subscription_resume_params.rb +2 -2
  160. data/lib/stripe/params/subscription_schedule_create_params.rb +22 -248
  161. data/lib/stripe/params/subscription_schedule_update_params.rb +22 -248
  162. data/lib/stripe/params/subscription_search_params.rb +1 -1
  163. data/lib/stripe/params/subscription_update_params.rb +37 -262
  164. data/lib/stripe/params/tax/association_find_params.rb +1 -1
  165. data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
  166. data/lib/stripe/params/tax/settings_update_params.rb +1 -1
  167. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  168. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
  169. data/lib/stripe/params/tax_id_create_params.rb +2 -2
  170. data/lib/stripe/params/tax_id_list_params.rb +2 -2
  171. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  172. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  173. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  174. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  175. data/lib/stripe/params/terminal/location_create_params.rb +2 -2
  176. data/lib/stripe/params/terminal/location_update_params.rb +2 -2
  177. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
  178. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  179. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
  180. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  181. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  182. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
  183. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
  184. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  185. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
  186. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  187. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
  188. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  189. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
  190. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  191. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  192. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
  193. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
  194. data/lib/stripe/params/token_create_params.rb +22 -86
  195. data/lib/stripe/params/topup_create_params.rb +2 -2
  196. data/lib/stripe/params/topup_update_params.rb +1 -1
  197. data/lib/stripe/params/transfer_create_params.rb +3 -11
  198. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  199. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  200. data/lib/stripe/params/transfer_update_params.rb +1 -1
  201. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  202. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  203. data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
  204. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  205. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  206. data/lib/stripe/params/treasury/financial_account_update_params.rb +2 -9
  207. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
  208. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
  209. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
  210. data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
  211. data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
  212. data/lib/stripe/params/v2/core/account_create_params.rb +25 -967
  213. data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
  214. data/lib/stripe/params/v2/core/account_token_create_params.rb +10 -258
  215. data/lib/stripe/params/v2/core/account_update_params.rb +30 -951
  216. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
  217. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
  218. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
  219. data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
  220. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
  221. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  222. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  223. data/lib/stripe/params.rb +0 -247
  224. data/lib/stripe/resources/account.rb +27 -208
  225. data/lib/stripe/resources/account_link.rb +1 -1
  226. data/lib/stripe/resources/account_session.rb +2 -110
  227. data/lib/stripe/resources/application_fee.rb +0 -2
  228. data/lib/stripe/resources/application_fee_refund.rb +2 -2
  229. data/lib/stripe/resources/apps/secret.rb +1 -1
  230. data/lib/stripe/resources/balance.rb +2 -85
  231. data/lib/stripe/resources/balance_settings.rb +1 -1
  232. data/lib/stripe/resources/balance_transaction.rb +1 -1
  233. data/lib/stripe/resources/bank_account.rb +10 -10
  234. data/lib/stripe/resources/billing/alert.rb +2 -106
  235. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  236. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  237. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  238. data/lib/stripe/resources/billing/credit_grant.rb +4 -60
  239. data/lib/stripe/resources/billing/meter.rb +0 -2
  240. data/lib/stripe/resources/billing/meter_event.rb +1 -1
  241. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  242. data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
  243. data/lib/stripe/resources/billing_portal/session.rb +6 -6
  244. data/lib/stripe/resources/capability.rb +16 -16
  245. data/lib/stripe/resources/card.rb +3 -22
  246. data/lib/stripe/resources/cash_balance.rb +2 -2
  247. data/lib/stripe/resources/charge.rb +46 -266
  248. data/lib/stripe/resources/checkout/session.rb +23 -215
  249. data/lib/stripe/resources/climate/order.rb +1 -1
  250. data/lib/stripe/resources/confirmation_token.rb +11 -162
  251. data/lib/stripe/resources/coupon.rb +4 -29
  252. data/lib/stripe/resources/credit_note.rb +5 -5
  253. data/lib/stripe/resources/credit_note_line_item.rb +1 -19
  254. data/lib/stripe/resources/customer.rb +8 -8
  255. data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
  256. data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
  257. data/lib/stripe/resources/customer_session.rb +0 -36
  258. data/lib/stripe/resources/discount.rb +3 -5
  259. data/lib/stripe/resources/dispute.rb +5 -27
  260. data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
  261. data/lib/stripe/resources/event.rb +2 -65
  262. data/lib/stripe/resources/exchange_rate.rb +2 -2
  263. data/lib/stripe/resources/file.rb +4 -4
  264. data/lib/stripe/resources/file_link.rb +1 -1
  265. data/lib/stripe/resources/financial_connections/account.rb +3 -28
  266. data/lib/stripe/resources/financial_connections/session.rb +3 -67
  267. data/lib/stripe/resources/forwarding/request.rb +1 -1
  268. data/lib/stripe/resources/funding_instructions.rb +14 -14
  269. data/lib/stripe/resources/identity/verification_report.rb +9 -13
  270. data/lib/stripe/resources/identity/verification_session.rb +11 -11
  271. data/lib/stripe/resources/invoice.rb +49 -182
  272. data/lib/stripe/resources/invoice_item.rb +8 -114
  273. data/lib/stripe/resources/invoice_line_item.rb +7 -151
  274. data/lib/stripe/resources/invoice_payment.rb +1 -1
  275. data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
  276. data/lib/stripe/resources/issuing/authorization.rb +20 -20
  277. data/lib/stripe/resources/issuing/card.rb +12 -12
  278. data/lib/stripe/resources/issuing/cardholder.rb +14 -14
  279. data/lib/stripe/resources/issuing/dispute.rb +7 -7
  280. data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
  281. data/lib/stripe/resources/issuing/token.rb +1 -1
  282. data/lib/stripe/resources/issuing/transaction.rb +12 -14
  283. data/lib/stripe/resources/line_item.rb +4 -69
  284. data/lib/stripe/resources/login_link.rb +1 -1
  285. data/lib/stripe/resources/mandate.rb +0 -43
  286. data/lib/stripe/resources/payment_attempt_record.rb +79 -201
  287. data/lib/stripe/resources/payment_intent.rb +59 -811
  288. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
  289. data/lib/stripe/resources/payment_link.rb +7 -7
  290. data/lib/stripe/resources/payment_method.rb +13 -186
  291. data/lib/stripe/resources/payment_method_configuration.rb +4 -174
  292. data/lib/stripe/resources/payment_method_domain.rb +1 -1
  293. data/lib/stripe/resources/payment_record.rb +81 -201
  294. data/lib/stripe/resources/payout.rb +7 -7
  295. data/lib/stripe/resources/person.rb +23 -59
  296. data/lib/stripe/resources/plan.rb +5 -5
  297. data/lib/stripe/resources/price.rb +6 -26
  298. data/lib/stripe/resources/product.rb +9 -9
  299. data/lib/stripe/resources/promotion_code.rb +4 -4
  300. data/lib/stripe/resources/quote.rb +14 -818
  301. data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
  302. data/lib/stripe/resources/radar/value_list.rb +2 -2
  303. data/lib/stripe/resources/radar/value_list_item.rb +1 -1
  304. data/lib/stripe/resources/refund.rb +3 -21
  305. data/lib/stripe/resources/reporting/report_run.rb +3 -3
  306. data/lib/stripe/resources/reporting/report_type.rb +3 -3
  307. data/lib/stripe/resources/reversal.rb +4 -4
  308. data/lib/stripe/resources/review.rb +1 -1
  309. data/lib/stripe/resources/setup_attempt.rb +17 -65
  310. data/lib/stripe/resources/setup_intent.rb +20 -147
  311. data/lib/stripe/resources/shipping_rate.rb +3 -3
  312. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  313. data/lib/stripe/resources/source.rb +8 -46
  314. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  315. data/lib/stripe/resources/subscription.rb +23 -240
  316. data/lib/stripe/resources/subscription_item.rb +8 -50
  317. data/lib/stripe/resources/subscription_schedule.rb +11 -298
  318. data/lib/stripe/resources/tax/association.rb +3 -3
  319. data/lib/stripe/resources/tax/calculation.rb +12 -12
  320. data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
  321. data/lib/stripe/resources/tax/registration.rb +3 -3
  322. data/lib/stripe/resources/tax/settings.rb +2 -2
  323. data/lib/stripe/resources/tax/transaction.rb +9 -9
  324. data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
  325. data/lib/stripe/resources/tax_id.rb +4 -4
  326. data/lib/stripe/resources/tax_rate.rb +1 -1
  327. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  328. data/lib/stripe/resources/terminal/connection_token.rb +1 -1
  329. data/lib/stripe/resources/terminal/location.rb +3 -3
  330. data/lib/stripe/resources/terminal/reader.rb +10 -18
  331. data/lib/stripe/resources/token.rb +4 -4
  332. data/lib/stripe/resources/topup.rb +3 -3
  333. data/lib/stripe/resources/transfer.rb +5 -11
  334. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
  335. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
  336. data/lib/stripe/resources/treasury/financial_account.rb +1 -3
  337. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  338. data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
  339. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
  340. data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
  341. data/lib/stripe/resources/treasury/received_credit.rb +10 -40
  342. data/lib/stripe/resources/treasury/received_debit.rb +7 -39
  343. data/lib/stripe/resources/treasury/transaction.rb +11 -11
  344. data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
  345. data/lib/stripe/resources/v2/core/account.rb +159 -1904
  346. data/lib/stripe/resources/v2/core/account_link.rb +11 -11
  347. data/lib/stripe/resources/v2/core/account_person.rb +10 -10
  348. data/lib/stripe/resources/v2/core/event.rb +1 -50
  349. data/lib/stripe/resources/webhook_endpoint.rb +1 -1
  350. data/lib/stripe/resources.rb +0 -214
  351. data/lib/stripe/services/billing_service.rb +1 -2
  352. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  353. data/lib/stripe/services/financial_connections_service.rb +1 -2
  354. data/lib/stripe/services/identity_service.rb +1 -2
  355. data/lib/stripe/services/issuing_service.rb +1 -6
  356. data/lib/stripe/services/mandate_service.rb +0 -5
  357. data/lib/stripe/services/payment_intent_service.rb +0 -37
  358. data/lib/stripe/services/payment_method_service.rb +1 -12
  359. data/lib/stripe/services/quote_service.rb +1 -49
  360. data/lib/stripe/services/radar_service.rb +1 -2
  361. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  362. data/lib/stripe/services/subscription_service.rb +0 -11
  363. data/lib/stripe/services/tax_service.rb +1 -2
  364. data/lib/stripe/services/terminal_service.rb +1 -2
  365. data/lib/stripe/services/test_helpers_service.rb +1 -2
  366. data/lib/stripe/services/v1_services.rb +1 -11
  367. data/lib/stripe/services/v2/billing_service.rb +1 -18
  368. data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
  369. data/lib/stripe/services/v2/core/account_service.rb +0 -4
  370. data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
  371. data/lib/stripe/services/v2/core_service.rb +1 -3
  372. data/lib/stripe/services/v2_services.rb +1 -5
  373. data/lib/stripe/services.rb +0 -88
  374. data/lib/stripe/stripe_configuration.rb +1 -3
  375. data/lib/stripe/stripe_object.rb +12 -4
  376. data/lib/stripe/util.rb +1 -7
  377. data/lib/stripe/version.rb +1 -1
  378. data/lib/stripe.rb +0 -53
  379. data/rbi/stripe.rbi +74214 -150917
  380. metadata +4 -553
  381. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  382. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  384. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  385. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  386. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  387. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  392. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  393. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  398. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  399. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  400. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  401. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  402. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  403. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  404. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  405. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  406. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  407. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  408. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  409. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  410. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  411. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  412. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  413. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  414. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  415. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  416. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  417. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  418. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  421. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  422. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  423. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  424. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  425. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  426. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  427. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  428. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  429. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  430. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  431. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  432. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  433. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  434. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  435. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  436. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  437. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  438. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  439. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  440. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  441. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  442. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  443. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
  444. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
  445. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
  446. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
  447. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  448. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  449. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  450. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  451. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  452. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  453. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  454. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  455. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
  456. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
  457. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  458. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  459. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  460. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  461. data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
  462. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
  463. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
  464. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
  465. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
  466. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
  467. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  473. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  478. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  479. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  480. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  481. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  482. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  483. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  484. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  485. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  486. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  490. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  491. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  492. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  493. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  494. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  495. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  496. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  497. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  498. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  499. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  500. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  501. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  502. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  503. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  504. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  505. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  506. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  507. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  508. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  509. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  510. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  511. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  512. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  513. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  514. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  515. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  516. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  517. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  518. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  519. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  520. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  521. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
  522. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  523. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  524. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  525. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  526. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  527. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  528. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  529. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  530. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  531. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  532. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  533. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  534. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  535. data/lib/stripe/params/external_account_create_params.rb +0 -134
  536. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  537. data/lib/stripe/params/external_account_list_params.rb +0 -25
  538. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  539. data/lib/stripe/params/external_account_update_params.rb +0 -91
  540. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  541. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  542. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  543. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  544. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  545. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  546. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  547. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  548. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  549. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  550. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  551. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  552. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  553. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  554. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  555. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  556. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  557. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  558. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  559. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  560. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  561. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  562. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  563. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  564. data/lib/stripe/params/mandate_list_params.rb +0 -39
  565. data/lib/stripe/params/margin_create_params.rb +0 -25
  566. data/lib/stripe/params/margin_list_params.rb +0 -25
  567. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  568. data/lib/stripe/params/margin_update_params.rb +0 -22
  569. data/lib/stripe/params/order_cancel_params.rb +0 -13
  570. data/lib/stripe/params/order_create_params.rb +0 -2061
  571. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  572. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  573. data/lib/stripe/params/order_list_params.rb +0 -25
  574. data/lib/stripe/params/order_reopen_params.rb +0 -13
  575. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  576. data/lib/stripe/params/order_submit_params.rb +0 -16
  577. data/lib/stripe/params/order_update_params.rb +0 -2065
  578. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  579. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  580. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  581. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  582. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  583. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  584. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  585. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  586. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  587. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  588. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  589. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -60
  590. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  591. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  592. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  593. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  594. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  595. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  596. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  597. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  598. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  599. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  600. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
  601. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  602. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
  603. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  604. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  605. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  606. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  607. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  608. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  609. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  610. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  611. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  612. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  613. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  614. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  615. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  616. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  617. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  618. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  619. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  620. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  621. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  622. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  623. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  624. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  625. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  626. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  627. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  628. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  629. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  630. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  632. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  633. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  634. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  635. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  636. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  637. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  638. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  639. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  640. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  641. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  642. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  643. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  644. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  645. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  646. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  647. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  648. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  649. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  650. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  651. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  652. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  653. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  654. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  655. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  656. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  657. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  658. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  659. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  660. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  661. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  662. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  663. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  664. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  665. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  666. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  667. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  668. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  669. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  670. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  671. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  672. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  673. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  674. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  675. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  676. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  677. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  678. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  679. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  680. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  681. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  682. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  683. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  684. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  685. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  686. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  687. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  688. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  689. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  690. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  691. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  692. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  693. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  694. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  695. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  696. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  697. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  698. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  699. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  700. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  701. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  702. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  703. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  704. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  705. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  706. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  707. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  708. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  709. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  710. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  711. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  712. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  713. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  714. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  715. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  716. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  717. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  718. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  719. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -62
  720. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  721. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  722. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  723. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -114
  724. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  725. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -79
  726. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  727. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  728. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  729. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  730. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  731. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  732. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  733. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  734. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -93
  735. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  736. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  737. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  738. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  739. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  740. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  741. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  742. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  743. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  744. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  745. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  746. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  747. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  748. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  749. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  750. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  751. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  752. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  753. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  754. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  755. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  756. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  757. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  758. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  759. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  760. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  761. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
  762. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  763. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  764. data/lib/stripe/resources/account_notice.rb +0 -94
  765. data/lib/stripe/resources/balance_transfer.rb +0 -139
  766. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  767. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
  768. data/lib/stripe/resources/capital/financing_offer.rb +0 -183
  769. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  770. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  771. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -426
  772. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  773. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  774. data/lib/stripe/resources/fx_quote.rb +0 -147
  775. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  776. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  777. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  778. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  779. data/lib/stripe/resources/issuing/program.rb +0 -69
  780. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  781. data/lib/stripe/resources/margin.rb +0 -64
  782. data/lib/stripe/resources/order.rb +0 -987
  783. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  784. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  785. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  786. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -101
  787. data/lib/stripe/resources/quote_line.rb +0 -527
  788. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1166
  789. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
  790. data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
  791. data/lib/stripe/resources/tax/form.rb +0 -264
  792. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  793. data/lib/stripe/resources/transit_balance.rb +0 -45
  794. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  795. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  796. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  797. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  798. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  799. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  800. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  801. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  802. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  803. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  804. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  805. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  806. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  807. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  808. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  809. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  810. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  811. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  812. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  813. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  814. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  815. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  816. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  817. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  818. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  819. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  820. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  821. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  822. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
  823. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
  824. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  825. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -188
  826. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  827. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
  828. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -263
  829. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -202
  830. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  831. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
  832. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  833. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  834. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -278
  835. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
  836. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  837. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
  838. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
  839. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  840. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  841. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  842. data/lib/stripe/services/account_notice_service.rb +0 -39
  843. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  844. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  845. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  846. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  847. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  848. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  849. data/lib/stripe/services/capital_service.rb +0 -15
  850. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  851. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  852. data/lib/stripe/services/external_account_service.rb +0 -68
  853. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  854. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  855. data/lib/stripe/services/fx_quote_service.rb +0 -27
  856. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  857. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  858. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  859. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  860. data/lib/stripe/services/issuing/program_service.rb +0 -52
  861. data/lib/stripe/services/margin_service.rb +0 -50
  862. data/lib/stripe/services/order_line_item_service.rb +0 -17
  863. data/lib/stripe/services/order_service.rb +0 -78
  864. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  865. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  866. data/lib/stripe/services/privacy_service.rb +0 -13
  867. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  868. data/lib/stripe/services/product_catalog_service.rb +0 -13
  869. data/lib/stripe/services/quote_line_service.rb +0 -17
  870. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  871. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  872. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  873. data/lib/stripe/services/tax/form_service.rb +0 -37
  874. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  875. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  876. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  877. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  878. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  879. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  880. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  881. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  882. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  883. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  884. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  885. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  886. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  887. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  888. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  889. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  890. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  891. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  892. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  893. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  894. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  895. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  896. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  897. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  898. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  899. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  900. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  901. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  902. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  903. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  904. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  905. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  906. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  907. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  908. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  909. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  910. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  911. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  912. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  913. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  914. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  915. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  916. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  917. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  918. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  919. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  920. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  921. data/lib/stripe/services/v2/money_management_service.rb +0 -35
  922. data/lib/stripe/services/v2/payment_service.rb +0 -15
  923. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  924. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  925. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  926. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  927. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  928. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  929. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -3,15 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  class PaymentIntentConfirmParams < ::Stripe::RequestParams
6
- class AllocatedFunds < ::Stripe::RequestParams
7
- # Whether Allocated Funds creation is enabled for this PaymentIntent.
8
- attr_accessor :enabled
9
-
10
- def initialize(enabled: nil)
11
- @enabled = enabled
12
- end
13
- end
14
-
15
6
  class AmountDetails < ::Stripe::RequestParams
16
7
  class LineItem < ::Stripe::RequestParams
17
8
  class PaymentMethodOptions < ::Stripe::RequestParams
@@ -88,7 +79,7 @@ module Stripe
88
79
  end
89
80
 
90
81
  class Tax < ::Stripe::RequestParams
91
- # The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
92
83
  #
93
84
  # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
94
85
  attr_accessor :total_tax_amount
@@ -97,7 +88,7 @@ module Stripe
97
88
  @total_tax_amount = total_tax_amount
98
89
  end
99
90
  end
100
- # The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
101
92
  #
102
93
  # This field is mutually exclusive with the `amount_details[discount_amount]` field.
103
94
  attr_accessor :discount_amount
@@ -113,1802 +104,155 @@ module Stripe
113
104
  attr_accessor :quantity
114
105
  # Contains information about the tax on the item.
115
106
  attr_accessor :tax
116
- # The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
117
108
  attr_accessor :unit_cost
118
109
  # A unit of measure for the line item, such as gallons, feet, meters, etc.
119
- attr_accessor :unit_of_measure
120
-
121
- def initialize(
122
- discount_amount: nil,
123
- payment_method_options: nil,
124
- product_code: nil,
125
- product_name: nil,
126
- quantity: nil,
127
- tax: nil,
128
- unit_cost: nil,
129
- unit_of_measure: nil
130
- )
131
- @discount_amount = discount_amount
132
- @payment_method_options = payment_method_options
133
- @product_code = product_code
134
- @product_name = product_name
135
- @quantity = quantity
136
- @tax = tax
137
- @unit_cost = unit_cost
138
- @unit_of_measure = unit_of_measure
139
- end
140
- end
141
-
142
- class Shipping < ::Stripe::RequestParams
143
- # 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.
144
- attr_accessor :amount
145
- # 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.
146
- attr_accessor :from_postal_code
147
- # 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.
148
- attr_accessor :to_postal_code
149
-
150
- def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
151
- @amount = amount
152
- @from_postal_code = from_postal_code
153
- @to_postal_code = to_postal_code
154
- end
155
- end
156
-
157
- class Tax < ::Stripe::RequestParams
158
- # 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.
159
- #
160
- # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
161
- attr_accessor :total_tax_amount
162
-
163
- def initialize(total_tax_amount: nil)
164
- @total_tax_amount = total_tax_amount
165
- end
166
- end
167
- # 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.
168
- #
169
- # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
170
- attr_accessor :discount_amount
171
- # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
172
- attr_accessor :line_items
173
- # Contains information about the shipping portion of the amount.
174
- attr_accessor :shipping
175
- # Contains information about the tax portion of the amount.
176
- attr_accessor :tax
177
-
178
- def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
179
- @discount_amount = discount_amount
180
- @line_items = line_items
181
- @shipping = shipping
182
- @tax = tax
183
- end
184
- end
185
-
186
- class Hooks < ::Stripe::RequestParams
187
- class Inputs < ::Stripe::RequestParams
188
- class Tax < ::Stripe::RequestParams
189
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
190
- attr_accessor :calculation
191
-
192
- def initialize(calculation: nil)
193
- @calculation = calculation
194
- end
195
- end
196
- # Tax arguments for automations
197
- attr_accessor :tax
198
-
199
- def initialize(tax: nil)
200
- @tax = tax
201
- end
202
- end
203
- # Arguments passed in automations
204
- attr_accessor :inputs
205
-
206
- def initialize(inputs: nil)
207
- @inputs = inputs
208
- end
209
- end
210
-
211
- class MandateData < ::Stripe::RequestParams
212
- class CustomerAcceptance < ::Stripe::RequestParams
213
- class Offline < ::Stripe::RequestParams; end
214
-
215
- class Online < ::Stripe::RequestParams
216
- # The IP address from which the Mandate was accepted by the customer.
217
- attr_accessor :ip_address
218
- # The user agent of the browser from which the Mandate was accepted by the customer.
219
- attr_accessor :user_agent
220
-
221
- def initialize(ip_address: nil, user_agent: nil)
222
- @ip_address = ip_address
223
- @user_agent = user_agent
224
- end
225
- end
226
- # The time at which the customer accepted the Mandate.
227
- attr_accessor :accepted_at
228
- # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
229
- attr_accessor :offline
230
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
231
- attr_accessor :online
232
- # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
233
- attr_accessor :type
234
-
235
- def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
236
- @accepted_at = accepted_at
237
- @offline = offline
238
- @online = online
239
- @type = type
240
- end
241
- end
242
- # This hash contains details about the customer acceptance of the Mandate.
243
- attr_accessor :customer_acceptance
244
-
245
- def initialize(customer_acceptance: nil)
246
- @customer_acceptance = customer_acceptance
247
- end
248
- end
249
-
250
- class PaymentDetails < ::Stripe::RequestParams
251
- class Benefit < ::Stripe::RequestParams
252
- class FrMealVoucher < ::Stripe::RequestParams
253
- # The 14-digit SIRET of the meal voucher acceptor.
254
- attr_accessor :siret
255
-
256
- def initialize(siret: nil)
257
- @siret = siret
258
- end
259
- end
260
- # French meal voucher benefit details for this PaymentIntent.
261
- attr_accessor :fr_meal_voucher
262
-
263
- def initialize(fr_meal_voucher: nil)
264
- @fr_meal_voucher = fr_meal_voucher
265
- end
266
- end
267
-
268
- class CarRental < ::Stripe::RequestParams
269
- class Affiliate < ::Stripe::RequestParams
270
- # The name of the affiliate that originated the purchase.
271
- attr_accessor :name
272
-
273
- def initialize(name: nil)
274
- @name = name
275
- end
276
- end
277
-
278
- class Delivery < ::Stripe::RequestParams
279
- class Recipient < ::Stripe::RequestParams
280
- # The email of the recipient the ticket is delivered to.
281
- attr_accessor :email
282
- # The name of the recipient the ticket is delivered to.
283
- attr_accessor :name
284
- # The phone number of the recipient the ticket is delivered to.
285
- attr_accessor :phone
286
-
287
- def initialize(email: nil, name: nil, phone: nil)
288
- @email = email
289
- @name = name
290
- @phone = phone
291
- end
292
- end
293
- # The delivery method for the payment
294
- attr_accessor :mode
295
- # Details of the recipient.
296
- attr_accessor :recipient
297
-
298
- def initialize(mode: nil, recipient: nil)
299
- @mode = mode
300
- @recipient = recipient
301
- end
302
- end
303
-
304
- class Distance < ::Stripe::RequestParams
305
- # Distance traveled.
306
- attr_accessor :amount
307
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
308
- attr_accessor :unit
309
-
310
- def initialize(amount: nil, unit: nil)
311
- @amount = amount
312
- @unit = unit
313
- end
314
- end
315
-
316
- class Driver < ::Stripe::RequestParams
317
- # Driver's identification number.
318
- attr_accessor :driver_identification_number
319
- # Driver's tax number.
320
- attr_accessor :driver_tax_number
321
- # Full name of the person or entity on the car reservation.
322
- attr_accessor :name
323
-
324
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
325
- @driver_identification_number = driver_identification_number
326
- @driver_tax_number = driver_tax_number
327
- @name = name
328
- end
329
- end
330
-
331
- class PickupAddress < ::Stripe::RequestParams
332
- # City, district, suburb, town, or village.
333
- attr_accessor :city
334
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
335
- attr_accessor :country
336
- # Address line 1, such as the street, PO Box, or company name.
337
- attr_accessor :line1
338
- # Address line 2, such as the apartment, suite, unit, or building.
339
- attr_accessor :line2
340
- # ZIP or postal code.
341
- attr_accessor :postal_code
342
- # State, county, province, or region.
343
- attr_accessor :state
344
-
345
- def initialize(
346
- city: nil,
347
- country: nil,
348
- line1: nil,
349
- line2: nil,
350
- postal_code: nil,
351
- state: nil
352
- )
353
- @city = city
354
- @country = country
355
- @line1 = line1
356
- @line2 = line2
357
- @postal_code = postal_code
358
- @state = state
359
- end
360
- end
361
-
362
- class ReturnAddress < ::Stripe::RequestParams
363
- # City, district, suburb, town, or village.
364
- attr_accessor :city
365
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
366
- attr_accessor :country
367
- # Address line 1, such as the street, PO Box, or company name.
368
- attr_accessor :line1
369
- # Address line 2, such as the apartment, suite, unit, or building.
370
- attr_accessor :line2
371
- # ZIP or postal code.
372
- attr_accessor :postal_code
373
- # State, county, province, or region.
374
- attr_accessor :state
375
-
376
- def initialize(
377
- city: nil,
378
- country: nil,
379
- line1: nil,
380
- line2: nil,
381
- postal_code: nil,
382
- state: nil
383
- )
384
- @city = city
385
- @country = country
386
- @line1 = line1
387
- @line2 = line2
388
- @postal_code = postal_code
389
- @state = state
390
- end
391
- end
392
- # Affiliate details for this purchase.
393
- attr_accessor :affiliate
394
- # The booking number associated with the car rental.
395
- attr_accessor :booking_number
396
- # Class code of the car.
397
- attr_accessor :car_class_code
398
- # Make of the car.
399
- attr_accessor :car_make
400
- # Model of the car.
401
- attr_accessor :car_model
402
- # The name of the rental car company.
403
- attr_accessor :company
404
- # The customer service phone number of the car rental company.
405
- attr_accessor :customer_service_phone_number
406
- # Number of days the car is being rented.
407
- attr_accessor :days_rented
408
- # Delivery details for this purchase.
409
- attr_accessor :delivery
410
- # The details of the distance traveled during the rental period.
411
- attr_accessor :distance
412
- # The details of the passengers in the travel reservation
413
- attr_accessor :drivers
414
- # List of additional charges being billed.
415
- attr_accessor :extra_charges
416
- # Indicates if the customer did not keep nor cancel their booking.
417
- attr_accessor :no_show
418
- # Car pick-up address.
419
- attr_accessor :pickup_address
420
- # Car pick-up time. Measured in seconds since the Unix epoch.
421
- attr_accessor :pickup_at
422
- # Name of the pickup location.
423
- attr_accessor :pickup_location_name
424
- # Rental rate.
425
- attr_accessor :rate_amount
426
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
427
- attr_accessor :rate_interval
428
- # The name of the person or entity renting the car.
429
- attr_accessor :renter_name
430
- # Car return address.
431
- attr_accessor :return_address
432
- # Car return time. Measured in seconds since the Unix epoch.
433
- attr_accessor :return_at
434
- # Name of the return location.
435
- attr_accessor :return_location_name
436
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
437
- attr_accessor :tax_exempt
438
- # The vehicle identification number.
439
- attr_accessor :vehicle_identification_number
440
-
441
- def initialize(
442
- affiliate: nil,
443
- booking_number: nil,
444
- car_class_code: nil,
445
- car_make: nil,
446
- car_model: nil,
447
- company: nil,
448
- customer_service_phone_number: nil,
449
- days_rented: nil,
450
- delivery: nil,
451
- distance: nil,
452
- drivers: nil,
453
- extra_charges: nil,
454
- no_show: nil,
455
- pickup_address: nil,
456
- pickup_at: nil,
457
- pickup_location_name: nil,
458
- rate_amount: nil,
459
- rate_interval: nil,
460
- renter_name: nil,
461
- return_address: nil,
462
- return_at: nil,
463
- return_location_name: nil,
464
- tax_exempt: nil,
465
- vehicle_identification_number: nil
466
- )
467
- @affiliate = affiliate
468
- @booking_number = booking_number
469
- @car_class_code = car_class_code
470
- @car_make = car_make
471
- @car_model = car_model
472
- @company = company
473
- @customer_service_phone_number = customer_service_phone_number
474
- @days_rented = days_rented
475
- @delivery = delivery
476
- @distance = distance
477
- @drivers = drivers
478
- @extra_charges = extra_charges
479
- @no_show = no_show
480
- @pickup_address = pickup_address
481
- @pickup_at = pickup_at
482
- @pickup_location_name = pickup_location_name
483
- @rate_amount = rate_amount
484
- @rate_interval = rate_interval
485
- @renter_name = renter_name
486
- @return_address = return_address
487
- @return_at = return_at
488
- @return_location_name = return_location_name
489
- @tax_exempt = tax_exempt
490
- @vehicle_identification_number = vehicle_identification_number
491
- end
492
- end
493
-
494
- class CarRentalDatum < ::Stripe::RequestParams
495
- class Affiliate < ::Stripe::RequestParams
496
- # Affiliate partner code.
497
- attr_accessor :code
498
- # Name of affiliate partner.
499
- attr_accessor :name
500
-
501
- def initialize(code: nil, name: nil)
502
- @code = code
503
- @name = name
504
- end
505
- end
506
-
507
- class Distance < ::Stripe::RequestParams
508
- # Distance traveled.
509
- attr_accessor :amount
510
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
511
- attr_accessor :unit
512
-
513
- def initialize(amount: nil, unit: nil)
514
- @amount = amount
515
- @unit = unit
516
- end
517
- end
518
-
519
- class Driver < ::Stripe::RequestParams
520
- class DateOfBirth < ::Stripe::RequestParams
521
- # Day of birth (1-31).
522
- attr_accessor :day
523
- # Month of birth (1-12).
524
- attr_accessor :month
525
- # Year of birth (must be greater than 1900).
526
- attr_accessor :year
527
-
528
- def initialize(day: nil, month: nil, year: nil)
529
- @day = day
530
- @month = month
531
- @year = year
532
- end
533
- end
534
- # Driver's date of birth.
535
- attr_accessor :date_of_birth
536
- # Driver's identification number.
537
- attr_accessor :driver_identification_number
538
- # Driver's tax number.
539
- attr_accessor :driver_tax_number
540
- # Driver's full name.
541
- attr_accessor :name
542
-
543
- def initialize(
544
- date_of_birth: nil,
545
- driver_identification_number: nil,
546
- driver_tax_number: nil,
547
- name: nil
548
- )
549
- @date_of_birth = date_of_birth
550
- @driver_identification_number = driver_identification_number
551
- @driver_tax_number = driver_tax_number
552
- @name = name
553
- end
554
- end
555
-
556
- class DropOff < ::Stripe::RequestParams
557
- class Address < ::Stripe::RequestParams
558
- # City, district, suburb, town, or village.
559
- attr_accessor :city
560
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
561
- attr_accessor :country
562
- # Address line 1, such as the street, PO Box, or company name.
563
- attr_accessor :line1
564
- # Address line 2, such as the apartment, suite, unit, or building.
565
- attr_accessor :line2
566
- # ZIP or postal code.
567
- attr_accessor :postal_code
568
- # State, county, province, or region.
569
- attr_accessor :state
570
-
571
- def initialize(
572
- city: nil,
573
- country: nil,
574
- line1: nil,
575
- line2: nil,
576
- postal_code: nil,
577
- state: nil
578
- )
579
- @city = city
580
- @country = country
581
- @line1 = line1
582
- @line2 = line2
583
- @postal_code = postal_code
584
- @state = state
585
- end
586
- end
587
- # Address of the rental location.
588
- attr_accessor :address
589
- # Location name.
590
- attr_accessor :location_name
591
- # Timestamp for the location.
592
- attr_accessor :time
593
-
594
- def initialize(address: nil, location_name: nil, time: nil)
595
- @address = address
596
- @location_name = location_name
597
- @time = time
598
- end
599
- end
600
-
601
- class Insurance < ::Stripe::RequestParams
602
- # Amount of the insurance coverage in cents.
603
- attr_accessor :amount
604
- # Currency of the insurance amount.
605
- attr_accessor :currency
606
- # Name of the insurance company.
607
- attr_accessor :insurance_company_name
608
- # Type of insurance coverage.
609
- attr_accessor :insurance_type
610
-
611
- def initialize(
612
- amount: nil,
613
- currency: nil,
614
- insurance_company_name: nil,
615
- insurance_type: nil
616
- )
617
- @amount = amount
618
- @currency = currency
619
- @insurance_company_name = insurance_company_name
620
- @insurance_type = insurance_type
621
- end
622
- end
623
-
624
- class Pickup < ::Stripe::RequestParams
625
- class Address < ::Stripe::RequestParams
626
- # City, district, suburb, town, or village.
627
- attr_accessor :city
628
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
629
- attr_accessor :country
630
- # Address line 1, such as the street, PO Box, or company name.
631
- attr_accessor :line1
632
- # Address line 2, such as the apartment, suite, unit, or building.
633
- attr_accessor :line2
634
- # ZIP or postal code.
635
- attr_accessor :postal_code
636
- # State, county, province, or region.
637
- attr_accessor :state
638
-
639
- def initialize(
640
- city: nil,
641
- country: nil,
642
- line1: nil,
643
- line2: nil,
644
- postal_code: nil,
645
- state: nil
646
- )
647
- @city = city
648
- @country = country
649
- @line1 = line1
650
- @line2 = line2
651
- @postal_code = postal_code
652
- @state = state
653
- end
654
- end
655
- # Address of the rental location.
656
- attr_accessor :address
657
- # Location name.
658
- attr_accessor :location_name
659
- # Timestamp for the location.
660
- attr_accessor :time
661
-
662
- def initialize(address: nil, location_name: nil, time: nil)
663
- @address = address
664
- @location_name = location_name
665
- @time = time
666
- end
667
- end
668
-
669
- class Total < ::Stripe::RequestParams
670
- class Discounts < ::Stripe::RequestParams
671
- # Corporate client discount code.
672
- attr_accessor :corporate_client_code
673
- # Coupon code applied to the rental.
674
- attr_accessor :coupon
675
- # Maximum number of free miles or kilometers included.
676
- attr_accessor :maximum_free_miles_or_kilometers
677
-
678
- def initialize(
679
- corporate_client_code: nil,
680
- coupon: nil,
681
- maximum_free_miles_or_kilometers: nil
682
- )
683
- @corporate_client_code = corporate_client_code
684
- @coupon = coupon
685
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
686
- end
687
- end
688
-
689
- class ExtraCharge < ::Stripe::RequestParams
690
- # Amount of the extra charge in cents.
691
- attr_accessor :amount
692
- # Type of extra charge.
693
- attr_accessor :type
694
-
695
- def initialize(amount: nil, type: nil)
696
- @amount = amount
697
- @type = type
698
- end
699
- end
700
-
701
- class Tax < ::Stripe::RequestParams
702
- class Tax < ::Stripe::RequestParams
703
- # Tax amount.
704
- attr_accessor :amount
705
- # Tax rate applied.
706
- attr_accessor :rate
707
- # Type of tax applied.
708
- attr_accessor :type
709
-
710
- def initialize(amount: nil, rate: nil, type: nil)
711
- @amount = amount
712
- @rate = rate
713
- @type = type
714
- end
715
- end
716
- # Indicates if the transaction is tax exempt.
717
- attr_accessor :tax_exempt_indicator
718
- # Array of tax details.
719
- attr_accessor :taxes
720
-
721
- def initialize(tax_exempt_indicator: nil, taxes: nil)
722
- @tax_exempt_indicator = tax_exempt_indicator
723
- @taxes = taxes
724
- end
725
- end
726
- # Total amount in cents.
727
- attr_accessor :amount
728
- # Currency of the amount.
729
- attr_accessor :currency
730
- # Discount details for the rental.
731
- attr_accessor :discounts
732
- # Additional charges for the rental.
733
- attr_accessor :extra_charges
734
- # Rate per unit for the rental.
735
- attr_accessor :rate_per_unit
736
- # Unit of measurement for the rate.
737
- attr_accessor :rate_unit
738
- # Tax breakdown for the rental.
739
- attr_accessor :tax
740
-
741
- def initialize(
742
- amount: nil,
743
- currency: nil,
744
- discounts: nil,
745
- extra_charges: nil,
746
- rate_per_unit: nil,
747
- rate_unit: nil,
748
- tax: nil
749
- )
750
- @amount = amount
751
- @currency = currency
752
- @discounts = discounts
753
- @extra_charges = extra_charges
754
- @rate_per_unit = rate_per_unit
755
- @rate_unit = rate_unit
756
- @tax = tax
757
- end
758
- end
759
-
760
- class Vehicle < ::Stripe::RequestParams
761
- # Make of the rental vehicle.
762
- attr_accessor :make
763
- # Model of the rental vehicle.
764
- attr_accessor :model
765
- # Odometer reading at the time of rental.
766
- attr_accessor :odometer
767
- # Type of the rental vehicle.
768
- attr_accessor :type
769
- # Class of the rental vehicle.
770
- attr_accessor :vehicle_class
771
- # Vehicle identification number (VIN).
772
- attr_accessor :vehicle_identification_number
773
-
774
- def initialize(
775
- make: nil,
776
- model: nil,
777
- odometer: nil,
778
- type: nil,
779
- vehicle_class: nil,
780
- vehicle_identification_number: nil
781
- )
782
- @make = make
783
- @model = model
784
- @odometer = odometer
785
- @type = type
786
- @vehicle_class = vehicle_class
787
- @vehicle_identification_number = vehicle_identification_number
788
- end
789
- end
790
- # Affiliate (such as travel agency) details for the rental.
791
- attr_accessor :affiliate
792
- # Booking confirmation number for the car rental.
793
- attr_accessor :booking_number
794
- # Name of the car rental company.
795
- attr_accessor :carrier_name
796
- # Customer service phone number for the car rental company.
797
- attr_accessor :customer_service_phone_number
798
- # Number of days the car is being rented.
799
- attr_accessor :days_rented
800
- # Distance details for the rental.
801
- attr_accessor :distance
802
- # List of drivers for the rental.
803
- attr_accessor :drivers
804
- # Drop-off location details.
805
- attr_accessor :drop_off
806
- # Insurance details for the rental.
807
- attr_accessor :insurances
808
- # Indicates if the customer was a no-show.
809
- attr_accessor :no_show_indicator
810
- # Pickup location details.
811
- attr_accessor :pickup
812
- # Name of the person renting the vehicle.
813
- attr_accessor :renter_name
814
- # Total cost breakdown for the rental.
815
- attr_accessor :total
816
- # Vehicle details for the rental.
817
- attr_accessor :vehicle
818
-
819
- def initialize(
820
- affiliate: nil,
821
- booking_number: nil,
822
- carrier_name: nil,
823
- customer_service_phone_number: nil,
824
- days_rented: nil,
825
- distance: nil,
826
- drivers: nil,
827
- drop_off: nil,
828
- insurances: nil,
829
- no_show_indicator: nil,
830
- pickup: nil,
831
- renter_name: nil,
832
- total: nil,
833
- vehicle: nil
834
- )
835
- @affiliate = affiliate
836
- @booking_number = booking_number
837
- @carrier_name = carrier_name
838
- @customer_service_phone_number = customer_service_phone_number
839
- @days_rented = days_rented
840
- @distance = distance
841
- @drivers = drivers
842
- @drop_off = drop_off
843
- @insurances = insurances
844
- @no_show_indicator = no_show_indicator
845
- @pickup = pickup
846
- @renter_name = renter_name
847
- @total = total
848
- @vehicle = vehicle
849
- end
850
- end
851
-
852
- class EventDetails < ::Stripe::RequestParams
853
- class Address < ::Stripe::RequestParams
854
- # City, district, suburb, town, or village.
855
- attr_accessor :city
856
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
857
- attr_accessor :country
858
- # Address line 1, such as the street, PO Box, or company name.
859
- attr_accessor :line1
860
- # Address line 2, such as the apartment, suite, unit, or building.
861
- attr_accessor :line2
862
- # ZIP or postal code.
863
- attr_accessor :postal_code
864
- # State, county, province, or region.
865
- attr_accessor :state
866
-
867
- def initialize(
868
- city: nil,
869
- country: nil,
870
- line1: nil,
871
- line2: nil,
872
- postal_code: nil,
873
- state: nil
874
- )
875
- @city = city
876
- @country = country
877
- @line1 = line1
878
- @line2 = line2
879
- @postal_code = postal_code
880
- @state = state
881
- end
882
- end
883
-
884
- class Affiliate < ::Stripe::RequestParams
885
- # The name of the affiliate that originated the purchase.
886
- attr_accessor :name
887
-
888
- def initialize(name: nil)
889
- @name = name
890
- end
891
- end
892
-
893
- class Delivery < ::Stripe::RequestParams
894
- class Recipient < ::Stripe::RequestParams
895
- # The email of the recipient the ticket is delivered to.
896
- attr_accessor :email
897
- # The name of the recipient the ticket is delivered to.
898
- attr_accessor :name
899
- # The phone number of the recipient the ticket is delivered to.
900
- attr_accessor :phone
901
-
902
- def initialize(email: nil, name: nil, phone: nil)
903
- @email = email
904
- @name = name
905
- @phone = phone
906
- end
907
- end
908
- # The delivery method for the payment
909
- attr_accessor :mode
910
- # Details of the recipient.
911
- attr_accessor :recipient
912
-
913
- def initialize(mode: nil, recipient: nil)
914
- @mode = mode
915
- @recipient = recipient
916
- end
917
- end
918
- # Indicates if the tickets are digitally checked when entering the venue.
919
- attr_accessor :access_controlled_venue
920
- # The event location's address.
921
- attr_accessor :address
922
- # Affiliate details for this purchase.
923
- attr_accessor :affiliate
924
- # The name of the company
925
- attr_accessor :company
926
- # Delivery details for this purchase.
927
- attr_accessor :delivery
928
- # Event end time. Measured in seconds since the Unix epoch.
929
- attr_accessor :ends_at
930
- # Type of the event entertainment (concert, sports event etc)
931
- attr_accessor :genre
932
- # The name of the event.
933
- attr_accessor :name
934
- # Event start time. Measured in seconds since the Unix epoch.
935
- attr_accessor :starts_at
936
-
937
- def initialize(
938
- access_controlled_venue: nil,
939
- address: nil,
940
- affiliate: nil,
941
- company: nil,
942
- delivery: nil,
943
- ends_at: nil,
944
- genre: nil,
945
- name: nil,
946
- starts_at: nil
947
- )
948
- @access_controlled_venue = access_controlled_venue
949
- @address = address
950
- @affiliate = affiliate
951
- @company = company
952
- @delivery = delivery
953
- @ends_at = ends_at
954
- @genre = genre
955
- @name = name
956
- @starts_at = starts_at
957
- end
958
- end
959
-
960
- class Flight < ::Stripe::RequestParams
961
- class Affiliate < ::Stripe::RequestParams
962
- # The name of the affiliate that originated the purchase.
963
- attr_accessor :name
964
-
965
- def initialize(name: nil)
966
- @name = name
967
- end
968
- end
969
-
970
- class Delivery < ::Stripe::RequestParams
971
- class Recipient < ::Stripe::RequestParams
972
- # The email of the recipient the ticket is delivered to.
973
- attr_accessor :email
974
- # The name of the recipient the ticket is delivered to.
975
- attr_accessor :name
976
- # The phone number of the recipient the ticket is delivered to.
977
- attr_accessor :phone
978
-
979
- def initialize(email: nil, name: nil, phone: nil)
980
- @email = email
981
- @name = name
982
- @phone = phone
983
- end
984
- end
985
- # The delivery method for the payment
986
- attr_accessor :mode
987
- # Details of the recipient.
988
- attr_accessor :recipient
989
-
990
- def initialize(mode: nil, recipient: nil)
991
- @mode = mode
992
- @recipient = recipient
993
- end
994
- end
995
-
996
- class Passenger < ::Stripe::RequestParams
997
- # Full name of the person or entity on the flight reservation.
998
- attr_accessor :name
999
-
1000
- def initialize(name: nil)
1001
- @name = name
1002
- end
1003
- end
1004
-
1005
- class Segment < ::Stripe::RequestParams
1006
- # The flight segment amount.
1007
- attr_accessor :amount
1008
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1009
- attr_accessor :arrival_airport
1010
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1011
- attr_accessor :arrives_at
1012
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1013
- attr_accessor :carrier
1014
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1015
- attr_accessor :departs_at
1016
- # The International Air Transport Association (IATA) airport code for the departure airport.
1017
- attr_accessor :departure_airport
1018
- # The flight number associated with the segment
1019
- attr_accessor :flight_number
1020
- # The fare class for the segment.
1021
- attr_accessor :service_class
1022
-
1023
- def initialize(
1024
- amount: nil,
1025
- arrival_airport: nil,
1026
- arrives_at: nil,
1027
- carrier: nil,
1028
- departs_at: nil,
1029
- departure_airport: nil,
1030
- flight_number: nil,
1031
- service_class: nil
1032
- )
1033
- @amount = amount
1034
- @arrival_airport = arrival_airport
1035
- @arrives_at = arrives_at
1036
- @carrier = carrier
1037
- @departs_at = departs_at
1038
- @departure_airport = departure_airport
1039
- @flight_number = flight_number
1040
- @service_class = service_class
1041
- end
1042
- end
1043
- # Affiliate details for this purchase.
1044
- attr_accessor :affiliate
1045
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1046
- attr_accessor :agency_number
1047
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1048
- attr_accessor :carrier
1049
- # Delivery details for this purchase.
1050
- attr_accessor :delivery
1051
- # The name of the person or entity on the reservation.
1052
- attr_accessor :passenger_name
1053
- # The details of the passengers in the travel reservation.
1054
- attr_accessor :passengers
1055
- # The individual flight segments associated with the trip.
1056
- attr_accessor :segments
1057
- # The ticket number associated with the travel reservation.
1058
- attr_accessor :ticket_number
1059
-
1060
- def initialize(
1061
- affiliate: nil,
1062
- agency_number: nil,
1063
- carrier: nil,
1064
- delivery: nil,
1065
- passenger_name: nil,
1066
- passengers: nil,
1067
- segments: nil,
1068
- ticket_number: nil
1069
- )
1070
- @affiliate = affiliate
1071
- @agency_number = agency_number
1072
- @carrier = carrier
1073
- @delivery = delivery
1074
- @passenger_name = passenger_name
1075
- @passengers = passengers
1076
- @segments = segments
1077
- @ticket_number = ticket_number
1078
- end
1079
- end
1080
-
1081
- class FlightDatum < ::Stripe::RequestParams
1082
- class Affiliate < ::Stripe::RequestParams
1083
- # Affiliate partner code.
1084
- attr_accessor :code
1085
- # Name of affiliate partner.
1086
- attr_accessor :name
1087
- # Code provided by the company to a travel agent authorizing ticket issuance.
1088
- attr_accessor :travel_authorization_code
1089
-
1090
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1091
- @code = code
1092
- @name = name
1093
- @travel_authorization_code = travel_authorization_code
1094
- end
1095
- end
1096
-
1097
- class Insurance < ::Stripe::RequestParams
1098
- # Insurance cost.
1099
- attr_accessor :amount
1100
- # Insurance currency.
1101
- attr_accessor :currency
1102
- # Insurance company name.
1103
- attr_accessor :insurance_company_name
1104
- # Type of insurance.
1105
- attr_accessor :insurance_type
1106
-
1107
- def initialize(
1108
- amount: nil,
1109
- currency: nil,
1110
- insurance_company_name: nil,
1111
- insurance_type: nil
1112
- )
1113
- @amount = amount
1114
- @currency = currency
1115
- @insurance_company_name = insurance_company_name
1116
- @insurance_type = insurance_type
1117
- end
1118
- end
1119
-
1120
- class Passenger < ::Stripe::RequestParams
1121
- # Passenger's full name.
1122
- attr_accessor :name
1123
-
1124
- def initialize(name: nil)
1125
- @name = name
1126
- end
1127
- end
1128
-
1129
- class Segment < ::Stripe::RequestParams
1130
- class Arrival < ::Stripe::RequestParams
1131
- # Arrival airport IATA code.
1132
- attr_accessor :airport
1133
- # Arrival date/time.
1134
- attr_accessor :arrives_at
1135
- # Arrival city.
1136
- attr_accessor :city
1137
- # Arrival country.
1138
- attr_accessor :country
1139
-
1140
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1141
- @airport = airport
1142
- @arrives_at = arrives_at
1143
- @city = city
1144
- @country = country
1145
- end
1146
- end
1147
-
1148
- class Departure < ::Stripe::RequestParams
1149
- # Departure airport IATA code.
1150
- attr_accessor :airport
1151
- # Departure city.
1152
- attr_accessor :city
1153
- # Departure country.
1154
- attr_accessor :country
1155
- # Departure date/time.
1156
- attr_accessor :departs_at
1157
-
1158
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1159
- @airport = airport
1160
- @city = city
1161
- @country = country
1162
- @departs_at = departs_at
1163
- end
1164
- end
1165
- # Segment fare amount.
1166
- attr_accessor :amount
1167
- # Arrival details.
1168
- attr_accessor :arrival
1169
- # Airline carrier code.
1170
- attr_accessor :carrier_code
1171
- # Carrier name.
1172
- attr_accessor :carrier_name
1173
- # Segment currency.
1174
- attr_accessor :currency
1175
- # Departure details.
1176
- attr_accessor :departure
1177
- # Exchange ticket number.
1178
- attr_accessor :exchange_ticket_number
1179
- # Fare basis code.
1180
- attr_accessor :fare_basis_code
1181
- # Additional fees.
1182
- attr_accessor :fees
1183
- # Flight number.
1184
- attr_accessor :flight_number
1185
- # Stopover indicator.
1186
- attr_accessor :is_stop_over_indicator
1187
- # Refundable ticket indicator.
1188
- attr_accessor :refundable
1189
- # Class of service.
1190
- attr_accessor :service_class
1191
- # Tax amount for segment.
1192
- attr_accessor :tax_amount
1193
- # Ticket number.
1194
- attr_accessor :ticket_number
1195
-
1196
- def initialize(
1197
- amount: nil,
1198
- arrival: nil,
1199
- carrier_code: nil,
1200
- carrier_name: nil,
1201
- currency: nil,
1202
- departure: nil,
1203
- exchange_ticket_number: nil,
1204
- fare_basis_code: nil,
1205
- fees: nil,
1206
- flight_number: nil,
1207
- is_stop_over_indicator: nil,
1208
- refundable: nil,
1209
- service_class: nil,
1210
- tax_amount: nil,
1211
- ticket_number: nil
1212
- )
1213
- @amount = amount
1214
- @arrival = arrival
1215
- @carrier_code = carrier_code
1216
- @carrier_name = carrier_name
1217
- @currency = currency
1218
- @departure = departure
1219
- @exchange_ticket_number = exchange_ticket_number
1220
- @fare_basis_code = fare_basis_code
1221
- @fees = fees
1222
- @flight_number = flight_number
1223
- @is_stop_over_indicator = is_stop_over_indicator
1224
- @refundable = refundable
1225
- @service_class = service_class
1226
- @tax_amount = tax_amount
1227
- @ticket_number = ticket_number
1228
- end
1229
- end
1230
-
1231
- class Total < ::Stripe::RequestParams
1232
- class Discounts < ::Stripe::RequestParams
1233
- # Corporate client discount code.
1234
- attr_accessor :corporate_client_code
1235
-
1236
- def initialize(corporate_client_code: nil)
1237
- @corporate_client_code = corporate_client_code
1238
- end
1239
- end
1240
-
1241
- class ExtraCharge < ::Stripe::RequestParams
1242
- # Amount of additional charges.
1243
- attr_accessor :amount
1244
- # Type of additional charges.
1245
- attr_accessor :type
1246
-
1247
- def initialize(amount: nil, type: nil)
1248
- @amount = amount
1249
- @type = type
1250
- end
1251
- end
1252
-
1253
- class Tax < ::Stripe::RequestParams
1254
- class Tax < ::Stripe::RequestParams
1255
- # Tax amount.
1256
- attr_accessor :amount
1257
- # Tax rate.
1258
- attr_accessor :rate
1259
- # Type of tax.
1260
- attr_accessor :type
1261
-
1262
- def initialize(amount: nil, rate: nil, type: nil)
1263
- @amount = amount
1264
- @rate = rate
1265
- @type = type
1266
- end
1267
- end
1268
- # Array of tax details.
1269
- attr_accessor :taxes
1270
-
1271
- def initialize(taxes: nil)
1272
- @taxes = taxes
1273
- end
1274
- end
1275
- # Total flight amount.
1276
- attr_accessor :amount
1277
- # Reason for credit.
1278
- attr_accessor :credit_reason
1279
- # Total currency.
1280
- attr_accessor :currency
1281
- # Discount details.
1282
- attr_accessor :discounts
1283
- # Additional charges.
1284
- attr_accessor :extra_charges
1285
- # Tax breakdown.
1286
- attr_accessor :tax
1287
-
1288
- def initialize(
1289
- amount: nil,
1290
- credit_reason: nil,
1291
- currency: nil,
1292
- discounts: nil,
1293
- extra_charges: nil,
1294
- tax: nil
1295
- )
1296
- @amount = amount
1297
- @credit_reason = credit_reason
1298
- @currency = currency
1299
- @discounts = discounts
1300
- @extra_charges = extra_charges
1301
- @tax = tax
1302
- end
1303
- end
1304
- # Affiliate details if applicable.
1305
- attr_accessor :affiliate
1306
- # Reservation reference.
1307
- attr_accessor :booking_number
1308
- # Computerized reservation system used to make the reservation and purchase the ticket.
1309
- attr_accessor :computerized_reservation_system
1310
- # Ticket restrictions.
1311
- attr_accessor :endorsements_and_restrictions
1312
- # List of insurances.
1313
- attr_accessor :insurances
1314
- # List of passengers.
1315
- attr_accessor :passengers
1316
- # List of flight segments.
1317
- attr_accessor :segments
1318
- # Electronic ticket indicator.
1319
- attr_accessor :ticket_electronically_issued_indicator
1320
- # Total cost breakdown.
1321
- attr_accessor :total
1322
- # Type of flight transaction.
1323
- attr_accessor :transaction_type
1324
-
1325
- def initialize(
1326
- affiliate: nil,
1327
- booking_number: nil,
1328
- computerized_reservation_system: nil,
1329
- endorsements_and_restrictions: nil,
1330
- insurances: nil,
1331
- passengers: nil,
1332
- segments: nil,
1333
- ticket_electronically_issued_indicator: nil,
1334
- total: nil,
1335
- transaction_type: nil
1336
- )
1337
- @affiliate = affiliate
1338
- @booking_number = booking_number
1339
- @computerized_reservation_system = computerized_reservation_system
1340
- @endorsements_and_restrictions = endorsements_and_restrictions
1341
- @insurances = insurances
1342
- @passengers = passengers
1343
- @segments = segments
1344
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1345
- @total = total
1346
- @transaction_type = transaction_type
1347
- end
1348
- end
1349
-
1350
- class Lodging < ::Stripe::RequestParams
1351
- class Address < ::Stripe::RequestParams
1352
- # City, district, suburb, town, or village.
1353
- attr_accessor :city
1354
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1355
- attr_accessor :country
1356
- # Address line 1, such as the street, PO Box, or company name.
1357
- attr_accessor :line1
1358
- # Address line 2, such as the apartment, suite, unit, or building.
1359
- attr_accessor :line2
1360
- # ZIP or postal code.
1361
- attr_accessor :postal_code
1362
- # State, county, province, or region.
1363
- attr_accessor :state
1364
-
1365
- def initialize(
1366
- city: nil,
1367
- country: nil,
1368
- line1: nil,
1369
- line2: nil,
1370
- postal_code: nil,
1371
- state: nil
1372
- )
1373
- @city = city
1374
- @country = country
1375
- @line1 = line1
1376
- @line2 = line2
1377
- @postal_code = postal_code
1378
- @state = state
1379
- end
1380
- end
1381
-
1382
- class Affiliate < ::Stripe::RequestParams
1383
- # The name of the affiliate that originated the purchase.
1384
- attr_accessor :name
1385
-
1386
- def initialize(name: nil)
1387
- @name = name
1388
- end
1389
- end
1390
-
1391
- class Delivery < ::Stripe::RequestParams
1392
- class Recipient < ::Stripe::RequestParams
1393
- # The email of the recipient the ticket is delivered to.
1394
- attr_accessor :email
1395
- # The name of the recipient the ticket is delivered to.
1396
- attr_accessor :name
1397
- # The phone number of the recipient the ticket is delivered to.
1398
- attr_accessor :phone
1399
-
1400
- def initialize(email: nil, name: nil, phone: nil)
1401
- @email = email
1402
- @name = name
1403
- @phone = phone
1404
- end
1405
- end
1406
- # The delivery method for the payment
1407
- attr_accessor :mode
1408
- # Details of the recipient.
1409
- attr_accessor :recipient
1410
-
1411
- def initialize(mode: nil, recipient: nil)
1412
- @mode = mode
1413
- @recipient = recipient
1414
- end
1415
- end
1416
-
1417
- class Passenger < ::Stripe::RequestParams
1418
- # Full name of the person or entity on the lodging reservation.
1419
- attr_accessor :name
1420
-
1421
- def initialize(name: nil)
1422
- @name = name
1423
- end
1424
- end
1425
- # The lodging location's address.
1426
- attr_accessor :address
1427
- # The number of adults on the booking
1428
- attr_accessor :adults
1429
- # Affiliate details for this purchase.
1430
- attr_accessor :affiliate
1431
- # The booking number associated with the lodging reservation.
1432
- attr_accessor :booking_number
1433
- # The lodging category
1434
- attr_accessor :category
1435
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1436
- attr_accessor :checkin_at
1437
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1438
- attr_accessor :checkout_at
1439
- # The customer service phone number of the lodging company.
1440
- attr_accessor :customer_service_phone_number
1441
- # The daily lodging room rate.
1442
- attr_accessor :daily_room_rate_amount
1443
- # Delivery details for this purchase.
1444
- attr_accessor :delivery
1445
- # List of additional charges being billed.
1446
- attr_accessor :extra_charges
1447
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1448
- attr_accessor :fire_safety_act_compliance
1449
- # The name of the lodging location.
1450
- attr_accessor :name
1451
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1452
- attr_accessor :no_show
1453
- # The number of rooms on the booking
1454
- attr_accessor :number_of_rooms
1455
- # The details of the passengers in the travel reservation
1456
- attr_accessor :passengers
1457
- # The phone number of the lodging location.
1458
- attr_accessor :property_phone_number
1459
- # The room class for this purchase.
1460
- attr_accessor :room_class
1461
- # The number of room nights
1462
- attr_accessor :room_nights
1463
- # The total tax amount associating with the room reservation.
1464
- attr_accessor :total_room_tax_amount
1465
- # The total tax amount
1466
- attr_accessor :total_tax_amount
110
+ attr_accessor :unit_of_measure
1467
111
 
1468
112
  def initialize(
1469
- address: nil,
1470
- adults: nil,
1471
- affiliate: nil,
1472
- booking_number: nil,
1473
- category: nil,
1474
- checkin_at: nil,
1475
- checkout_at: nil,
1476
- customer_service_phone_number: nil,
1477
- daily_room_rate_amount: nil,
1478
- delivery: nil,
1479
- extra_charges: nil,
1480
- fire_safety_act_compliance: nil,
1481
- name: nil,
1482
- no_show: nil,
1483
- number_of_rooms: nil,
1484
- passengers: nil,
1485
- property_phone_number: nil,
1486
- room_class: nil,
1487
- room_nights: nil,
1488
- total_room_tax_amount: nil,
1489
- total_tax_amount: nil
113
+ discount_amount: nil,
114
+ payment_method_options: nil,
115
+ product_code: nil,
116
+ product_name: nil,
117
+ quantity: nil,
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
1490
121
  )
1491
- @address = address
1492
- @adults = adults
1493
- @affiliate = affiliate
1494
- @booking_number = booking_number
1495
- @category = category
1496
- @checkin_at = checkin_at
1497
- @checkout_at = checkout_at
1498
- @customer_service_phone_number = customer_service_phone_number
1499
- @daily_room_rate_amount = daily_room_rate_amount
1500
- @delivery = delivery
1501
- @extra_charges = extra_charges
1502
- @fire_safety_act_compliance = fire_safety_act_compliance
1503
- @name = name
1504
- @no_show = no_show
1505
- @number_of_rooms = number_of_rooms
1506
- @passengers = passengers
1507
- @property_phone_number = property_phone_number
1508
- @room_class = room_class
1509
- @room_nights = room_nights
1510
- @total_room_tax_amount = total_room_tax_amount
1511
- @total_tax_amount = total_tax_amount
122
+ @discount_amount = discount_amount
123
+ @payment_method_options = payment_method_options
124
+ @product_code = product_code
125
+ @product_name = product_name
126
+ @quantity = quantity
127
+ @tax = tax
128
+ @unit_cost = unit_cost
129
+ @unit_of_measure = unit_of_measure
1512
130
  end
1513
131
  end
1514
132
 
1515
- class LodgingDatum < ::Stripe::RequestParams
1516
- class Accommodation < ::Stripe::RequestParams
1517
- # Type of accommodation.
1518
- attr_accessor :accommodation_type
1519
- # Bed type.
1520
- attr_accessor :bed_type
1521
- # Daily accommodation rate in cents.
1522
- attr_accessor :daily_rate_amount
1523
- # Number of nights.
1524
- attr_accessor :nights
1525
- # Number of rooms, cabanas, apartments, and so on.
1526
- attr_accessor :number_of_rooms
1527
- # Rate type.
1528
- attr_accessor :rate_type
1529
- # Whether smoking is allowed.
1530
- attr_accessor :smoking_indicator
1531
-
1532
- def initialize(
1533
- accommodation_type: nil,
1534
- bed_type: nil,
1535
- daily_rate_amount: nil,
1536
- nights: nil,
1537
- number_of_rooms: nil,
1538
- rate_type: nil,
1539
- smoking_indicator: nil
1540
- )
1541
- @accommodation_type = accommodation_type
1542
- @bed_type = bed_type
1543
- @daily_rate_amount = daily_rate_amount
1544
- @nights = nights
1545
- @number_of_rooms = number_of_rooms
1546
- @rate_type = rate_type
1547
- @smoking_indicator = smoking_indicator
1548
- end
1549
- end
1550
-
1551
- class Affiliate < ::Stripe::RequestParams
1552
- # Affiliate partner code.
1553
- attr_accessor :code
1554
- # Affiliate partner name.
1555
- attr_accessor :name
133
+ class Shipping < ::Stripe::RequestParams
134
+ # If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
135
+ attr_accessor :amount
136
+ # 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.
137
+ attr_accessor :from_postal_code
138
+ # 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.
139
+ attr_accessor :to_postal_code
1556
140
 
1557
- def initialize(code: nil, name: nil)
1558
- @code = code
1559
- @name = name
1560
- end
141
+ def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
142
+ @amount = amount
143
+ @from_postal_code = from_postal_code
144
+ @to_postal_code = to_postal_code
1561
145
  end
146
+ end
1562
147
 
1563
- class Guest < ::Stripe::RequestParams
1564
- # Guest's full name.
1565
- attr_accessor :name
148
+ class Tax < ::Stripe::RequestParams
149
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
+ attr_accessor :total_tax_amount
1566
153
 
1567
- def initialize(name: nil)
1568
- @name = name
1569
- end
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
1570
156
  end
157
+ end
158
+ # The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
159
+ #
160
+ # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161
+ attr_accessor :discount_amount
162
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
163
+ attr_accessor :line_items
164
+ # Contains information about the shipping portion of the amount.
165
+ attr_accessor :shipping
166
+ # Contains information about the tax portion of the amount.
167
+ attr_accessor :tax
1571
168
 
1572
- class Host < ::Stripe::RequestParams
1573
- class Address < ::Stripe::RequestParams
1574
- # City, district, suburb, town, or village.
1575
- attr_accessor :city
1576
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1577
- attr_accessor :country
1578
- # Address line 1, such as the street, PO Box, or company name.
1579
- attr_accessor :line1
1580
- # Address line 2, such as the apartment, suite, unit, or building.
1581
- attr_accessor :line2
1582
- # ZIP or postal code.
1583
- attr_accessor :postal_code
1584
- # State, county, province, or region.
1585
- attr_accessor :state
169
+ def initialize(discount_amount: nil, line_items: nil, shipping: nil, tax: nil)
170
+ @discount_amount = discount_amount
171
+ @line_items = line_items
172
+ @shipping = shipping
173
+ @tax = tax
174
+ end
175
+ end
1586
176
 
1587
- def initialize(
1588
- city: nil,
1589
- country: nil,
1590
- line1: nil,
1591
- line2: nil,
1592
- postal_code: nil,
1593
- state: nil
1594
- )
1595
- @city = city
1596
- @country = country
1597
- @line1 = line1
1598
- @line2 = line2
1599
- @postal_code = postal_code
1600
- @state = state
1601
- end
1602
- end
1603
- # Address of the host.
1604
- attr_accessor :address
1605
- # Host's country of domicile.
1606
- attr_accessor :country_of_domicile
1607
- # Reference number for the host.
1608
- attr_accessor :host_reference
1609
- # Type of host.
1610
- attr_accessor :host_type
1611
- # Name of the lodging property or host.
1612
- attr_accessor :name
1613
- # Total number of reservations for the host.
1614
- attr_accessor :number_of_reservations
1615
- # Property phone number.
1616
- attr_accessor :property_phone_number
1617
- # Host's registration date.
1618
- attr_accessor :registered_at
177
+ class Hooks < ::Stripe::RequestParams
178
+ class Inputs < ::Stripe::RequestParams
179
+ class Tax < ::Stripe::RequestParams
180
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
181
+ attr_accessor :calculation
1619
182
 
1620
- def initialize(
1621
- address: nil,
1622
- country_of_domicile: nil,
1623
- host_reference: nil,
1624
- host_type: nil,
1625
- name: nil,
1626
- number_of_reservations: nil,
1627
- property_phone_number: nil,
1628
- registered_at: nil
1629
- )
1630
- @address = address
1631
- @country_of_domicile = country_of_domicile
1632
- @host_reference = host_reference
1633
- @host_type = host_type
1634
- @name = name
1635
- @number_of_reservations = number_of_reservations
1636
- @property_phone_number = property_phone_number
1637
- @registered_at = registered_at
183
+ def initialize(calculation: nil)
184
+ @calculation = calculation
1638
185
  end
1639
186
  end
187
+ # Tax arguments for automations
188
+ attr_accessor :tax
1640
189
 
1641
- class Insurance < ::Stripe::RequestParams
1642
- # Price of the insurance coverage in cents.
1643
- attr_accessor :amount
1644
- # Currency of the insurance amount.
1645
- attr_accessor :currency
1646
- # Name of the insurance company.
1647
- attr_accessor :insurance_company_name
1648
- # Type of insurance coverage.
1649
- attr_accessor :insurance_type
1650
-
1651
- def initialize(
1652
- amount: nil,
1653
- currency: nil,
1654
- insurance_company_name: nil,
1655
- insurance_type: nil
1656
- )
1657
- @amount = amount
1658
- @currency = currency
1659
- @insurance_company_name = insurance_company_name
1660
- @insurance_type = insurance_type
1661
- end
190
+ def initialize(tax: nil)
191
+ @tax = tax
1662
192
  end
193
+ end
194
+ # Arguments passed in automations
195
+ attr_accessor :inputs
1663
196
 
1664
- class Total < ::Stripe::RequestParams
1665
- class Discounts < ::Stripe::RequestParams
1666
- # Corporate client discount code.
1667
- attr_accessor :corporate_client_code
1668
- # Coupon code.
1669
- attr_accessor :coupon
1670
-
1671
- def initialize(corporate_client_code: nil, coupon: nil)
1672
- @corporate_client_code = corporate_client_code
1673
- @coupon = coupon
1674
- end
1675
- end
1676
-
1677
- class ExtraCharge < ::Stripe::RequestParams
1678
- # Amount of the extra charge in cents.
1679
- attr_accessor :amount
1680
- # Type of extra charge.
1681
- attr_accessor :type
197
+ def initialize(inputs: nil)
198
+ @inputs = inputs
199
+ end
200
+ end
1682
201
 
1683
- def initialize(amount: nil, type: nil)
1684
- @amount = amount
1685
- @type = type
1686
- end
1687
- end
202
+ class MandateData < ::Stripe::RequestParams
203
+ class CustomerAcceptance < ::Stripe::RequestParams
204
+ class Offline < ::Stripe::RequestParams; end
1688
205
 
1689
- class Tax < ::Stripe::RequestParams
1690
- class Tax < ::Stripe::RequestParams
1691
- # Tax amount in cents.
1692
- attr_accessor :amount
1693
- # Tax rate.
1694
- attr_accessor :rate
1695
- # Type of tax applied.
1696
- attr_accessor :type
1697
-
1698
- def initialize(amount: nil, rate: nil, type: nil)
1699
- @amount = amount
1700
- @rate = rate
1701
- @type = type
1702
- end
1703
- end
1704
- # Indicates whether the transaction is tax exempt.
1705
- attr_accessor :tax_exempt_indicator
1706
- # Tax details.
1707
- attr_accessor :taxes
1708
-
1709
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1710
- @tax_exempt_indicator = tax_exempt_indicator
1711
- @taxes = taxes
1712
- end
1713
- end
1714
- # Total price of the lodging reservation in cents.
1715
- attr_accessor :amount
1716
- # Cash advances in cents.
1717
- attr_accessor :cash_advances
1718
- # Currency of the total amount.
1719
- attr_accessor :currency
1720
- # Discount details for the lodging.
1721
- attr_accessor :discounts
1722
- # Additional charges for the lodging.
1723
- attr_accessor :extra_charges
1724
- # Prepaid amount in cents.
1725
- attr_accessor :prepaid_amount
1726
- # Tax breakdown for the lodging reservation.
1727
- attr_accessor :tax
206
+ class Online < ::Stripe::RequestParams
207
+ # The IP address from which the Mandate was accepted by the customer.
208
+ attr_accessor :ip_address
209
+ # The user agent of the browser from which the Mandate was accepted by the customer.
210
+ attr_accessor :user_agent
1728
211
 
1729
- def initialize(
1730
- amount: nil,
1731
- cash_advances: nil,
1732
- currency: nil,
1733
- discounts: nil,
1734
- extra_charges: nil,
1735
- prepaid_amount: nil,
1736
- tax: nil
1737
- )
1738
- @amount = amount
1739
- @cash_advances = cash_advances
1740
- @currency = currency
1741
- @discounts = discounts
1742
- @extra_charges = extra_charges
1743
- @prepaid_amount = prepaid_amount
1744
- @tax = tax
212
+ def initialize(ip_address: nil, user_agent: nil)
213
+ @ip_address = ip_address
214
+ @user_agent = user_agent
1745
215
  end
1746
216
  end
1747
- # Accommodation details for the lodging.
1748
- attr_accessor :accommodation
1749
- # Affiliate details if applicable.
1750
- attr_accessor :affiliate
1751
- # Booking confirmation number for the lodging.
1752
- attr_accessor :booking_number
1753
- # Check-in date.
1754
- attr_accessor :checkin_at
1755
- # Check-out date.
1756
- attr_accessor :checkout_at
1757
- # Customer service phone number for the lodging company.
1758
- attr_accessor :customer_service_phone_number
1759
- # Whether the lodging is compliant with any hotel fire safety regulations.
1760
- attr_accessor :fire_safety_act_compliance_indicator
1761
- # List of guests for the lodging.
1762
- attr_accessor :guests
1763
- # Host details for the lodging.
1764
- attr_accessor :host
1765
- # List of insurances for the lodging.
1766
- attr_accessor :insurances
1767
- # Whether the renter is a no-show.
1768
- attr_accessor :no_show_indicator
1769
- # Renter ID number for the lodging.
1770
- attr_accessor :renter_id_number
1771
- # Renter name for the lodging.
1772
- attr_accessor :renter_name
1773
- # Total details for the lodging.
1774
- attr_accessor :total
217
+ # The time at which the customer accepted the Mandate.
218
+ attr_accessor :accepted_at
219
+ # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
220
+ attr_accessor :offline
221
+ # If this is a Mandate accepted online, this hash contains details about the online acceptance.
222
+ attr_accessor :online
223
+ # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
224
+ attr_accessor :type
1775
225
 
1776
- def initialize(
1777
- accommodation: nil,
1778
- affiliate: nil,
1779
- booking_number: nil,
1780
- checkin_at: nil,
1781
- checkout_at: nil,
1782
- customer_service_phone_number: nil,
1783
- fire_safety_act_compliance_indicator: nil,
1784
- guests: nil,
1785
- host: nil,
1786
- insurances: nil,
1787
- no_show_indicator: nil,
1788
- renter_id_number: nil,
1789
- renter_name: nil,
1790
- total: nil
1791
- )
1792
- @accommodation = accommodation
1793
- @affiliate = affiliate
1794
- @booking_number = booking_number
1795
- @checkin_at = checkin_at
1796
- @checkout_at = checkout_at
1797
- @customer_service_phone_number = customer_service_phone_number
1798
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1799
- @guests = guests
1800
- @host = host
1801
- @insurances = insurances
1802
- @no_show_indicator = no_show_indicator
1803
- @renter_id_number = renter_id_number
1804
- @renter_name = renter_name
1805
- @total = total
226
+ def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
227
+ @accepted_at = accepted_at
228
+ @offline = offline
229
+ @online = online
230
+ @type = type
1806
231
  end
1807
232
  end
233
+ # This hash contains details about the customer acceptance of the Mandate.
234
+ attr_accessor :customer_acceptance
1808
235
 
1809
- class Subscription < ::Stripe::RequestParams
1810
- class Affiliate < ::Stripe::RequestParams
1811
- # The name of the affiliate that originated the purchase.
1812
- attr_accessor :name
1813
-
1814
- def initialize(name: nil)
1815
- @name = name
1816
- end
1817
- end
1818
-
1819
- class BillingInterval < ::Stripe::RequestParams
1820
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1821
- attr_accessor :count
1822
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1823
- attr_accessor :interval
1824
-
1825
- def initialize(count: nil, interval: nil)
1826
- @count = count
1827
- @interval = interval
1828
- end
1829
- end
1830
- # Affiliate details for this purchase.
1831
- attr_accessor :affiliate
1832
- # Info whether the subscription will be auto renewed upon expiry.
1833
- attr_accessor :auto_renewal
1834
- # Subscription billing details for this purchase.
1835
- attr_accessor :billing_interval
1836
- # Subscription end time. Measured in seconds since the Unix epoch.
1837
- attr_accessor :ends_at
1838
- # Name of the product on subscription. e.g. Apple Music Subscription
1839
- attr_accessor :name
1840
- # Subscription start time. Measured in seconds since the Unix epoch.
1841
- attr_accessor :starts_at
1842
-
1843
- def initialize(
1844
- affiliate: nil,
1845
- auto_renewal: nil,
1846
- billing_interval: nil,
1847
- ends_at: nil,
1848
- name: nil,
1849
- starts_at: nil
1850
- )
1851
- @affiliate = affiliate
1852
- @auto_renewal = auto_renewal
1853
- @billing_interval = billing_interval
1854
- @ends_at = ends_at
1855
- @name = name
1856
- @starts_at = starts_at
1857
- end
236
+ def initialize(customer_acceptance: nil)
237
+ @customer_acceptance = customer_acceptance
1858
238
  end
1859
- # Benefit details for this PaymentIntent
1860
- attr_accessor :benefit
1861
- # Car rental details for this PaymentIntent.
1862
- attr_accessor :car_rental
1863
- # Car rental data for this PaymentIntent.
1864
- attr_accessor :car_rental_data
239
+ end
240
+
241
+ class PaymentDetails < ::Stripe::RequestParams
1865
242
  # A unique value to identify the customer. This field is available only for card payments.
1866
243
  #
1867
244
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1868
245
  attr_accessor :customer_reference
1869
- # Event details for this PaymentIntent
1870
- attr_accessor :event_details
1871
- # Flight reservation details for this PaymentIntent
1872
- attr_accessor :flight
1873
- # Flight data for this PaymentIntent.
1874
- attr_accessor :flight_data
1875
- # Lodging reservation details for this PaymentIntent
1876
- attr_accessor :lodging
1877
- # Lodging data for this PaymentIntent.
1878
- attr_accessor :lodging_data
1879
246
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1880
247
  #
1881
248
  # 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`.
1882
249
  #
1883
250
  # 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.
1884
251
  attr_accessor :order_reference
1885
- # Subscription details for this PaymentIntent
1886
- attr_accessor :subscription
1887
252
 
1888
- def initialize(
1889
- benefit: nil,
1890
- car_rental: nil,
1891
- car_rental_data: nil,
1892
- customer_reference: nil,
1893
- event_details: nil,
1894
- flight: nil,
1895
- flight_data: nil,
1896
- lodging: nil,
1897
- lodging_data: nil,
1898
- order_reference: nil,
1899
- subscription: nil
1900
- )
1901
- @benefit = benefit
1902
- @car_rental = car_rental
1903
- @car_rental_data = car_rental_data
253
+ def initialize(customer_reference: nil, order_reference: nil)
1904
254
  @customer_reference = customer_reference
1905
- @event_details = event_details
1906
- @flight = flight
1907
- @flight_data = flight_data
1908
- @lodging = lodging
1909
- @lodging_data = lodging_data
1910
255
  @order_reference = order_reference
1911
- @subscription = subscription
1912
256
  end
1913
257
  end
1914
258
 
@@ -1973,7 +317,7 @@ module Stripe
1973
317
  attr_accessor :line2
1974
318
  # ZIP or postal code.
1975
319
  attr_accessor :postal_code
1976
- # State, county, province, or region.
320
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1977
321
  attr_accessor :state
1978
322
 
1979
323
  def initialize(
@@ -2049,18 +393,8 @@ module Stripe
2049
393
  end
2050
394
 
2051
395
  class Giropay < ::Stripe::RequestParams; end
2052
- class Gopay < ::Stripe::RequestParams; end
2053
396
  class Grabpay < ::Stripe::RequestParams; end
2054
397
 
2055
- class IdBankTransfer < ::Stripe::RequestParams
2056
- # Bank where the account is held.
2057
- attr_accessor :bank
2058
-
2059
- def initialize(bank: nil)
2060
- @bank = bank
2061
- end
2062
- end
2063
-
2064
398
  class Ideal < ::Stripe::RequestParams
2065
399
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2066
400
  attr_accessor :bank
@@ -2158,7 +492,6 @@ module Stripe
2158
492
  class Payco < ::Stripe::RequestParams; end
2159
493
  class Paynow < ::Stripe::RequestParams; end
2160
494
  class Paypal < ::Stripe::RequestParams; end
2161
- class Paypay < ::Stripe::RequestParams; end
2162
495
 
2163
496
  class Payto < ::Stripe::RequestParams
2164
497
  # The account number for the bank account.
@@ -2177,10 +510,9 @@ module Stripe
2177
510
 
2178
511
  class Pix < ::Stripe::RequestParams; end
2179
512
  class Promptpay < ::Stripe::RequestParams; end
2180
- class Qris < ::Stripe::RequestParams; end
2181
513
 
2182
514
  class RadarOptions < ::Stripe::RequestParams
2183
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
515
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2184
516
  attr_accessor :session
2185
517
 
2186
518
  def initialize(session: nil)
@@ -2188,29 +520,6 @@ module Stripe
2188
520
  end
2189
521
  end
2190
522
 
2191
- class Rechnung < ::Stripe::RequestParams
2192
- class Dob < ::Stripe::RequestParams
2193
- # The day of birth, between 1 and 31.
2194
- attr_accessor :day
2195
- # The month of birth, between 1 and 12.
2196
- attr_accessor :month
2197
- # The four-digit year of birth.
2198
- attr_accessor :year
2199
-
2200
- def initialize(day: nil, month: nil, year: nil)
2201
- @day = day
2202
- @month = month
2203
- @year = year
2204
- end
2205
- end
2206
- # Customer's date of birth
2207
- attr_accessor :dob
2208
-
2209
- def initialize(dob: nil)
2210
- @dob = dob
2211
- end
2212
- end
2213
-
2214
523
  class RevolutPay < ::Stripe::RequestParams; end
2215
524
  class SamsungPay < ::Stripe::RequestParams; end
2216
525
  class Satispay < ::Stripe::RequestParams; end
@@ -2224,8 +533,6 @@ module Stripe
2224
533
  end
2225
534
  end
2226
535
 
2227
- class Shopeepay < ::Stripe::RequestParams; end
2228
-
2229
536
  class Sofort < ::Stripe::RequestParams
2230
537
  # Two-letter ISO code representing the country the bank account is located in.
2231
538
  attr_accessor :country
@@ -2235,18 +542,6 @@ module Stripe
2235
542
  end
2236
543
  end
2237
544
 
2238
- class StripeBalance < ::Stripe::RequestParams
2239
- # The connected account ID whose Stripe balance to use as the source of payment
2240
- attr_accessor :account
2241
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2242
- attr_accessor :source_type
2243
-
2244
- def initialize(account: nil, source_type: nil)
2245
- @account = account
2246
- @source_type = source_type
2247
- end
2248
- end
2249
-
2250
545
  class Swish < ::Stripe::RequestParams; end
2251
546
  class Twint < ::Stripe::RequestParams; end
2252
547
 
@@ -2319,12 +614,8 @@ module Stripe
2319
614
  attr_accessor :fpx
2320
615
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2321
616
  attr_accessor :giropay
2322
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2323
- attr_accessor :gopay
2324
617
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2325
618
  attr_accessor :grabpay
2326
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2327
- attr_accessor :id_bank_transfer
2328
619
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2329
620
  attr_accessor :ideal
2330
621
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2341,7 +632,7 @@ module Stripe
2341
632
  attr_accessor :link
2342
633
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2343
634
  attr_accessor :mb_way
2344
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
635
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2345
636
  attr_accessor :metadata
2346
637
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2347
638
  attr_accessor :mobilepay
@@ -2363,20 +654,14 @@ module Stripe
2363
654
  attr_accessor :paynow
2364
655
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2365
656
  attr_accessor :paypal
2366
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2367
- attr_accessor :paypay
2368
657
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2369
658
  attr_accessor :payto
2370
659
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2371
660
  attr_accessor :pix
2372
661
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2373
662
  attr_accessor :promptpay
2374
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2375
- attr_accessor :qris
2376
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
663
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2377
664
  attr_accessor :radar_options
2378
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2379
- attr_accessor :rechnung
2380
665
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2381
666
  attr_accessor :revolut_pay
2382
667
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2385,12 +670,8 @@ module Stripe
2385
670
  attr_accessor :satispay
2386
671
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2387
672
  attr_accessor :sepa_debit
2388
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2389
- attr_accessor :shopeepay
2390
673
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2391
674
  attr_accessor :sofort
2392
- # This hash contains details about the Stripe balance payment method.
2393
- attr_accessor :stripe_balance
2394
675
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2395
676
  attr_accessor :swish
2396
677
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2425,9 +706,7 @@ module Stripe
2425
706
  eps: nil,
2426
707
  fpx: nil,
2427
708
  giropay: nil,
2428
- gopay: nil,
2429
709
  grabpay: nil,
2430
- id_bank_transfer: nil,
2431
710
  ideal: nil,
2432
711
  interac_present: nil,
2433
712
  kakao_pay: nil,
@@ -2447,20 +726,15 @@ module Stripe
2447
726
  payco: nil,
2448
727
  paynow: nil,
2449
728
  paypal: nil,
2450
- paypay: nil,
2451
729
  payto: nil,
2452
730
  pix: nil,
2453
731
  promptpay: nil,
2454
- qris: nil,
2455
732
  radar_options: nil,
2456
- rechnung: nil,
2457
733
  revolut_pay: nil,
2458
734
  samsung_pay: nil,
2459
735
  satispay: nil,
2460
736
  sepa_debit: nil,
2461
- shopeepay: nil,
2462
737
  sofort: nil,
2463
- stripe_balance: nil,
2464
738
  swish: nil,
2465
739
  twint: nil,
2466
740
  type: nil,
@@ -2488,9 +762,7 @@ module Stripe
2488
762
  @eps = eps
2489
763
  @fpx = fpx
2490
764
  @giropay = giropay
2491
- @gopay = gopay
2492
765
  @grabpay = grabpay
2493
- @id_bank_transfer = id_bank_transfer
2494
766
  @ideal = ideal
2495
767
  @interac_present = interac_present
2496
768
  @kakao_pay = kakao_pay
@@ -2510,20 +782,15 @@ module Stripe
2510
782
  @payco = payco
2511
783
  @paynow = paynow
2512
784
  @paypal = paypal
2513
- @paypay = paypay
2514
785
  @payto = payto
2515
786
  @pix = pix
2516
787
  @promptpay = promptpay
2517
- @qris = qris
2518
788
  @radar_options = radar_options
2519
- @rechnung = rechnung
2520
789
  @revolut_pay = revolut_pay
2521
790
  @samsung_pay = samsung_pay
2522
791
  @satispay = satispay
2523
792
  @sepa_debit = sepa_debit
2524
- @shopeepay = shopeepay
2525
793
  @sofort = sofort
2526
- @stripe_balance = stripe_balance
2527
794
  @swish = swish
2528
795
  @twint = twint
2529
796
  @type = type
@@ -2894,48 +1161,6 @@ module Stripe
2894
1161
  end
2895
1162
  end
2896
1163
 
2897
- class StatementDetails < ::Stripe::RequestParams
2898
- class Address < ::Stripe::RequestParams
2899
- # City, district, suburb, town, or village.
2900
- attr_accessor :city
2901
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2902
- attr_accessor :country
2903
- # Address line 1, such as the street, PO Box, or company name.
2904
- attr_accessor :line1
2905
- # Address line 2, such as the apartment, suite, unit, or building.
2906
- attr_accessor :line2
2907
- # ZIP or postal code.
2908
- attr_accessor :postal_code
2909
- # State, county, province, or region.
2910
- attr_accessor :state
2911
-
2912
- def initialize(
2913
- city: nil,
2914
- country: nil,
2915
- line1: nil,
2916
- line2: nil,
2917
- postal_code: nil,
2918
- state: nil
2919
- )
2920
- @city = city
2921
- @country = country
2922
- @line1 = line1
2923
- @line2 = line2
2924
- @postal_code = postal_code
2925
- @state = state
2926
- end
2927
- end
2928
- # Please pass in an address that is within your Stripe user account country
2929
- attr_accessor :address
2930
- # Phone number (e.g., a toll-free number that customers can call)
2931
- attr_accessor :phone
2932
-
2933
- def initialize(address: nil, phone: nil)
2934
- @address = address
2935
- @phone = phone
2936
- end
2937
- end
2938
-
2939
1164
  class ThreeDSecure < ::Stripe::RequestParams
2940
1165
  class NetworkOptions < ::Stripe::RequestParams
2941
1166
  class CartesBancaires < ::Stripe::RequestParams
@@ -3020,7 +1245,7 @@ module Stripe
3020
1245
  attr_accessor :cvc_token
3021
1246
  # Installment configuration for payments attempted on this PaymentIntent.
3022
1247
  #
3023
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
1248
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
3024
1249
  attr_accessor :installments
3025
1250
  # Configuration options for setting up an eMandate for cards issued in India.
3026
1251
  attr_accessor :mandate_options
@@ -3030,19 +1255,15 @@ module Stripe
3030
1255
  attr_accessor :moto
3031
1256
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
3032
1257
  attr_accessor :network
3033
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
3034
- attr_accessor :request_decremental_authorization
3035
- # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1258
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3036
1259
  attr_accessor :request_extended_authorization
3037
- # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
1260
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
3038
1261
  attr_accessor :request_incremental_authorization
3039
- # Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.
1262
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
3040
1263
  attr_accessor :request_multicapture
3041
- # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1264
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3042
1265
  attr_accessor :request_overcapture
3043
- # Request partial authorization on this PaymentIntent.
3044
- attr_accessor :request_partial_authorization
3045
- # 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.
1266
+ # 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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3046
1267
  attr_accessor :request_three_d_secure
3047
1268
  # 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).
3048
1269
  attr_accessor :require_cvc_recollection
@@ -3060,8 +1281,6 @@ module Stripe
3060
1281
  attr_accessor :statement_descriptor_suffix_kana
3061
1282
  # 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.
3062
1283
  attr_accessor :statement_descriptor_suffix_kanji
3063
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3064
- attr_accessor :statement_details
3065
1284
  # If 3D Secure authentication was performed with a third-party provider,
3066
1285
  # the authentication details to use for this payment.
3067
1286
  attr_accessor :three_d_secure
@@ -3073,18 +1292,15 @@ module Stripe
3073
1292
  mandate_options: nil,
3074
1293
  moto: nil,
3075
1294
  network: nil,
3076
- request_decremental_authorization: nil,
3077
1295
  request_extended_authorization: nil,
3078
1296
  request_incremental_authorization: nil,
3079
1297
  request_multicapture: nil,
3080
1298
  request_overcapture: nil,
3081
- request_partial_authorization: nil,
3082
1299
  request_three_d_secure: nil,
3083
1300
  require_cvc_recollection: nil,
3084
1301
  setup_future_usage: nil,
3085
1302
  statement_descriptor_suffix_kana: nil,
3086
1303
  statement_descriptor_suffix_kanji: nil,
3087
- statement_details: nil,
3088
1304
  three_d_secure: nil
3089
1305
  )
3090
1306
  @capture_method = capture_method
@@ -3093,18 +1309,15 @@ module Stripe
3093
1309
  @mandate_options = mandate_options
3094
1310
  @moto = moto
3095
1311
  @network = network
3096
- @request_decremental_authorization = request_decremental_authorization
3097
1312
  @request_extended_authorization = request_extended_authorization
3098
1313
  @request_incremental_authorization = request_incremental_authorization
3099
1314
  @request_multicapture = request_multicapture
3100
1315
  @request_overcapture = request_overcapture
3101
- @request_partial_authorization = request_partial_authorization
3102
1316
  @request_three_d_secure = request_three_d_secure
3103
1317
  @require_cvc_recollection = require_cvc_recollection
3104
1318
  @setup_future_usage = setup_future_usage
3105
1319
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3106
1320
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3107
- @statement_details = statement_details
3108
1321
  @three_d_secure = three_d_secure
3109
1322
  end
3110
1323
  end
@@ -3124,9 +1337,9 @@ module Stripe
3124
1337
  #
3125
1338
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
3126
1339
  attr_accessor :capture_method
3127
- # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1340
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
3128
1341
  attr_accessor :request_extended_authorization
3129
- # Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
1342
+ # Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
3130
1343
  attr_accessor :request_incremental_authorization_support
3131
1344
  # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3132
1345
  attr_accessor :routing
@@ -3202,54 +1415,18 @@ module Stripe
3202
1415
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
3203
1416
  attr_accessor :requested_address_types
3204
1417
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
3205
- attr_accessor :type
3206
-
3207
- def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
3208
- @eu_bank_transfer = eu_bank_transfer
3209
- @requested_address_types = requested_address_types
3210
- @type = type
3211
- end
3212
- end
3213
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3214
- attr_accessor :bank_transfer
3215
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3216
- attr_accessor :funding_type
3217
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3218
- #
3219
- # 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.
3220
- #
3221
- # 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.
3222
- #
3223
- # 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).
3224
- #
3225
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3226
- attr_accessor :setup_future_usage
3227
-
3228
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3229
- @bank_transfer = bank_transfer
3230
- @funding_type = funding_type
3231
- @setup_future_usage = setup_future_usage
3232
- end
3233
- end
3234
-
3235
- class Eps < ::Stripe::RequestParams
3236
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3237
- #
3238
- # 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.
3239
- #
3240
- # 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.
3241
- #
3242
- # 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).
3243
- #
3244
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3245
- attr_accessor :setup_future_usage
1418
+ attr_accessor :type
3246
1419
 
3247
- def initialize(setup_future_usage: nil)
3248
- @setup_future_usage = setup_future_usage
1420
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1421
+ @eu_bank_transfer = eu_bank_transfer
1422
+ @requested_address_types = requested_address_types
1423
+ @type = type
1424
+ end
3249
1425
  end
3250
- end
3251
-
3252
- class Fpx < ::Stripe::RequestParams
1426
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1427
+ attr_accessor :bank_transfer
1428
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1429
+ attr_accessor :funding_type
3253
1430
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3254
1431
  #
3255
1432
  # 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.
@@ -3261,12 +1438,14 @@ module Stripe
3261
1438
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3262
1439
  attr_accessor :setup_future_usage
3263
1440
 
3264
- def initialize(setup_future_usage: nil)
1441
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1442
+ @bank_transfer = bank_transfer
1443
+ @funding_type = funding_type
3265
1444
  @setup_future_usage = setup_future_usage
3266
1445
  end
3267
1446
  end
3268
1447
 
3269
- class Giropay < ::Stripe::RequestParams
1448
+ class Eps < ::Stripe::RequestParams
3270
1449
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3271
1450
  #
3272
1451
  # 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.
@@ -3283,7 +1462,7 @@ module Stripe
3283
1462
  end
3284
1463
  end
3285
1464
 
3286
- class Gopay < ::Stripe::RequestParams
1465
+ class Fpx < ::Stripe::RequestParams
3287
1466
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3288
1467
  #
3289
1468
  # 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.
@@ -3300,7 +1479,7 @@ module Stripe
3300
1479
  end
3301
1480
  end
3302
1481
 
3303
- class Grabpay < ::Stripe::RequestParams
1482
+ class Giropay < ::Stripe::RequestParams
3304
1483
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3305
1484
  #
3306
1485
  # 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.
@@ -3317,11 +1496,7 @@ module Stripe
3317
1496
  end
3318
1497
  end
3319
1498
 
3320
- class IdBankTransfer < ::Stripe::RequestParams
3321
- # The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
3322
- attr_accessor :expires_after
3323
- # 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.
3324
- attr_accessor :expires_at
1499
+ class Grabpay < ::Stripe::RequestParams
3325
1500
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3326
1501
  #
3327
1502
  # 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.
@@ -3333,9 +1508,7 @@ module Stripe
3333
1508
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3334
1509
  attr_accessor :setup_future_usage
3335
1510
 
3336
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3337
- @expires_after = expires_after
3338
- @expires_at = expires_at
1511
+ def initialize(setup_future_usage: nil)
3339
1512
  @setup_future_usage = setup_future_usage
3340
1513
  end
3341
1514
  end
@@ -3446,939 +1619,6 @@ module Stripe
3446
1619
  @reference = reference
3447
1620
  end
3448
1621
  end
3449
-
3450
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3451
- class BusReservationDetail < ::Stripe::RequestParams
3452
- class Arrival < ::Stripe::RequestParams
3453
- class Address < ::Stripe::RequestParams
3454
- # The city or town.
3455
- attr_accessor :city
3456
- # The country in ISO 3166-1 alpha-2 format.
3457
- attr_accessor :country
3458
- # The postal code formatted according to country.
3459
- attr_accessor :postal_code
3460
- # The state, county, province, or region formatted according to country.
3461
- attr_accessor :region
3462
- # Line 1 of the street address.
3463
- attr_accessor :street_address
3464
- # Line 2 of the street address.
3465
- attr_accessor :street_address2
3466
-
3467
- def initialize(
3468
- city: nil,
3469
- country: nil,
3470
- postal_code: nil,
3471
- region: nil,
3472
- street_address: nil,
3473
- street_address2: nil
3474
- )
3475
- @city = city
3476
- @country = country
3477
- @postal_code = postal_code
3478
- @region = region
3479
- @street_address = street_address
3480
- @street_address2 = street_address2
3481
- end
3482
- end
3483
- # Address of the arrival location.
3484
- attr_accessor :address
3485
- # Identifier name or reference for the arrival location.
3486
- attr_accessor :arrival_location
3487
-
3488
- def initialize(address: nil, arrival_location: nil)
3489
- @address = address
3490
- @arrival_location = arrival_location
3491
- end
3492
- end
3493
-
3494
- class Departure < ::Stripe::RequestParams
3495
- class Address < ::Stripe::RequestParams
3496
- # The city or town.
3497
- attr_accessor :city
3498
- # The country in ISO 3166-1 alpha-2 format.
3499
- attr_accessor :country
3500
- # The postal code formatted according to country.
3501
- attr_accessor :postal_code
3502
- # The state, county, province, or region formatted according to country.
3503
- attr_accessor :region
3504
- # Line 1 of the street address.
3505
- attr_accessor :street_address
3506
- # Line 2 of the street address.
3507
- attr_accessor :street_address2
3508
-
3509
- def initialize(
3510
- city: nil,
3511
- country: nil,
3512
- postal_code: nil,
3513
- region: nil,
3514
- street_address: nil,
3515
- street_address2: nil
3516
- )
3517
- @city = city
3518
- @country = country
3519
- @postal_code = postal_code
3520
- @region = region
3521
- @street_address = street_address
3522
- @street_address2 = street_address2
3523
- end
3524
- end
3525
- # Address of the departure location.
3526
- attr_accessor :address
3527
- # Timestamp of departure.
3528
- attr_accessor :departs_at
3529
- # Identifier name or reference for the origin location.
3530
- attr_accessor :departure_location
3531
-
3532
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3533
- @address = address
3534
- @departs_at = departs_at
3535
- @departure_location = departure_location
3536
- end
3537
- end
3538
-
3539
- class Insurance < ::Stripe::RequestParams
3540
- # Insurance currency.
3541
- attr_accessor :currency
3542
- # Name of the company providing the insurance.
3543
- attr_accessor :insurance_company_name
3544
- # Type of insurance.
3545
- attr_accessor :insurance_type
3546
- # Price of insurance in cents.
3547
- attr_accessor :price
3548
-
3549
- def initialize(
3550
- currency: nil,
3551
- insurance_company_name: nil,
3552
- insurance_type: nil,
3553
- price: nil
3554
- )
3555
- @currency = currency
3556
- @insurance_company_name = insurance_company_name
3557
- @insurance_type = insurance_type
3558
- @price = price
3559
- end
3560
- end
3561
-
3562
- class Passenger < ::Stripe::RequestParams
3563
- # The family name of the person.
3564
- attr_accessor :family_name
3565
- # The given name of the person.
3566
- attr_accessor :given_name
3567
-
3568
- def initialize(family_name: nil, given_name: nil)
3569
- @family_name = family_name
3570
- @given_name = given_name
3571
- end
3572
- end
3573
- # Name of associated or partner company for the service.
3574
- attr_accessor :affiliate_name
3575
- # Arrival details.
3576
- attr_accessor :arrival
3577
- # Name of transportation company.
3578
- attr_accessor :carrier_name
3579
- # Currency.
3580
- attr_accessor :currency
3581
- # Departure details.
3582
- attr_accessor :departure
3583
- # List of insurances for this reservation.
3584
- attr_accessor :insurances
3585
- # List of passengers that this reservation applies to.
3586
- attr_accessor :passengers
3587
- # Price in cents.
3588
- attr_accessor :price
3589
- # Ticket class.
3590
- attr_accessor :ticket_class
3591
-
3592
- def initialize(
3593
- affiliate_name: nil,
3594
- arrival: nil,
3595
- carrier_name: nil,
3596
- currency: nil,
3597
- departure: nil,
3598
- insurances: nil,
3599
- passengers: nil,
3600
- price: nil,
3601
- ticket_class: nil
3602
- )
3603
- @affiliate_name = affiliate_name
3604
- @arrival = arrival
3605
- @carrier_name = carrier_name
3606
- @currency = currency
3607
- @departure = departure
3608
- @insurances = insurances
3609
- @passengers = passengers
3610
- @price = price
3611
- @ticket_class = ticket_class
3612
- end
3613
- end
3614
-
3615
- class EventReservationDetail < ::Stripe::RequestParams
3616
- class Address < ::Stripe::RequestParams
3617
- # The city or town.
3618
- attr_accessor :city
3619
- # The country in ISO 3166-1 alpha-2 format.
3620
- attr_accessor :country
3621
- # The postal code formatted according to country.
3622
- attr_accessor :postal_code
3623
- # The state, county, province, or region formatted according to country.
3624
- attr_accessor :region
3625
- # Line 1 of the street address.
3626
- attr_accessor :street_address
3627
- # Line 2 of the street address.
3628
- attr_accessor :street_address2
3629
-
3630
- def initialize(
3631
- city: nil,
3632
- country: nil,
3633
- postal_code: nil,
3634
- region: nil,
3635
- street_address: nil,
3636
- street_address2: nil
3637
- )
3638
- @city = city
3639
- @country = country
3640
- @postal_code = postal_code
3641
- @region = region
3642
- @street_address = street_address
3643
- @street_address2 = street_address2
3644
- end
3645
- end
3646
-
3647
- class Insurance < ::Stripe::RequestParams
3648
- # Insurance currency.
3649
- attr_accessor :currency
3650
- # Name of the company providing the insurance.
3651
- attr_accessor :insurance_company_name
3652
- # Type of insurance.
3653
- attr_accessor :insurance_type
3654
- # Price of insurance in cents.
3655
- attr_accessor :price
3656
-
3657
- def initialize(
3658
- currency: nil,
3659
- insurance_company_name: nil,
3660
- insurance_type: nil,
3661
- price: nil
3662
- )
3663
- @currency = currency
3664
- @insurance_company_name = insurance_company_name
3665
- @insurance_type = insurance_type
3666
- @price = price
3667
- end
3668
- end
3669
- # Indicates if the tickets are digitally checked when entering the venue.
3670
- attr_accessor :access_controlled_venue
3671
- # Address of the event.
3672
- attr_accessor :address
3673
- # Name of associated or partner company for the service.
3674
- attr_accessor :affiliate_name
3675
- # End timestamp of the event.
3676
- attr_accessor :ends_at
3677
- # Company selling the ticket.
3678
- attr_accessor :event_company_name
3679
- # Name of the event.
3680
- attr_accessor :event_name
3681
- # Type of the event.
3682
- attr_accessor :event_type
3683
- # List of insurances for this event.
3684
- attr_accessor :insurances
3685
- # Start timestamp of the event.
3686
- attr_accessor :starts_at
3687
- # Name of the venue where the event takes place.
3688
- attr_accessor :venue_name
3689
-
3690
- def initialize(
3691
- access_controlled_venue: nil,
3692
- address: nil,
3693
- affiliate_name: nil,
3694
- ends_at: nil,
3695
- event_company_name: nil,
3696
- event_name: nil,
3697
- event_type: nil,
3698
- insurances: nil,
3699
- starts_at: nil,
3700
- venue_name: nil
3701
- )
3702
- @access_controlled_venue = access_controlled_venue
3703
- @address = address
3704
- @affiliate_name = affiliate_name
3705
- @ends_at = ends_at
3706
- @event_company_name = event_company_name
3707
- @event_name = event_name
3708
- @event_type = event_type
3709
- @insurances = insurances
3710
- @starts_at = starts_at
3711
- @venue_name = venue_name
3712
- end
3713
- end
3714
-
3715
- class FerryReservationDetail < ::Stripe::RequestParams
3716
- class Arrival < ::Stripe::RequestParams
3717
- class Address < ::Stripe::RequestParams
3718
- # The city or town.
3719
- attr_accessor :city
3720
- # The country in ISO 3166-1 alpha-2 format.
3721
- attr_accessor :country
3722
- # The postal code formatted according to country.
3723
- attr_accessor :postal_code
3724
- # The state, county, province, or region formatted according to country.
3725
- attr_accessor :region
3726
- # Line 1 of the street address.
3727
- attr_accessor :street_address
3728
- # Line 2 of the street address.
3729
- attr_accessor :street_address2
3730
-
3731
- def initialize(
3732
- city: nil,
3733
- country: nil,
3734
- postal_code: nil,
3735
- region: nil,
3736
- street_address: nil,
3737
- street_address2: nil
3738
- )
3739
- @city = city
3740
- @country = country
3741
- @postal_code = postal_code
3742
- @region = region
3743
- @street_address = street_address
3744
- @street_address2 = street_address2
3745
- end
3746
- end
3747
- # Address of the arrival location.
3748
- attr_accessor :address
3749
- # Identifier name or reference for the arrival location.
3750
- attr_accessor :arrival_location
3751
-
3752
- def initialize(address: nil, arrival_location: nil)
3753
- @address = address
3754
- @arrival_location = arrival_location
3755
- end
3756
- end
3757
-
3758
- class Departure < ::Stripe::RequestParams
3759
- class Address < ::Stripe::RequestParams
3760
- # The city or town.
3761
- attr_accessor :city
3762
- # The country in ISO 3166-1 alpha-2 format.
3763
- attr_accessor :country
3764
- # The postal code formatted according to country.
3765
- attr_accessor :postal_code
3766
- # The state, county, province, or region formatted according to country.
3767
- attr_accessor :region
3768
- # Line 1 of the street address.
3769
- attr_accessor :street_address
3770
- # Line 2 of the street address.
3771
- attr_accessor :street_address2
3772
-
3773
- def initialize(
3774
- city: nil,
3775
- country: nil,
3776
- postal_code: nil,
3777
- region: nil,
3778
- street_address: nil,
3779
- street_address2: nil
3780
- )
3781
- @city = city
3782
- @country = country
3783
- @postal_code = postal_code
3784
- @region = region
3785
- @street_address = street_address
3786
- @street_address2 = street_address2
3787
- end
3788
- end
3789
- # Address of the departure location.
3790
- attr_accessor :address
3791
- # Timestamp of departure.
3792
- attr_accessor :departs_at
3793
- # Identifier name or reference for the origin location.
3794
- attr_accessor :departure_location
3795
-
3796
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3797
- @address = address
3798
- @departs_at = departs_at
3799
- @departure_location = departure_location
3800
- end
3801
- end
3802
-
3803
- class Insurance < ::Stripe::RequestParams
3804
- # Insurance currency.
3805
- attr_accessor :currency
3806
- # Name of the company providing the insurance.
3807
- attr_accessor :insurance_company_name
3808
- # Type of insurance.
3809
- attr_accessor :insurance_type
3810
- # Price of insurance in cents.
3811
- attr_accessor :price
3812
-
3813
- def initialize(
3814
- currency: nil,
3815
- insurance_company_name: nil,
3816
- insurance_type: nil,
3817
- price: nil
3818
- )
3819
- @currency = currency
3820
- @insurance_company_name = insurance_company_name
3821
- @insurance_type = insurance_type
3822
- @price = price
3823
- end
3824
- end
3825
-
3826
- class Passenger < ::Stripe::RequestParams
3827
- # The family name of the person.
3828
- attr_accessor :family_name
3829
- # The given name of the person.
3830
- attr_accessor :given_name
3831
-
3832
- def initialize(family_name: nil, given_name: nil)
3833
- @family_name = family_name
3834
- @given_name = given_name
3835
- end
3836
- end
3837
- # Name of associated or partner company for the service.
3838
- attr_accessor :affiliate_name
3839
- # Arrival details.
3840
- attr_accessor :arrival
3841
- # Name of transportation company.
3842
- attr_accessor :carrier_name
3843
- # Currency.
3844
- attr_accessor :currency
3845
- # Departure details.
3846
- attr_accessor :departure
3847
- # List of insurances for this reservation.
3848
- attr_accessor :insurances
3849
- # List of passengers that this reservation applies to.
3850
- attr_accessor :passengers
3851
- # Price in cents.
3852
- attr_accessor :price
3853
- # Ticket class.
3854
- attr_accessor :ticket_class
3855
-
3856
- def initialize(
3857
- affiliate_name: nil,
3858
- arrival: nil,
3859
- carrier_name: nil,
3860
- currency: nil,
3861
- departure: nil,
3862
- insurances: nil,
3863
- passengers: nil,
3864
- price: nil,
3865
- ticket_class: nil
3866
- )
3867
- @affiliate_name = affiliate_name
3868
- @arrival = arrival
3869
- @carrier_name = carrier_name
3870
- @currency = currency
3871
- @departure = departure
3872
- @insurances = insurances
3873
- @passengers = passengers
3874
- @price = price
3875
- @ticket_class = ticket_class
3876
- end
3877
- end
3878
-
3879
- class Insurance < ::Stripe::RequestParams
3880
- # Insurance currency.
3881
- attr_accessor :currency
3882
- # Name of the company providing the insurance.
3883
- attr_accessor :insurance_company_name
3884
- # Type of insurance
3885
- attr_accessor :insurance_type
3886
- # Price of insurance in cents.
3887
- attr_accessor :price
3888
-
3889
- def initialize(
3890
- currency: nil,
3891
- insurance_company_name: nil,
3892
- insurance_type: nil,
3893
- price: nil
3894
- )
3895
- @currency = currency
3896
- @insurance_company_name = insurance_company_name
3897
- @insurance_type = insurance_type
3898
- @price = price
3899
- end
3900
- end
3901
-
3902
- class MarketplaceSeller < ::Stripe::RequestParams
3903
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3904
- # The city or town.
3905
- attr_accessor :city
3906
- # The country in ISO 3166-1 alpha-2 format.
3907
- attr_accessor :country
3908
- # The postal code formatted according to country.
3909
- attr_accessor :postal_code
3910
- # The state, county, province, or region formatted according to country.
3911
- attr_accessor :region
3912
- # Line 1 of the street address.
3913
- attr_accessor :street_address
3914
- # Line 2 of the street address.
3915
- attr_accessor :street_address2
3916
-
3917
- def initialize(
3918
- city: nil,
3919
- country: nil,
3920
- postal_code: nil,
3921
- region: nil,
3922
- street_address: nil,
3923
- street_address2: nil
3924
- )
3925
- @city = city
3926
- @country = country
3927
- @postal_code = postal_code
3928
- @region = region
3929
- @street_address = street_address
3930
- @street_address2 = street_address2
3931
- end
3932
- end
3933
- # The references to line items for purchases with multiple associated sub-sellers.
3934
- attr_accessor :line_item_references
3935
- # The address of the selling or delivering merchant.
3936
- attr_accessor :marketplace_seller_address
3937
- # The name of the marketplace seller.
3938
- attr_accessor :marketplace_seller_name
3939
- # The unique identifier for the marketplace seller.
3940
- attr_accessor :marketplace_seller_reference
3941
- # The number of transactions the sub-seller completed in the last 12 months.
3942
- attr_accessor :number_of_transactions
3943
- # The category of the product.
3944
- attr_accessor :product_category
3945
- # The date when the seller's account with the marketplace was last logged in.
3946
- attr_accessor :seller_last_login_at
3947
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3948
- attr_accessor :seller_rating
3949
- # The date when the seller's account with the marketplace was created.
3950
- attr_accessor :seller_registered_at
3951
- # The date when the seller's account with the marketplace was last updated.
3952
- attr_accessor :seller_updated_at
3953
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3954
- attr_accessor :shipping_references
3955
- # The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
3956
- attr_accessor :volume_of_transactions
3957
-
3958
- def initialize(
3959
- line_item_references: nil,
3960
- marketplace_seller_address: nil,
3961
- marketplace_seller_name: nil,
3962
- marketplace_seller_reference: nil,
3963
- number_of_transactions: nil,
3964
- product_category: nil,
3965
- seller_last_login_at: nil,
3966
- seller_rating: nil,
3967
- seller_registered_at: nil,
3968
- seller_updated_at: nil,
3969
- shipping_references: nil,
3970
- volume_of_transactions: nil
3971
- )
3972
- @line_item_references = line_item_references
3973
- @marketplace_seller_address = marketplace_seller_address
3974
- @marketplace_seller_name = marketplace_seller_name
3975
- @marketplace_seller_reference = marketplace_seller_reference
3976
- @number_of_transactions = number_of_transactions
3977
- @product_category = product_category
3978
- @seller_last_login_at = seller_last_login_at
3979
- @seller_rating = seller_rating
3980
- @seller_registered_at = seller_registered_at
3981
- @seller_updated_at = seller_updated_at
3982
- @shipping_references = shipping_references
3983
- @volume_of_transactions = volume_of_transactions
3984
- end
3985
- end
3986
-
3987
- class RoundTripReservationDetail < ::Stripe::RequestParams
3988
- class Arrival < ::Stripe::RequestParams
3989
- class Address < ::Stripe::RequestParams
3990
- # The city or town.
3991
- attr_accessor :city
3992
- # The country in ISO 3166-1 alpha-2 format.
3993
- attr_accessor :country
3994
- # The postal code formatted according to country.
3995
- attr_accessor :postal_code
3996
- # The state, county, province, or region formatted according to country.
3997
- attr_accessor :region
3998
- # Line 1 of the street address.
3999
- attr_accessor :street_address
4000
- # Line 2 of the street address.
4001
- attr_accessor :street_address2
4002
-
4003
- def initialize(
4004
- city: nil,
4005
- country: nil,
4006
- postal_code: nil,
4007
- region: nil,
4008
- street_address: nil,
4009
- street_address2: nil
4010
- )
4011
- @city = city
4012
- @country = country
4013
- @postal_code = postal_code
4014
- @region = region
4015
- @street_address = street_address
4016
- @street_address2 = street_address2
4017
- end
4018
- end
4019
- # Address of the arrival location.
4020
- attr_accessor :address
4021
- # Identifier name or reference for the arrival location.
4022
- attr_accessor :arrival_location
4023
-
4024
- def initialize(address: nil, arrival_location: nil)
4025
- @address = address
4026
- @arrival_location = arrival_location
4027
- end
4028
- end
4029
-
4030
- class Departure < ::Stripe::RequestParams
4031
- class Address < ::Stripe::RequestParams
4032
- # The city or town.
4033
- attr_accessor :city
4034
- # The country in ISO 3166-1 alpha-2 format.
4035
- attr_accessor :country
4036
- # The postal code formatted according to country.
4037
- attr_accessor :postal_code
4038
- # The state, county, province, or region formatted according to country.
4039
- attr_accessor :region
4040
- # Line 1 of the street address.
4041
- attr_accessor :street_address
4042
- # Line 2 of the street address.
4043
- attr_accessor :street_address2
4044
-
4045
- def initialize(
4046
- city: nil,
4047
- country: nil,
4048
- postal_code: nil,
4049
- region: nil,
4050
- street_address: nil,
4051
- street_address2: nil
4052
- )
4053
- @city = city
4054
- @country = country
4055
- @postal_code = postal_code
4056
- @region = region
4057
- @street_address = street_address
4058
- @street_address2 = street_address2
4059
- end
4060
- end
4061
- # Address of the departure location.
4062
- attr_accessor :address
4063
- # Timestamp of departure.
4064
- attr_accessor :departs_at
4065
- # Identifier name or reference for the origin location.
4066
- attr_accessor :departure_location
4067
-
4068
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4069
- @address = address
4070
- @departs_at = departs_at
4071
- @departure_location = departure_location
4072
- end
4073
- end
4074
-
4075
- class Insurance < ::Stripe::RequestParams
4076
- # Insurance currency.
4077
- attr_accessor :currency
4078
- # Name of the company providing the insurance.
4079
- attr_accessor :insurance_company_name
4080
- # Type of insurance.
4081
- attr_accessor :insurance_type
4082
- # Price of insurance in cents.
4083
- attr_accessor :price
4084
-
4085
- def initialize(
4086
- currency: nil,
4087
- insurance_company_name: nil,
4088
- insurance_type: nil,
4089
- price: nil
4090
- )
4091
- @currency = currency
4092
- @insurance_company_name = insurance_company_name
4093
- @insurance_type = insurance_type
4094
- @price = price
4095
- end
4096
- end
4097
-
4098
- class Passenger < ::Stripe::RequestParams
4099
- # The family name of the person.
4100
- attr_accessor :family_name
4101
- # The given name of the person.
4102
- attr_accessor :given_name
4103
-
4104
- def initialize(family_name: nil, given_name: nil)
4105
- @family_name = family_name
4106
- @given_name = given_name
4107
- end
4108
- end
4109
- # Name of associated or partner company for the service.
4110
- attr_accessor :affiliate_name
4111
- # Arrival details.
4112
- attr_accessor :arrival
4113
- # Name of transportation company.
4114
- attr_accessor :carrier_name
4115
- # Currency.
4116
- attr_accessor :currency
4117
- # Departure details.
4118
- attr_accessor :departure
4119
- # List of insurances for this reservation.
4120
- attr_accessor :insurances
4121
- # List of passengers that this reservation applies to.
4122
- attr_accessor :passengers
4123
- # Price in cents.
4124
- attr_accessor :price
4125
- # Ticket class.
4126
- attr_accessor :ticket_class
4127
-
4128
- def initialize(
4129
- affiliate_name: nil,
4130
- arrival: nil,
4131
- carrier_name: nil,
4132
- currency: nil,
4133
- departure: nil,
4134
- insurances: nil,
4135
- passengers: nil,
4136
- price: nil,
4137
- ticket_class: nil
4138
- )
4139
- @affiliate_name = affiliate_name
4140
- @arrival = arrival
4141
- @carrier_name = carrier_name
4142
- @currency = currency
4143
- @departure = departure
4144
- @insurances = insurances
4145
- @passengers = passengers
4146
- @price = price
4147
- @ticket_class = ticket_class
4148
- end
4149
- end
4150
-
4151
- class TrainReservationDetail < ::Stripe::RequestParams
4152
- class Arrival < ::Stripe::RequestParams
4153
- class Address < ::Stripe::RequestParams
4154
- # The city or town.
4155
- attr_accessor :city
4156
- # The country in ISO 3166-1 alpha-2 format.
4157
- attr_accessor :country
4158
- # The postal code formatted according to country.
4159
- attr_accessor :postal_code
4160
- # The state, county, province, or region formatted according to country.
4161
- attr_accessor :region
4162
- # Line 1 of the street address.
4163
- attr_accessor :street_address
4164
- # Line 2 of the street address.
4165
- attr_accessor :street_address2
4166
-
4167
- def initialize(
4168
- city: nil,
4169
- country: nil,
4170
- postal_code: nil,
4171
- region: nil,
4172
- street_address: nil,
4173
- street_address2: nil
4174
- )
4175
- @city = city
4176
- @country = country
4177
- @postal_code = postal_code
4178
- @region = region
4179
- @street_address = street_address
4180
- @street_address2 = street_address2
4181
- end
4182
- end
4183
- # Address of the arrival location.
4184
- attr_accessor :address
4185
- # Identifier name or reference for the arrival location.
4186
- attr_accessor :arrival_location
4187
-
4188
- def initialize(address: nil, arrival_location: nil)
4189
- @address = address
4190
- @arrival_location = arrival_location
4191
- end
4192
- end
4193
-
4194
- class Departure < ::Stripe::RequestParams
4195
- class Address < ::Stripe::RequestParams
4196
- # The city or town.
4197
- attr_accessor :city
4198
- # The country in ISO 3166-1 alpha-2 format.
4199
- attr_accessor :country
4200
- # The postal code formatted according to country.
4201
- attr_accessor :postal_code
4202
- # The state, county, province, or region formatted according to country.
4203
- attr_accessor :region
4204
- # Line 1 of the street address.
4205
- attr_accessor :street_address
4206
- # Line 2 of the street address.
4207
- attr_accessor :street_address2
4208
-
4209
- def initialize(
4210
- city: nil,
4211
- country: nil,
4212
- postal_code: nil,
4213
- region: nil,
4214
- street_address: nil,
4215
- street_address2: nil
4216
- )
4217
- @city = city
4218
- @country = country
4219
- @postal_code = postal_code
4220
- @region = region
4221
- @street_address = street_address
4222
- @street_address2 = street_address2
4223
- end
4224
- end
4225
- # Address of the departure location.
4226
- attr_accessor :address
4227
- # Timestamp of departure.
4228
- attr_accessor :departs_at
4229
- # Identifier name or reference for the origin location.
4230
- attr_accessor :departure_location
4231
-
4232
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4233
- @address = address
4234
- @departs_at = departs_at
4235
- @departure_location = departure_location
4236
- end
4237
- end
4238
-
4239
- class Insurance < ::Stripe::RequestParams
4240
- # Insurance currency.
4241
- attr_accessor :currency
4242
- # Name of the company providing the insurance.
4243
- attr_accessor :insurance_company_name
4244
- # Type of insurance.
4245
- attr_accessor :insurance_type
4246
- # Price of insurance in cents.
4247
- attr_accessor :price
4248
-
4249
- def initialize(
4250
- currency: nil,
4251
- insurance_company_name: nil,
4252
- insurance_type: nil,
4253
- price: nil
4254
- )
4255
- @currency = currency
4256
- @insurance_company_name = insurance_company_name
4257
- @insurance_type = insurance_type
4258
- @price = price
4259
- end
4260
- end
4261
-
4262
- class Passenger < ::Stripe::RequestParams
4263
- # The family name of the person.
4264
- attr_accessor :family_name
4265
- # The given name of the person.
4266
- attr_accessor :given_name
4267
-
4268
- def initialize(family_name: nil, given_name: nil)
4269
- @family_name = family_name
4270
- @given_name = given_name
4271
- end
4272
- end
4273
- # Name of associated or partner company for the service.
4274
- attr_accessor :affiliate_name
4275
- # Arrival details.
4276
- attr_accessor :arrival
4277
- # Name of transportation company.
4278
- attr_accessor :carrier_name
4279
- # Currency.
4280
- attr_accessor :currency
4281
- # Departure details.
4282
- attr_accessor :departure
4283
- # List of insurances for this reservation.
4284
- attr_accessor :insurances
4285
- # List of passengers that this reservation applies to.
4286
- attr_accessor :passengers
4287
- # Price in cents.
4288
- attr_accessor :price
4289
- # Ticket class.
4290
- attr_accessor :ticket_class
4291
-
4292
- def initialize(
4293
- affiliate_name: nil,
4294
- arrival: nil,
4295
- carrier_name: nil,
4296
- currency: nil,
4297
- departure: nil,
4298
- insurances: nil,
4299
- passengers: nil,
4300
- price: nil,
4301
- ticket_class: nil
4302
- )
4303
- @affiliate_name = affiliate_name
4304
- @arrival = arrival
4305
- @carrier_name = carrier_name
4306
- @currency = currency
4307
- @departure = departure
4308
- @insurances = insurances
4309
- @passengers = passengers
4310
- @price = price
4311
- @ticket_class = ticket_class
4312
- end
4313
- end
4314
-
4315
- class Voucher < ::Stripe::RequestParams
4316
- # Name of associated or partner company for this voucher.
4317
- attr_accessor :affiliate_name
4318
- # The voucher validity end time.
4319
- attr_accessor :ends_at
4320
- # The voucher validity start time.
4321
- attr_accessor :starts_at
4322
- # The issuer or provider of this voucher.
4323
- attr_accessor :voucher_company
4324
- # The name or reference to identify the voucher.
4325
- attr_accessor :voucher_name
4326
- # The type of this voucher.
4327
- attr_accessor :voucher_type
4328
-
4329
- def initialize(
4330
- affiliate_name: nil,
4331
- ends_at: nil,
4332
- starts_at: nil,
4333
- voucher_company: nil,
4334
- voucher_name: nil,
4335
- voucher_type: nil
4336
- )
4337
- @affiliate_name = affiliate_name
4338
- @ends_at = ends_at
4339
- @starts_at = starts_at
4340
- @voucher_company = voucher_company
4341
- @voucher_name = voucher_name
4342
- @voucher_type = voucher_type
4343
- end
4344
- end
4345
- # Supplementary bus reservation details.
4346
- attr_accessor :bus_reservation_details
4347
- # Supplementary event reservation details.
4348
- attr_accessor :event_reservation_details
4349
- # Supplementary ferry reservation details.
4350
- attr_accessor :ferry_reservation_details
4351
- # Supplementary insurance details.
4352
- attr_accessor :insurances
4353
- # Supplementary marketplace seller details.
4354
- attr_accessor :marketplace_sellers
4355
- # Supplementary round trip reservation details.
4356
- attr_accessor :round_trip_reservation_details
4357
- # Supplementary train reservation details.
4358
- attr_accessor :train_reservation_details
4359
- # Voucher details, such as a gift card or discount code.
4360
- attr_accessor :vouchers
4361
-
4362
- def initialize(
4363
- bus_reservation_details: nil,
4364
- event_reservation_details: nil,
4365
- ferry_reservation_details: nil,
4366
- insurances: nil,
4367
- marketplace_sellers: nil,
4368
- round_trip_reservation_details: nil,
4369
- train_reservation_details: nil,
4370
- vouchers: nil
4371
- )
4372
- @bus_reservation_details = bus_reservation_details
4373
- @event_reservation_details = event_reservation_details
4374
- @ferry_reservation_details = ferry_reservation_details
4375
- @insurances = insurances
4376
- @marketplace_sellers = marketplace_sellers
4377
- @round_trip_reservation_details = round_trip_reservation_details
4378
- @train_reservation_details = train_reservation_details
4379
- @vouchers = vouchers
4380
- end
4381
- end
4382
1622
  # Controls when the funds are captured from the customer's account.
4383
1623
  #
4384
1624
  # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
@@ -4401,23 +1641,19 @@ module Stripe
4401
1641
  attr_accessor :setup_future_usage
4402
1642
  # Subscription details if setting up or charging a subscription.
4403
1643
  attr_accessor :subscriptions
4404
- # Supplementary Purchase Data for the corresponding Klarna payment
4405
- attr_accessor :supplementary_purchase_data
4406
1644
 
4407
1645
  def initialize(
4408
1646
  capture_method: nil,
4409
1647
  on_demand: nil,
4410
1648
  preferred_locale: nil,
4411
1649
  setup_future_usage: nil,
4412
- subscriptions: nil,
4413
- supplementary_purchase_data: nil
1650
+ subscriptions: nil
4414
1651
  )
4415
1652
  @capture_method = capture_method
4416
1653
  @on_demand = on_demand
4417
1654
  @preferred_locale = preferred_locale
4418
1655
  @setup_future_usage = setup_future_usage
4419
1656
  @subscriptions = subscriptions
4420
- @supplementary_purchase_data = supplementary_purchase_data
4421
1657
  end
4422
1658
  end
4423
1659
 
@@ -4678,65 +1914,12 @@ module Stripe
4678
1914
  end
4679
1915
 
4680
1916
  class Paypal < ::Stripe::RequestParams
4681
- class LineItem < ::Stripe::RequestParams
4682
- class Tax < ::Stripe::RequestParams
4683
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4684
- attr_accessor :amount
4685
- # The tax behavior for the line item.
4686
- attr_accessor :behavior
4687
-
4688
- def initialize(amount: nil, behavior: nil)
4689
- @amount = amount
4690
- @behavior = behavior
4691
- end
4692
- end
4693
- # Type of the line item.
4694
- attr_accessor :category
4695
- # Description of the line item.
4696
- attr_accessor :description
4697
- # Descriptive name of the line item.
4698
- attr_accessor :name
4699
- # Quantity of the line item. Must be a positive number.
4700
- attr_accessor :quantity
4701
- # Client facing stock keeping unit, article number or similar.
4702
- attr_accessor :sku
4703
- # The Stripe account ID of the connected account that sells the item.
4704
- attr_accessor :sold_by
4705
- # The tax information for the line item.
4706
- attr_accessor :tax
4707
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4708
- attr_accessor :unit_amount
4709
-
4710
- def initialize(
4711
- category: nil,
4712
- description: nil,
4713
- name: nil,
4714
- quantity: nil,
4715
- sku: nil,
4716
- sold_by: nil,
4717
- tax: nil,
4718
- unit_amount: nil
4719
- )
4720
- @category = category
4721
- @description = description
4722
- @name = name
4723
- @quantity = quantity
4724
- @sku = sku
4725
- @sold_by = sold_by
4726
- @tax = tax
4727
- @unit_amount = unit_amount
4728
- end
4729
- end
4730
1917
  # Controls when the funds will be captured from the customer's account.
4731
1918
  attr_accessor :capture_method
4732
- # The line items purchased by the customer.
4733
- attr_accessor :line_items
4734
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1919
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4735
1920
  attr_accessor :preferred_locale
4736
1921
  # 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.
4737
1922
  attr_accessor :reference
4738
- # 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.
4739
- attr_accessor :reference_id
4740
1923
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4741
1924
  attr_accessor :risk_correlation_id
4742
1925
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4749,40 +1932,19 @@ module Stripe
4749
1932
  #
4750
1933
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4751
1934
  attr_accessor :setup_future_usage
4752
- # 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.
4753
- attr_accessor :subsellers
4754
1935
 
4755
1936
  def initialize(
4756
1937
  capture_method: nil,
4757
- line_items: nil,
4758
1938
  preferred_locale: nil,
4759
1939
  reference: nil,
4760
- reference_id: nil,
4761
1940
  risk_correlation_id: nil,
4762
- setup_future_usage: nil,
4763
- subsellers: nil
1941
+ setup_future_usage: nil
4764
1942
  )
4765
1943
  @capture_method = capture_method
4766
- @line_items = line_items
4767
1944
  @preferred_locale = preferred_locale
4768
1945
  @reference = reference
4769
- @reference_id = reference_id
4770
1946
  @risk_correlation_id = risk_correlation_id
4771
1947
  @setup_future_usage = setup_future_usage
4772
- @subsellers = subsellers
4773
- end
4774
- end
4775
-
4776
- class Paypay < ::Stripe::RequestParams
4777
- # Controls when the funds are captured from the customer's account.
4778
- #
4779
- # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
4780
- #
4781
- # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
4782
- attr_accessor :capture_method
4783
-
4784
- def initialize(capture_method: nil)
4785
- @capture_method = capture_method
4786
1948
  end
4787
1949
  end
4788
1950
 
@@ -4837,52 +1999,12 @@ module Stripe
4837
1999
  end
4838
2000
 
4839
2001
  class Pix < ::Stripe::RequestParams
4840
- class MandateOptions < ::Stripe::RequestParams
4841
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4842
- attr_accessor :amount
4843
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4844
- attr_accessor :amount_includes_iof
4845
- # Type of amount. Defaults to `maximum`.
4846
- attr_accessor :amount_type
4847
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4848
- attr_accessor :currency
4849
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
4850
- attr_accessor :end_date
4851
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4852
- attr_accessor :payment_schedule
4853
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4854
- attr_accessor :reference
4855
- # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
4856
- attr_accessor :start_date
4857
-
4858
- def initialize(
4859
- amount: nil,
4860
- amount_includes_iof: nil,
4861
- amount_type: nil,
4862
- currency: nil,
4863
- end_date: nil,
4864
- payment_schedule: nil,
4865
- reference: nil,
4866
- start_date: nil
4867
- )
4868
- @amount = amount
4869
- @amount_includes_iof = amount_includes_iof
4870
- @amount_type = amount_type
4871
- @currency = currency
4872
- @end_date = end_date
4873
- @payment_schedule = payment_schedule
4874
- @reference = reference
4875
- @start_date = start_date
4876
- end
4877
- end
4878
2002
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4879
2003
  attr_accessor :amount_includes_iof
4880
2004
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4881
2005
  attr_accessor :expires_after_seconds
4882
2006
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4883
2007
  attr_accessor :expires_at
4884
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4885
- attr_accessor :mandate_options
4886
2008
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4887
2009
  #
4888
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.
@@ -4898,13 +2020,11 @@ module Stripe
4898
2020
  amount_includes_iof: nil,
4899
2021
  expires_after_seconds: nil,
4900
2022
  expires_at: nil,
4901
- mandate_options: nil,
4902
2023
  setup_future_usage: nil
4903
2024
  )
4904
2025
  @amount_includes_iof = amount_includes_iof
4905
2026
  @expires_after_seconds = expires_after_seconds
4906
2027
  @expires_at = expires_at
4907
- @mandate_options = mandate_options
4908
2028
  @setup_future_usage = setup_future_usage
4909
2029
  end
4910
2030
  end
@@ -4926,25 +2046,6 @@ module Stripe
4926
2046
  end
4927
2047
  end
4928
2048
 
4929
- class Qris < ::Stripe::RequestParams
4930
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4931
- #
4932
- # 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.
4933
- #
4934
- # 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.
4935
- #
4936
- # 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).
4937
- #
4938
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4939
- attr_accessor :setup_future_usage
4940
-
4941
- def initialize(setup_future_usage: nil)
4942
- @setup_future_usage = setup_future_usage
4943
- end
4944
- end
4945
-
4946
- class Rechnung < ::Stripe::RequestParams; end
4947
-
4948
2049
  class RevolutPay < ::Stripe::RequestParams
4949
2050
  # Controls when the funds are captured from the customer's account.
4950
2051
  #
@@ -5024,23 +2125,6 @@ module Stripe
5024
2125
  end
5025
2126
  end
5026
2127
 
5027
- class Shopeepay < ::Stripe::RequestParams
5028
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5029
- #
5030
- # 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.
5031
- #
5032
- # 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.
5033
- #
5034
- # 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).
5035
- #
5036
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
5037
- attr_accessor :setup_future_usage
5038
-
5039
- def initialize(setup_future_usage: nil)
5040
- @setup_future_usage = setup_future_usage
5041
- end
5042
- end
5043
-
5044
2128
  class Sofort < ::Stripe::RequestParams
5045
2129
  # Language shown to the payer on redirect.
5046
2130
  attr_accessor :preferred_language
@@ -5061,23 +2145,6 @@ module Stripe
5061
2145
  end
5062
2146
  end
5063
2147
 
5064
- class StripeBalance < ::Stripe::RequestParams
5065
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5066
- #
5067
- # 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.
5068
- #
5069
- # 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.
5070
- #
5071
- # 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).
5072
- #
5073
- # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
5074
- attr_accessor :setup_future_usage
5075
-
5076
- def initialize(setup_future_usage: nil)
5077
- @setup_future_usage = setup_future_usage
5078
- end
5079
- end
5080
-
5081
2148
  class Swish < ::Stripe::RequestParams
5082
2149
  # A reference for this payment to be displayed in the Swish app.
5083
2150
  attr_accessor :reference
@@ -5120,27 +2187,13 @@ module Stripe
5120
2187
  class Filters < ::Stripe::RequestParams
5121
2188
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5122
2189
  attr_accessor :account_subcategories
5123
- # ID of the institution to use to filter for selectable accounts.
5124
- attr_accessor :institution
5125
2190
 
5126
- def initialize(account_subcategories: nil, institution: nil)
2191
+ def initialize(account_subcategories: nil)
5127
2192
  @account_subcategories = account_subcategories
5128
- @institution = institution
5129
- end
5130
- end
5131
-
5132
- class ManualEntry < ::Stripe::RequestParams
5133
- # Settings for configuring manual entry of account details.
5134
- attr_accessor :mode
5135
-
5136
- def initialize(mode: nil)
5137
- @mode = mode
5138
2193
  end
5139
2194
  end
5140
2195
  # Provide filters for the linked accounts that the customer can select for the payment method.
5141
2196
  attr_accessor :filters
5142
- # Customize manual entry behavior
5143
- attr_accessor :manual_entry
5144
2197
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
5145
2198
  attr_accessor :permissions
5146
2199
  # List of data features that you would like to retrieve upon account creation.
@@ -5148,15 +2201,8 @@ module Stripe
5148
2201
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
5149
2202
  attr_accessor :return_url
5150
2203
 
5151
- def initialize(
5152
- filters: nil,
5153
- manual_entry: nil,
5154
- permissions: nil,
5155
- prefetch: nil,
5156
- return_url: nil
5157
- )
2204
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5158
2205
  @filters = filters
5159
- @manual_entry = manual_entry
5160
2206
  @permissions = permissions
5161
2207
  @prefetch = prefetch
5162
2208
  @return_url = return_url
@@ -5301,12 +2347,8 @@ module Stripe
5301
2347
  attr_accessor :fpx
5302
2348
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5303
2349
  attr_accessor :giropay
5304
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5305
- attr_accessor :gopay
5306
2350
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5307
2351
  attr_accessor :grabpay
5308
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5309
- attr_accessor :id_bank_transfer
5310
2352
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5311
2353
  attr_accessor :ideal
5312
2354
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5343,18 +2385,12 @@ module Stripe
5343
2385
  attr_accessor :paynow
5344
2386
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5345
2387
  attr_accessor :paypal
5346
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5347
- attr_accessor :paypay
5348
2388
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5349
2389
  attr_accessor :payto
5350
2390
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5351
2391
  attr_accessor :pix
5352
2392
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5353
2393
  attr_accessor :promptpay
5354
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5355
- attr_accessor :qris
5356
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5357
- attr_accessor :rechnung
5358
2394
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5359
2395
  attr_accessor :revolut_pay
5360
2396
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5363,12 +2399,8 @@ module Stripe
5363
2399
  attr_accessor :satispay
5364
2400
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5365
2401
  attr_accessor :sepa_debit
5366
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5367
- attr_accessor :shopeepay
5368
2402
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5369
2403
  attr_accessor :sofort
5370
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5371
- attr_accessor :stripe_balance
5372
2404
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5373
2405
  attr_accessor :swish
5374
2406
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5401,9 +2433,7 @@ module Stripe
5401
2433
  eps: nil,
5402
2434
  fpx: nil,
5403
2435
  giropay: nil,
5404
- gopay: nil,
5405
2436
  grabpay: nil,
5406
- id_bank_transfer: nil,
5407
2437
  ideal: nil,
5408
2438
  interac_present: nil,
5409
2439
  kakao_pay: nil,
@@ -5422,19 +2452,14 @@ module Stripe
5422
2452
  payco: nil,
5423
2453
  paynow: nil,
5424
2454
  paypal: nil,
5425
- paypay: nil,
5426
2455
  payto: nil,
5427
2456
  pix: nil,
5428
2457
  promptpay: nil,
5429
- qris: nil,
5430
- rechnung: nil,
5431
2458
  revolut_pay: nil,
5432
2459
  samsung_pay: nil,
5433
2460
  satispay: nil,
5434
2461
  sepa_debit: nil,
5435
- shopeepay: nil,
5436
2462
  sofort: nil,
5437
- stripe_balance: nil,
5438
2463
  swish: nil,
5439
2464
  twint: nil,
5440
2465
  us_bank_account: nil,
@@ -5461,9 +2486,7 @@ module Stripe
5461
2486
  @eps = eps
5462
2487
  @fpx = fpx
5463
2488
  @giropay = giropay
5464
- @gopay = gopay
5465
2489
  @grabpay = grabpay
5466
- @id_bank_transfer = id_bank_transfer
5467
2490
  @ideal = ideal
5468
2491
  @interac_present = interac_present
5469
2492
  @kakao_pay = kakao_pay
@@ -5482,19 +2505,14 @@ module Stripe
5482
2505
  @payco = payco
5483
2506
  @paynow = paynow
5484
2507
  @paypal = paypal
5485
- @paypay = paypay
5486
2508
  @payto = payto
5487
2509
  @pix = pix
5488
2510
  @promptpay = promptpay
5489
- @qris = qris
5490
- @rechnung = rechnung
5491
2511
  @revolut_pay = revolut_pay
5492
2512
  @samsung_pay = samsung_pay
5493
2513
  @satispay = satispay
5494
2514
  @sepa_debit = sepa_debit
5495
- @shopeepay = shopeepay
5496
2515
  @sofort = sofort
5497
- @stripe_balance = stripe_balance
5498
2516
  @swish = swish
5499
2517
  @twint = twint
5500
2518
  @us_bank_account = us_bank_account
@@ -5504,7 +2522,7 @@ module Stripe
5504
2522
  end
5505
2523
 
5506
2524
  class RadarOptions < ::Stripe::RequestParams
5507
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2525
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
5508
2526
  attr_accessor :session
5509
2527
 
5510
2528
  def initialize(session: nil)
@@ -5524,7 +2542,7 @@ module Stripe
5524
2542
  attr_accessor :line2
5525
2543
  # ZIP or postal code.
5526
2544
  attr_accessor :postal_code
5527
- # State, county, province, or region.
2545
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5528
2546
  attr_accessor :state
5529
2547
 
5530
2548
  def initialize(
@@ -5562,48 +2580,42 @@ module Stripe
5562
2580
  @tracking_number = tracking_number
5563
2581
  end
5564
2582
  end
5565
- # Allocated Funds configuration for this PaymentIntent.
5566
- attr_accessor :allocated_funds
5567
2583
  # Provides industry-specific information about the amount.
5568
2584
  attr_accessor :amount_details
5569
- # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
5570
- attr_accessor :application_fee_amount
5571
2585
  # Controls when the funds will be captured from the customer's account.
5572
2586
  attr_accessor :capture_method
5573
2587
  # ID of the ConfirmationToken used to confirm this PaymentIntent.
5574
2588
  #
5575
2589
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
5576
2590
  attr_accessor :confirmation_token
5577
- # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication).
2591
+ # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication).
5578
2592
  attr_accessor :error_on_requires_action
5579
2593
  # The list of payment method types to exclude from use with this payment.
5580
2594
  attr_accessor :excluded_payment_method_types
5581
2595
  # Specifies which fields in the response should be expanded.
5582
2596
  attr_accessor :expand
5583
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5584
- attr_accessor :fx_quote
5585
2597
  # Automations to be run during the PaymentIntent lifecycle
5586
2598
  attr_accessor :hooks
5587
2599
  # ID of the mandate that's used for this payment.
5588
2600
  attr_accessor :mandate
5589
2601
  # Attribute for param field mandate_data
5590
2602
  attr_accessor :mandate_data
5591
- # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
2603
+ # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://docs.stripe.com/payments/cards/charging-saved-cards).
5592
2604
  attr_accessor :off_session
5593
2605
  # Provides industry-specific information about the charge.
5594
2606
  attr_accessor :payment_details
5595
- # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
5596
- # If the payment method is attached to a Customer, it must match the [customer](https://stripe.com/docs/api#create_payment_intent-customer) that is set on this PaymentIntent.
2607
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
2608
+ # If the payment method is attached to a Customer, it must match the [customer](https://api.stripe.com#create_payment_intent-customer) that is set on this PaymentIntent.
5597
2609
  attr_accessor :payment_method
5598
2610
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
5599
- # in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
2611
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
5600
2612
  # property on the PaymentIntent.
5601
2613
  attr_accessor :payment_method_data
5602
2614
  # Payment method-specific configuration for this PaymentIntent.
5603
2615
  attr_accessor :payment_method_options
5604
2616
  # The list of payment method types (for example, a card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
5605
2617
  attr_accessor :payment_method_types
5606
- # Options to configure Radar. Learn more about [Radar Sessions](https://stripe.com/docs/radar/radar-session).
2618
+ # Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
5607
2619
  attr_accessor :radar_options
5608
2620
  # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
5609
2621
  attr_accessor :receipt_email
@@ -5627,15 +2639,12 @@ module Stripe
5627
2639
  attr_accessor :use_stripe_sdk
5628
2640
 
5629
2641
  def initialize(
5630
- allocated_funds: nil,
5631
2642
  amount_details: nil,
5632
- application_fee_amount: nil,
5633
2643
  capture_method: nil,
5634
2644
  confirmation_token: nil,
5635
2645
  error_on_requires_action: nil,
5636
2646
  excluded_payment_method_types: nil,
5637
2647
  expand: nil,
5638
- fx_quote: nil,
5639
2648
  hooks: nil,
5640
2649
  mandate: nil,
5641
2650
  mandate_data: nil,
@@ -5652,15 +2661,12 @@ module Stripe
5652
2661
  shipping: nil,
5653
2662
  use_stripe_sdk: nil
5654
2663
  )
5655
- @allocated_funds = allocated_funds
5656
2664
  @amount_details = amount_details
5657
- @application_fee_amount = application_fee_amount
5658
2665
  @capture_method = capture_method
5659
2666
  @confirmation_token = confirmation_token
5660
2667
  @error_on_requires_action = error_on_requires_action
5661
2668
  @excluded_payment_method_types = excluded_payment_method_types
5662
2669
  @expand = expand
5663
- @fx_quote = fx_quote
5664
2670
  @hooks = hooks
5665
2671
  @mandate = mandate
5666
2672
  @mandate_data = mandate_data