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 PaymentIntentUpdateParams < ::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
@@ -24,1883 +15,205 @@ module Stripe
24
15
  end
25
16
  end
26
17
 
27
- class CardPresent < ::Stripe::RequestParams
28
- # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
29
- attr_accessor :commodity_code
30
-
31
- def initialize(commodity_code: nil)
32
- @commodity_code = commodity_code
33
- end
34
- end
35
-
36
- class Klarna < ::Stripe::RequestParams
37
- # URL to an image for the product. Max length, 4096 characters.
38
- attr_accessor :image_url
39
- # URL to the product page. Max length, 4096 characters.
40
- attr_accessor :product_url
41
- # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
42
- attr_accessor :reference
43
- # Reference for the subscription this line item is for.
44
- attr_accessor :subscription_reference
45
-
46
- def initialize(
47
- image_url: nil,
48
- product_url: nil,
49
- reference: nil,
50
- subscription_reference: nil
51
- )
52
- @image_url = image_url
53
- @product_url = product_url
54
- @reference = reference
55
- @subscription_reference = subscription_reference
56
- end
57
- end
58
-
59
- class Paypal < ::Stripe::RequestParams
60
- # Type of the line item.
61
- attr_accessor :category
62
- # Description of the line item.
63
- attr_accessor :description
64
- # The Stripe account ID of the connected account that sells the item.
65
- attr_accessor :sold_by
66
-
67
- def initialize(category: nil, description: nil, sold_by: nil)
68
- @category = category
69
- @description = description
70
- @sold_by = sold_by
71
- end
72
- end
73
- # This sub-hash contains line item details that are specific to `card` payment method."
74
- attr_accessor :card
75
- # This sub-hash contains line item details that are specific to `card_present` payment method."
76
- attr_accessor :card_present
77
- # This sub-hash contains line item details that are specific to `klarna` payment method."
78
- attr_accessor :klarna
79
- # This sub-hash contains line item details that are specific to `paypal` payment method."
80
- attr_accessor :paypal
81
-
82
- def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
83
- @card = card
84
- @card_present = card_present
85
- @klarna = klarna
86
- @paypal = paypal
87
- end
88
- end
89
-
90
- 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.
92
- #
93
- # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
94
- attr_accessor :total_tax_amount
95
-
96
- def initialize(total_tax_amount: nil)
97
- @total_tax_amount = total_tax_amount
98
- end
99
- 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.
101
- #
102
- # This field is mutually exclusive with the `amount_details[discount_amount]` field.
103
- attr_accessor :discount_amount
104
- # Payment method-specific information for line items.
105
- attr_accessor :payment_method_options
106
- # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
107
- attr_accessor :product_code
108
- # The product name of the line item. Required for L3 rates. At most 1024 characters long.
109
- #
110
- # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
111
- attr_accessor :product_name
112
- # The quantity of items. Required for L3 rates. An integer greater than 0.
113
- attr_accessor :quantity
114
- # Contains information about the tax on the item.
115
- 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.
117
- attr_accessor :unit_cost
118
- # 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 Online < ::Stripe::RequestParams
214
- # The IP address from which the Mandate was accepted by the customer.
215
- attr_accessor :ip_address
216
- # The user agent of the browser from which the Mandate was accepted by the customer.
217
- attr_accessor :user_agent
218
-
219
- def initialize(ip_address: nil, user_agent: nil)
220
- @ip_address = ip_address
221
- @user_agent = user_agent
222
- end
223
- end
224
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
225
- attr_accessor :online
226
- # The type of customer acceptance information included with the Mandate.
227
- attr_accessor :type
228
-
229
- def initialize(online: nil, type: nil)
230
- @online = online
231
- @type = type
232
- end
233
- end
234
- # This hash contains details about the customer acceptance of the Mandate.
235
- attr_accessor :customer_acceptance
236
-
237
- def initialize(customer_acceptance: nil)
238
- @customer_acceptance = customer_acceptance
239
- end
240
- end
241
-
242
- class PaymentDetails < ::Stripe::RequestParams
243
- class Benefit < ::Stripe::RequestParams
244
- class FrMealVoucher < ::Stripe::RequestParams
245
- # The 14-digit SIRET of the meal voucher acceptor.
246
- attr_accessor :siret
247
-
248
- def initialize(siret: nil)
249
- @siret = siret
250
- end
251
- end
252
- # French meal voucher benefit details for this PaymentIntent.
253
- attr_accessor :fr_meal_voucher
254
-
255
- def initialize(fr_meal_voucher: nil)
256
- @fr_meal_voucher = fr_meal_voucher
257
- end
258
- end
259
-
260
- class CarRental < ::Stripe::RequestParams
261
- class Affiliate < ::Stripe::RequestParams
262
- # The name of the affiliate that originated the purchase.
263
- attr_accessor :name
264
-
265
- def initialize(name: nil)
266
- @name = name
267
- end
268
- end
269
-
270
- class Delivery < ::Stripe::RequestParams
271
- class Recipient < ::Stripe::RequestParams
272
- # The email of the recipient the ticket is delivered to.
273
- attr_accessor :email
274
- # The name of the recipient the ticket is delivered to.
275
- attr_accessor :name
276
- # The phone number of the recipient the ticket is delivered to.
277
- attr_accessor :phone
278
-
279
- def initialize(email: nil, name: nil, phone: nil)
280
- @email = email
281
- @name = name
282
- @phone = phone
283
- end
284
- end
285
- # The delivery method for the payment
286
- attr_accessor :mode
287
- # Details of the recipient.
288
- attr_accessor :recipient
289
-
290
- def initialize(mode: nil, recipient: nil)
291
- @mode = mode
292
- @recipient = recipient
293
- end
294
- end
295
-
296
- class Distance < ::Stripe::RequestParams
297
- # Distance traveled.
298
- attr_accessor :amount
299
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
300
- attr_accessor :unit
301
-
302
- def initialize(amount: nil, unit: nil)
303
- @amount = amount
304
- @unit = unit
305
- end
306
- end
307
-
308
- class Driver < ::Stripe::RequestParams
309
- # Driver's identification number.
310
- attr_accessor :driver_identification_number
311
- # Driver's tax number.
312
- attr_accessor :driver_tax_number
313
- # Full name of the person or entity on the car reservation.
314
- attr_accessor :name
315
-
316
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
317
- @driver_identification_number = driver_identification_number
318
- @driver_tax_number = driver_tax_number
319
- @name = name
320
- end
321
- end
322
-
323
- class PickupAddress < ::Stripe::RequestParams
324
- # City, district, suburb, town, or village.
325
- attr_accessor :city
326
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
327
- attr_accessor :country
328
- # Address line 1, such as the street, PO Box, or company name.
329
- attr_accessor :line1
330
- # Address line 2, such as the apartment, suite, unit, or building.
331
- attr_accessor :line2
332
- # ZIP or postal code.
333
- attr_accessor :postal_code
334
- # State, county, province, or region.
335
- attr_accessor :state
336
-
337
- def initialize(
338
- city: nil,
339
- country: nil,
340
- line1: nil,
341
- line2: nil,
342
- postal_code: nil,
343
- state: nil
344
- )
345
- @city = city
346
- @country = country
347
- @line1 = line1
348
- @line2 = line2
349
- @postal_code = postal_code
350
- @state = state
351
- end
352
- end
353
-
354
- class ReturnAddress < ::Stripe::RequestParams
355
- # City, district, suburb, town, or village.
356
- attr_accessor :city
357
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
358
- attr_accessor :country
359
- # Address line 1, such as the street, PO Box, or company name.
360
- attr_accessor :line1
361
- # Address line 2, such as the apartment, suite, unit, or building.
362
- attr_accessor :line2
363
- # ZIP or postal code.
364
- attr_accessor :postal_code
365
- # State, county, province, or region.
366
- attr_accessor :state
367
-
368
- def initialize(
369
- city: nil,
370
- country: nil,
371
- line1: nil,
372
- line2: nil,
373
- postal_code: nil,
374
- state: nil
375
- )
376
- @city = city
377
- @country = country
378
- @line1 = line1
379
- @line2 = line2
380
- @postal_code = postal_code
381
- @state = state
382
- end
383
- end
384
- # Affiliate details for this purchase.
385
- attr_accessor :affiliate
386
- # The booking number associated with the car rental.
387
- attr_accessor :booking_number
388
- # Class code of the car.
389
- attr_accessor :car_class_code
390
- # Make of the car.
391
- attr_accessor :car_make
392
- # Model of the car.
393
- attr_accessor :car_model
394
- # The name of the rental car company.
395
- attr_accessor :company
396
- # The customer service phone number of the car rental company.
397
- attr_accessor :customer_service_phone_number
398
- # Number of days the car is being rented.
399
- attr_accessor :days_rented
400
- # Delivery details for this purchase.
401
- attr_accessor :delivery
402
- # The details of the distance traveled during the rental period.
403
- attr_accessor :distance
404
- # The details of the passengers in the travel reservation
405
- attr_accessor :drivers
406
- # List of additional charges being billed.
407
- attr_accessor :extra_charges
408
- # Indicates if the customer did not keep nor cancel their booking.
409
- attr_accessor :no_show
410
- # Car pick-up address.
411
- attr_accessor :pickup_address
412
- # Car pick-up time. Measured in seconds since the Unix epoch.
413
- attr_accessor :pickup_at
414
- # Name of the pickup location.
415
- attr_accessor :pickup_location_name
416
- # Rental rate.
417
- attr_accessor :rate_amount
418
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
419
- attr_accessor :rate_interval
420
- # The name of the person or entity renting the car.
421
- attr_accessor :renter_name
422
- # Car return address.
423
- attr_accessor :return_address
424
- # Car return time. Measured in seconds since the Unix epoch.
425
- attr_accessor :return_at
426
- # Name of the return location.
427
- attr_accessor :return_location_name
428
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
429
- attr_accessor :tax_exempt
430
- # The vehicle identification number.
431
- attr_accessor :vehicle_identification_number
432
-
433
- def initialize(
434
- affiliate: nil,
435
- booking_number: nil,
436
- car_class_code: nil,
437
- car_make: nil,
438
- car_model: nil,
439
- company: nil,
440
- customer_service_phone_number: nil,
441
- days_rented: nil,
442
- delivery: nil,
443
- distance: nil,
444
- drivers: nil,
445
- extra_charges: nil,
446
- no_show: nil,
447
- pickup_address: nil,
448
- pickup_at: nil,
449
- pickup_location_name: nil,
450
- rate_amount: nil,
451
- rate_interval: nil,
452
- renter_name: nil,
453
- return_address: nil,
454
- return_at: nil,
455
- return_location_name: nil,
456
- tax_exempt: nil,
457
- vehicle_identification_number: nil
458
- )
459
- @affiliate = affiliate
460
- @booking_number = booking_number
461
- @car_class_code = car_class_code
462
- @car_make = car_make
463
- @car_model = car_model
464
- @company = company
465
- @customer_service_phone_number = customer_service_phone_number
466
- @days_rented = days_rented
467
- @delivery = delivery
468
- @distance = distance
469
- @drivers = drivers
470
- @extra_charges = extra_charges
471
- @no_show = no_show
472
- @pickup_address = pickup_address
473
- @pickup_at = pickup_at
474
- @pickup_location_name = pickup_location_name
475
- @rate_amount = rate_amount
476
- @rate_interval = rate_interval
477
- @renter_name = renter_name
478
- @return_address = return_address
479
- @return_at = return_at
480
- @return_location_name = return_location_name
481
- @tax_exempt = tax_exempt
482
- @vehicle_identification_number = vehicle_identification_number
483
- end
484
- end
485
-
486
- class CarRentalDatum < ::Stripe::RequestParams
487
- class Affiliate < ::Stripe::RequestParams
488
- # Affiliate partner code.
489
- attr_accessor :code
490
- # Name of affiliate partner.
491
- attr_accessor :name
492
-
493
- def initialize(code: nil, name: nil)
494
- @code = code
495
- @name = name
496
- end
497
- end
498
-
499
- class Distance < ::Stripe::RequestParams
500
- # Distance traveled.
501
- attr_accessor :amount
502
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
503
- attr_accessor :unit
504
-
505
- def initialize(amount: nil, unit: nil)
506
- @amount = amount
507
- @unit = unit
508
- end
509
- end
510
-
511
- class Driver < ::Stripe::RequestParams
512
- class DateOfBirth < ::Stripe::RequestParams
513
- # Day of birth (1-31).
514
- attr_accessor :day
515
- # Month of birth (1-12).
516
- attr_accessor :month
517
- # Year of birth (must be greater than 1900).
518
- attr_accessor :year
519
-
520
- def initialize(day: nil, month: nil, year: nil)
521
- @day = day
522
- @month = month
523
- @year = year
524
- end
525
- end
526
- # Driver's date of birth.
527
- attr_accessor :date_of_birth
528
- # Driver's identification number.
529
- attr_accessor :driver_identification_number
530
- # Driver's tax number.
531
- attr_accessor :driver_tax_number
532
- # Driver's full name.
533
- attr_accessor :name
534
-
535
- def initialize(
536
- date_of_birth: nil,
537
- driver_identification_number: nil,
538
- driver_tax_number: nil,
539
- name: nil
540
- )
541
- @date_of_birth = date_of_birth
542
- @driver_identification_number = driver_identification_number
543
- @driver_tax_number = driver_tax_number
544
- @name = name
545
- end
546
- end
547
-
548
- class DropOff < ::Stripe::RequestParams
549
- class Address < ::Stripe::RequestParams
550
- # City, district, suburb, town, or village.
551
- attr_accessor :city
552
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
553
- attr_accessor :country
554
- # Address line 1, such as the street, PO Box, or company name.
555
- attr_accessor :line1
556
- # Address line 2, such as the apartment, suite, unit, or building.
557
- attr_accessor :line2
558
- # ZIP or postal code.
559
- attr_accessor :postal_code
560
- # State, county, province, or region.
561
- attr_accessor :state
562
-
563
- def initialize(
564
- city: nil,
565
- country: nil,
566
- line1: nil,
567
- line2: nil,
568
- postal_code: nil,
569
- state: nil
570
- )
571
- @city = city
572
- @country = country
573
- @line1 = line1
574
- @line2 = line2
575
- @postal_code = postal_code
576
- @state = state
577
- end
578
- end
579
- # Address of the rental location.
580
- attr_accessor :address
581
- # Location name.
582
- attr_accessor :location_name
583
- # Timestamp for the location.
584
- attr_accessor :time
585
-
586
- def initialize(address: nil, location_name: nil, time: nil)
587
- @address = address
588
- @location_name = location_name
589
- @time = time
590
- end
591
- end
592
-
593
- class Insurance < ::Stripe::RequestParams
594
- # Amount of the insurance coverage in cents.
595
- attr_accessor :amount
596
- # Currency of the insurance amount.
597
- attr_accessor :currency
598
- # Name of the insurance company.
599
- attr_accessor :insurance_company_name
600
- # Type of insurance coverage.
601
- attr_accessor :insurance_type
602
-
603
- def initialize(
604
- amount: nil,
605
- currency: nil,
606
- insurance_company_name: nil,
607
- insurance_type: nil
608
- )
609
- @amount = amount
610
- @currency = currency
611
- @insurance_company_name = insurance_company_name
612
- @insurance_type = insurance_type
613
- end
614
- end
615
-
616
- class Pickup < ::Stripe::RequestParams
617
- class Address < ::Stripe::RequestParams
618
- # City, district, suburb, town, or village.
619
- attr_accessor :city
620
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
621
- attr_accessor :country
622
- # Address line 1, such as the street, PO Box, or company name.
623
- attr_accessor :line1
624
- # Address line 2, such as the apartment, suite, unit, or building.
625
- attr_accessor :line2
626
- # ZIP or postal code.
627
- attr_accessor :postal_code
628
- # State, county, province, or region.
629
- attr_accessor :state
630
-
631
- def initialize(
632
- city: nil,
633
- country: nil,
634
- line1: nil,
635
- line2: nil,
636
- postal_code: nil,
637
- state: nil
638
- )
639
- @city = city
640
- @country = country
641
- @line1 = line1
642
- @line2 = line2
643
- @postal_code = postal_code
644
- @state = state
645
- end
646
- end
647
- # Address of the rental location.
648
- attr_accessor :address
649
- # Location name.
650
- attr_accessor :location_name
651
- # Timestamp for the location.
652
- attr_accessor :time
653
-
654
- def initialize(address: nil, location_name: nil, time: nil)
655
- @address = address
656
- @location_name = location_name
657
- @time = time
658
- end
659
- end
660
-
661
- class Total < ::Stripe::RequestParams
662
- class Discounts < ::Stripe::RequestParams
663
- # Corporate client discount code.
664
- attr_accessor :corporate_client_code
665
- # Coupon code applied to the rental.
666
- attr_accessor :coupon
667
- # Maximum number of free miles or kilometers included.
668
- attr_accessor :maximum_free_miles_or_kilometers
669
-
670
- def initialize(
671
- corporate_client_code: nil,
672
- coupon: nil,
673
- maximum_free_miles_or_kilometers: nil
674
- )
675
- @corporate_client_code = corporate_client_code
676
- @coupon = coupon
677
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
678
- end
679
- end
680
-
681
- class ExtraCharge < ::Stripe::RequestParams
682
- # Amount of the extra charge in cents.
683
- attr_accessor :amount
684
- # Type of extra charge.
685
- attr_accessor :type
686
-
687
- def initialize(amount: nil, type: nil)
688
- @amount = amount
689
- @type = type
690
- end
691
- end
692
-
693
- class Tax < ::Stripe::RequestParams
694
- class Tax < ::Stripe::RequestParams
695
- # Tax amount.
696
- attr_accessor :amount
697
- # Tax rate applied.
698
- attr_accessor :rate
699
- # Type of tax applied.
700
- attr_accessor :type
701
-
702
- def initialize(amount: nil, rate: nil, type: nil)
703
- @amount = amount
704
- @rate = rate
705
- @type = type
706
- end
707
- end
708
- # Indicates if the transaction is tax exempt.
709
- attr_accessor :tax_exempt_indicator
710
- # Array of tax details.
711
- attr_accessor :taxes
712
-
713
- def initialize(tax_exempt_indicator: nil, taxes: nil)
714
- @tax_exempt_indicator = tax_exempt_indicator
715
- @taxes = taxes
716
- end
717
- end
718
- # Total amount in cents.
719
- attr_accessor :amount
720
- # Currency of the amount.
721
- attr_accessor :currency
722
- # Discount details for the rental.
723
- attr_accessor :discounts
724
- # Additional charges for the rental.
725
- attr_accessor :extra_charges
726
- # Rate per unit for the rental.
727
- attr_accessor :rate_per_unit
728
- # Unit of measurement for the rate.
729
- attr_accessor :rate_unit
730
- # Tax breakdown for the rental.
731
- attr_accessor :tax
732
-
733
- def initialize(
734
- amount: nil,
735
- currency: nil,
736
- discounts: nil,
737
- extra_charges: nil,
738
- rate_per_unit: nil,
739
- rate_unit: nil,
740
- tax: nil
741
- )
742
- @amount = amount
743
- @currency = currency
744
- @discounts = discounts
745
- @extra_charges = extra_charges
746
- @rate_per_unit = rate_per_unit
747
- @rate_unit = rate_unit
748
- @tax = tax
749
- end
750
- end
751
-
752
- class Vehicle < ::Stripe::RequestParams
753
- # Make of the rental vehicle.
754
- attr_accessor :make
755
- # Model of the rental vehicle.
756
- attr_accessor :model
757
- # Odometer reading at the time of rental.
758
- attr_accessor :odometer
759
- # Type of the rental vehicle.
760
- attr_accessor :type
761
- # Class of the rental vehicle.
762
- attr_accessor :vehicle_class
763
- # Vehicle identification number (VIN).
764
- attr_accessor :vehicle_identification_number
765
-
766
- def initialize(
767
- make: nil,
768
- model: nil,
769
- odometer: nil,
770
- type: nil,
771
- vehicle_class: nil,
772
- vehicle_identification_number: nil
773
- )
774
- @make = make
775
- @model = model
776
- @odometer = odometer
777
- @type = type
778
- @vehicle_class = vehicle_class
779
- @vehicle_identification_number = vehicle_identification_number
780
- end
781
- end
782
- # Affiliate (such as travel agency) details for the rental.
783
- attr_accessor :affiliate
784
- # Booking confirmation number for the car rental.
785
- attr_accessor :booking_number
786
- # Name of the car rental company.
787
- attr_accessor :carrier_name
788
- # Customer service phone number for the car rental company.
789
- attr_accessor :customer_service_phone_number
790
- # Number of days the car is being rented.
791
- attr_accessor :days_rented
792
- # Distance details for the rental.
793
- attr_accessor :distance
794
- # List of drivers for the rental.
795
- attr_accessor :drivers
796
- # Drop-off location details.
797
- attr_accessor :drop_off
798
- # Insurance details for the rental.
799
- attr_accessor :insurances
800
- # Indicates if the customer was a no-show.
801
- attr_accessor :no_show_indicator
802
- # Pickup location details.
803
- attr_accessor :pickup
804
- # Name of the person renting the vehicle.
805
- attr_accessor :renter_name
806
- # Total cost breakdown for the rental.
807
- attr_accessor :total
808
- # Vehicle details for the rental.
809
- attr_accessor :vehicle
810
-
811
- def initialize(
812
- affiliate: nil,
813
- booking_number: nil,
814
- carrier_name: nil,
815
- customer_service_phone_number: nil,
816
- days_rented: nil,
817
- distance: nil,
818
- drivers: nil,
819
- drop_off: nil,
820
- insurances: nil,
821
- no_show_indicator: nil,
822
- pickup: nil,
823
- renter_name: nil,
824
- total: nil,
825
- vehicle: nil
826
- )
827
- @affiliate = affiliate
828
- @booking_number = booking_number
829
- @carrier_name = carrier_name
830
- @customer_service_phone_number = customer_service_phone_number
831
- @days_rented = days_rented
832
- @distance = distance
833
- @drivers = drivers
834
- @drop_off = drop_off
835
- @insurances = insurances
836
- @no_show_indicator = no_show_indicator
837
- @pickup = pickup
838
- @renter_name = renter_name
839
- @total = total
840
- @vehicle = vehicle
841
- end
842
- end
843
-
844
- class EventDetails < ::Stripe::RequestParams
845
- class Address < ::Stripe::RequestParams
846
- # City, district, suburb, town, or village.
847
- attr_accessor :city
848
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
849
- attr_accessor :country
850
- # Address line 1, such as the street, PO Box, or company name.
851
- attr_accessor :line1
852
- # Address line 2, such as the apartment, suite, unit, or building.
853
- attr_accessor :line2
854
- # ZIP or postal code.
855
- attr_accessor :postal_code
856
- # State, county, province, or region.
857
- attr_accessor :state
858
-
859
- def initialize(
860
- city: nil,
861
- country: nil,
862
- line1: nil,
863
- line2: nil,
864
- postal_code: nil,
865
- state: nil
866
- )
867
- @city = city
868
- @country = country
869
- @line1 = line1
870
- @line2 = line2
871
- @postal_code = postal_code
872
- @state = state
873
- end
874
- end
875
-
876
- class Affiliate < ::Stripe::RequestParams
877
- # The name of the affiliate that originated the purchase.
878
- attr_accessor :name
879
-
880
- def initialize(name: nil)
881
- @name = name
882
- end
883
- end
884
-
885
- class Delivery < ::Stripe::RequestParams
886
- class Recipient < ::Stripe::RequestParams
887
- # The email of the recipient the ticket is delivered to.
888
- attr_accessor :email
889
- # The name of the recipient the ticket is delivered to.
890
- attr_accessor :name
891
- # The phone number of the recipient the ticket is delivered to.
892
- attr_accessor :phone
893
-
894
- def initialize(email: nil, name: nil, phone: nil)
895
- @email = email
896
- @name = name
897
- @phone = phone
898
- end
899
- end
900
- # The delivery method for the payment
901
- attr_accessor :mode
902
- # Details of the recipient.
903
- attr_accessor :recipient
904
-
905
- def initialize(mode: nil, recipient: nil)
906
- @mode = mode
907
- @recipient = recipient
908
- end
909
- end
910
- # Indicates if the tickets are digitally checked when entering the venue.
911
- attr_accessor :access_controlled_venue
912
- # The event location's address.
913
- attr_accessor :address
914
- # Affiliate details for this purchase.
915
- attr_accessor :affiliate
916
- # The name of the company
917
- attr_accessor :company
918
- # Delivery details for this purchase.
919
- attr_accessor :delivery
920
- # Event end time. Measured in seconds since the Unix epoch.
921
- attr_accessor :ends_at
922
- # Type of the event entertainment (concert, sports event etc)
923
- attr_accessor :genre
924
- # The name of the event.
925
- attr_accessor :name
926
- # Event start time. Measured in seconds since the Unix epoch.
927
- attr_accessor :starts_at
928
-
929
- def initialize(
930
- access_controlled_venue: nil,
931
- address: nil,
932
- affiliate: nil,
933
- company: nil,
934
- delivery: nil,
935
- ends_at: nil,
936
- genre: nil,
937
- name: nil,
938
- starts_at: nil
939
- )
940
- @access_controlled_venue = access_controlled_venue
941
- @address = address
942
- @affiliate = affiliate
943
- @company = company
944
- @delivery = delivery
945
- @ends_at = ends_at
946
- @genre = genre
947
- @name = name
948
- @starts_at = starts_at
949
- end
950
- end
951
-
952
- class Flight < ::Stripe::RequestParams
953
- class Affiliate < ::Stripe::RequestParams
954
- # The name of the affiliate that originated the purchase.
955
- attr_accessor :name
956
-
957
- def initialize(name: nil)
958
- @name = name
959
- end
960
- end
961
-
962
- class Delivery < ::Stripe::RequestParams
963
- class Recipient < ::Stripe::RequestParams
964
- # The email of the recipient the ticket is delivered to.
965
- attr_accessor :email
966
- # The name of the recipient the ticket is delivered to.
967
- attr_accessor :name
968
- # The phone number of the recipient the ticket is delivered to.
969
- attr_accessor :phone
970
-
971
- def initialize(email: nil, name: nil, phone: nil)
972
- @email = email
973
- @name = name
974
- @phone = phone
975
- end
976
- end
977
- # The delivery method for the payment
978
- attr_accessor :mode
979
- # Details of the recipient.
980
- attr_accessor :recipient
981
-
982
- def initialize(mode: nil, recipient: nil)
983
- @mode = mode
984
- @recipient = recipient
985
- end
986
- end
987
-
988
- class Passenger < ::Stripe::RequestParams
989
- # Full name of the person or entity on the flight reservation.
990
- attr_accessor :name
991
-
992
- def initialize(name: nil)
993
- @name = name
994
- end
995
- end
996
-
997
- class Segment < ::Stripe::RequestParams
998
- # The flight segment amount.
999
- attr_accessor :amount
1000
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1001
- attr_accessor :arrival_airport
1002
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1003
- attr_accessor :arrives_at
1004
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1005
- attr_accessor :carrier
1006
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1007
- attr_accessor :departs_at
1008
- # The International Air Transport Association (IATA) airport code for the departure airport.
1009
- attr_accessor :departure_airport
1010
- # The flight number associated with the segment
1011
- attr_accessor :flight_number
1012
- # The fare class for the segment.
1013
- attr_accessor :service_class
1014
-
1015
- def initialize(
1016
- amount: nil,
1017
- arrival_airport: nil,
1018
- arrives_at: nil,
1019
- carrier: nil,
1020
- departs_at: nil,
1021
- departure_airport: nil,
1022
- flight_number: nil,
1023
- service_class: nil
1024
- )
1025
- @amount = amount
1026
- @arrival_airport = arrival_airport
1027
- @arrives_at = arrives_at
1028
- @carrier = carrier
1029
- @departs_at = departs_at
1030
- @departure_airport = departure_airport
1031
- @flight_number = flight_number
1032
- @service_class = service_class
1033
- end
1034
- end
1035
- # Affiliate details for this purchase.
1036
- attr_accessor :affiliate
1037
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1038
- attr_accessor :agency_number
1039
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1040
- attr_accessor :carrier
1041
- # Delivery details for this purchase.
1042
- attr_accessor :delivery
1043
- # The name of the person or entity on the reservation.
1044
- attr_accessor :passenger_name
1045
- # The details of the passengers in the travel reservation.
1046
- attr_accessor :passengers
1047
- # The individual flight segments associated with the trip.
1048
- attr_accessor :segments
1049
- # The ticket number associated with the travel reservation.
1050
- attr_accessor :ticket_number
1051
-
1052
- def initialize(
1053
- affiliate: nil,
1054
- agency_number: nil,
1055
- carrier: nil,
1056
- delivery: nil,
1057
- passenger_name: nil,
1058
- passengers: nil,
1059
- segments: nil,
1060
- ticket_number: nil
1061
- )
1062
- @affiliate = affiliate
1063
- @agency_number = agency_number
1064
- @carrier = carrier
1065
- @delivery = delivery
1066
- @passenger_name = passenger_name
1067
- @passengers = passengers
1068
- @segments = segments
1069
- @ticket_number = ticket_number
1070
- end
1071
- end
1072
-
1073
- class FlightDatum < ::Stripe::RequestParams
1074
- class Affiliate < ::Stripe::RequestParams
1075
- # Affiliate partner code.
1076
- attr_accessor :code
1077
- # Name of affiliate partner.
1078
- attr_accessor :name
1079
- # Code provided by the company to a travel agent authorizing ticket issuance.
1080
- attr_accessor :travel_authorization_code
1081
-
1082
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1083
- @code = code
1084
- @name = name
1085
- @travel_authorization_code = travel_authorization_code
1086
- end
1087
- end
1088
-
1089
- class Insurance < ::Stripe::RequestParams
1090
- # Insurance cost.
1091
- attr_accessor :amount
1092
- # Insurance currency.
1093
- attr_accessor :currency
1094
- # Insurance company name.
1095
- attr_accessor :insurance_company_name
1096
- # Type of insurance.
1097
- attr_accessor :insurance_type
1098
-
1099
- def initialize(
1100
- amount: nil,
1101
- currency: nil,
1102
- insurance_company_name: nil,
1103
- insurance_type: nil
1104
- )
1105
- @amount = amount
1106
- @currency = currency
1107
- @insurance_company_name = insurance_company_name
1108
- @insurance_type = insurance_type
1109
- end
1110
- end
1111
-
1112
- class Passenger < ::Stripe::RequestParams
1113
- # Passenger's full name.
1114
- attr_accessor :name
1115
-
1116
- def initialize(name: nil)
1117
- @name = name
1118
- end
1119
- end
1120
-
1121
- class Segment < ::Stripe::RequestParams
1122
- class Arrival < ::Stripe::RequestParams
1123
- # Arrival airport IATA code.
1124
- attr_accessor :airport
1125
- # Arrival date/time.
1126
- attr_accessor :arrives_at
1127
- # Arrival city.
1128
- attr_accessor :city
1129
- # Arrival country.
1130
- attr_accessor :country
1131
-
1132
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1133
- @airport = airport
1134
- @arrives_at = arrives_at
1135
- @city = city
1136
- @country = country
1137
- end
1138
- end
1139
-
1140
- class Departure < ::Stripe::RequestParams
1141
- # Departure airport IATA code.
1142
- attr_accessor :airport
1143
- # Departure city.
1144
- attr_accessor :city
1145
- # Departure country.
1146
- attr_accessor :country
1147
- # Departure date/time.
1148
- attr_accessor :departs_at
1149
-
1150
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1151
- @airport = airport
1152
- @city = city
1153
- @country = country
1154
- @departs_at = departs_at
1155
- end
1156
- end
1157
- # Segment fare amount.
1158
- attr_accessor :amount
1159
- # Arrival details.
1160
- attr_accessor :arrival
1161
- # Airline carrier code.
1162
- attr_accessor :carrier_code
1163
- # Carrier name.
1164
- attr_accessor :carrier_name
1165
- # Segment currency.
1166
- attr_accessor :currency
1167
- # Departure details.
1168
- attr_accessor :departure
1169
- # Exchange ticket number.
1170
- attr_accessor :exchange_ticket_number
1171
- # Fare basis code.
1172
- attr_accessor :fare_basis_code
1173
- # Additional fees.
1174
- attr_accessor :fees
1175
- # Flight number.
1176
- attr_accessor :flight_number
1177
- # Stopover indicator.
1178
- attr_accessor :is_stop_over_indicator
1179
- # Refundable ticket indicator.
1180
- attr_accessor :refundable
1181
- # Class of service.
1182
- attr_accessor :service_class
1183
- # Tax amount for segment.
1184
- attr_accessor :tax_amount
1185
- # Ticket number.
1186
- attr_accessor :ticket_number
1187
-
1188
- def initialize(
1189
- amount: nil,
1190
- arrival: nil,
1191
- carrier_code: nil,
1192
- carrier_name: nil,
1193
- currency: nil,
1194
- departure: nil,
1195
- exchange_ticket_number: nil,
1196
- fare_basis_code: nil,
1197
- fees: nil,
1198
- flight_number: nil,
1199
- is_stop_over_indicator: nil,
1200
- refundable: nil,
1201
- service_class: nil,
1202
- tax_amount: nil,
1203
- ticket_number: nil
1204
- )
1205
- @amount = amount
1206
- @arrival = arrival
1207
- @carrier_code = carrier_code
1208
- @carrier_name = carrier_name
1209
- @currency = currency
1210
- @departure = departure
1211
- @exchange_ticket_number = exchange_ticket_number
1212
- @fare_basis_code = fare_basis_code
1213
- @fees = fees
1214
- @flight_number = flight_number
1215
- @is_stop_over_indicator = is_stop_over_indicator
1216
- @refundable = refundable
1217
- @service_class = service_class
1218
- @tax_amount = tax_amount
1219
- @ticket_number = ticket_number
1220
- end
1221
- end
1222
-
1223
- class Total < ::Stripe::RequestParams
1224
- class Discounts < ::Stripe::RequestParams
1225
- # Corporate client discount code.
1226
- attr_accessor :corporate_client_code
1227
-
1228
- def initialize(corporate_client_code: nil)
1229
- @corporate_client_code = corporate_client_code
1230
- end
1231
- end
1232
-
1233
- class ExtraCharge < ::Stripe::RequestParams
1234
- # Amount of additional charges.
1235
- attr_accessor :amount
1236
- # Type of additional charges.
1237
- attr_accessor :type
1238
-
1239
- def initialize(amount: nil, type: nil)
1240
- @amount = amount
1241
- @type = type
1242
- end
1243
- end
1244
-
1245
- class Tax < ::Stripe::RequestParams
1246
- class Tax < ::Stripe::RequestParams
1247
- # Tax amount.
1248
- attr_accessor :amount
1249
- # Tax rate.
1250
- attr_accessor :rate
1251
- # Type of tax.
1252
- attr_accessor :type
1253
-
1254
- def initialize(amount: nil, rate: nil, type: nil)
1255
- @amount = amount
1256
- @rate = rate
1257
- @type = type
1258
- end
1259
- end
1260
- # Array of tax details.
1261
- attr_accessor :taxes
1262
-
1263
- def initialize(taxes: nil)
1264
- @taxes = taxes
1265
- end
1266
- end
1267
- # Total flight amount.
1268
- attr_accessor :amount
1269
- # Reason for credit.
1270
- attr_accessor :credit_reason
1271
- # Total currency.
1272
- attr_accessor :currency
1273
- # Discount details.
1274
- attr_accessor :discounts
1275
- # Additional charges.
1276
- attr_accessor :extra_charges
1277
- # Tax breakdown.
1278
- attr_accessor :tax
1279
-
1280
- def initialize(
1281
- amount: nil,
1282
- credit_reason: nil,
1283
- currency: nil,
1284
- discounts: nil,
1285
- extra_charges: nil,
1286
- tax: nil
1287
- )
1288
- @amount = amount
1289
- @credit_reason = credit_reason
1290
- @currency = currency
1291
- @discounts = discounts
1292
- @extra_charges = extra_charges
1293
- @tax = tax
1294
- end
1295
- end
1296
- # Affiliate details if applicable.
1297
- attr_accessor :affiliate
1298
- # Reservation reference.
1299
- attr_accessor :booking_number
1300
- # Computerized reservation system used to make the reservation and purchase the ticket.
1301
- attr_accessor :computerized_reservation_system
1302
- # Ticket restrictions.
1303
- attr_accessor :endorsements_and_restrictions
1304
- # List of insurances.
1305
- attr_accessor :insurances
1306
- # List of passengers.
1307
- attr_accessor :passengers
1308
- # List of flight segments.
1309
- attr_accessor :segments
1310
- # Electronic ticket indicator.
1311
- attr_accessor :ticket_electronically_issued_indicator
1312
- # Total cost breakdown.
1313
- attr_accessor :total
1314
- # Type of flight transaction.
1315
- attr_accessor :transaction_type
1316
-
1317
- def initialize(
1318
- affiliate: nil,
1319
- booking_number: nil,
1320
- computerized_reservation_system: nil,
1321
- endorsements_and_restrictions: nil,
1322
- insurances: nil,
1323
- passengers: nil,
1324
- segments: nil,
1325
- ticket_electronically_issued_indicator: nil,
1326
- total: nil,
1327
- transaction_type: nil
1328
- )
1329
- @affiliate = affiliate
1330
- @booking_number = booking_number
1331
- @computerized_reservation_system = computerized_reservation_system
1332
- @endorsements_and_restrictions = endorsements_and_restrictions
1333
- @insurances = insurances
1334
- @passengers = passengers
1335
- @segments = segments
1336
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1337
- @total = total
1338
- @transaction_type = transaction_type
1339
- end
1340
- end
1341
-
1342
- class Lodging < ::Stripe::RequestParams
1343
- class Address < ::Stripe::RequestParams
1344
- # City, district, suburb, town, or village.
1345
- attr_accessor :city
1346
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1347
- attr_accessor :country
1348
- # Address line 1, such as the street, PO Box, or company name.
1349
- attr_accessor :line1
1350
- # Address line 2, such as the apartment, suite, unit, or building.
1351
- attr_accessor :line2
1352
- # ZIP or postal code.
1353
- attr_accessor :postal_code
1354
- # State, county, province, or region.
1355
- attr_accessor :state
1356
-
1357
- def initialize(
1358
- city: nil,
1359
- country: nil,
1360
- line1: nil,
1361
- line2: nil,
1362
- postal_code: nil,
1363
- state: nil
1364
- )
1365
- @city = city
1366
- @country = country
1367
- @line1 = line1
1368
- @line2 = line2
1369
- @postal_code = postal_code
1370
- @state = state
1371
- end
1372
- end
1373
-
1374
- class Affiliate < ::Stripe::RequestParams
1375
- # The name of the affiliate that originated the purchase.
1376
- attr_accessor :name
1377
-
1378
- def initialize(name: nil)
1379
- @name = name
1380
- end
1381
- end
1382
-
1383
- class Delivery < ::Stripe::RequestParams
1384
- class Recipient < ::Stripe::RequestParams
1385
- # The email of the recipient the ticket is delivered to.
1386
- attr_accessor :email
1387
- # The name of the recipient the ticket is delivered to.
1388
- attr_accessor :name
1389
- # The phone number of the recipient the ticket is delivered to.
1390
- attr_accessor :phone
1391
-
1392
- def initialize(email: nil, name: nil, phone: nil)
1393
- @email = email
1394
- @name = name
1395
- @phone = phone
1396
- end
1397
- end
1398
- # The delivery method for the payment
1399
- attr_accessor :mode
1400
- # Details of the recipient.
1401
- attr_accessor :recipient
1402
-
1403
- def initialize(mode: nil, recipient: nil)
1404
- @mode = mode
1405
- @recipient = recipient
1406
- end
1407
- end
1408
-
1409
- class Passenger < ::Stripe::RequestParams
1410
- # Full name of the person or entity on the lodging reservation.
1411
- attr_accessor :name
1412
-
1413
- def initialize(name: nil)
1414
- @name = name
1415
- end
1416
- end
1417
- # The lodging location's address.
1418
- attr_accessor :address
1419
- # The number of adults on the booking
1420
- attr_accessor :adults
1421
- # Affiliate details for this purchase.
1422
- attr_accessor :affiliate
1423
- # The booking number associated with the lodging reservation.
1424
- attr_accessor :booking_number
1425
- # The lodging category
1426
- attr_accessor :category
1427
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1428
- attr_accessor :checkin_at
1429
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1430
- attr_accessor :checkout_at
1431
- # The customer service phone number of the lodging company.
1432
- attr_accessor :customer_service_phone_number
1433
- # The daily lodging room rate.
1434
- attr_accessor :daily_room_rate_amount
1435
- # Delivery details for this purchase.
1436
- attr_accessor :delivery
1437
- # List of additional charges being billed.
1438
- attr_accessor :extra_charges
1439
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1440
- attr_accessor :fire_safety_act_compliance
1441
- # The name of the lodging location.
1442
- attr_accessor :name
1443
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1444
- attr_accessor :no_show
1445
- # The number of rooms on the booking
1446
- attr_accessor :number_of_rooms
1447
- # The details of the passengers in the travel reservation
1448
- attr_accessor :passengers
1449
- # The phone number of the lodging location.
1450
- attr_accessor :property_phone_number
1451
- # The room class for this purchase.
1452
- attr_accessor :room_class
1453
- # The number of room nights
1454
- attr_accessor :room_nights
1455
- # The total tax amount associating with the room reservation.
1456
- attr_accessor :total_room_tax_amount
1457
- # The total tax amount
1458
- attr_accessor :total_tax_amount
1459
-
1460
- def initialize(
1461
- address: nil,
1462
- adults: nil,
1463
- affiliate: nil,
1464
- booking_number: nil,
1465
- category: nil,
1466
- checkin_at: nil,
1467
- checkout_at: nil,
1468
- customer_service_phone_number: nil,
1469
- daily_room_rate_amount: nil,
1470
- delivery: nil,
1471
- extra_charges: nil,
1472
- fire_safety_act_compliance: nil,
1473
- name: nil,
1474
- no_show: nil,
1475
- number_of_rooms: nil,
1476
- passengers: nil,
1477
- property_phone_number: nil,
1478
- room_class: nil,
1479
- room_nights: nil,
1480
- total_room_tax_amount: nil,
1481
- total_tax_amount: nil
1482
- )
1483
- @address = address
1484
- @adults = adults
1485
- @affiliate = affiliate
1486
- @booking_number = booking_number
1487
- @category = category
1488
- @checkin_at = checkin_at
1489
- @checkout_at = checkout_at
1490
- @customer_service_phone_number = customer_service_phone_number
1491
- @daily_room_rate_amount = daily_room_rate_amount
1492
- @delivery = delivery
1493
- @extra_charges = extra_charges
1494
- @fire_safety_act_compliance = fire_safety_act_compliance
1495
- @name = name
1496
- @no_show = no_show
1497
- @number_of_rooms = number_of_rooms
1498
- @passengers = passengers
1499
- @property_phone_number = property_phone_number
1500
- @room_class = room_class
1501
- @room_nights = room_nights
1502
- @total_room_tax_amount = total_room_tax_amount
1503
- @total_tax_amount = total_tax_amount
1504
- end
1505
- end
1506
-
1507
- class LodgingDatum < ::Stripe::RequestParams
1508
- class Accommodation < ::Stripe::RequestParams
1509
- # Type of accommodation.
1510
- attr_accessor :accommodation_type
1511
- # Bed type.
1512
- attr_accessor :bed_type
1513
- # Daily accommodation rate in cents.
1514
- attr_accessor :daily_rate_amount
1515
- # Number of nights.
1516
- attr_accessor :nights
1517
- # Number of rooms, cabanas, apartments, and so on.
1518
- attr_accessor :number_of_rooms
1519
- # Rate type.
1520
- attr_accessor :rate_type
1521
- # Whether smoking is allowed.
1522
- attr_accessor :smoking_indicator
1523
-
1524
- def initialize(
1525
- accommodation_type: nil,
1526
- bed_type: nil,
1527
- daily_rate_amount: nil,
1528
- nights: nil,
1529
- number_of_rooms: nil,
1530
- rate_type: nil,
1531
- smoking_indicator: nil
1532
- )
1533
- @accommodation_type = accommodation_type
1534
- @bed_type = bed_type
1535
- @daily_rate_amount = daily_rate_amount
1536
- @nights = nights
1537
- @number_of_rooms = number_of_rooms
1538
- @rate_type = rate_type
1539
- @smoking_indicator = smoking_indicator
1540
- end
1541
- end
1542
-
1543
- class Affiliate < ::Stripe::RequestParams
1544
- # Affiliate partner code.
1545
- attr_accessor :code
1546
- # Affiliate partner name.
1547
- attr_accessor :name
1548
-
1549
- def initialize(code: nil, name: nil)
1550
- @code = code
1551
- @name = name
1552
- end
1553
- end
1554
-
1555
- class Guest < ::Stripe::RequestParams
1556
- # Guest's full name.
1557
- attr_accessor :name
1558
-
1559
- def initialize(name: nil)
1560
- @name = name
1561
- end
1562
- end
1563
-
1564
- class Host < ::Stripe::RequestParams
1565
- class Address < ::Stripe::RequestParams
1566
- # City, district, suburb, town, or village.
1567
- attr_accessor :city
1568
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1569
- attr_accessor :country
1570
- # Address line 1, such as the street, PO Box, or company name.
1571
- attr_accessor :line1
1572
- # Address line 2, such as the apartment, suite, unit, or building.
1573
- attr_accessor :line2
1574
- # ZIP or postal code.
1575
- attr_accessor :postal_code
1576
- # State, county, province, or region.
1577
- attr_accessor :state
1578
-
1579
- def initialize(
1580
- city: nil,
1581
- country: nil,
1582
- line1: nil,
1583
- line2: nil,
1584
- postal_code: nil,
1585
- state: nil
1586
- )
1587
- @city = city
1588
- @country = country
1589
- @line1 = line1
1590
- @line2 = line2
1591
- @postal_code = postal_code
1592
- @state = state
1593
- end
1594
- end
1595
- # Address of the host.
1596
- attr_accessor :address
1597
- # Host's country of domicile.
1598
- attr_accessor :country_of_domicile
1599
- # Reference number for the host.
1600
- attr_accessor :host_reference
1601
- # Type of host.
1602
- attr_accessor :host_type
1603
- # Name of the lodging property or host.
1604
- attr_accessor :name
1605
- # Total number of reservations for the host.
1606
- attr_accessor :number_of_reservations
1607
- # Property phone number.
1608
- attr_accessor :property_phone_number
1609
- # Host's registration date.
1610
- attr_accessor :registered_at
1611
-
1612
- def initialize(
1613
- address: nil,
1614
- country_of_domicile: nil,
1615
- host_reference: nil,
1616
- host_type: nil,
1617
- name: nil,
1618
- number_of_reservations: nil,
1619
- property_phone_number: nil,
1620
- registered_at: nil
1621
- )
1622
- @address = address
1623
- @country_of_domicile = country_of_domicile
1624
- @host_reference = host_reference
1625
- @host_type = host_type
1626
- @name = name
1627
- @number_of_reservations = number_of_reservations
1628
- @property_phone_number = property_phone_number
1629
- @registered_at = registered_at
1630
- end
1631
- end
1632
-
1633
- class Insurance < ::Stripe::RequestParams
1634
- # Price of the insurance coverage in cents.
1635
- attr_accessor :amount
1636
- # Currency of the insurance amount.
1637
- attr_accessor :currency
1638
- # Name of the insurance company.
1639
- attr_accessor :insurance_company_name
1640
- # Type of insurance coverage.
1641
- attr_accessor :insurance_type
1642
-
1643
- def initialize(
1644
- amount: nil,
1645
- currency: nil,
1646
- insurance_company_name: nil,
1647
- insurance_type: nil
1648
- )
1649
- @amount = amount
1650
- @currency = currency
1651
- @insurance_company_name = insurance_company_name
1652
- @insurance_type = insurance_type
1653
- end
1654
- end
1655
-
1656
- class Total < ::Stripe::RequestParams
1657
- class Discounts < ::Stripe::RequestParams
1658
- # Corporate client discount code.
1659
- attr_accessor :corporate_client_code
1660
- # Coupon code.
1661
- attr_accessor :coupon
18
+ class CardPresent < ::Stripe::RequestParams
19
+ # Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
20
+ attr_accessor :commodity_code
1662
21
 
1663
- def initialize(corporate_client_code: nil, coupon: nil)
1664
- @corporate_client_code = corporate_client_code
1665
- @coupon = coupon
22
+ def initialize(commodity_code: nil)
23
+ @commodity_code = commodity_code
1666
24
  end
1667
25
  end
1668
26
 
1669
- class ExtraCharge < ::Stripe::RequestParams
1670
- # Amount of the extra charge in cents.
1671
- attr_accessor :amount
1672
- # Type of extra charge.
1673
- attr_accessor :type
27
+ class Klarna < ::Stripe::RequestParams
28
+ # URL to an image for the product. Max length, 4096 characters.
29
+ attr_accessor :image_url
30
+ # URL to the product page. Max length, 4096 characters.
31
+ attr_accessor :product_url
32
+ # Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
33
+ attr_accessor :reference
34
+ # Reference for the subscription this line item is for.
35
+ attr_accessor :subscription_reference
1674
36
 
1675
- def initialize(amount: nil, type: nil)
1676
- @amount = amount
1677
- @type = type
37
+ def initialize(
38
+ image_url: nil,
39
+ product_url: nil,
40
+ reference: nil,
41
+ subscription_reference: nil
42
+ )
43
+ @image_url = image_url
44
+ @product_url = product_url
45
+ @reference = reference
46
+ @subscription_reference = subscription_reference
1678
47
  end
1679
48
  end
1680
49
 
1681
- class Tax < ::Stripe::RequestParams
1682
- class Tax < ::Stripe::RequestParams
1683
- # Tax amount in cents.
1684
- attr_accessor :amount
1685
- # Tax rate.
1686
- attr_accessor :rate
1687
- # Type of tax applied.
1688
- attr_accessor :type
1689
-
1690
- def initialize(amount: nil, rate: nil, type: nil)
1691
- @amount = amount
1692
- @rate = rate
1693
- @type = type
1694
- end
1695
- end
1696
- # Indicates whether the transaction is tax exempt.
1697
- attr_accessor :tax_exempt_indicator
1698
- # Tax details.
1699
- attr_accessor :taxes
1700
-
1701
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1702
- @tax_exempt_indicator = tax_exempt_indicator
1703
- @taxes = taxes
50
+ class Paypal < ::Stripe::RequestParams
51
+ # Type of the line item.
52
+ attr_accessor :category
53
+ # Description of the line item.
54
+ attr_accessor :description
55
+ # The Stripe account ID of the connected account that sells the item.
56
+ attr_accessor :sold_by
57
+
58
+ def initialize(category: nil, description: nil, sold_by: nil)
59
+ @category = category
60
+ @description = description
61
+ @sold_by = sold_by
1704
62
  end
1705
63
  end
1706
- # Total price of the lodging reservation in cents.
1707
- attr_accessor :amount
1708
- # Cash advances in cents.
1709
- attr_accessor :cash_advances
1710
- # Currency of the total amount.
1711
- attr_accessor :currency
1712
- # Discount details for the lodging.
1713
- attr_accessor :discounts
1714
- # Additional charges for the lodging.
1715
- attr_accessor :extra_charges
1716
- # Prepaid amount in cents.
1717
- attr_accessor :prepaid_amount
1718
- # Tax breakdown for the lodging reservation.
1719
- attr_accessor :tax
64
+ # This sub-hash contains line item details that are specific to `card` payment method."
65
+ attr_accessor :card
66
+ # This sub-hash contains line item details that are specific to `card_present` payment method."
67
+ attr_accessor :card_present
68
+ # This sub-hash contains line item details that are specific to `klarna` payment method."
69
+ attr_accessor :klarna
70
+ # This sub-hash contains line item details that are specific to `paypal` payment method."
71
+ attr_accessor :paypal
1720
72
 
1721
- def initialize(
1722
- amount: nil,
1723
- cash_advances: nil,
1724
- currency: nil,
1725
- discounts: nil,
1726
- extra_charges: nil,
1727
- prepaid_amount: nil,
1728
- tax: nil
1729
- )
1730
- @amount = amount
1731
- @cash_advances = cash_advances
1732
- @currency = currency
1733
- @discounts = discounts
1734
- @extra_charges = extra_charges
1735
- @prepaid_amount = prepaid_amount
1736
- @tax = tax
73
+ def initialize(card: nil, card_present: nil, klarna: nil, paypal: nil)
74
+ @card = card
75
+ @card_present = card_present
76
+ @klarna = klarna
77
+ @paypal = paypal
78
+ end
79
+ end
80
+
81
+ class Tax < ::Stripe::RequestParams
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.
83
+ #
84
+ # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
85
+ attr_accessor :total_tax_amount
86
+
87
+ def initialize(total_tax_amount: nil)
88
+ @total_tax_amount = total_tax_amount
1737
89
  end
1738
90
  end
1739
- # Accommodation details for the lodging.
1740
- attr_accessor :accommodation
1741
- # Affiliate details if applicable.
1742
- attr_accessor :affiliate
1743
- # Booking confirmation number for the lodging.
1744
- attr_accessor :booking_number
1745
- # Check-in date.
1746
- attr_accessor :checkin_at
1747
- # Check-out date.
1748
- attr_accessor :checkout_at
1749
- # Customer service phone number for the lodging company.
1750
- attr_accessor :customer_service_phone_number
1751
- # Whether the lodging is compliant with any hotel fire safety regulations.
1752
- attr_accessor :fire_safety_act_compliance_indicator
1753
- # List of guests for the lodging.
1754
- attr_accessor :guests
1755
- # Host details for the lodging.
1756
- attr_accessor :host
1757
- # List of insurances for the lodging.
1758
- attr_accessor :insurances
1759
- # Whether the renter is a no-show.
1760
- attr_accessor :no_show_indicator
1761
- # Renter ID number for the lodging.
1762
- attr_accessor :renter_id_number
1763
- # Renter name for the lodging.
1764
- attr_accessor :renter_name
1765
- # Total details for the lodging.
1766
- attr_accessor :total
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.
92
+ #
93
+ # This field is mutually exclusive with the `amount_details[discount_amount]` field.
94
+ attr_accessor :discount_amount
95
+ # Payment method-specific information for line items.
96
+ attr_accessor :payment_method_options
97
+ # The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
98
+ attr_accessor :product_code
99
+ # The product name of the line item. Required for L3 rates. At most 1024 characters long.
100
+ #
101
+ # For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
102
+ attr_accessor :product_name
103
+ # The quantity of items. Required for L3 rates. An integer greater than 0.
104
+ attr_accessor :quantity
105
+ # Contains information about the tax on the item.
106
+ attr_accessor :tax
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.
108
+ attr_accessor :unit_cost
109
+ # A unit of measure for the line item, such as gallons, feet, meters, etc.
110
+ attr_accessor :unit_of_measure
1767
111
 
1768
112
  def initialize(
1769
- accommodation: nil,
1770
- affiliate: nil,
1771
- booking_number: nil,
1772
- checkin_at: nil,
1773
- checkout_at: nil,
1774
- customer_service_phone_number: nil,
1775
- fire_safety_act_compliance_indicator: nil,
1776
- guests: nil,
1777
- host: nil,
1778
- insurances: nil,
1779
- no_show_indicator: nil,
1780
- renter_id_number: nil,
1781
- renter_name: nil,
1782
- total: 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
1783
121
  )
1784
- @accommodation = accommodation
1785
- @affiliate = affiliate
1786
- @booking_number = booking_number
1787
- @checkin_at = checkin_at
1788
- @checkout_at = checkout_at
1789
- @customer_service_phone_number = customer_service_phone_number
1790
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1791
- @guests = guests
1792
- @host = host
1793
- @insurances = insurances
1794
- @no_show_indicator = no_show_indicator
1795
- @renter_id_number = renter_id_number
1796
- @renter_name = renter_name
1797
- @total = total
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
1798
130
  end
1799
131
  end
1800
132
 
1801
- class Subscription < ::Stripe::RequestParams
1802
- class Affiliate < ::Stripe::RequestParams
1803
- # The name of the affiliate that originated the purchase.
1804
- 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
1805
140
 
1806
- def initialize(name: nil)
1807
- @name = name
1808
- 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
1809
145
  end
146
+ end
1810
147
 
1811
- class BillingInterval < ::Stripe::RequestParams
1812
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1813
- attr_accessor :count
1814
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1815
- attr_accessor :interval
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
1816
153
 
1817
- def initialize(count: nil, interval: nil)
1818
- @count = count
1819
- @interval = interval
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
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
168
+
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
176
+
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
182
+
183
+ def initialize(calculation: nil)
184
+ @calculation = calculation
1820
185
  end
1821
186
  end
1822
- # Affiliate details for this purchase.
1823
- attr_accessor :affiliate
1824
- # Info whether the subscription will be auto renewed upon expiry.
1825
- attr_accessor :auto_renewal
1826
- # Subscription billing details for this purchase.
1827
- attr_accessor :billing_interval
1828
- # Subscription end time. Measured in seconds since the Unix epoch.
1829
- attr_accessor :ends_at
1830
- # Name of the product on subscription. e.g. Apple Music Subscription
1831
- attr_accessor :name
1832
- # Subscription start time. Measured in seconds since the Unix epoch.
1833
- attr_accessor :starts_at
187
+ # Tax arguments for automations
188
+ attr_accessor :tax
1834
189
 
1835
- def initialize(
1836
- affiliate: nil,
1837
- auto_renewal: nil,
1838
- billing_interval: nil,
1839
- ends_at: nil,
1840
- name: nil,
1841
- starts_at: nil
1842
- )
1843
- @affiliate = affiliate
1844
- @auto_renewal = auto_renewal
1845
- @billing_interval = billing_interval
1846
- @ends_at = ends_at
1847
- @name = name
1848
- @starts_at = starts_at
190
+ def initialize(tax: nil)
191
+ @tax = tax
1849
192
  end
1850
193
  end
1851
- # Benefit details for this PaymentIntent
1852
- attr_accessor :benefit
1853
- # Car rental details for this PaymentIntent.
1854
- attr_accessor :car_rental
1855
- # Car rental data for this PaymentIntent.
1856
- attr_accessor :car_rental_data
194
+ # Arguments passed in automations
195
+ attr_accessor :inputs
196
+
197
+ def initialize(inputs: nil)
198
+ @inputs = inputs
199
+ end
200
+ end
201
+
202
+ class PaymentDetails < ::Stripe::RequestParams
1857
203
  # A unique value to identify the customer. This field is available only for card payments.
1858
204
  #
1859
205
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1860
206
  attr_accessor :customer_reference
1861
- # Event details for this PaymentIntent
1862
- attr_accessor :event_details
1863
- # Flight reservation details for this PaymentIntent
1864
- attr_accessor :flight
1865
- # Flight data for this PaymentIntent.
1866
- attr_accessor :flight_data
1867
- # Lodging reservation details for this PaymentIntent
1868
- attr_accessor :lodging
1869
- # Lodging data for this PaymentIntent.
1870
- attr_accessor :lodging_data
1871
207
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1872
208
  #
1873
209
  # 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`.
1874
210
  #
1875
211
  # 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.
1876
212
  attr_accessor :order_reference
1877
- # Subscription details for this PaymentIntent
1878
- attr_accessor :subscription
1879
213
 
1880
- def initialize(
1881
- benefit: nil,
1882
- car_rental: nil,
1883
- car_rental_data: nil,
1884
- customer_reference: nil,
1885
- event_details: nil,
1886
- flight: nil,
1887
- flight_data: nil,
1888
- lodging: nil,
1889
- lodging_data: nil,
1890
- order_reference: nil,
1891
- subscription: nil
1892
- )
1893
- @benefit = benefit
1894
- @car_rental = car_rental
1895
- @car_rental_data = car_rental_data
214
+ def initialize(customer_reference: nil, order_reference: nil)
1896
215
  @customer_reference = customer_reference
1897
- @event_details = event_details
1898
- @flight = flight
1899
- @flight_data = flight_data
1900
- @lodging = lodging
1901
- @lodging_data = lodging_data
1902
216
  @order_reference = order_reference
1903
- @subscription = subscription
1904
217
  end
1905
218
  end
1906
219
 
@@ -1965,7 +278,7 @@ module Stripe
1965
278
  attr_accessor :line2
1966
279
  # ZIP or postal code.
1967
280
  attr_accessor :postal_code
1968
- # State, county, province, or region.
281
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1969
282
  attr_accessor :state
1970
283
 
1971
284
  def initialize(
@@ -2041,18 +354,8 @@ module Stripe
2041
354
  end
2042
355
 
2043
356
  class Giropay < ::Stripe::RequestParams; end
2044
- class Gopay < ::Stripe::RequestParams; end
2045
357
  class Grabpay < ::Stripe::RequestParams; end
2046
358
 
2047
- class IdBankTransfer < ::Stripe::RequestParams
2048
- # Bank where the account is held.
2049
- attr_accessor :bank
2050
-
2051
- def initialize(bank: nil)
2052
- @bank = bank
2053
- end
2054
- end
2055
-
2056
359
  class Ideal < ::Stripe::RequestParams
2057
360
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2058
361
  attr_accessor :bank
@@ -2150,7 +453,6 @@ module Stripe
2150
453
  class Payco < ::Stripe::RequestParams; end
2151
454
  class Paynow < ::Stripe::RequestParams; end
2152
455
  class Paypal < ::Stripe::RequestParams; end
2153
- class Paypay < ::Stripe::RequestParams; end
2154
456
 
2155
457
  class Payto < ::Stripe::RequestParams
2156
458
  # The account number for the bank account.
@@ -2169,10 +471,9 @@ module Stripe
2169
471
 
2170
472
  class Pix < ::Stripe::RequestParams; end
2171
473
  class Promptpay < ::Stripe::RequestParams; end
2172
- class Qris < ::Stripe::RequestParams; end
2173
474
 
2174
475
  class RadarOptions < ::Stripe::RequestParams
2175
- # 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.
476
+ # 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.
2176
477
  attr_accessor :session
2177
478
 
2178
479
  def initialize(session: nil)
@@ -2180,29 +481,6 @@ module Stripe
2180
481
  end
2181
482
  end
2182
483
 
2183
- class Rechnung < ::Stripe::RequestParams
2184
- class Dob < ::Stripe::RequestParams
2185
- # The day of birth, between 1 and 31.
2186
- attr_accessor :day
2187
- # The month of birth, between 1 and 12.
2188
- attr_accessor :month
2189
- # The four-digit year of birth.
2190
- attr_accessor :year
2191
-
2192
- def initialize(day: nil, month: nil, year: nil)
2193
- @day = day
2194
- @month = month
2195
- @year = year
2196
- end
2197
- end
2198
- # Customer's date of birth
2199
- attr_accessor :dob
2200
-
2201
- def initialize(dob: nil)
2202
- @dob = dob
2203
- end
2204
- end
2205
-
2206
484
  class RevolutPay < ::Stripe::RequestParams; end
2207
485
  class SamsungPay < ::Stripe::RequestParams; end
2208
486
  class Satispay < ::Stripe::RequestParams; end
@@ -2216,8 +494,6 @@ module Stripe
2216
494
  end
2217
495
  end
2218
496
 
2219
- class Shopeepay < ::Stripe::RequestParams; end
2220
-
2221
497
  class Sofort < ::Stripe::RequestParams
2222
498
  # Two-letter ISO code representing the country the bank account is located in.
2223
499
  attr_accessor :country
@@ -2227,18 +503,6 @@ module Stripe
2227
503
  end
2228
504
  end
2229
505
 
2230
- class StripeBalance < ::Stripe::RequestParams
2231
- # The connected account ID whose Stripe balance to use as the source of payment
2232
- attr_accessor :account
2233
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2234
- attr_accessor :source_type
2235
-
2236
- def initialize(account: nil, source_type: nil)
2237
- @account = account
2238
- @source_type = source_type
2239
- end
2240
- end
2241
-
2242
506
  class Swish < ::Stripe::RequestParams; end
2243
507
  class Twint < ::Stripe::RequestParams; end
2244
508
 
@@ -2311,12 +575,8 @@ module Stripe
2311
575
  attr_accessor :fpx
2312
576
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2313
577
  attr_accessor :giropay
2314
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2315
- attr_accessor :gopay
2316
578
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2317
579
  attr_accessor :grabpay
2318
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2319
- attr_accessor :id_bank_transfer
2320
580
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2321
581
  attr_accessor :ideal
2322
582
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2333,7 +593,7 @@ module Stripe
2333
593
  attr_accessor :link
2334
594
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2335
595
  attr_accessor :mb_way
2336
- # 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`.
596
+ # 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`.
2337
597
  attr_accessor :metadata
2338
598
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2339
599
  attr_accessor :mobilepay
@@ -2355,20 +615,14 @@ module Stripe
2355
615
  attr_accessor :paynow
2356
616
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2357
617
  attr_accessor :paypal
2358
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2359
- attr_accessor :paypay
2360
618
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2361
619
  attr_accessor :payto
2362
620
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2363
621
  attr_accessor :pix
2364
622
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2365
623
  attr_accessor :promptpay
2366
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2367
- attr_accessor :qris
2368
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
624
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2369
625
  attr_accessor :radar_options
2370
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2371
- attr_accessor :rechnung
2372
626
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2373
627
  attr_accessor :revolut_pay
2374
628
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2377,12 +631,8 @@ module Stripe
2377
631
  attr_accessor :satispay
2378
632
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2379
633
  attr_accessor :sepa_debit
2380
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2381
- attr_accessor :shopeepay
2382
634
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2383
635
  attr_accessor :sofort
2384
- # This hash contains details about the Stripe balance payment method.
2385
- attr_accessor :stripe_balance
2386
636
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2387
637
  attr_accessor :swish
2388
638
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2417,9 +667,7 @@ module Stripe
2417
667
  eps: nil,
2418
668
  fpx: nil,
2419
669
  giropay: nil,
2420
- gopay: nil,
2421
670
  grabpay: nil,
2422
- id_bank_transfer: nil,
2423
671
  ideal: nil,
2424
672
  interac_present: nil,
2425
673
  kakao_pay: nil,
@@ -2439,20 +687,15 @@ module Stripe
2439
687
  payco: nil,
2440
688
  paynow: nil,
2441
689
  paypal: nil,
2442
- paypay: nil,
2443
690
  payto: nil,
2444
691
  pix: nil,
2445
692
  promptpay: nil,
2446
- qris: nil,
2447
693
  radar_options: nil,
2448
- rechnung: nil,
2449
694
  revolut_pay: nil,
2450
695
  samsung_pay: nil,
2451
696
  satispay: nil,
2452
697
  sepa_debit: nil,
2453
- shopeepay: nil,
2454
698
  sofort: nil,
2455
- stripe_balance: nil,
2456
699
  swish: nil,
2457
700
  twint: nil,
2458
701
  type: nil,
@@ -2480,9 +723,7 @@ module Stripe
2480
723
  @eps = eps
2481
724
  @fpx = fpx
2482
725
  @giropay = giropay
2483
- @gopay = gopay
2484
726
  @grabpay = grabpay
2485
- @id_bank_transfer = id_bank_transfer
2486
727
  @ideal = ideal
2487
728
  @interac_present = interac_present
2488
729
  @kakao_pay = kakao_pay
@@ -2502,20 +743,15 @@ module Stripe
2502
743
  @payco = payco
2503
744
  @paynow = paynow
2504
745
  @paypal = paypal
2505
- @paypay = paypay
2506
746
  @payto = payto
2507
747
  @pix = pix
2508
748
  @promptpay = promptpay
2509
- @qris = qris
2510
749
  @radar_options = radar_options
2511
- @rechnung = rechnung
2512
750
  @revolut_pay = revolut_pay
2513
751
  @samsung_pay = samsung_pay
2514
752
  @satispay = satispay
2515
753
  @sepa_debit = sepa_debit
2516
- @shopeepay = shopeepay
2517
754
  @sofort = sofort
2518
- @stripe_balance = stripe_balance
2519
755
  @swish = swish
2520
756
  @twint = twint
2521
757
  @type = type
@@ -2886,48 +1122,6 @@ module Stripe
2886
1122
  end
2887
1123
  end
2888
1124
 
2889
- class StatementDetails < ::Stripe::RequestParams
2890
- class Address < ::Stripe::RequestParams
2891
- # City, district, suburb, town, or village.
2892
- attr_accessor :city
2893
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2894
- attr_accessor :country
2895
- # Address line 1, such as the street, PO Box, or company name.
2896
- attr_accessor :line1
2897
- # Address line 2, such as the apartment, suite, unit, or building.
2898
- attr_accessor :line2
2899
- # ZIP or postal code.
2900
- attr_accessor :postal_code
2901
- # State, county, province, or region.
2902
- attr_accessor :state
2903
-
2904
- def initialize(
2905
- city: nil,
2906
- country: nil,
2907
- line1: nil,
2908
- line2: nil,
2909
- postal_code: nil,
2910
- state: nil
2911
- )
2912
- @city = city
2913
- @country = country
2914
- @line1 = line1
2915
- @line2 = line2
2916
- @postal_code = postal_code
2917
- @state = state
2918
- end
2919
- end
2920
- # Please pass in an address that is within your Stripe user account country
2921
- attr_accessor :address
2922
- # Phone number (e.g., a toll-free number that customers can call)
2923
- attr_accessor :phone
2924
-
2925
- def initialize(address: nil, phone: nil)
2926
- @address = address
2927
- @phone = phone
2928
- end
2929
- end
2930
-
2931
1125
  class ThreeDSecure < ::Stripe::RequestParams
2932
1126
  class NetworkOptions < ::Stripe::RequestParams
2933
1127
  class CartesBancaires < ::Stripe::RequestParams
@@ -3012,7 +1206,7 @@ module Stripe
3012
1206
  attr_accessor :cvc_token
3013
1207
  # Installment configuration for payments attempted on this PaymentIntent.
3014
1208
  #
3015
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
1209
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
3016
1210
  attr_accessor :installments
3017
1211
  # Configuration options for setting up an eMandate for cards issued in India.
3018
1212
  attr_accessor :mandate_options
@@ -3022,19 +1216,15 @@ module Stripe
3022
1216
  attr_accessor :moto
3023
1217
  # 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.
3024
1218
  attr_accessor :network
3025
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
3026
- attr_accessor :request_decremental_authorization
3027
- # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1219
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3028
1220
  attr_accessor :request_extended_authorization
3029
- # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
1221
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
3030
1222
  attr_accessor :request_incremental_authorization
3031
- # Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.
1223
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
3032
1224
  attr_accessor :request_multicapture
3033
- # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1225
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3034
1226
  attr_accessor :request_overcapture
3035
- # Request partial authorization on this PaymentIntent.
3036
- attr_accessor :request_partial_authorization
3037
- # 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.
1227
+ # 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.
3038
1228
  attr_accessor :request_three_d_secure
3039
1229
  # 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).
3040
1230
  attr_accessor :require_cvc_recollection
@@ -3052,8 +1242,6 @@ module Stripe
3052
1242
  attr_accessor :statement_descriptor_suffix_kana
3053
1243
  # 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.
3054
1244
  attr_accessor :statement_descriptor_suffix_kanji
3055
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3056
- attr_accessor :statement_details
3057
1245
  # If 3D Secure authentication was performed with a third-party provider,
3058
1246
  # the authentication details to use for this payment.
3059
1247
  attr_accessor :three_d_secure
@@ -3065,18 +1253,15 @@ module Stripe
3065
1253
  mandate_options: nil,
3066
1254
  moto: nil,
3067
1255
  network: nil,
3068
- request_decremental_authorization: nil,
3069
1256
  request_extended_authorization: nil,
3070
1257
  request_incremental_authorization: nil,
3071
1258
  request_multicapture: nil,
3072
1259
  request_overcapture: nil,
3073
- request_partial_authorization: nil,
3074
1260
  request_three_d_secure: nil,
3075
1261
  require_cvc_recollection: nil,
3076
1262
  setup_future_usage: nil,
3077
1263
  statement_descriptor_suffix_kana: nil,
3078
1264
  statement_descriptor_suffix_kanji: nil,
3079
- statement_details: nil,
3080
1265
  three_d_secure: nil
3081
1266
  )
3082
1267
  @capture_method = capture_method
@@ -3085,18 +1270,15 @@ module Stripe
3085
1270
  @mandate_options = mandate_options
3086
1271
  @moto = moto
3087
1272
  @network = network
3088
- @request_decremental_authorization = request_decremental_authorization
3089
1273
  @request_extended_authorization = request_extended_authorization
3090
1274
  @request_incremental_authorization = request_incremental_authorization
3091
1275
  @request_multicapture = request_multicapture
3092
1276
  @request_overcapture = request_overcapture
3093
- @request_partial_authorization = request_partial_authorization
3094
1277
  @request_three_d_secure = request_three_d_secure
3095
1278
  @require_cvc_recollection = require_cvc_recollection
3096
1279
  @setup_future_usage = setup_future_usage
3097
1280
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3098
1281
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3099
- @statement_details = statement_details
3100
1282
  @three_d_secure = three_d_secure
3101
1283
  end
3102
1284
  end
@@ -3116,9 +1298,9 @@ module Stripe
3116
1298
  #
3117
1299
  # 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.
3118
1300
  attr_accessor :capture_method
3119
- # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1301
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
3120
1302
  attr_accessor :request_extended_authorization
3121
- # 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.
1303
+ # 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.
3122
1304
  attr_accessor :request_incremental_authorization_support
3123
1305
  # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3124
1306
  attr_accessor :routing
@@ -3194,54 +1376,18 @@ module Stripe
3194
1376
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
3195
1377
  attr_accessor :requested_address_types
3196
1378
  # 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`.
3197
- attr_accessor :type
3198
-
3199
- def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
3200
- @eu_bank_transfer = eu_bank_transfer
3201
- @requested_address_types = requested_address_types
3202
- @type = type
3203
- end
3204
- end
3205
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3206
- attr_accessor :bank_transfer
3207
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3208
- attr_accessor :funding_type
3209
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3210
- #
3211
- # 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.
3212
- #
3213
- # 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.
3214
- #
3215
- # 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).
3216
- #
3217
- # 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`.
3218
- attr_accessor :setup_future_usage
3219
-
3220
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3221
- @bank_transfer = bank_transfer
3222
- @funding_type = funding_type
3223
- @setup_future_usage = setup_future_usage
3224
- end
3225
- end
3226
-
3227
- class Eps < ::Stripe::RequestParams
3228
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3229
- #
3230
- # 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.
3231
- #
3232
- # 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.
3233
- #
3234
- # 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).
3235
- #
3236
- # 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`.
3237
- attr_accessor :setup_future_usage
1379
+ attr_accessor :type
3238
1380
 
3239
- def initialize(setup_future_usage: nil)
3240
- @setup_future_usage = setup_future_usage
1381
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1382
+ @eu_bank_transfer = eu_bank_transfer
1383
+ @requested_address_types = requested_address_types
1384
+ @type = type
1385
+ end
3241
1386
  end
3242
- end
3243
-
3244
- class Fpx < ::Stripe::RequestParams
1387
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1388
+ attr_accessor :bank_transfer
1389
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1390
+ attr_accessor :funding_type
3245
1391
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3246
1392
  #
3247
1393
  # 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.
@@ -3253,12 +1399,14 @@ module Stripe
3253
1399
  # 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`.
3254
1400
  attr_accessor :setup_future_usage
3255
1401
 
3256
- def initialize(setup_future_usage: nil)
1402
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1403
+ @bank_transfer = bank_transfer
1404
+ @funding_type = funding_type
3257
1405
  @setup_future_usage = setup_future_usage
3258
1406
  end
3259
1407
  end
3260
1408
 
3261
- class Giropay < ::Stripe::RequestParams
1409
+ class Eps < ::Stripe::RequestParams
3262
1410
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3263
1411
  #
3264
1412
  # 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.
@@ -3275,7 +1423,7 @@ module Stripe
3275
1423
  end
3276
1424
  end
3277
1425
 
3278
- class Gopay < ::Stripe::RequestParams
1426
+ class Fpx < ::Stripe::RequestParams
3279
1427
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3280
1428
  #
3281
1429
  # 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.
@@ -3292,7 +1440,7 @@ module Stripe
3292
1440
  end
3293
1441
  end
3294
1442
 
3295
- class Grabpay < ::Stripe::RequestParams
1443
+ class Giropay < ::Stripe::RequestParams
3296
1444
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3297
1445
  #
3298
1446
  # 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.
@@ -3309,11 +1457,7 @@ module Stripe
3309
1457
  end
3310
1458
  end
3311
1459
 
3312
- class IdBankTransfer < ::Stripe::RequestParams
3313
- # 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.
3314
- attr_accessor :expires_after
3315
- # 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.
3316
- attr_accessor :expires_at
1460
+ class Grabpay < ::Stripe::RequestParams
3317
1461
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3318
1462
  #
3319
1463
  # 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.
@@ -3325,9 +1469,7 @@ module Stripe
3325
1469
  # 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`.
3326
1470
  attr_accessor :setup_future_usage
3327
1471
 
3328
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3329
- @expires_after = expires_after
3330
- @expires_at = expires_at
1472
+ def initialize(setup_future_usage: nil)
3331
1473
  @setup_future_usage = setup_future_usage
3332
1474
  end
3333
1475
  end
@@ -3438,939 +1580,6 @@ module Stripe
3438
1580
  @reference = reference
3439
1581
  end
3440
1582
  end
3441
-
3442
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3443
- class BusReservationDetail < ::Stripe::RequestParams
3444
- class Arrival < ::Stripe::RequestParams
3445
- class Address < ::Stripe::RequestParams
3446
- # The city or town.
3447
- attr_accessor :city
3448
- # The country in ISO 3166-1 alpha-2 format.
3449
- attr_accessor :country
3450
- # The postal code formatted according to country.
3451
- attr_accessor :postal_code
3452
- # The state, county, province, or region formatted according to country.
3453
- attr_accessor :region
3454
- # Line 1 of the street address.
3455
- attr_accessor :street_address
3456
- # Line 2 of the street address.
3457
- attr_accessor :street_address2
3458
-
3459
- def initialize(
3460
- city: nil,
3461
- country: nil,
3462
- postal_code: nil,
3463
- region: nil,
3464
- street_address: nil,
3465
- street_address2: nil
3466
- )
3467
- @city = city
3468
- @country = country
3469
- @postal_code = postal_code
3470
- @region = region
3471
- @street_address = street_address
3472
- @street_address2 = street_address2
3473
- end
3474
- end
3475
- # Address of the arrival location.
3476
- attr_accessor :address
3477
- # Identifier name or reference for the arrival location.
3478
- attr_accessor :arrival_location
3479
-
3480
- def initialize(address: nil, arrival_location: nil)
3481
- @address = address
3482
- @arrival_location = arrival_location
3483
- end
3484
- end
3485
-
3486
- class Departure < ::Stripe::RequestParams
3487
- class Address < ::Stripe::RequestParams
3488
- # The city or town.
3489
- attr_accessor :city
3490
- # The country in ISO 3166-1 alpha-2 format.
3491
- attr_accessor :country
3492
- # The postal code formatted according to country.
3493
- attr_accessor :postal_code
3494
- # The state, county, province, or region formatted according to country.
3495
- attr_accessor :region
3496
- # Line 1 of the street address.
3497
- attr_accessor :street_address
3498
- # Line 2 of the street address.
3499
- attr_accessor :street_address2
3500
-
3501
- def initialize(
3502
- city: nil,
3503
- country: nil,
3504
- postal_code: nil,
3505
- region: nil,
3506
- street_address: nil,
3507
- street_address2: nil
3508
- )
3509
- @city = city
3510
- @country = country
3511
- @postal_code = postal_code
3512
- @region = region
3513
- @street_address = street_address
3514
- @street_address2 = street_address2
3515
- end
3516
- end
3517
- # Address of the departure location.
3518
- attr_accessor :address
3519
- # Timestamp of departure.
3520
- attr_accessor :departs_at
3521
- # Identifier name or reference for the origin location.
3522
- attr_accessor :departure_location
3523
-
3524
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3525
- @address = address
3526
- @departs_at = departs_at
3527
- @departure_location = departure_location
3528
- end
3529
- end
3530
-
3531
- class Insurance < ::Stripe::RequestParams
3532
- # Insurance currency.
3533
- attr_accessor :currency
3534
- # Name of the company providing the insurance.
3535
- attr_accessor :insurance_company_name
3536
- # Type of insurance.
3537
- attr_accessor :insurance_type
3538
- # Price of insurance in cents.
3539
- attr_accessor :price
3540
-
3541
- def initialize(
3542
- currency: nil,
3543
- insurance_company_name: nil,
3544
- insurance_type: nil,
3545
- price: nil
3546
- )
3547
- @currency = currency
3548
- @insurance_company_name = insurance_company_name
3549
- @insurance_type = insurance_type
3550
- @price = price
3551
- end
3552
- end
3553
-
3554
- class Passenger < ::Stripe::RequestParams
3555
- # The family name of the person.
3556
- attr_accessor :family_name
3557
- # The given name of the person.
3558
- attr_accessor :given_name
3559
-
3560
- def initialize(family_name: nil, given_name: nil)
3561
- @family_name = family_name
3562
- @given_name = given_name
3563
- end
3564
- end
3565
- # Name of associated or partner company for the service.
3566
- attr_accessor :affiliate_name
3567
- # Arrival details.
3568
- attr_accessor :arrival
3569
- # Name of transportation company.
3570
- attr_accessor :carrier_name
3571
- # Currency.
3572
- attr_accessor :currency
3573
- # Departure details.
3574
- attr_accessor :departure
3575
- # List of insurances for this reservation.
3576
- attr_accessor :insurances
3577
- # List of passengers that this reservation applies to.
3578
- attr_accessor :passengers
3579
- # Price in cents.
3580
- attr_accessor :price
3581
- # Ticket class.
3582
- attr_accessor :ticket_class
3583
-
3584
- def initialize(
3585
- affiliate_name: nil,
3586
- arrival: nil,
3587
- carrier_name: nil,
3588
- currency: nil,
3589
- departure: nil,
3590
- insurances: nil,
3591
- passengers: nil,
3592
- price: nil,
3593
- ticket_class: nil
3594
- )
3595
- @affiliate_name = affiliate_name
3596
- @arrival = arrival
3597
- @carrier_name = carrier_name
3598
- @currency = currency
3599
- @departure = departure
3600
- @insurances = insurances
3601
- @passengers = passengers
3602
- @price = price
3603
- @ticket_class = ticket_class
3604
- end
3605
- end
3606
-
3607
- class EventReservationDetail < ::Stripe::RequestParams
3608
- class Address < ::Stripe::RequestParams
3609
- # The city or town.
3610
- attr_accessor :city
3611
- # The country in ISO 3166-1 alpha-2 format.
3612
- attr_accessor :country
3613
- # The postal code formatted according to country.
3614
- attr_accessor :postal_code
3615
- # The state, county, province, or region formatted according to country.
3616
- attr_accessor :region
3617
- # Line 1 of the street address.
3618
- attr_accessor :street_address
3619
- # Line 2 of the street address.
3620
- attr_accessor :street_address2
3621
-
3622
- def initialize(
3623
- city: nil,
3624
- country: nil,
3625
- postal_code: nil,
3626
- region: nil,
3627
- street_address: nil,
3628
- street_address2: nil
3629
- )
3630
- @city = city
3631
- @country = country
3632
- @postal_code = postal_code
3633
- @region = region
3634
- @street_address = street_address
3635
- @street_address2 = street_address2
3636
- end
3637
- end
3638
-
3639
- class Insurance < ::Stripe::RequestParams
3640
- # Insurance currency.
3641
- attr_accessor :currency
3642
- # Name of the company providing the insurance.
3643
- attr_accessor :insurance_company_name
3644
- # Type of insurance.
3645
- attr_accessor :insurance_type
3646
- # Price of insurance in cents.
3647
- attr_accessor :price
3648
-
3649
- def initialize(
3650
- currency: nil,
3651
- insurance_company_name: nil,
3652
- insurance_type: nil,
3653
- price: nil
3654
- )
3655
- @currency = currency
3656
- @insurance_company_name = insurance_company_name
3657
- @insurance_type = insurance_type
3658
- @price = price
3659
- end
3660
- end
3661
- # Indicates if the tickets are digitally checked when entering the venue.
3662
- attr_accessor :access_controlled_venue
3663
- # Address of the event.
3664
- attr_accessor :address
3665
- # Name of associated or partner company for the service.
3666
- attr_accessor :affiliate_name
3667
- # End timestamp of the event.
3668
- attr_accessor :ends_at
3669
- # Company selling the ticket.
3670
- attr_accessor :event_company_name
3671
- # Name of the event.
3672
- attr_accessor :event_name
3673
- # Type of the event.
3674
- attr_accessor :event_type
3675
- # List of insurances for this event.
3676
- attr_accessor :insurances
3677
- # Start timestamp of the event.
3678
- attr_accessor :starts_at
3679
- # Name of the venue where the event takes place.
3680
- attr_accessor :venue_name
3681
-
3682
- def initialize(
3683
- access_controlled_venue: nil,
3684
- address: nil,
3685
- affiliate_name: nil,
3686
- ends_at: nil,
3687
- event_company_name: nil,
3688
- event_name: nil,
3689
- event_type: nil,
3690
- insurances: nil,
3691
- starts_at: nil,
3692
- venue_name: nil
3693
- )
3694
- @access_controlled_venue = access_controlled_venue
3695
- @address = address
3696
- @affiliate_name = affiliate_name
3697
- @ends_at = ends_at
3698
- @event_company_name = event_company_name
3699
- @event_name = event_name
3700
- @event_type = event_type
3701
- @insurances = insurances
3702
- @starts_at = starts_at
3703
- @venue_name = venue_name
3704
- end
3705
- end
3706
-
3707
- class FerryReservationDetail < ::Stripe::RequestParams
3708
- class Arrival < ::Stripe::RequestParams
3709
- class Address < ::Stripe::RequestParams
3710
- # The city or town.
3711
- attr_accessor :city
3712
- # The country in ISO 3166-1 alpha-2 format.
3713
- attr_accessor :country
3714
- # The postal code formatted according to country.
3715
- attr_accessor :postal_code
3716
- # The state, county, province, or region formatted according to country.
3717
- attr_accessor :region
3718
- # Line 1 of the street address.
3719
- attr_accessor :street_address
3720
- # Line 2 of the street address.
3721
- attr_accessor :street_address2
3722
-
3723
- def initialize(
3724
- city: nil,
3725
- country: nil,
3726
- postal_code: nil,
3727
- region: nil,
3728
- street_address: nil,
3729
- street_address2: nil
3730
- )
3731
- @city = city
3732
- @country = country
3733
- @postal_code = postal_code
3734
- @region = region
3735
- @street_address = street_address
3736
- @street_address2 = street_address2
3737
- end
3738
- end
3739
- # Address of the arrival location.
3740
- attr_accessor :address
3741
- # Identifier name or reference for the arrival location.
3742
- attr_accessor :arrival_location
3743
-
3744
- def initialize(address: nil, arrival_location: nil)
3745
- @address = address
3746
- @arrival_location = arrival_location
3747
- end
3748
- end
3749
-
3750
- class Departure < ::Stripe::RequestParams
3751
- class Address < ::Stripe::RequestParams
3752
- # The city or town.
3753
- attr_accessor :city
3754
- # The country in ISO 3166-1 alpha-2 format.
3755
- attr_accessor :country
3756
- # The postal code formatted according to country.
3757
- attr_accessor :postal_code
3758
- # The state, county, province, or region formatted according to country.
3759
- attr_accessor :region
3760
- # Line 1 of the street address.
3761
- attr_accessor :street_address
3762
- # Line 2 of the street address.
3763
- attr_accessor :street_address2
3764
-
3765
- def initialize(
3766
- city: nil,
3767
- country: nil,
3768
- postal_code: nil,
3769
- region: nil,
3770
- street_address: nil,
3771
- street_address2: nil
3772
- )
3773
- @city = city
3774
- @country = country
3775
- @postal_code = postal_code
3776
- @region = region
3777
- @street_address = street_address
3778
- @street_address2 = street_address2
3779
- end
3780
- end
3781
- # Address of the departure location.
3782
- attr_accessor :address
3783
- # Timestamp of departure.
3784
- attr_accessor :departs_at
3785
- # Identifier name or reference for the origin location.
3786
- attr_accessor :departure_location
3787
-
3788
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3789
- @address = address
3790
- @departs_at = departs_at
3791
- @departure_location = departure_location
3792
- end
3793
- end
3794
-
3795
- class Insurance < ::Stripe::RequestParams
3796
- # Insurance currency.
3797
- attr_accessor :currency
3798
- # Name of the company providing the insurance.
3799
- attr_accessor :insurance_company_name
3800
- # Type of insurance.
3801
- attr_accessor :insurance_type
3802
- # Price of insurance in cents.
3803
- attr_accessor :price
3804
-
3805
- def initialize(
3806
- currency: nil,
3807
- insurance_company_name: nil,
3808
- insurance_type: nil,
3809
- price: nil
3810
- )
3811
- @currency = currency
3812
- @insurance_company_name = insurance_company_name
3813
- @insurance_type = insurance_type
3814
- @price = price
3815
- end
3816
- end
3817
-
3818
- class Passenger < ::Stripe::RequestParams
3819
- # The family name of the person.
3820
- attr_accessor :family_name
3821
- # The given name of the person.
3822
- attr_accessor :given_name
3823
-
3824
- def initialize(family_name: nil, given_name: nil)
3825
- @family_name = family_name
3826
- @given_name = given_name
3827
- end
3828
- end
3829
- # Name of associated or partner company for the service.
3830
- attr_accessor :affiliate_name
3831
- # Arrival details.
3832
- attr_accessor :arrival
3833
- # Name of transportation company.
3834
- attr_accessor :carrier_name
3835
- # Currency.
3836
- attr_accessor :currency
3837
- # Departure details.
3838
- attr_accessor :departure
3839
- # List of insurances for this reservation.
3840
- attr_accessor :insurances
3841
- # List of passengers that this reservation applies to.
3842
- attr_accessor :passengers
3843
- # Price in cents.
3844
- attr_accessor :price
3845
- # Ticket class.
3846
- attr_accessor :ticket_class
3847
-
3848
- def initialize(
3849
- affiliate_name: nil,
3850
- arrival: nil,
3851
- carrier_name: nil,
3852
- currency: nil,
3853
- departure: nil,
3854
- insurances: nil,
3855
- passengers: nil,
3856
- price: nil,
3857
- ticket_class: nil
3858
- )
3859
- @affiliate_name = affiliate_name
3860
- @arrival = arrival
3861
- @carrier_name = carrier_name
3862
- @currency = currency
3863
- @departure = departure
3864
- @insurances = insurances
3865
- @passengers = passengers
3866
- @price = price
3867
- @ticket_class = ticket_class
3868
- end
3869
- end
3870
-
3871
- class Insurance < ::Stripe::RequestParams
3872
- # Insurance currency.
3873
- attr_accessor :currency
3874
- # Name of the company providing the insurance.
3875
- attr_accessor :insurance_company_name
3876
- # Type of insurance
3877
- attr_accessor :insurance_type
3878
- # Price of insurance in cents.
3879
- attr_accessor :price
3880
-
3881
- def initialize(
3882
- currency: nil,
3883
- insurance_company_name: nil,
3884
- insurance_type: nil,
3885
- price: nil
3886
- )
3887
- @currency = currency
3888
- @insurance_company_name = insurance_company_name
3889
- @insurance_type = insurance_type
3890
- @price = price
3891
- end
3892
- end
3893
-
3894
- class MarketplaceSeller < ::Stripe::RequestParams
3895
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3896
- # The city or town.
3897
- attr_accessor :city
3898
- # The country in ISO 3166-1 alpha-2 format.
3899
- attr_accessor :country
3900
- # The postal code formatted according to country.
3901
- attr_accessor :postal_code
3902
- # The state, county, province, or region formatted according to country.
3903
- attr_accessor :region
3904
- # Line 1 of the street address.
3905
- attr_accessor :street_address
3906
- # Line 2 of the street address.
3907
- attr_accessor :street_address2
3908
-
3909
- def initialize(
3910
- city: nil,
3911
- country: nil,
3912
- postal_code: nil,
3913
- region: nil,
3914
- street_address: nil,
3915
- street_address2: nil
3916
- )
3917
- @city = city
3918
- @country = country
3919
- @postal_code = postal_code
3920
- @region = region
3921
- @street_address = street_address
3922
- @street_address2 = street_address2
3923
- end
3924
- end
3925
- # The references to line items for purchases with multiple associated sub-sellers.
3926
- attr_accessor :line_item_references
3927
- # The address of the selling or delivering merchant.
3928
- attr_accessor :marketplace_seller_address
3929
- # The name of the marketplace seller.
3930
- attr_accessor :marketplace_seller_name
3931
- # The unique identifier for the marketplace seller.
3932
- attr_accessor :marketplace_seller_reference
3933
- # The number of transactions the sub-seller completed in the last 12 months.
3934
- attr_accessor :number_of_transactions
3935
- # The category of the product.
3936
- attr_accessor :product_category
3937
- # The date when the seller's account with the marketplace was last logged in.
3938
- attr_accessor :seller_last_login_at
3939
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3940
- attr_accessor :seller_rating
3941
- # The date when the seller's account with the marketplace was created.
3942
- attr_accessor :seller_registered_at
3943
- # The date when the seller's account with the marketplace was last updated.
3944
- attr_accessor :seller_updated_at
3945
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3946
- attr_accessor :shipping_references
3947
- # 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.
3948
- attr_accessor :volume_of_transactions
3949
-
3950
- def initialize(
3951
- line_item_references: nil,
3952
- marketplace_seller_address: nil,
3953
- marketplace_seller_name: nil,
3954
- marketplace_seller_reference: nil,
3955
- number_of_transactions: nil,
3956
- product_category: nil,
3957
- seller_last_login_at: nil,
3958
- seller_rating: nil,
3959
- seller_registered_at: nil,
3960
- seller_updated_at: nil,
3961
- shipping_references: nil,
3962
- volume_of_transactions: nil
3963
- )
3964
- @line_item_references = line_item_references
3965
- @marketplace_seller_address = marketplace_seller_address
3966
- @marketplace_seller_name = marketplace_seller_name
3967
- @marketplace_seller_reference = marketplace_seller_reference
3968
- @number_of_transactions = number_of_transactions
3969
- @product_category = product_category
3970
- @seller_last_login_at = seller_last_login_at
3971
- @seller_rating = seller_rating
3972
- @seller_registered_at = seller_registered_at
3973
- @seller_updated_at = seller_updated_at
3974
- @shipping_references = shipping_references
3975
- @volume_of_transactions = volume_of_transactions
3976
- end
3977
- end
3978
-
3979
- class RoundTripReservationDetail < ::Stripe::RequestParams
3980
- class Arrival < ::Stripe::RequestParams
3981
- class Address < ::Stripe::RequestParams
3982
- # The city or town.
3983
- attr_accessor :city
3984
- # The country in ISO 3166-1 alpha-2 format.
3985
- attr_accessor :country
3986
- # The postal code formatted according to country.
3987
- attr_accessor :postal_code
3988
- # The state, county, province, or region formatted according to country.
3989
- attr_accessor :region
3990
- # Line 1 of the street address.
3991
- attr_accessor :street_address
3992
- # Line 2 of the street address.
3993
- attr_accessor :street_address2
3994
-
3995
- def initialize(
3996
- city: nil,
3997
- country: nil,
3998
- postal_code: nil,
3999
- region: nil,
4000
- street_address: nil,
4001
- street_address2: nil
4002
- )
4003
- @city = city
4004
- @country = country
4005
- @postal_code = postal_code
4006
- @region = region
4007
- @street_address = street_address
4008
- @street_address2 = street_address2
4009
- end
4010
- end
4011
- # Address of the arrival location.
4012
- attr_accessor :address
4013
- # Identifier name or reference for the arrival location.
4014
- attr_accessor :arrival_location
4015
-
4016
- def initialize(address: nil, arrival_location: nil)
4017
- @address = address
4018
- @arrival_location = arrival_location
4019
- end
4020
- end
4021
-
4022
- class Departure < ::Stripe::RequestParams
4023
- class Address < ::Stripe::RequestParams
4024
- # The city or town.
4025
- attr_accessor :city
4026
- # The country in ISO 3166-1 alpha-2 format.
4027
- attr_accessor :country
4028
- # The postal code formatted according to country.
4029
- attr_accessor :postal_code
4030
- # The state, county, province, or region formatted according to country.
4031
- attr_accessor :region
4032
- # Line 1 of the street address.
4033
- attr_accessor :street_address
4034
- # Line 2 of the street address.
4035
- attr_accessor :street_address2
4036
-
4037
- def initialize(
4038
- city: nil,
4039
- country: nil,
4040
- postal_code: nil,
4041
- region: nil,
4042
- street_address: nil,
4043
- street_address2: nil
4044
- )
4045
- @city = city
4046
- @country = country
4047
- @postal_code = postal_code
4048
- @region = region
4049
- @street_address = street_address
4050
- @street_address2 = street_address2
4051
- end
4052
- end
4053
- # Address of the departure location.
4054
- attr_accessor :address
4055
- # Timestamp of departure.
4056
- attr_accessor :departs_at
4057
- # Identifier name or reference for the origin location.
4058
- attr_accessor :departure_location
4059
-
4060
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4061
- @address = address
4062
- @departs_at = departs_at
4063
- @departure_location = departure_location
4064
- end
4065
- end
4066
-
4067
- class Insurance < ::Stripe::RequestParams
4068
- # Insurance currency.
4069
- attr_accessor :currency
4070
- # Name of the company providing the insurance.
4071
- attr_accessor :insurance_company_name
4072
- # Type of insurance.
4073
- attr_accessor :insurance_type
4074
- # Price of insurance in cents.
4075
- attr_accessor :price
4076
-
4077
- def initialize(
4078
- currency: nil,
4079
- insurance_company_name: nil,
4080
- insurance_type: nil,
4081
- price: nil
4082
- )
4083
- @currency = currency
4084
- @insurance_company_name = insurance_company_name
4085
- @insurance_type = insurance_type
4086
- @price = price
4087
- end
4088
- end
4089
-
4090
- class Passenger < ::Stripe::RequestParams
4091
- # The family name of the person.
4092
- attr_accessor :family_name
4093
- # The given name of the person.
4094
- attr_accessor :given_name
4095
-
4096
- def initialize(family_name: nil, given_name: nil)
4097
- @family_name = family_name
4098
- @given_name = given_name
4099
- end
4100
- end
4101
- # Name of associated or partner company for the service.
4102
- attr_accessor :affiliate_name
4103
- # Arrival details.
4104
- attr_accessor :arrival
4105
- # Name of transportation company.
4106
- attr_accessor :carrier_name
4107
- # Currency.
4108
- attr_accessor :currency
4109
- # Departure details.
4110
- attr_accessor :departure
4111
- # List of insurances for this reservation.
4112
- attr_accessor :insurances
4113
- # List of passengers that this reservation applies to.
4114
- attr_accessor :passengers
4115
- # Price in cents.
4116
- attr_accessor :price
4117
- # Ticket class.
4118
- attr_accessor :ticket_class
4119
-
4120
- def initialize(
4121
- affiliate_name: nil,
4122
- arrival: nil,
4123
- carrier_name: nil,
4124
- currency: nil,
4125
- departure: nil,
4126
- insurances: nil,
4127
- passengers: nil,
4128
- price: nil,
4129
- ticket_class: nil
4130
- )
4131
- @affiliate_name = affiliate_name
4132
- @arrival = arrival
4133
- @carrier_name = carrier_name
4134
- @currency = currency
4135
- @departure = departure
4136
- @insurances = insurances
4137
- @passengers = passengers
4138
- @price = price
4139
- @ticket_class = ticket_class
4140
- end
4141
- end
4142
-
4143
- class TrainReservationDetail < ::Stripe::RequestParams
4144
- class Arrival < ::Stripe::RequestParams
4145
- class Address < ::Stripe::RequestParams
4146
- # The city or town.
4147
- attr_accessor :city
4148
- # The country in ISO 3166-1 alpha-2 format.
4149
- attr_accessor :country
4150
- # The postal code formatted according to country.
4151
- attr_accessor :postal_code
4152
- # The state, county, province, or region formatted according to country.
4153
- attr_accessor :region
4154
- # Line 1 of the street address.
4155
- attr_accessor :street_address
4156
- # Line 2 of the street address.
4157
- attr_accessor :street_address2
4158
-
4159
- def initialize(
4160
- city: nil,
4161
- country: nil,
4162
- postal_code: nil,
4163
- region: nil,
4164
- street_address: nil,
4165
- street_address2: nil
4166
- )
4167
- @city = city
4168
- @country = country
4169
- @postal_code = postal_code
4170
- @region = region
4171
- @street_address = street_address
4172
- @street_address2 = street_address2
4173
- end
4174
- end
4175
- # Address of the arrival location.
4176
- attr_accessor :address
4177
- # Identifier name or reference for the arrival location.
4178
- attr_accessor :arrival_location
4179
-
4180
- def initialize(address: nil, arrival_location: nil)
4181
- @address = address
4182
- @arrival_location = arrival_location
4183
- end
4184
- end
4185
-
4186
- class Departure < ::Stripe::RequestParams
4187
- class Address < ::Stripe::RequestParams
4188
- # The city or town.
4189
- attr_accessor :city
4190
- # The country in ISO 3166-1 alpha-2 format.
4191
- attr_accessor :country
4192
- # The postal code formatted according to country.
4193
- attr_accessor :postal_code
4194
- # The state, county, province, or region formatted according to country.
4195
- attr_accessor :region
4196
- # Line 1 of the street address.
4197
- attr_accessor :street_address
4198
- # Line 2 of the street address.
4199
- attr_accessor :street_address2
4200
-
4201
- def initialize(
4202
- city: nil,
4203
- country: nil,
4204
- postal_code: nil,
4205
- region: nil,
4206
- street_address: nil,
4207
- street_address2: nil
4208
- )
4209
- @city = city
4210
- @country = country
4211
- @postal_code = postal_code
4212
- @region = region
4213
- @street_address = street_address
4214
- @street_address2 = street_address2
4215
- end
4216
- end
4217
- # Address of the departure location.
4218
- attr_accessor :address
4219
- # Timestamp of departure.
4220
- attr_accessor :departs_at
4221
- # Identifier name or reference for the origin location.
4222
- attr_accessor :departure_location
4223
-
4224
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4225
- @address = address
4226
- @departs_at = departs_at
4227
- @departure_location = departure_location
4228
- end
4229
- end
4230
-
4231
- class Insurance < ::Stripe::RequestParams
4232
- # Insurance currency.
4233
- attr_accessor :currency
4234
- # Name of the company providing the insurance.
4235
- attr_accessor :insurance_company_name
4236
- # Type of insurance.
4237
- attr_accessor :insurance_type
4238
- # Price of insurance in cents.
4239
- attr_accessor :price
4240
-
4241
- def initialize(
4242
- currency: nil,
4243
- insurance_company_name: nil,
4244
- insurance_type: nil,
4245
- price: nil
4246
- )
4247
- @currency = currency
4248
- @insurance_company_name = insurance_company_name
4249
- @insurance_type = insurance_type
4250
- @price = price
4251
- end
4252
- end
4253
-
4254
- class Passenger < ::Stripe::RequestParams
4255
- # The family name of the person.
4256
- attr_accessor :family_name
4257
- # The given name of the person.
4258
- attr_accessor :given_name
4259
-
4260
- def initialize(family_name: nil, given_name: nil)
4261
- @family_name = family_name
4262
- @given_name = given_name
4263
- end
4264
- end
4265
- # Name of associated or partner company for the service.
4266
- attr_accessor :affiliate_name
4267
- # Arrival details.
4268
- attr_accessor :arrival
4269
- # Name of transportation company.
4270
- attr_accessor :carrier_name
4271
- # Currency.
4272
- attr_accessor :currency
4273
- # Departure details.
4274
- attr_accessor :departure
4275
- # List of insurances for this reservation.
4276
- attr_accessor :insurances
4277
- # List of passengers that this reservation applies to.
4278
- attr_accessor :passengers
4279
- # Price in cents.
4280
- attr_accessor :price
4281
- # Ticket class.
4282
- attr_accessor :ticket_class
4283
-
4284
- def initialize(
4285
- affiliate_name: nil,
4286
- arrival: nil,
4287
- carrier_name: nil,
4288
- currency: nil,
4289
- departure: nil,
4290
- insurances: nil,
4291
- passengers: nil,
4292
- price: nil,
4293
- ticket_class: nil
4294
- )
4295
- @affiliate_name = affiliate_name
4296
- @arrival = arrival
4297
- @carrier_name = carrier_name
4298
- @currency = currency
4299
- @departure = departure
4300
- @insurances = insurances
4301
- @passengers = passengers
4302
- @price = price
4303
- @ticket_class = ticket_class
4304
- end
4305
- end
4306
-
4307
- class Voucher < ::Stripe::RequestParams
4308
- # Name of associated or partner company for this voucher.
4309
- attr_accessor :affiliate_name
4310
- # The voucher validity end time.
4311
- attr_accessor :ends_at
4312
- # The voucher validity start time.
4313
- attr_accessor :starts_at
4314
- # The issuer or provider of this voucher.
4315
- attr_accessor :voucher_company
4316
- # The name or reference to identify the voucher.
4317
- attr_accessor :voucher_name
4318
- # The type of this voucher.
4319
- attr_accessor :voucher_type
4320
-
4321
- def initialize(
4322
- affiliate_name: nil,
4323
- ends_at: nil,
4324
- starts_at: nil,
4325
- voucher_company: nil,
4326
- voucher_name: nil,
4327
- voucher_type: nil
4328
- )
4329
- @affiliate_name = affiliate_name
4330
- @ends_at = ends_at
4331
- @starts_at = starts_at
4332
- @voucher_company = voucher_company
4333
- @voucher_name = voucher_name
4334
- @voucher_type = voucher_type
4335
- end
4336
- end
4337
- # Supplementary bus reservation details.
4338
- attr_accessor :bus_reservation_details
4339
- # Supplementary event reservation details.
4340
- attr_accessor :event_reservation_details
4341
- # Supplementary ferry reservation details.
4342
- attr_accessor :ferry_reservation_details
4343
- # Supplementary insurance details.
4344
- attr_accessor :insurances
4345
- # Supplementary marketplace seller details.
4346
- attr_accessor :marketplace_sellers
4347
- # Supplementary round trip reservation details.
4348
- attr_accessor :round_trip_reservation_details
4349
- # Supplementary train reservation details.
4350
- attr_accessor :train_reservation_details
4351
- # Voucher details, such as a gift card or discount code.
4352
- attr_accessor :vouchers
4353
-
4354
- def initialize(
4355
- bus_reservation_details: nil,
4356
- event_reservation_details: nil,
4357
- ferry_reservation_details: nil,
4358
- insurances: nil,
4359
- marketplace_sellers: nil,
4360
- round_trip_reservation_details: nil,
4361
- train_reservation_details: nil,
4362
- vouchers: nil
4363
- )
4364
- @bus_reservation_details = bus_reservation_details
4365
- @event_reservation_details = event_reservation_details
4366
- @ferry_reservation_details = ferry_reservation_details
4367
- @insurances = insurances
4368
- @marketplace_sellers = marketplace_sellers
4369
- @round_trip_reservation_details = round_trip_reservation_details
4370
- @train_reservation_details = train_reservation_details
4371
- @vouchers = vouchers
4372
- end
4373
- end
4374
1583
  # Controls when the funds are captured from the customer's account.
4375
1584
  #
4376
1585
  # 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.
@@ -4393,23 +1602,19 @@ module Stripe
4393
1602
  attr_accessor :setup_future_usage
4394
1603
  # Subscription details if setting up or charging a subscription.
4395
1604
  attr_accessor :subscriptions
4396
- # Supplementary Purchase Data for the corresponding Klarna payment
4397
- attr_accessor :supplementary_purchase_data
4398
1605
 
4399
1606
  def initialize(
4400
1607
  capture_method: nil,
4401
1608
  on_demand: nil,
4402
1609
  preferred_locale: nil,
4403
1610
  setup_future_usage: nil,
4404
- subscriptions: nil,
4405
- supplementary_purchase_data: nil
1611
+ subscriptions: nil
4406
1612
  )
4407
1613
  @capture_method = capture_method
4408
1614
  @on_demand = on_demand
4409
1615
  @preferred_locale = preferred_locale
4410
1616
  @setup_future_usage = setup_future_usage
4411
1617
  @subscriptions = subscriptions
4412
- @supplementary_purchase_data = supplementary_purchase_data
4413
1618
  end
4414
1619
  end
4415
1620
 
@@ -4670,65 +1875,12 @@ module Stripe
4670
1875
  end
4671
1876
 
4672
1877
  class Paypal < ::Stripe::RequestParams
4673
- class LineItem < ::Stripe::RequestParams
4674
- class Tax < ::Stripe::RequestParams
4675
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4676
- attr_accessor :amount
4677
- # The tax behavior for the line item.
4678
- attr_accessor :behavior
4679
-
4680
- def initialize(amount: nil, behavior: nil)
4681
- @amount = amount
4682
- @behavior = behavior
4683
- end
4684
- end
4685
- # Type of the line item.
4686
- attr_accessor :category
4687
- # Description of the line item.
4688
- attr_accessor :description
4689
- # Descriptive name of the line item.
4690
- attr_accessor :name
4691
- # Quantity of the line item. Must be a positive number.
4692
- attr_accessor :quantity
4693
- # Client facing stock keeping unit, article number or similar.
4694
- attr_accessor :sku
4695
- # The Stripe account ID of the connected account that sells the item.
4696
- attr_accessor :sold_by
4697
- # The tax information for the line item.
4698
- attr_accessor :tax
4699
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4700
- attr_accessor :unit_amount
4701
-
4702
- def initialize(
4703
- category: nil,
4704
- description: nil,
4705
- name: nil,
4706
- quantity: nil,
4707
- sku: nil,
4708
- sold_by: nil,
4709
- tax: nil,
4710
- unit_amount: nil
4711
- )
4712
- @category = category
4713
- @description = description
4714
- @name = name
4715
- @quantity = quantity
4716
- @sku = sku
4717
- @sold_by = sold_by
4718
- @tax = tax
4719
- @unit_amount = unit_amount
4720
- end
4721
- end
4722
1878
  # Controls when the funds will be captured from the customer's account.
4723
1879
  attr_accessor :capture_method
4724
- # The line items purchased by the customer.
4725
- attr_accessor :line_items
4726
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1880
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4727
1881
  attr_accessor :preferred_locale
4728
1882
  # 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.
4729
1883
  attr_accessor :reference
4730
- # 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.
4731
- attr_accessor :reference_id
4732
1884
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4733
1885
  attr_accessor :risk_correlation_id
4734
1886
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4741,40 +1893,19 @@ module Stripe
4741
1893
  #
4742
1894
  # 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`.
4743
1895
  attr_accessor :setup_future_usage
4744
- # 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.
4745
- attr_accessor :subsellers
4746
1896
 
4747
1897
  def initialize(
4748
1898
  capture_method: nil,
4749
- line_items: nil,
4750
1899
  preferred_locale: nil,
4751
1900
  reference: nil,
4752
- reference_id: nil,
4753
1901
  risk_correlation_id: nil,
4754
- setup_future_usage: nil,
4755
- subsellers: nil
1902
+ setup_future_usage: nil
4756
1903
  )
4757
1904
  @capture_method = capture_method
4758
- @line_items = line_items
4759
1905
  @preferred_locale = preferred_locale
4760
1906
  @reference = reference
4761
- @reference_id = reference_id
4762
1907
  @risk_correlation_id = risk_correlation_id
4763
1908
  @setup_future_usage = setup_future_usage
4764
- @subsellers = subsellers
4765
- end
4766
- end
4767
-
4768
- class Paypay < ::Stripe::RequestParams
4769
- # Controls when the funds are captured from the customer's account.
4770
- #
4771
- # 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.
4772
- #
4773
- # 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.
4774
- attr_accessor :capture_method
4775
-
4776
- def initialize(capture_method: nil)
4777
- @capture_method = capture_method
4778
1909
  end
4779
1910
  end
4780
1911
 
@@ -4829,52 +1960,12 @@ module Stripe
4829
1960
  end
4830
1961
 
4831
1962
  class Pix < ::Stripe::RequestParams
4832
- class MandateOptions < ::Stripe::RequestParams
4833
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4834
- attr_accessor :amount
4835
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4836
- attr_accessor :amount_includes_iof
4837
- # Type of amount. Defaults to `maximum`.
4838
- attr_accessor :amount_type
4839
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4840
- attr_accessor :currency
4841
- # 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.
4842
- attr_accessor :end_date
4843
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4844
- attr_accessor :payment_schedule
4845
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4846
- attr_accessor :reference
4847
- # 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.
4848
- attr_accessor :start_date
4849
-
4850
- def initialize(
4851
- amount: nil,
4852
- amount_includes_iof: nil,
4853
- amount_type: nil,
4854
- currency: nil,
4855
- end_date: nil,
4856
- payment_schedule: nil,
4857
- reference: nil,
4858
- start_date: nil
4859
- )
4860
- @amount = amount
4861
- @amount_includes_iof = amount_includes_iof
4862
- @amount_type = amount_type
4863
- @currency = currency
4864
- @end_date = end_date
4865
- @payment_schedule = payment_schedule
4866
- @reference = reference
4867
- @start_date = start_date
4868
- end
4869
- end
4870
1963
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4871
1964
  attr_accessor :amount_includes_iof
4872
1965
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4873
1966
  attr_accessor :expires_after_seconds
4874
1967
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4875
1968
  attr_accessor :expires_at
4876
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4877
- attr_accessor :mandate_options
4878
1969
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4879
1970
  #
4880
1971
  # 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.
@@ -4890,13 +1981,11 @@ module Stripe
4890
1981
  amount_includes_iof: nil,
4891
1982
  expires_after_seconds: nil,
4892
1983
  expires_at: nil,
4893
- mandate_options: nil,
4894
1984
  setup_future_usage: nil
4895
1985
  )
4896
1986
  @amount_includes_iof = amount_includes_iof
4897
1987
  @expires_after_seconds = expires_after_seconds
4898
1988
  @expires_at = expires_at
4899
- @mandate_options = mandate_options
4900
1989
  @setup_future_usage = setup_future_usage
4901
1990
  end
4902
1991
  end
@@ -4918,25 +2007,6 @@ module Stripe
4918
2007
  end
4919
2008
  end
4920
2009
 
4921
- class Qris < ::Stripe::RequestParams
4922
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4923
- #
4924
- # 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.
4925
- #
4926
- # 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.
4927
- #
4928
- # 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).
4929
- #
4930
- # 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`.
4931
- attr_accessor :setup_future_usage
4932
-
4933
- def initialize(setup_future_usage: nil)
4934
- @setup_future_usage = setup_future_usage
4935
- end
4936
- end
4937
-
4938
- class Rechnung < ::Stripe::RequestParams; end
4939
-
4940
2010
  class RevolutPay < ::Stripe::RequestParams
4941
2011
  # Controls when the funds are captured from the customer's account.
4942
2012
  #
@@ -5016,23 +2086,6 @@ module Stripe
5016
2086
  end
5017
2087
  end
5018
2088
 
5019
- class Shopeepay < ::Stripe::RequestParams
5020
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5021
- #
5022
- # 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.
5023
- #
5024
- # 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.
5025
- #
5026
- # 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).
5027
- #
5028
- # 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`.
5029
- attr_accessor :setup_future_usage
5030
-
5031
- def initialize(setup_future_usage: nil)
5032
- @setup_future_usage = setup_future_usage
5033
- end
5034
- end
5035
-
5036
2089
  class Sofort < ::Stripe::RequestParams
5037
2090
  # Language shown to the payer on redirect.
5038
2091
  attr_accessor :preferred_language
@@ -5053,23 +2106,6 @@ module Stripe
5053
2106
  end
5054
2107
  end
5055
2108
 
5056
- class StripeBalance < ::Stripe::RequestParams
5057
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5058
- #
5059
- # 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.
5060
- #
5061
- # 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.
5062
- #
5063
- # 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).
5064
- #
5065
- # 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`.
5066
- attr_accessor :setup_future_usage
5067
-
5068
- def initialize(setup_future_usage: nil)
5069
- @setup_future_usage = setup_future_usage
5070
- end
5071
- end
5072
-
5073
2109
  class Swish < ::Stripe::RequestParams
5074
2110
  # A reference for this payment to be displayed in the Swish app.
5075
2111
  attr_accessor :reference
@@ -5112,27 +2148,13 @@ module Stripe
5112
2148
  class Filters < ::Stripe::RequestParams
5113
2149
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5114
2150
  attr_accessor :account_subcategories
5115
- # ID of the institution to use to filter for selectable accounts.
5116
- attr_accessor :institution
5117
2151
 
5118
- def initialize(account_subcategories: nil, institution: nil)
2152
+ def initialize(account_subcategories: nil)
5119
2153
  @account_subcategories = account_subcategories
5120
- @institution = institution
5121
- end
5122
- end
5123
-
5124
- class ManualEntry < ::Stripe::RequestParams
5125
- # Settings for configuring manual entry of account details.
5126
- attr_accessor :mode
5127
-
5128
- def initialize(mode: nil)
5129
- @mode = mode
5130
2154
  end
5131
2155
  end
5132
2156
  # Provide filters for the linked accounts that the customer can select for the payment method.
5133
2157
  attr_accessor :filters
5134
- # Customize manual entry behavior
5135
- attr_accessor :manual_entry
5136
2158
  # 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`.
5137
2159
  attr_accessor :permissions
5138
2160
  # List of data features that you would like to retrieve upon account creation.
@@ -5140,15 +2162,8 @@ module Stripe
5140
2162
  # 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.
5141
2163
  attr_accessor :return_url
5142
2164
 
5143
- def initialize(
5144
- filters: nil,
5145
- manual_entry: nil,
5146
- permissions: nil,
5147
- prefetch: nil,
5148
- return_url: nil
5149
- )
2165
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5150
2166
  @filters = filters
5151
- @manual_entry = manual_entry
5152
2167
  @permissions = permissions
5153
2168
  @prefetch = prefetch
5154
2169
  @return_url = return_url
@@ -5293,12 +2308,8 @@ module Stripe
5293
2308
  attr_accessor :fpx
5294
2309
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5295
2310
  attr_accessor :giropay
5296
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5297
- attr_accessor :gopay
5298
2311
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5299
2312
  attr_accessor :grabpay
5300
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5301
- attr_accessor :id_bank_transfer
5302
2313
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5303
2314
  attr_accessor :ideal
5304
2315
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5335,18 +2346,12 @@ module Stripe
5335
2346
  attr_accessor :paynow
5336
2347
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5337
2348
  attr_accessor :paypal
5338
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5339
- attr_accessor :paypay
5340
2349
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5341
2350
  attr_accessor :payto
5342
2351
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5343
2352
  attr_accessor :pix
5344
2353
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5345
2354
  attr_accessor :promptpay
5346
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5347
- attr_accessor :qris
5348
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5349
- attr_accessor :rechnung
5350
2355
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5351
2356
  attr_accessor :revolut_pay
5352
2357
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5355,12 +2360,8 @@ module Stripe
5355
2360
  attr_accessor :satispay
5356
2361
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5357
2362
  attr_accessor :sepa_debit
5358
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5359
- attr_accessor :shopeepay
5360
2363
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5361
2364
  attr_accessor :sofort
5362
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5363
- attr_accessor :stripe_balance
5364
2365
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5365
2366
  attr_accessor :swish
5366
2367
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5393,9 +2394,7 @@ module Stripe
5393
2394
  eps: nil,
5394
2395
  fpx: nil,
5395
2396
  giropay: nil,
5396
- gopay: nil,
5397
2397
  grabpay: nil,
5398
- id_bank_transfer: nil,
5399
2398
  ideal: nil,
5400
2399
  interac_present: nil,
5401
2400
  kakao_pay: nil,
@@ -5414,19 +2413,14 @@ module Stripe
5414
2413
  payco: nil,
5415
2414
  paynow: nil,
5416
2415
  paypal: nil,
5417
- paypay: nil,
5418
2416
  payto: nil,
5419
2417
  pix: nil,
5420
2418
  promptpay: nil,
5421
- qris: nil,
5422
- rechnung: nil,
5423
2419
  revolut_pay: nil,
5424
2420
  samsung_pay: nil,
5425
2421
  satispay: nil,
5426
2422
  sepa_debit: nil,
5427
- shopeepay: nil,
5428
2423
  sofort: nil,
5429
- stripe_balance: nil,
5430
2424
  swish: nil,
5431
2425
  twint: nil,
5432
2426
  us_bank_account: nil,
@@ -5453,9 +2447,7 @@ module Stripe
5453
2447
  @eps = eps
5454
2448
  @fpx = fpx
5455
2449
  @giropay = giropay
5456
- @gopay = gopay
5457
2450
  @grabpay = grabpay
5458
- @id_bank_transfer = id_bank_transfer
5459
2451
  @ideal = ideal
5460
2452
  @interac_present = interac_present
5461
2453
  @kakao_pay = kakao_pay
@@ -5474,19 +2466,14 @@ module Stripe
5474
2466
  @payco = payco
5475
2467
  @paynow = paynow
5476
2468
  @paypal = paypal
5477
- @paypay = paypay
5478
2469
  @payto = payto
5479
2470
  @pix = pix
5480
2471
  @promptpay = promptpay
5481
- @qris = qris
5482
- @rechnung = rechnung
5483
2472
  @revolut_pay = revolut_pay
5484
2473
  @samsung_pay = samsung_pay
5485
2474
  @satispay = satispay
5486
2475
  @sepa_debit = sepa_debit
5487
- @shopeepay = shopeepay
5488
2476
  @sofort = sofort
5489
- @stripe_balance = stripe_balance
5490
2477
  @swish = swish
5491
2478
  @twint = twint
5492
2479
  @us_bank_account = us_bank_account
@@ -5507,7 +2494,7 @@ module Stripe
5507
2494
  attr_accessor :line2
5508
2495
  # ZIP or postal code.
5509
2496
  attr_accessor :postal_code
5510
- # State, county, province, or region.
2497
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5511
2498
  attr_accessor :state
5512
2499
 
5513
2500
  def initialize(
@@ -5554,13 +2541,11 @@ module Stripe
5554
2541
  @amount = amount
5555
2542
  end
5556
2543
  end
5557
- # Allocated Funds configuration for this PaymentIntent.
5558
- attr_accessor :allocated_funds
5559
- # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
2544
+ # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
5560
2545
  attr_accessor :amount
5561
2546
  # Provides industry-specific information about the amount.
5562
2547
  attr_accessor :amount_details
5563
- # 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).
2548
+ # 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://docs.stripe.com/payments/connected-accounts).
5564
2549
  attr_accessor :application_fee_amount
5565
2550
  # Controls when the funds will be captured from the customer's account.
5566
2551
  attr_accessor :capture_method
@@ -5570,13 +2555,13 @@ module Stripe
5570
2555
  #
5571
2556
  # Payment methods attached to other Customers cannot be used with this PaymentIntent.
5572
2557
  #
5573
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
2558
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
5574
2559
  attr_accessor :customer
5575
- # ID of the Account this PaymentIntent belongs to, if one exists.
2560
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
5576
2561
  #
5577
2562
  # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
5578
2563
  #
5579
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
2564
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
5580
2565
  attr_accessor :customer_account
5581
2566
  # An arbitrary string attached to the object. Often useful for displaying to users.
5582
2567
  attr_accessor :description
@@ -5584,22 +2569,18 @@ module Stripe
5584
2569
  attr_accessor :excluded_payment_method_types
5585
2570
  # Specifies which fields in the response should be expanded.
5586
2571
  attr_accessor :expand
5587
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5588
- attr_accessor :fx_quote
5589
2572
  # Automations to be run during the PaymentIntent lifecycle
5590
2573
  attr_accessor :hooks
5591
- # This hash contains details about the Mandate to create.
5592
- attr_accessor :mandate_data
5593
- # 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`.
2574
+ # 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`.
5594
2575
  attr_accessor :metadata
5595
2576
  # Provides industry-specific information about the charge.
5596
2577
  attr_accessor :payment_details
5597
- # Attribute for param field payment_method
2578
+ # 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. To unset this field to null, pass in an empty string.
5598
2579
  attr_accessor :payment_method
5599
- # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
2580
+ # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
5600
2581
  attr_accessor :payment_method_configuration
5601
2582
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
5602
- # in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
2583
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
5603
2584
  # property on the PaymentIntent.
5604
2585
  attr_accessor :payment_method_data
5605
2586
  # Payment-method-specific configuration for this PaymentIntent.
@@ -5626,13 +2607,12 @@ module Stripe
5626
2607
  attr_accessor :statement_descriptor
5627
2608
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
5628
2609
  attr_accessor :statement_descriptor_suffix
5629
- # Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2610
+ # Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5630
2611
  attr_accessor :transfer_data
5631
- # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2612
+ # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5632
2613
  attr_accessor :transfer_group
5633
2614
 
5634
2615
  def initialize(
5635
- allocated_funds: nil,
5636
2616
  amount: nil,
5637
2617
  amount_details: nil,
5638
2618
  application_fee_amount: nil,
@@ -5643,9 +2623,7 @@ module Stripe
5643
2623
  description: nil,
5644
2624
  excluded_payment_method_types: nil,
5645
2625
  expand: nil,
5646
- fx_quote: nil,
5647
2626
  hooks: nil,
5648
- mandate_data: nil,
5649
2627
  metadata: nil,
5650
2628
  payment_details: nil,
5651
2629
  payment_method: nil,
@@ -5661,7 +2639,6 @@ module Stripe
5661
2639
  transfer_data: nil,
5662
2640
  transfer_group: nil
5663
2641
  )
5664
- @allocated_funds = allocated_funds
5665
2642
  @amount = amount
5666
2643
  @amount_details = amount_details
5667
2644
  @application_fee_amount = application_fee_amount
@@ -5672,9 +2649,7 @@ module Stripe
5672
2649
  @description = description
5673
2650
  @excluded_payment_method_types = excluded_payment_method_types
5674
2651
  @expand = expand
5675
- @fx_quote = fx_quote
5676
2652
  @hooks = hooks
5677
- @mandate_data = mandate_data
5678
2653
  @metadata = metadata
5679
2654
  @payment_details = payment_details
5680
2655
  @payment_method = payment_method