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 PaymentIntentCreateParams < ::Stripe::RequestParams
6
- class AllocatedFunds < ::Stripe::RequestParams
7
- # Whether Allocated Funds creation is enabled for this PaymentIntent.
8
- attr_accessor :enabled
9
-
10
- def initialize(enabled: nil)
11
- @enabled = enabled
12
- end
13
- end
14
-
15
6
  class AmountDetails < ::Stripe::RequestParams
16
7
  class LineItem < ::Stripe::RequestParams
17
8
  class PaymentMethodOptions < ::Stripe::RequestParams
@@ -88,7 +79,7 @@ module Stripe
88
79
  end
89
80
 
90
81
  class Tax < ::Stripe::RequestParams
91
- # The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
82
+ # The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
92
83
  #
93
84
  # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
94
85
  attr_accessor :total_tax_amount
@@ -97,7 +88,7 @@ module Stripe
97
88
  @total_tax_amount = total_tax_amount
98
89
  end
99
90
  end
100
- # The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
91
+ # The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
101
92
  #
102
93
  # This field is mutually exclusive with the `amount_details[discount_amount]` field.
103
94
  attr_accessor :discount_amount
@@ -113,7 +104,7 @@ module Stripe
113
104
  attr_accessor :quantity
114
105
  # Contains information about the tax on the item.
115
106
  attr_accessor :tax
116
- # The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
107
+ # The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
117
108
  attr_accessor :unit_cost
118
109
  # A unit of measure for the line item, such as gallons, feet, meters, etc.
119
110
  attr_accessor :unit_of_measure
@@ -124,1805 +115,158 @@ module Stripe
124
115
  product_code: nil,
125
116
  product_name: nil,
126
117
  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 AutomaticPaymentMethods < ::Stripe::RequestParams
187
- # Controls whether this PaymentIntent will accept redirect-based payment methods.
188
- #
189
- # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
190
- attr_accessor :allow_redirects
191
- # Whether this feature is enabled.
192
- attr_accessor :enabled
193
-
194
- def initialize(allow_redirects: nil, enabled: nil)
195
- @allow_redirects = allow_redirects
196
- @enabled = enabled
197
- end
198
- end
199
-
200
- class Hooks < ::Stripe::RequestParams
201
- class Inputs < ::Stripe::RequestParams
202
- class Tax < ::Stripe::RequestParams
203
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
204
- attr_accessor :calculation
205
-
206
- def initialize(calculation: nil)
207
- @calculation = calculation
208
- end
209
- end
210
- # Tax arguments for automations
211
- attr_accessor :tax
212
-
213
- def initialize(tax: nil)
214
- @tax = tax
215
- end
216
- end
217
- # Arguments passed in automations
218
- attr_accessor :inputs
219
-
220
- def initialize(inputs: nil)
221
- @inputs = inputs
222
- end
223
- end
224
-
225
- class MandateData < ::Stripe::RequestParams
226
- class CustomerAcceptance < ::Stripe::RequestParams
227
- class Offline < ::Stripe::RequestParams; end
228
-
229
- class Online < ::Stripe::RequestParams
230
- # The IP address from which the Mandate was accepted by the customer.
231
- attr_accessor :ip_address
232
- # The user agent of the browser from which the Mandate was accepted by the customer.
233
- attr_accessor :user_agent
234
-
235
- def initialize(ip_address: nil, user_agent: nil)
236
- @ip_address = ip_address
237
- @user_agent = user_agent
238
- end
239
- end
240
- # The time at which the customer accepted the Mandate.
241
- attr_accessor :accepted_at
242
- # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
243
- attr_accessor :offline
244
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
245
- attr_accessor :online
246
- # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
247
- attr_accessor :type
248
-
249
- def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
250
- @accepted_at = accepted_at
251
- @offline = offline
252
- @online = online
253
- @type = type
254
- end
255
- end
256
- # This hash contains details about the customer acceptance of the Mandate.
257
- attr_accessor :customer_acceptance
258
-
259
- def initialize(customer_acceptance: nil)
260
- @customer_acceptance = customer_acceptance
261
- end
262
- end
263
-
264
- class PaymentDetails < ::Stripe::RequestParams
265
- class Benefit < ::Stripe::RequestParams
266
- class FrMealVoucher < ::Stripe::RequestParams
267
- # The 14-digit SIRET of the meal voucher acceptor.
268
- attr_accessor :siret
269
-
270
- def initialize(siret: nil)
271
- @siret = siret
272
- end
273
- end
274
- # French meal voucher benefit details for this PaymentIntent.
275
- attr_accessor :fr_meal_voucher
276
-
277
- def initialize(fr_meal_voucher: nil)
278
- @fr_meal_voucher = fr_meal_voucher
279
- end
280
- end
281
-
282
- class CarRental < ::Stripe::RequestParams
283
- class Affiliate < ::Stripe::RequestParams
284
- # The name of the affiliate that originated the purchase.
285
- attr_accessor :name
286
-
287
- def initialize(name: nil)
288
- @name = name
289
- end
290
- end
291
-
292
- class Delivery < ::Stripe::RequestParams
293
- class Recipient < ::Stripe::RequestParams
294
- # The email of the recipient the ticket is delivered to.
295
- attr_accessor :email
296
- # The name of the recipient the ticket is delivered to.
297
- attr_accessor :name
298
- # The phone number of the recipient the ticket is delivered to.
299
- attr_accessor :phone
300
-
301
- def initialize(email: nil, name: nil, phone: nil)
302
- @email = email
303
- @name = name
304
- @phone = phone
305
- end
306
- end
307
- # The delivery method for the payment
308
- attr_accessor :mode
309
- # Details of the recipient.
310
- attr_accessor :recipient
311
-
312
- def initialize(mode: nil, recipient: nil)
313
- @mode = mode
314
- @recipient = recipient
315
- end
316
- end
317
-
318
- class Distance < ::Stripe::RequestParams
319
- # Distance traveled.
320
- attr_accessor :amount
321
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
322
- attr_accessor :unit
323
-
324
- def initialize(amount: nil, unit: nil)
325
- @amount = amount
326
- @unit = unit
327
- end
328
- end
329
-
330
- class Driver < ::Stripe::RequestParams
331
- # Driver's identification number.
332
- attr_accessor :driver_identification_number
333
- # Driver's tax number.
334
- attr_accessor :driver_tax_number
335
- # Full name of the person or entity on the car reservation.
336
- attr_accessor :name
337
-
338
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
339
- @driver_identification_number = driver_identification_number
340
- @driver_tax_number = driver_tax_number
341
- @name = name
342
- end
343
- end
344
-
345
- class PickupAddress < ::Stripe::RequestParams
346
- # City, district, suburb, town, or village.
347
- attr_accessor :city
348
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
349
- attr_accessor :country
350
- # Address line 1, such as the street, PO Box, or company name.
351
- attr_accessor :line1
352
- # Address line 2, such as the apartment, suite, unit, or building.
353
- attr_accessor :line2
354
- # ZIP or postal code.
355
- attr_accessor :postal_code
356
- # State, county, province, or region.
357
- attr_accessor :state
358
-
359
- def initialize(
360
- city: nil,
361
- country: nil,
362
- line1: nil,
363
- line2: nil,
364
- postal_code: nil,
365
- state: nil
366
- )
367
- @city = city
368
- @country = country
369
- @line1 = line1
370
- @line2 = line2
371
- @postal_code = postal_code
372
- @state = state
373
- end
374
- end
375
-
376
- class ReturnAddress < ::Stripe::RequestParams
377
- # City, district, suburb, town, or village.
378
- attr_accessor :city
379
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
380
- attr_accessor :country
381
- # Address line 1, such as the street, PO Box, or company name.
382
- attr_accessor :line1
383
- # Address line 2, such as the apartment, suite, unit, or building.
384
- attr_accessor :line2
385
- # ZIP or postal code.
386
- attr_accessor :postal_code
387
- # State, county, province, or region.
388
- attr_accessor :state
389
-
390
- def initialize(
391
- city: nil,
392
- country: nil,
393
- line1: nil,
394
- line2: nil,
395
- postal_code: nil,
396
- state: nil
397
- )
398
- @city = city
399
- @country = country
400
- @line1 = line1
401
- @line2 = line2
402
- @postal_code = postal_code
403
- @state = state
404
- end
405
- end
406
- # Affiliate details for this purchase.
407
- attr_accessor :affiliate
408
- # The booking number associated with the car rental.
409
- attr_accessor :booking_number
410
- # Class code of the car.
411
- attr_accessor :car_class_code
412
- # Make of the car.
413
- attr_accessor :car_make
414
- # Model of the car.
415
- attr_accessor :car_model
416
- # The name of the rental car company.
417
- attr_accessor :company
418
- # The customer service phone number of the car rental company.
419
- attr_accessor :customer_service_phone_number
420
- # Number of days the car is being rented.
421
- attr_accessor :days_rented
422
- # Delivery details for this purchase.
423
- attr_accessor :delivery
424
- # The details of the distance traveled during the rental period.
425
- attr_accessor :distance
426
- # The details of the passengers in the travel reservation
427
- attr_accessor :drivers
428
- # List of additional charges being billed.
429
- attr_accessor :extra_charges
430
- # Indicates if the customer did not keep nor cancel their booking.
431
- attr_accessor :no_show
432
- # Car pick-up address.
433
- attr_accessor :pickup_address
434
- # Car pick-up time. Measured in seconds since the Unix epoch.
435
- attr_accessor :pickup_at
436
- # Name of the pickup location.
437
- attr_accessor :pickup_location_name
438
- # Rental rate.
439
- attr_accessor :rate_amount
440
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
441
- attr_accessor :rate_interval
442
- # The name of the person or entity renting the car.
443
- attr_accessor :renter_name
444
- # Car return address.
445
- attr_accessor :return_address
446
- # Car return time. Measured in seconds since the Unix epoch.
447
- attr_accessor :return_at
448
- # Name of the return location.
449
- attr_accessor :return_location_name
450
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
451
- attr_accessor :tax_exempt
452
- # The vehicle identification number.
453
- attr_accessor :vehicle_identification_number
454
-
455
- def initialize(
456
- affiliate: nil,
457
- booking_number: nil,
458
- car_class_code: nil,
459
- car_make: nil,
460
- car_model: nil,
461
- company: nil,
462
- customer_service_phone_number: nil,
463
- days_rented: nil,
464
- delivery: nil,
465
- distance: nil,
466
- drivers: nil,
467
- extra_charges: nil,
468
- no_show: nil,
469
- pickup_address: nil,
470
- pickup_at: nil,
471
- pickup_location_name: nil,
472
- rate_amount: nil,
473
- rate_interval: nil,
474
- renter_name: nil,
475
- return_address: nil,
476
- return_at: nil,
477
- return_location_name: nil,
478
- tax_exempt: nil,
479
- vehicle_identification_number: nil
480
- )
481
- @affiliate = affiliate
482
- @booking_number = booking_number
483
- @car_class_code = car_class_code
484
- @car_make = car_make
485
- @car_model = car_model
486
- @company = company
487
- @customer_service_phone_number = customer_service_phone_number
488
- @days_rented = days_rented
489
- @delivery = delivery
490
- @distance = distance
491
- @drivers = drivers
492
- @extra_charges = extra_charges
493
- @no_show = no_show
494
- @pickup_address = pickup_address
495
- @pickup_at = pickup_at
496
- @pickup_location_name = pickup_location_name
497
- @rate_amount = rate_amount
498
- @rate_interval = rate_interval
499
- @renter_name = renter_name
500
- @return_address = return_address
501
- @return_at = return_at
502
- @return_location_name = return_location_name
503
- @tax_exempt = tax_exempt
504
- @vehicle_identification_number = vehicle_identification_number
505
- end
506
- end
507
-
508
- class CarRentalDatum < ::Stripe::RequestParams
509
- class Affiliate < ::Stripe::RequestParams
510
- # Affiliate partner code.
511
- attr_accessor :code
512
- # Name of affiliate partner.
513
- attr_accessor :name
514
-
515
- def initialize(code: nil, name: nil)
516
- @code = code
517
- @name = name
518
- end
519
- end
520
-
521
- class Distance < ::Stripe::RequestParams
522
- # Distance traveled.
523
- attr_accessor :amount
524
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
525
- attr_accessor :unit
526
-
527
- def initialize(amount: nil, unit: nil)
528
- @amount = amount
529
- @unit = unit
530
- end
531
- end
532
-
533
- class Driver < ::Stripe::RequestParams
534
- class DateOfBirth < ::Stripe::RequestParams
535
- # Day of birth (1-31).
536
- attr_accessor :day
537
- # Month of birth (1-12).
538
- attr_accessor :month
539
- # Year of birth (must be greater than 1900).
540
- attr_accessor :year
541
-
542
- def initialize(day: nil, month: nil, year: nil)
543
- @day = day
544
- @month = month
545
- @year = year
546
- end
547
- end
548
- # Driver's date of birth.
549
- attr_accessor :date_of_birth
550
- # Driver's identification number.
551
- attr_accessor :driver_identification_number
552
- # Driver's tax number.
553
- attr_accessor :driver_tax_number
554
- # Driver's full name.
555
- attr_accessor :name
556
-
557
- def initialize(
558
- date_of_birth: nil,
559
- driver_identification_number: nil,
560
- driver_tax_number: nil,
561
- name: nil
562
- )
563
- @date_of_birth = date_of_birth
564
- @driver_identification_number = driver_identification_number
565
- @driver_tax_number = driver_tax_number
566
- @name = name
567
- end
568
- end
569
-
570
- class DropOff < ::Stripe::RequestParams
571
- class Address < ::Stripe::RequestParams
572
- # City, district, suburb, town, or village.
573
- attr_accessor :city
574
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
575
- attr_accessor :country
576
- # Address line 1, such as the street, PO Box, or company name.
577
- attr_accessor :line1
578
- # Address line 2, such as the apartment, suite, unit, or building.
579
- attr_accessor :line2
580
- # ZIP or postal code.
581
- attr_accessor :postal_code
582
- # State, county, province, or region.
583
- attr_accessor :state
584
-
585
- def initialize(
586
- city: nil,
587
- country: nil,
588
- line1: nil,
589
- line2: nil,
590
- postal_code: nil,
591
- state: nil
592
- )
593
- @city = city
594
- @country = country
595
- @line1 = line1
596
- @line2 = line2
597
- @postal_code = postal_code
598
- @state = state
599
- end
600
- end
601
- # Address of the rental location.
602
- attr_accessor :address
603
- # Location name.
604
- attr_accessor :location_name
605
- # Timestamp for the location.
606
- attr_accessor :time
607
-
608
- def initialize(address: nil, location_name: nil, time: nil)
609
- @address = address
610
- @location_name = location_name
611
- @time = time
612
- end
613
- end
614
-
615
- class Insurance < ::Stripe::RequestParams
616
- # Amount of the insurance coverage in cents.
617
- attr_accessor :amount
618
- # Currency of the insurance amount.
619
- attr_accessor :currency
620
- # Name of the insurance company.
621
- attr_accessor :insurance_company_name
622
- # Type of insurance coverage.
623
- attr_accessor :insurance_type
624
-
625
- def initialize(
626
- amount: nil,
627
- currency: nil,
628
- insurance_company_name: nil,
629
- insurance_type: nil
630
- )
631
- @amount = amount
632
- @currency = currency
633
- @insurance_company_name = insurance_company_name
634
- @insurance_type = insurance_type
635
- end
636
- end
637
-
638
- class Pickup < ::Stripe::RequestParams
639
- class Address < ::Stripe::RequestParams
640
- # City, district, suburb, town, or village.
641
- attr_accessor :city
642
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
643
- attr_accessor :country
644
- # Address line 1, such as the street, PO Box, or company name.
645
- attr_accessor :line1
646
- # Address line 2, such as the apartment, suite, unit, or building.
647
- attr_accessor :line2
648
- # ZIP or postal code.
649
- attr_accessor :postal_code
650
- # State, county, province, or region.
651
- attr_accessor :state
652
-
653
- def initialize(
654
- city: nil,
655
- country: nil,
656
- line1: nil,
657
- line2: nil,
658
- postal_code: nil,
659
- state: nil
660
- )
661
- @city = city
662
- @country = country
663
- @line1 = line1
664
- @line2 = line2
665
- @postal_code = postal_code
666
- @state = state
667
- end
668
- end
669
- # Address of the rental location.
670
- attr_accessor :address
671
- # Location name.
672
- attr_accessor :location_name
673
- # Timestamp for the location.
674
- attr_accessor :time
675
-
676
- def initialize(address: nil, location_name: nil, time: nil)
677
- @address = address
678
- @location_name = location_name
679
- @time = time
680
- end
681
- end
682
-
683
- class Total < ::Stripe::RequestParams
684
- class Discounts < ::Stripe::RequestParams
685
- # Corporate client discount code.
686
- attr_accessor :corporate_client_code
687
- # Coupon code applied to the rental.
688
- attr_accessor :coupon
689
- # Maximum number of free miles or kilometers included.
690
- attr_accessor :maximum_free_miles_or_kilometers
691
-
692
- def initialize(
693
- corporate_client_code: nil,
694
- coupon: nil,
695
- maximum_free_miles_or_kilometers: nil
696
- )
697
- @corporate_client_code = corporate_client_code
698
- @coupon = coupon
699
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
700
- end
701
- end
702
-
703
- class ExtraCharge < ::Stripe::RequestParams
704
- # Amount of the extra charge in cents.
705
- attr_accessor :amount
706
- # Type of extra charge.
707
- attr_accessor :type
708
-
709
- def initialize(amount: nil, type: nil)
710
- @amount = amount
711
- @type = type
712
- end
713
- end
714
-
715
- class Tax < ::Stripe::RequestParams
716
- class Tax < ::Stripe::RequestParams
717
- # Tax amount.
718
- attr_accessor :amount
719
- # Tax rate applied.
720
- attr_accessor :rate
721
- # Type of tax applied.
722
- attr_accessor :type
723
-
724
- def initialize(amount: nil, rate: nil, type: nil)
725
- @amount = amount
726
- @rate = rate
727
- @type = type
728
- end
729
- end
730
- # Indicates if the transaction is tax exempt.
731
- attr_accessor :tax_exempt_indicator
732
- # Array of tax details.
733
- attr_accessor :taxes
734
-
735
- def initialize(tax_exempt_indicator: nil, taxes: nil)
736
- @tax_exempt_indicator = tax_exempt_indicator
737
- @taxes = taxes
738
- end
739
- end
740
- # Total amount in cents.
741
- attr_accessor :amount
742
- # Currency of the amount.
743
- attr_accessor :currency
744
- # Discount details for the rental.
745
- attr_accessor :discounts
746
- # Additional charges for the rental.
747
- attr_accessor :extra_charges
748
- # Rate per unit for the rental.
749
- attr_accessor :rate_per_unit
750
- # Unit of measurement for the rate.
751
- attr_accessor :rate_unit
752
- # Tax breakdown for the rental.
753
- attr_accessor :tax
754
-
755
- def initialize(
756
- amount: nil,
757
- currency: nil,
758
- discounts: nil,
759
- extra_charges: nil,
760
- rate_per_unit: nil,
761
- rate_unit: nil,
762
- tax: nil
763
- )
764
- @amount = amount
765
- @currency = currency
766
- @discounts = discounts
767
- @extra_charges = extra_charges
768
- @rate_per_unit = rate_per_unit
769
- @rate_unit = rate_unit
770
- @tax = tax
771
- end
772
- end
773
-
774
- class Vehicle < ::Stripe::RequestParams
775
- # Make of the rental vehicle.
776
- attr_accessor :make
777
- # Model of the rental vehicle.
778
- attr_accessor :model
779
- # Odometer reading at the time of rental.
780
- attr_accessor :odometer
781
- # Type of the rental vehicle.
782
- attr_accessor :type
783
- # Class of the rental vehicle.
784
- attr_accessor :vehicle_class
785
- # Vehicle identification number (VIN).
786
- attr_accessor :vehicle_identification_number
787
-
788
- def initialize(
789
- make: nil,
790
- model: nil,
791
- odometer: nil,
792
- type: nil,
793
- vehicle_class: nil,
794
- vehicle_identification_number: nil
795
- )
796
- @make = make
797
- @model = model
798
- @odometer = odometer
799
- @type = type
800
- @vehicle_class = vehicle_class
801
- @vehicle_identification_number = vehicle_identification_number
802
- end
803
- end
804
- # Affiliate (such as travel agency) details for the rental.
805
- attr_accessor :affiliate
806
- # Booking confirmation number for the car rental.
807
- attr_accessor :booking_number
808
- # Name of the car rental company.
809
- attr_accessor :carrier_name
810
- # Customer service phone number for the car rental company.
811
- attr_accessor :customer_service_phone_number
812
- # Number of days the car is being rented.
813
- attr_accessor :days_rented
814
- # Distance details for the rental.
815
- attr_accessor :distance
816
- # List of drivers for the rental.
817
- attr_accessor :drivers
818
- # Drop-off location details.
819
- attr_accessor :drop_off
820
- # Insurance details for the rental.
821
- attr_accessor :insurances
822
- # Indicates if the customer was a no-show.
823
- attr_accessor :no_show_indicator
824
- # Pickup location details.
825
- attr_accessor :pickup
826
- # Name of the person renting the vehicle.
827
- attr_accessor :renter_name
828
- # Total cost breakdown for the rental.
829
- attr_accessor :total
830
- # Vehicle details for the rental.
831
- attr_accessor :vehicle
832
-
833
- def initialize(
834
- affiliate: nil,
835
- booking_number: nil,
836
- carrier_name: nil,
837
- customer_service_phone_number: nil,
838
- days_rented: nil,
839
- distance: nil,
840
- drivers: nil,
841
- drop_off: nil,
842
- insurances: nil,
843
- no_show_indicator: nil,
844
- pickup: nil,
845
- renter_name: nil,
846
- total: nil,
847
- vehicle: nil
848
- )
849
- @affiliate = affiliate
850
- @booking_number = booking_number
851
- @carrier_name = carrier_name
852
- @customer_service_phone_number = customer_service_phone_number
853
- @days_rented = days_rented
854
- @distance = distance
855
- @drivers = drivers
856
- @drop_off = drop_off
857
- @insurances = insurances
858
- @no_show_indicator = no_show_indicator
859
- @pickup = pickup
860
- @renter_name = renter_name
861
- @total = total
862
- @vehicle = vehicle
863
- end
864
- end
865
-
866
- class EventDetails < ::Stripe::RequestParams
867
- class Address < ::Stripe::RequestParams
868
- # City, district, suburb, town, or village.
869
- attr_accessor :city
870
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
871
- attr_accessor :country
872
- # Address line 1, such as the street, PO Box, or company name.
873
- attr_accessor :line1
874
- # Address line 2, such as the apartment, suite, unit, or building.
875
- attr_accessor :line2
876
- # ZIP or postal code.
877
- attr_accessor :postal_code
878
- # State, county, province, or region.
879
- attr_accessor :state
880
-
881
- def initialize(
882
- city: nil,
883
- country: nil,
884
- line1: nil,
885
- line2: nil,
886
- postal_code: nil,
887
- state: nil
888
- )
889
- @city = city
890
- @country = country
891
- @line1 = line1
892
- @line2 = line2
893
- @postal_code = postal_code
894
- @state = state
895
- end
896
- end
897
-
898
- class Affiliate < ::Stripe::RequestParams
899
- # The name of the affiliate that originated the purchase.
900
- attr_accessor :name
901
-
902
- def initialize(name: nil)
903
- @name = name
904
- end
905
- end
906
-
907
- class Delivery < ::Stripe::RequestParams
908
- class Recipient < ::Stripe::RequestParams
909
- # The email of the recipient the ticket is delivered to.
910
- attr_accessor :email
911
- # The name of the recipient the ticket is delivered to.
912
- attr_accessor :name
913
- # The phone number of the recipient the ticket is delivered to.
914
- attr_accessor :phone
915
-
916
- def initialize(email: nil, name: nil, phone: nil)
917
- @email = email
918
- @name = name
919
- @phone = phone
920
- end
921
- end
922
- # The delivery method for the payment
923
- attr_accessor :mode
924
- # Details of the recipient.
925
- attr_accessor :recipient
926
-
927
- def initialize(mode: nil, recipient: nil)
928
- @mode = mode
929
- @recipient = recipient
930
- end
931
- end
932
- # Indicates if the tickets are digitally checked when entering the venue.
933
- attr_accessor :access_controlled_venue
934
- # The event location's address.
935
- attr_accessor :address
936
- # Affiliate details for this purchase.
937
- attr_accessor :affiliate
938
- # The name of the company
939
- attr_accessor :company
940
- # Delivery details for this purchase.
941
- attr_accessor :delivery
942
- # Event end time. Measured in seconds since the Unix epoch.
943
- attr_accessor :ends_at
944
- # Type of the event entertainment (concert, sports event etc)
945
- attr_accessor :genre
946
- # The name of the event.
947
- attr_accessor :name
948
- # Event start time. Measured in seconds since the Unix epoch.
949
- attr_accessor :starts_at
950
-
951
- def initialize(
952
- access_controlled_venue: nil,
953
- address: nil,
954
- affiliate: nil,
955
- company: nil,
956
- delivery: nil,
957
- ends_at: nil,
958
- genre: nil,
959
- name: nil,
960
- starts_at: nil
961
- )
962
- @access_controlled_venue = access_controlled_venue
963
- @address = address
964
- @affiliate = affiliate
965
- @company = company
966
- @delivery = delivery
967
- @ends_at = ends_at
968
- @genre = genre
969
- @name = name
970
- @starts_at = starts_at
971
- end
972
- end
973
-
974
- class Flight < ::Stripe::RequestParams
975
- class Affiliate < ::Stripe::RequestParams
976
- # The name of the affiliate that originated the purchase.
977
- attr_accessor :name
978
-
979
- def initialize(name: nil)
980
- @name = name
981
- end
982
- end
983
-
984
- class Delivery < ::Stripe::RequestParams
985
- class Recipient < ::Stripe::RequestParams
986
- # The email of the recipient the ticket is delivered to.
987
- attr_accessor :email
988
- # The name of the recipient the ticket is delivered to.
989
- attr_accessor :name
990
- # The phone number of the recipient the ticket is delivered to.
991
- attr_accessor :phone
992
-
993
- def initialize(email: nil, name: nil, phone: nil)
994
- @email = email
995
- @name = name
996
- @phone = phone
997
- end
998
- end
999
- # The delivery method for the payment
1000
- attr_accessor :mode
1001
- # Details of the recipient.
1002
- attr_accessor :recipient
1003
-
1004
- def initialize(mode: nil, recipient: nil)
1005
- @mode = mode
1006
- @recipient = recipient
1007
- end
1008
- end
1009
-
1010
- class Passenger < ::Stripe::RequestParams
1011
- # Full name of the person or entity on the flight reservation.
1012
- attr_accessor :name
1013
-
1014
- def initialize(name: nil)
1015
- @name = name
1016
- end
1017
- end
1018
-
1019
- class Segment < ::Stripe::RequestParams
1020
- # The flight segment amount.
1021
- attr_accessor :amount
1022
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1023
- attr_accessor :arrival_airport
1024
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1025
- attr_accessor :arrives_at
1026
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1027
- attr_accessor :carrier
1028
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1029
- attr_accessor :departs_at
1030
- # The International Air Transport Association (IATA) airport code for the departure airport.
1031
- attr_accessor :departure_airport
1032
- # The flight number associated with the segment
1033
- attr_accessor :flight_number
1034
- # The fare class for the segment.
1035
- attr_accessor :service_class
1036
-
1037
- def initialize(
1038
- amount: nil,
1039
- arrival_airport: nil,
1040
- arrives_at: nil,
1041
- carrier: nil,
1042
- departs_at: nil,
1043
- departure_airport: nil,
1044
- flight_number: nil,
1045
- service_class: nil
1046
- )
1047
- @amount = amount
1048
- @arrival_airport = arrival_airport
1049
- @arrives_at = arrives_at
1050
- @carrier = carrier
1051
- @departs_at = departs_at
1052
- @departure_airport = departure_airport
1053
- @flight_number = flight_number
1054
- @service_class = service_class
1055
- end
1056
- end
1057
- # Affiliate details for this purchase.
1058
- attr_accessor :affiliate
1059
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1060
- attr_accessor :agency_number
1061
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1062
- attr_accessor :carrier
1063
- # Delivery details for this purchase.
1064
- attr_accessor :delivery
1065
- # The name of the person or entity on the reservation.
1066
- attr_accessor :passenger_name
1067
- # The details of the passengers in the travel reservation.
1068
- attr_accessor :passengers
1069
- # The individual flight segments associated with the trip.
1070
- attr_accessor :segments
1071
- # The ticket number associated with the travel reservation.
1072
- attr_accessor :ticket_number
1073
-
1074
- def initialize(
1075
- affiliate: nil,
1076
- agency_number: nil,
1077
- carrier: nil,
1078
- delivery: nil,
1079
- passenger_name: nil,
1080
- passengers: nil,
1081
- segments: nil,
1082
- ticket_number: nil
1083
- )
1084
- @affiliate = affiliate
1085
- @agency_number = agency_number
1086
- @carrier = carrier
1087
- @delivery = delivery
1088
- @passenger_name = passenger_name
1089
- @passengers = passengers
1090
- @segments = segments
1091
- @ticket_number = ticket_number
1092
- end
1093
- end
1094
-
1095
- class FlightDatum < ::Stripe::RequestParams
1096
- class Affiliate < ::Stripe::RequestParams
1097
- # Affiliate partner code.
1098
- attr_accessor :code
1099
- # Name of affiliate partner.
1100
- attr_accessor :name
1101
- # Code provided by the company to a travel agent authorizing ticket issuance.
1102
- attr_accessor :travel_authorization_code
1103
-
1104
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1105
- @code = code
1106
- @name = name
1107
- @travel_authorization_code = travel_authorization_code
1108
- end
1109
- end
1110
-
1111
- class Insurance < ::Stripe::RequestParams
1112
- # Insurance cost.
1113
- attr_accessor :amount
1114
- # Insurance currency.
1115
- attr_accessor :currency
1116
- # Insurance company name.
1117
- attr_accessor :insurance_company_name
1118
- # Type of insurance.
1119
- attr_accessor :insurance_type
1120
-
1121
- def initialize(
1122
- amount: nil,
1123
- currency: nil,
1124
- insurance_company_name: nil,
1125
- insurance_type: nil
1126
- )
1127
- @amount = amount
1128
- @currency = currency
1129
- @insurance_company_name = insurance_company_name
1130
- @insurance_type = insurance_type
1131
- end
1132
- end
1133
-
1134
- class Passenger < ::Stripe::RequestParams
1135
- # Passenger's full name.
1136
- attr_accessor :name
1137
-
1138
- def initialize(name: nil)
1139
- @name = name
1140
- end
1141
- end
1142
-
1143
- class Segment < ::Stripe::RequestParams
1144
- class Arrival < ::Stripe::RequestParams
1145
- # Arrival airport IATA code.
1146
- attr_accessor :airport
1147
- # Arrival date/time.
1148
- attr_accessor :arrives_at
1149
- # Arrival city.
1150
- attr_accessor :city
1151
- # Arrival country.
1152
- attr_accessor :country
1153
-
1154
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1155
- @airport = airport
1156
- @arrives_at = arrives_at
1157
- @city = city
1158
- @country = country
1159
- end
1160
- end
1161
-
1162
- class Departure < ::Stripe::RequestParams
1163
- # Departure airport IATA code.
1164
- attr_accessor :airport
1165
- # Departure city.
1166
- attr_accessor :city
1167
- # Departure country.
1168
- attr_accessor :country
1169
- # Departure date/time.
1170
- attr_accessor :departs_at
1171
-
1172
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1173
- @airport = airport
1174
- @city = city
1175
- @country = country
1176
- @departs_at = departs_at
1177
- end
1178
- end
1179
- # Segment fare amount.
1180
- attr_accessor :amount
1181
- # Arrival details.
1182
- attr_accessor :arrival
1183
- # Airline carrier code.
1184
- attr_accessor :carrier_code
1185
- # Carrier name.
1186
- attr_accessor :carrier_name
1187
- # Segment currency.
1188
- attr_accessor :currency
1189
- # Departure details.
1190
- attr_accessor :departure
1191
- # Exchange ticket number.
1192
- attr_accessor :exchange_ticket_number
1193
- # Fare basis code.
1194
- attr_accessor :fare_basis_code
1195
- # Additional fees.
1196
- attr_accessor :fees
1197
- # Flight number.
1198
- attr_accessor :flight_number
1199
- # Stopover indicator.
1200
- attr_accessor :is_stop_over_indicator
1201
- # Refundable ticket indicator.
1202
- attr_accessor :refundable
1203
- # Class of service.
1204
- attr_accessor :service_class
1205
- # Tax amount for segment.
1206
- attr_accessor :tax_amount
1207
- # Ticket number.
1208
- attr_accessor :ticket_number
1209
-
1210
- def initialize(
1211
- amount: nil,
1212
- arrival: nil,
1213
- carrier_code: nil,
1214
- carrier_name: nil,
1215
- currency: nil,
1216
- departure: nil,
1217
- exchange_ticket_number: nil,
1218
- fare_basis_code: nil,
1219
- fees: nil,
1220
- flight_number: nil,
1221
- is_stop_over_indicator: nil,
1222
- refundable: nil,
1223
- service_class: nil,
1224
- tax_amount: nil,
1225
- ticket_number: nil
1226
- )
1227
- @amount = amount
1228
- @arrival = arrival
1229
- @carrier_code = carrier_code
1230
- @carrier_name = carrier_name
1231
- @currency = currency
1232
- @departure = departure
1233
- @exchange_ticket_number = exchange_ticket_number
1234
- @fare_basis_code = fare_basis_code
1235
- @fees = fees
1236
- @flight_number = flight_number
1237
- @is_stop_over_indicator = is_stop_over_indicator
1238
- @refundable = refundable
1239
- @service_class = service_class
1240
- @tax_amount = tax_amount
1241
- @ticket_number = ticket_number
1242
- end
1243
- end
1244
-
1245
- class Total < ::Stripe::RequestParams
1246
- class Discounts < ::Stripe::RequestParams
1247
- # Corporate client discount code.
1248
- attr_accessor :corporate_client_code
1249
-
1250
- def initialize(corporate_client_code: nil)
1251
- @corporate_client_code = corporate_client_code
1252
- end
1253
- end
1254
-
1255
- class ExtraCharge < ::Stripe::RequestParams
1256
- # Amount of additional charges.
1257
- attr_accessor :amount
1258
- # Type of additional charges.
1259
- attr_accessor :type
1260
-
1261
- def initialize(amount: nil, type: nil)
1262
- @amount = amount
1263
- @type = type
1264
- end
1265
- end
1266
-
1267
- class Tax < ::Stripe::RequestParams
1268
- class Tax < ::Stripe::RequestParams
1269
- # Tax amount.
1270
- attr_accessor :amount
1271
- # Tax rate.
1272
- attr_accessor :rate
1273
- # Type of tax.
1274
- attr_accessor :type
1275
-
1276
- def initialize(amount: nil, rate: nil, type: nil)
1277
- @amount = amount
1278
- @rate = rate
1279
- @type = type
1280
- end
1281
- end
1282
- # Array of tax details.
1283
- attr_accessor :taxes
1284
-
1285
- def initialize(taxes: nil)
1286
- @taxes = taxes
1287
- end
1288
- end
1289
- # Total flight amount.
1290
- attr_accessor :amount
1291
- # Reason for credit.
1292
- attr_accessor :credit_reason
1293
- # Total currency.
1294
- attr_accessor :currency
1295
- # Discount details.
1296
- attr_accessor :discounts
1297
- # Additional charges.
1298
- attr_accessor :extra_charges
1299
- # Tax breakdown.
1300
- attr_accessor :tax
1301
-
1302
- def initialize(
1303
- amount: nil,
1304
- credit_reason: nil,
1305
- currency: nil,
1306
- discounts: nil,
1307
- extra_charges: nil,
1308
- tax: nil
1309
- )
1310
- @amount = amount
1311
- @credit_reason = credit_reason
1312
- @currency = currency
1313
- @discounts = discounts
1314
- @extra_charges = extra_charges
1315
- @tax = tax
1316
- end
1317
- end
1318
- # Affiliate details if applicable.
1319
- attr_accessor :affiliate
1320
- # Reservation reference.
1321
- attr_accessor :booking_number
1322
- # Computerized reservation system used to make the reservation and purchase the ticket.
1323
- attr_accessor :computerized_reservation_system
1324
- # Ticket restrictions.
1325
- attr_accessor :endorsements_and_restrictions
1326
- # List of insurances.
1327
- attr_accessor :insurances
1328
- # List of passengers.
1329
- attr_accessor :passengers
1330
- # List of flight segments.
1331
- attr_accessor :segments
1332
- # Electronic ticket indicator.
1333
- attr_accessor :ticket_electronically_issued_indicator
1334
- # Total cost breakdown.
1335
- attr_accessor :total
1336
- # Type of flight transaction.
1337
- attr_accessor :transaction_type
1338
-
1339
- def initialize(
1340
- affiliate: nil,
1341
- booking_number: nil,
1342
- computerized_reservation_system: nil,
1343
- endorsements_and_restrictions: nil,
1344
- insurances: nil,
1345
- passengers: nil,
1346
- segments: nil,
1347
- ticket_electronically_issued_indicator: nil,
1348
- total: nil,
1349
- transaction_type: nil
1350
- )
1351
- @affiliate = affiliate
1352
- @booking_number = booking_number
1353
- @computerized_reservation_system = computerized_reservation_system
1354
- @endorsements_and_restrictions = endorsements_and_restrictions
1355
- @insurances = insurances
1356
- @passengers = passengers
1357
- @segments = segments
1358
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1359
- @total = total
1360
- @transaction_type = transaction_type
1361
- end
1362
- end
1363
-
1364
- class Lodging < ::Stripe::RequestParams
1365
- class Address < ::Stripe::RequestParams
1366
- # City, district, suburb, town, or village.
1367
- attr_accessor :city
1368
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1369
- attr_accessor :country
1370
- # Address line 1, such as the street, PO Box, or company name.
1371
- attr_accessor :line1
1372
- # Address line 2, such as the apartment, suite, unit, or building.
1373
- attr_accessor :line2
1374
- # ZIP or postal code.
1375
- attr_accessor :postal_code
1376
- # State, county, province, or region.
1377
- attr_accessor :state
1378
-
1379
- def initialize(
1380
- city: nil,
1381
- country: nil,
1382
- line1: nil,
1383
- line2: nil,
1384
- postal_code: nil,
1385
- state: nil
1386
- )
1387
- @city = city
1388
- @country = country
1389
- @line1 = line1
1390
- @line2 = line2
1391
- @postal_code = postal_code
1392
- @state = state
1393
- end
1394
- end
1395
-
1396
- class Affiliate < ::Stripe::RequestParams
1397
- # The name of the affiliate that originated the purchase.
1398
- attr_accessor :name
1399
-
1400
- def initialize(name: nil)
1401
- @name = name
1402
- end
1403
- end
1404
-
1405
- class Delivery < ::Stripe::RequestParams
1406
- class Recipient < ::Stripe::RequestParams
1407
- # The email of the recipient the ticket is delivered to.
1408
- attr_accessor :email
1409
- # The name of the recipient the ticket is delivered to.
1410
- attr_accessor :name
1411
- # The phone number of the recipient the ticket is delivered to.
1412
- attr_accessor :phone
1413
-
1414
- def initialize(email: nil, name: nil, phone: nil)
1415
- @email = email
1416
- @name = name
1417
- @phone = phone
1418
- end
1419
- end
1420
- # The delivery method for the payment
1421
- attr_accessor :mode
1422
- # Details of the recipient.
1423
- attr_accessor :recipient
1424
-
1425
- def initialize(mode: nil, recipient: nil)
1426
- @mode = mode
1427
- @recipient = recipient
1428
- end
1429
- end
1430
-
1431
- class Passenger < ::Stripe::RequestParams
1432
- # Full name of the person or entity on the lodging reservation.
1433
- attr_accessor :name
1434
-
1435
- def initialize(name: nil)
1436
- @name = name
1437
- end
1438
- end
1439
- # The lodging location's address.
1440
- attr_accessor :address
1441
- # The number of adults on the booking
1442
- attr_accessor :adults
1443
- # Affiliate details for this purchase.
1444
- attr_accessor :affiliate
1445
- # The booking number associated with the lodging reservation.
1446
- attr_accessor :booking_number
1447
- # The lodging category
1448
- attr_accessor :category
1449
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1450
- attr_accessor :checkin_at
1451
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1452
- attr_accessor :checkout_at
1453
- # The customer service phone number of the lodging company.
1454
- attr_accessor :customer_service_phone_number
1455
- # The daily lodging room rate.
1456
- attr_accessor :daily_room_rate_amount
1457
- # Delivery details for this purchase.
1458
- attr_accessor :delivery
1459
- # List of additional charges being billed.
1460
- attr_accessor :extra_charges
1461
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1462
- attr_accessor :fire_safety_act_compliance
1463
- # The name of the lodging location.
1464
- attr_accessor :name
1465
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1466
- attr_accessor :no_show
1467
- # The number of rooms on the booking
1468
- attr_accessor :number_of_rooms
1469
- # The details of the passengers in the travel reservation
1470
- attr_accessor :passengers
1471
- # The phone number of the lodging location.
1472
- attr_accessor :property_phone_number
1473
- # The room class for this purchase.
1474
- attr_accessor :room_class
1475
- # The number of room nights
1476
- attr_accessor :room_nights
1477
- # The total tax amount associating with the room reservation.
1478
- attr_accessor :total_room_tax_amount
1479
- # The total tax amount
1480
- attr_accessor :total_tax_amount
1481
-
1482
- def initialize(
1483
- address: nil,
1484
- adults: nil,
1485
- affiliate: nil,
1486
- booking_number: nil,
1487
- category: nil,
1488
- checkin_at: nil,
1489
- checkout_at: nil,
1490
- customer_service_phone_number: nil,
1491
- daily_room_rate_amount: nil,
1492
- delivery: nil,
1493
- extra_charges: nil,
1494
- fire_safety_act_compliance: nil,
1495
- name: nil,
1496
- no_show: nil,
1497
- number_of_rooms: nil,
1498
- passengers: nil,
1499
- property_phone_number: nil,
1500
- room_class: nil,
1501
- room_nights: nil,
1502
- total_room_tax_amount: nil,
1503
- total_tax_amount: nil
118
+ tax: nil,
119
+ unit_cost: nil,
120
+ unit_of_measure: nil
1504
121
  )
1505
- @address = address
1506
- @adults = adults
1507
- @affiliate = affiliate
1508
- @booking_number = booking_number
1509
- @category = category
1510
- @checkin_at = checkin_at
1511
- @checkout_at = checkout_at
1512
- @customer_service_phone_number = customer_service_phone_number
1513
- @daily_room_rate_amount = daily_room_rate_amount
1514
- @delivery = delivery
1515
- @extra_charges = extra_charges
1516
- @fire_safety_act_compliance = fire_safety_act_compliance
1517
- @name = name
1518
- @no_show = no_show
1519
- @number_of_rooms = number_of_rooms
1520
- @passengers = passengers
1521
- @property_phone_number = property_phone_number
1522
- @room_class = room_class
1523
- @room_nights = room_nights
1524
- @total_room_tax_amount = total_room_tax_amount
1525
- @total_tax_amount = total_tax_amount
122
+ @discount_amount = discount_amount
123
+ @payment_method_options = payment_method_options
124
+ @product_code = product_code
125
+ @product_name = product_name
126
+ @quantity = quantity
127
+ @tax = tax
128
+ @unit_cost = unit_cost
129
+ @unit_of_measure = unit_of_measure
1526
130
  end
1527
131
  end
1528
132
 
1529
- class LodgingDatum < ::Stripe::RequestParams
1530
- class Accommodation < ::Stripe::RequestParams
1531
- # Type of accommodation.
1532
- attr_accessor :accommodation_type
1533
- # Bed type.
1534
- attr_accessor :bed_type
1535
- # Daily accommodation rate in cents.
1536
- attr_accessor :daily_rate_amount
1537
- # Number of nights.
1538
- attr_accessor :nights
1539
- # Number of rooms, cabanas, apartments, and so on.
1540
- attr_accessor :number_of_rooms
1541
- # Rate type.
1542
- attr_accessor :rate_type
1543
- # Whether smoking is allowed.
1544
- attr_accessor :smoking_indicator
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
1545
140
 
1546
- def initialize(
1547
- accommodation_type: nil,
1548
- bed_type: nil,
1549
- daily_rate_amount: nil,
1550
- nights: nil,
1551
- number_of_rooms: nil,
1552
- rate_type: nil,
1553
- smoking_indicator: nil
1554
- )
1555
- @accommodation_type = accommodation_type
1556
- @bed_type = bed_type
1557
- @daily_rate_amount = daily_rate_amount
1558
- @nights = nights
1559
- @number_of_rooms = number_of_rooms
1560
- @rate_type = rate_type
1561
- @smoking_indicator = smoking_indicator
1562
- 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
1563
145
  end
146
+ end
1564
147
 
1565
- class Affiliate < ::Stripe::RequestParams
1566
- # Affiliate partner code.
1567
- attr_accessor :code
1568
- # Affiliate partner name.
1569
- attr_accessor :name
148
+ class Tax < ::Stripe::RequestParams
149
+ # The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
150
+ #
151
+ # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
+ attr_accessor :total_tax_amount
1570
153
 
1571
- def initialize(code: nil, name: nil)
1572
- @code = code
1573
- @name = name
1574
- end
154
+ def initialize(total_tax_amount: nil)
155
+ @total_tax_amount = total_tax_amount
1575
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
1576
168
 
1577
- class Guest < ::Stripe::RequestParams
1578
- # Guest's full name.
1579
- attr_accessor :name
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
1580
176
 
1581
- def initialize(name: nil)
1582
- @name = name
1583
- end
1584
- end
177
+ class AutomaticPaymentMethods < ::Stripe::RequestParams
178
+ # Controls whether this PaymentIntent will accept redirect-based payment methods.
179
+ #
180
+ # Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
181
+ attr_accessor :allow_redirects
182
+ # Whether this feature is enabled.
183
+ attr_accessor :enabled
1585
184
 
1586
- class Host < ::Stripe::RequestParams
1587
- class Address < ::Stripe::RequestParams
1588
- # City, district, suburb, town, or village.
1589
- attr_accessor :city
1590
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1591
- attr_accessor :country
1592
- # Address line 1, such as the street, PO Box, or company name.
1593
- attr_accessor :line1
1594
- # Address line 2, such as the apartment, suite, unit, or building.
1595
- attr_accessor :line2
1596
- # ZIP or postal code.
1597
- attr_accessor :postal_code
1598
- # State, county, province, or region.
1599
- attr_accessor :state
185
+ def initialize(allow_redirects: nil, enabled: nil)
186
+ @allow_redirects = allow_redirects
187
+ @enabled = enabled
188
+ end
189
+ end
1600
190
 
1601
- def initialize(
1602
- city: nil,
1603
- country: nil,
1604
- line1: nil,
1605
- line2: nil,
1606
- postal_code: nil,
1607
- state: nil
1608
- )
1609
- @city = city
1610
- @country = country
1611
- @line1 = line1
1612
- @line2 = line2
1613
- @postal_code = postal_code
1614
- @state = state
1615
- end
1616
- end
1617
- # Address of the host.
1618
- attr_accessor :address
1619
- # Host's country of domicile.
1620
- attr_accessor :country_of_domicile
1621
- # Reference number for the host.
1622
- attr_accessor :host_reference
1623
- # Type of host.
1624
- attr_accessor :host_type
1625
- # Name of the lodging property or host.
1626
- attr_accessor :name
1627
- # Total number of reservations for the host.
1628
- attr_accessor :number_of_reservations
1629
- # Property phone number.
1630
- attr_accessor :property_phone_number
1631
- # Host's registration date.
1632
- attr_accessor :registered_at
191
+ class Hooks < ::Stripe::RequestParams
192
+ class Inputs < ::Stripe::RequestParams
193
+ class Tax < ::Stripe::RequestParams
194
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
195
+ attr_accessor :calculation
1633
196
 
1634
- def initialize(
1635
- address: nil,
1636
- country_of_domicile: nil,
1637
- host_reference: nil,
1638
- host_type: nil,
1639
- name: nil,
1640
- number_of_reservations: nil,
1641
- property_phone_number: nil,
1642
- registered_at: nil
1643
- )
1644
- @address = address
1645
- @country_of_domicile = country_of_domicile
1646
- @host_reference = host_reference
1647
- @host_type = host_type
1648
- @name = name
1649
- @number_of_reservations = number_of_reservations
1650
- @property_phone_number = property_phone_number
1651
- @registered_at = registered_at
197
+ def initialize(calculation: nil)
198
+ @calculation = calculation
1652
199
  end
1653
200
  end
201
+ # Tax arguments for automations
202
+ attr_accessor :tax
1654
203
 
1655
- class Insurance < ::Stripe::RequestParams
1656
- # Price of the insurance coverage in cents.
1657
- attr_accessor :amount
1658
- # Currency of the insurance amount.
1659
- attr_accessor :currency
1660
- # Name of the insurance company.
1661
- attr_accessor :insurance_company_name
1662
- # Type of insurance coverage.
1663
- attr_accessor :insurance_type
1664
-
1665
- def initialize(
1666
- amount: nil,
1667
- currency: nil,
1668
- insurance_company_name: nil,
1669
- insurance_type: nil
1670
- )
1671
- @amount = amount
1672
- @currency = currency
1673
- @insurance_company_name = insurance_company_name
1674
- @insurance_type = insurance_type
1675
- end
204
+ def initialize(tax: nil)
205
+ @tax = tax
1676
206
  end
207
+ end
208
+ # Arguments passed in automations
209
+ attr_accessor :inputs
1677
210
 
1678
- class Total < ::Stripe::RequestParams
1679
- class Discounts < ::Stripe::RequestParams
1680
- # Corporate client discount code.
1681
- attr_accessor :corporate_client_code
1682
- # Coupon code.
1683
- attr_accessor :coupon
1684
-
1685
- def initialize(corporate_client_code: nil, coupon: nil)
1686
- @corporate_client_code = corporate_client_code
1687
- @coupon = coupon
1688
- end
1689
- end
1690
-
1691
- class ExtraCharge < ::Stripe::RequestParams
1692
- # Amount of the extra charge in cents.
1693
- attr_accessor :amount
1694
- # Type of extra charge.
1695
- attr_accessor :type
211
+ def initialize(inputs: nil)
212
+ @inputs = inputs
213
+ end
214
+ end
1696
215
 
1697
- def initialize(amount: nil, type: nil)
1698
- @amount = amount
1699
- @type = type
1700
- end
1701
- end
216
+ class MandateData < ::Stripe::RequestParams
217
+ class CustomerAcceptance < ::Stripe::RequestParams
218
+ class Offline < ::Stripe::RequestParams; end
1702
219
 
1703
- class Tax < ::Stripe::RequestParams
1704
- class Tax < ::Stripe::RequestParams
1705
- # Tax amount in cents.
1706
- attr_accessor :amount
1707
- # Tax rate.
1708
- attr_accessor :rate
1709
- # Type of tax applied.
1710
- attr_accessor :type
1711
-
1712
- def initialize(amount: nil, rate: nil, type: nil)
1713
- @amount = amount
1714
- @rate = rate
1715
- @type = type
1716
- end
1717
- end
1718
- # Indicates whether the transaction is tax exempt.
1719
- attr_accessor :tax_exempt_indicator
1720
- # Tax details.
1721
- attr_accessor :taxes
1722
-
1723
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1724
- @tax_exempt_indicator = tax_exempt_indicator
1725
- @taxes = taxes
1726
- end
1727
- end
1728
- # Total price of the lodging reservation in cents.
1729
- attr_accessor :amount
1730
- # Cash advances in cents.
1731
- attr_accessor :cash_advances
1732
- # Currency of the total amount.
1733
- attr_accessor :currency
1734
- # Discount details for the lodging.
1735
- attr_accessor :discounts
1736
- # Additional charges for the lodging.
1737
- attr_accessor :extra_charges
1738
- # Prepaid amount in cents.
1739
- attr_accessor :prepaid_amount
1740
- # Tax breakdown for the lodging reservation.
1741
- attr_accessor :tax
220
+ class Online < ::Stripe::RequestParams
221
+ # The IP address from which the Mandate was accepted by the customer.
222
+ attr_accessor :ip_address
223
+ # The user agent of the browser from which the Mandate was accepted by the customer.
224
+ attr_accessor :user_agent
1742
225
 
1743
- def initialize(
1744
- amount: nil,
1745
- cash_advances: nil,
1746
- currency: nil,
1747
- discounts: nil,
1748
- extra_charges: nil,
1749
- prepaid_amount: nil,
1750
- tax: nil
1751
- )
1752
- @amount = amount
1753
- @cash_advances = cash_advances
1754
- @currency = currency
1755
- @discounts = discounts
1756
- @extra_charges = extra_charges
1757
- @prepaid_amount = prepaid_amount
1758
- @tax = tax
226
+ def initialize(ip_address: nil, user_agent: nil)
227
+ @ip_address = ip_address
228
+ @user_agent = user_agent
1759
229
  end
1760
230
  end
1761
- # Accommodation details for the lodging.
1762
- attr_accessor :accommodation
1763
- # Affiliate details if applicable.
1764
- attr_accessor :affiliate
1765
- # Booking confirmation number for the lodging.
1766
- attr_accessor :booking_number
1767
- # Check-in date.
1768
- attr_accessor :checkin_at
1769
- # Check-out date.
1770
- attr_accessor :checkout_at
1771
- # Customer service phone number for the lodging company.
1772
- attr_accessor :customer_service_phone_number
1773
- # Whether the lodging is compliant with any hotel fire safety regulations.
1774
- attr_accessor :fire_safety_act_compliance_indicator
1775
- # List of guests for the lodging.
1776
- attr_accessor :guests
1777
- # Host details for the lodging.
1778
- attr_accessor :host
1779
- # List of insurances for the lodging.
1780
- attr_accessor :insurances
1781
- # Whether the renter is a no-show.
1782
- attr_accessor :no_show_indicator
1783
- # Renter ID number for the lodging.
1784
- attr_accessor :renter_id_number
1785
- # Renter name for the lodging.
1786
- attr_accessor :renter_name
1787
- # Total details for the lodging.
1788
- attr_accessor :total
231
+ # The time at which the customer accepted the Mandate.
232
+ attr_accessor :accepted_at
233
+ # If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
234
+ attr_accessor :offline
235
+ # If this is a Mandate accepted online, this hash contains details about the online acceptance.
236
+ attr_accessor :online
237
+ # The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
238
+ attr_accessor :type
1789
239
 
1790
- def initialize(
1791
- accommodation: nil,
1792
- affiliate: nil,
1793
- booking_number: nil,
1794
- checkin_at: nil,
1795
- checkout_at: nil,
1796
- customer_service_phone_number: nil,
1797
- fire_safety_act_compliance_indicator: nil,
1798
- guests: nil,
1799
- host: nil,
1800
- insurances: nil,
1801
- no_show_indicator: nil,
1802
- renter_id_number: nil,
1803
- renter_name: nil,
1804
- total: nil
1805
- )
1806
- @accommodation = accommodation
1807
- @affiliate = affiliate
1808
- @booking_number = booking_number
1809
- @checkin_at = checkin_at
1810
- @checkout_at = checkout_at
1811
- @customer_service_phone_number = customer_service_phone_number
1812
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1813
- @guests = guests
1814
- @host = host
1815
- @insurances = insurances
1816
- @no_show_indicator = no_show_indicator
1817
- @renter_id_number = renter_id_number
1818
- @renter_name = renter_name
1819
- @total = total
240
+ def initialize(accepted_at: nil, offline: nil, online: nil, type: nil)
241
+ @accepted_at = accepted_at
242
+ @offline = offline
243
+ @online = online
244
+ @type = type
1820
245
  end
1821
246
  end
247
+ # This hash contains details about the customer acceptance of the Mandate.
248
+ attr_accessor :customer_acceptance
1822
249
 
1823
- class Subscription < ::Stripe::RequestParams
1824
- class Affiliate < ::Stripe::RequestParams
1825
- # The name of the affiliate that originated the purchase.
1826
- attr_accessor :name
1827
-
1828
- def initialize(name: nil)
1829
- @name = name
1830
- end
1831
- end
1832
-
1833
- class BillingInterval < ::Stripe::RequestParams
1834
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1835
- attr_accessor :count
1836
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1837
- attr_accessor :interval
1838
-
1839
- def initialize(count: nil, interval: nil)
1840
- @count = count
1841
- @interval = interval
1842
- end
1843
- end
1844
- # Affiliate details for this purchase.
1845
- attr_accessor :affiliate
1846
- # Info whether the subscription will be auto renewed upon expiry.
1847
- attr_accessor :auto_renewal
1848
- # Subscription billing details for this purchase.
1849
- attr_accessor :billing_interval
1850
- # Subscription end time. Measured in seconds since the Unix epoch.
1851
- attr_accessor :ends_at
1852
- # Name of the product on subscription. e.g. Apple Music Subscription
1853
- attr_accessor :name
1854
- # Subscription start time. Measured in seconds since the Unix epoch.
1855
- attr_accessor :starts_at
1856
-
1857
- def initialize(
1858
- affiliate: nil,
1859
- auto_renewal: nil,
1860
- billing_interval: nil,
1861
- ends_at: nil,
1862
- name: nil,
1863
- starts_at: nil
1864
- )
1865
- @affiliate = affiliate
1866
- @auto_renewal = auto_renewal
1867
- @billing_interval = billing_interval
1868
- @ends_at = ends_at
1869
- @name = name
1870
- @starts_at = starts_at
1871
- end
250
+ def initialize(customer_acceptance: nil)
251
+ @customer_acceptance = customer_acceptance
1872
252
  end
1873
- # Benefit details for this PaymentIntent
1874
- attr_accessor :benefit
1875
- # Car rental details for this PaymentIntent.
1876
- attr_accessor :car_rental
1877
- # Car rental data for this PaymentIntent.
1878
- attr_accessor :car_rental_data
253
+ end
254
+
255
+ class PaymentDetails < ::Stripe::RequestParams
1879
256
  # A unique value to identify the customer. This field is available only for card payments.
1880
257
  #
1881
258
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1882
259
  attr_accessor :customer_reference
1883
- # Event details for this PaymentIntent
1884
- attr_accessor :event_details
1885
- # Flight reservation details for this PaymentIntent
1886
- attr_accessor :flight
1887
- # Flight data for this PaymentIntent.
1888
- attr_accessor :flight_data
1889
- # Lodging reservation details for this PaymentIntent
1890
- attr_accessor :lodging
1891
- # Lodging data for this PaymentIntent.
1892
- attr_accessor :lodging_data
1893
260
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1894
261
  #
1895
262
  # 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`.
1896
263
  #
1897
264
  # 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.
1898
265
  attr_accessor :order_reference
1899
- # Subscription details for this PaymentIntent
1900
- attr_accessor :subscription
1901
266
 
1902
- def initialize(
1903
- benefit: nil,
1904
- car_rental: nil,
1905
- car_rental_data: nil,
1906
- customer_reference: nil,
1907
- event_details: nil,
1908
- flight: nil,
1909
- flight_data: nil,
1910
- lodging: nil,
1911
- lodging_data: nil,
1912
- order_reference: nil,
1913
- subscription: nil
1914
- )
1915
- @benefit = benefit
1916
- @car_rental = car_rental
1917
- @car_rental_data = car_rental_data
267
+ def initialize(customer_reference: nil, order_reference: nil)
1918
268
  @customer_reference = customer_reference
1919
- @event_details = event_details
1920
- @flight = flight
1921
- @flight_data = flight_data
1922
- @lodging = lodging
1923
- @lodging_data = lodging_data
1924
269
  @order_reference = order_reference
1925
- @subscription = subscription
1926
270
  end
1927
271
  end
1928
272
 
@@ -1987,7 +331,7 @@ module Stripe
1987
331
  attr_accessor :line2
1988
332
  # ZIP or postal code.
1989
333
  attr_accessor :postal_code
1990
- # State, county, province, or region.
334
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1991
335
  attr_accessor :state
1992
336
 
1993
337
  def initialize(
@@ -2063,18 +407,8 @@ module Stripe
2063
407
  end
2064
408
 
2065
409
  class Giropay < ::Stripe::RequestParams; end
2066
- class Gopay < ::Stripe::RequestParams; end
2067
410
  class Grabpay < ::Stripe::RequestParams; end
2068
411
 
2069
- class IdBankTransfer < ::Stripe::RequestParams
2070
- # Bank where the account is held.
2071
- attr_accessor :bank
2072
-
2073
- def initialize(bank: nil)
2074
- @bank = bank
2075
- end
2076
- end
2077
-
2078
412
  class Ideal < ::Stripe::RequestParams
2079
413
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2080
414
  attr_accessor :bank
@@ -2172,7 +506,6 @@ module Stripe
2172
506
  class Payco < ::Stripe::RequestParams; end
2173
507
  class Paynow < ::Stripe::RequestParams; end
2174
508
  class Paypal < ::Stripe::RequestParams; end
2175
- class Paypay < ::Stripe::RequestParams; end
2176
509
 
2177
510
  class Payto < ::Stripe::RequestParams
2178
511
  # The account number for the bank account.
@@ -2191,10 +524,9 @@ module Stripe
2191
524
 
2192
525
  class Pix < ::Stripe::RequestParams; end
2193
526
  class Promptpay < ::Stripe::RequestParams; end
2194
- class Qris < ::Stripe::RequestParams; end
2195
527
 
2196
528
  class RadarOptions < ::Stripe::RequestParams
2197
- # 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.
529
+ # 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.
2198
530
  attr_accessor :session
2199
531
 
2200
532
  def initialize(session: nil)
@@ -2202,29 +534,6 @@ module Stripe
2202
534
  end
2203
535
  end
2204
536
 
2205
- class Rechnung < ::Stripe::RequestParams
2206
- class Dob < ::Stripe::RequestParams
2207
- # The day of birth, between 1 and 31.
2208
- attr_accessor :day
2209
- # The month of birth, between 1 and 12.
2210
- attr_accessor :month
2211
- # The four-digit year of birth.
2212
- attr_accessor :year
2213
-
2214
- def initialize(day: nil, month: nil, year: nil)
2215
- @day = day
2216
- @month = month
2217
- @year = year
2218
- end
2219
- end
2220
- # Customer's date of birth
2221
- attr_accessor :dob
2222
-
2223
- def initialize(dob: nil)
2224
- @dob = dob
2225
- end
2226
- end
2227
-
2228
537
  class RevolutPay < ::Stripe::RequestParams; end
2229
538
  class SamsungPay < ::Stripe::RequestParams; end
2230
539
  class Satispay < ::Stripe::RequestParams; end
@@ -2238,8 +547,6 @@ module Stripe
2238
547
  end
2239
548
  end
2240
549
 
2241
- class Shopeepay < ::Stripe::RequestParams; end
2242
-
2243
550
  class Sofort < ::Stripe::RequestParams
2244
551
  # Two-letter ISO code representing the country the bank account is located in.
2245
552
  attr_accessor :country
@@ -2249,18 +556,6 @@ module Stripe
2249
556
  end
2250
557
  end
2251
558
 
2252
- class StripeBalance < ::Stripe::RequestParams
2253
- # The connected account ID whose Stripe balance to use as the source of payment
2254
- attr_accessor :account
2255
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2256
- attr_accessor :source_type
2257
-
2258
- def initialize(account: nil, source_type: nil)
2259
- @account = account
2260
- @source_type = source_type
2261
- end
2262
- end
2263
-
2264
559
  class Swish < ::Stripe::RequestParams; end
2265
560
  class Twint < ::Stripe::RequestParams; end
2266
561
 
@@ -2333,12 +628,8 @@ module Stripe
2333
628
  attr_accessor :fpx
2334
629
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2335
630
  attr_accessor :giropay
2336
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2337
- attr_accessor :gopay
2338
631
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2339
632
  attr_accessor :grabpay
2340
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2341
- attr_accessor :id_bank_transfer
2342
633
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2343
634
  attr_accessor :ideal
2344
635
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2355,7 +646,7 @@ module Stripe
2355
646
  attr_accessor :link
2356
647
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2357
648
  attr_accessor :mb_way
2358
- # 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`.
649
+ # 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`.
2359
650
  attr_accessor :metadata
2360
651
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2361
652
  attr_accessor :mobilepay
@@ -2377,20 +668,14 @@ module Stripe
2377
668
  attr_accessor :paynow
2378
669
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2379
670
  attr_accessor :paypal
2380
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2381
- attr_accessor :paypay
2382
671
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2383
672
  attr_accessor :payto
2384
673
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2385
674
  attr_accessor :pix
2386
675
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2387
676
  attr_accessor :promptpay
2388
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2389
- attr_accessor :qris
2390
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
677
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2391
678
  attr_accessor :radar_options
2392
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2393
- attr_accessor :rechnung
2394
679
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2395
680
  attr_accessor :revolut_pay
2396
681
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2399,12 +684,8 @@ module Stripe
2399
684
  attr_accessor :satispay
2400
685
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2401
686
  attr_accessor :sepa_debit
2402
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2403
- attr_accessor :shopeepay
2404
687
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2405
688
  attr_accessor :sofort
2406
- # This hash contains details about the Stripe balance payment method.
2407
- attr_accessor :stripe_balance
2408
689
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2409
690
  attr_accessor :swish
2410
691
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2439,9 +720,7 @@ module Stripe
2439
720
  eps: nil,
2440
721
  fpx: nil,
2441
722
  giropay: nil,
2442
- gopay: nil,
2443
723
  grabpay: nil,
2444
- id_bank_transfer: nil,
2445
724
  ideal: nil,
2446
725
  interac_present: nil,
2447
726
  kakao_pay: nil,
@@ -2461,20 +740,15 @@ module Stripe
2461
740
  payco: nil,
2462
741
  paynow: nil,
2463
742
  paypal: nil,
2464
- paypay: nil,
2465
743
  payto: nil,
2466
744
  pix: nil,
2467
745
  promptpay: nil,
2468
- qris: nil,
2469
746
  radar_options: nil,
2470
- rechnung: nil,
2471
747
  revolut_pay: nil,
2472
748
  samsung_pay: nil,
2473
749
  satispay: nil,
2474
750
  sepa_debit: nil,
2475
- shopeepay: nil,
2476
751
  sofort: nil,
2477
- stripe_balance: nil,
2478
752
  swish: nil,
2479
753
  twint: nil,
2480
754
  type: nil,
@@ -2502,9 +776,7 @@ module Stripe
2502
776
  @eps = eps
2503
777
  @fpx = fpx
2504
778
  @giropay = giropay
2505
- @gopay = gopay
2506
779
  @grabpay = grabpay
2507
- @id_bank_transfer = id_bank_transfer
2508
780
  @ideal = ideal
2509
781
  @interac_present = interac_present
2510
782
  @kakao_pay = kakao_pay
@@ -2524,20 +796,15 @@ module Stripe
2524
796
  @payco = payco
2525
797
  @paynow = paynow
2526
798
  @paypal = paypal
2527
- @paypay = paypay
2528
799
  @payto = payto
2529
800
  @pix = pix
2530
801
  @promptpay = promptpay
2531
- @qris = qris
2532
802
  @radar_options = radar_options
2533
- @rechnung = rechnung
2534
803
  @revolut_pay = revolut_pay
2535
804
  @samsung_pay = samsung_pay
2536
805
  @satispay = satispay
2537
806
  @sepa_debit = sepa_debit
2538
- @shopeepay = shopeepay
2539
807
  @sofort = sofort
2540
- @stripe_balance = stripe_balance
2541
808
  @swish = swish
2542
809
  @twint = twint
2543
810
  @type = type
@@ -2908,48 +1175,6 @@ module Stripe
2908
1175
  end
2909
1176
  end
2910
1177
 
2911
- class StatementDetails < ::Stripe::RequestParams
2912
- class Address < ::Stripe::RequestParams
2913
- # City, district, suburb, town, or village.
2914
- attr_accessor :city
2915
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2916
- attr_accessor :country
2917
- # Address line 1, such as the street, PO Box, or company name.
2918
- attr_accessor :line1
2919
- # Address line 2, such as the apartment, suite, unit, or building.
2920
- attr_accessor :line2
2921
- # ZIP or postal code.
2922
- attr_accessor :postal_code
2923
- # State, county, province, or region.
2924
- attr_accessor :state
2925
-
2926
- def initialize(
2927
- city: nil,
2928
- country: nil,
2929
- line1: nil,
2930
- line2: nil,
2931
- postal_code: nil,
2932
- state: nil
2933
- )
2934
- @city = city
2935
- @country = country
2936
- @line1 = line1
2937
- @line2 = line2
2938
- @postal_code = postal_code
2939
- @state = state
2940
- end
2941
- end
2942
- # Please pass in an address that is within your Stripe user account country
2943
- attr_accessor :address
2944
- # Phone number (e.g., a toll-free number that customers can call)
2945
- attr_accessor :phone
2946
-
2947
- def initialize(address: nil, phone: nil)
2948
- @address = address
2949
- @phone = phone
2950
- end
2951
- end
2952
-
2953
1178
  class ThreeDSecure < ::Stripe::RequestParams
2954
1179
  class NetworkOptions < ::Stripe::RequestParams
2955
1180
  class CartesBancaires < ::Stripe::RequestParams
@@ -3034,7 +1259,7 @@ module Stripe
3034
1259
  attr_accessor :cvc_token
3035
1260
  # Installment configuration for payments attempted on this PaymentIntent.
3036
1261
  #
3037
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
1262
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
3038
1263
  attr_accessor :installments
3039
1264
  # Configuration options for setting up an eMandate for cards issued in India.
3040
1265
  attr_accessor :mandate_options
@@ -3044,19 +1269,15 @@ module Stripe
3044
1269
  attr_accessor :moto
3045
1270
  # 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.
3046
1271
  attr_accessor :network
3047
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
3048
- attr_accessor :request_decremental_authorization
3049
- # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1272
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3050
1273
  attr_accessor :request_extended_authorization
3051
- # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
1274
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
3052
1275
  attr_accessor :request_incremental_authorization
3053
- # Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.
1276
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
3054
1277
  attr_accessor :request_multicapture
3055
- # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1278
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3056
1279
  attr_accessor :request_overcapture
3057
- # Request partial authorization on this PaymentIntent.
3058
- attr_accessor :request_partial_authorization
3059
- # 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.
1280
+ # 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.
3060
1281
  attr_accessor :request_three_d_secure
3061
1282
  # 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).
3062
1283
  attr_accessor :require_cvc_recollection
@@ -3074,8 +1295,6 @@ module Stripe
3074
1295
  attr_accessor :statement_descriptor_suffix_kana
3075
1296
  # 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.
3076
1297
  attr_accessor :statement_descriptor_suffix_kanji
3077
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3078
- attr_accessor :statement_details
3079
1298
  # If 3D Secure authentication was performed with a third-party provider,
3080
1299
  # the authentication details to use for this payment.
3081
1300
  attr_accessor :three_d_secure
@@ -3087,18 +1306,15 @@ module Stripe
3087
1306
  mandate_options: nil,
3088
1307
  moto: nil,
3089
1308
  network: nil,
3090
- request_decremental_authorization: nil,
3091
1309
  request_extended_authorization: nil,
3092
1310
  request_incremental_authorization: nil,
3093
1311
  request_multicapture: nil,
3094
1312
  request_overcapture: nil,
3095
- request_partial_authorization: nil,
3096
1313
  request_three_d_secure: nil,
3097
1314
  require_cvc_recollection: nil,
3098
1315
  setup_future_usage: nil,
3099
1316
  statement_descriptor_suffix_kana: nil,
3100
1317
  statement_descriptor_suffix_kanji: nil,
3101
- statement_details: nil,
3102
1318
  three_d_secure: nil
3103
1319
  )
3104
1320
  @capture_method = capture_method
@@ -3107,18 +1323,15 @@ module Stripe
3107
1323
  @mandate_options = mandate_options
3108
1324
  @moto = moto
3109
1325
  @network = network
3110
- @request_decremental_authorization = request_decremental_authorization
3111
1326
  @request_extended_authorization = request_extended_authorization
3112
1327
  @request_incremental_authorization = request_incremental_authorization
3113
1328
  @request_multicapture = request_multicapture
3114
1329
  @request_overcapture = request_overcapture
3115
- @request_partial_authorization = request_partial_authorization
3116
1330
  @request_three_d_secure = request_three_d_secure
3117
1331
  @require_cvc_recollection = require_cvc_recollection
3118
1332
  @setup_future_usage = setup_future_usage
3119
1333
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3120
1334
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3121
- @statement_details = statement_details
3122
1335
  @three_d_secure = three_d_secure
3123
1336
  end
3124
1337
  end
@@ -3138,9 +1351,9 @@ module Stripe
3138
1351
  #
3139
1352
  # 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.
3140
1353
  attr_accessor :capture_method
3141
- # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1354
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
3142
1355
  attr_accessor :request_extended_authorization
3143
- # 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.
1356
+ # 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.
3144
1357
  attr_accessor :request_incremental_authorization_support
3145
1358
  # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3146
1359
  attr_accessor :routing
@@ -3222,48 +1435,12 @@ module Stripe
3222
1435
  @eu_bank_transfer = eu_bank_transfer
3223
1436
  @requested_address_types = requested_address_types
3224
1437
  @type = type
3225
- end
3226
- end
3227
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3228
- attr_accessor :bank_transfer
3229
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3230
- attr_accessor :funding_type
3231
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3232
- #
3233
- # 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.
3234
- #
3235
- # 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.
3236
- #
3237
- # 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).
3238
- #
3239
- # 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`.
3240
- attr_accessor :setup_future_usage
3241
-
3242
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3243
- @bank_transfer = bank_transfer
3244
- @funding_type = funding_type
3245
- @setup_future_usage = setup_future_usage
3246
- end
3247
- end
3248
-
3249
- class Eps < ::Stripe::RequestParams
3250
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3251
- #
3252
- # 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
- #
3254
- # 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.
3255
- #
3256
- # 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).
3257
- #
3258
- # 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`.
3259
- attr_accessor :setup_future_usage
3260
-
3261
- def initialize(setup_future_usage: nil)
3262
- @setup_future_usage = setup_future_usage
1438
+ end
3263
1439
  end
3264
- end
3265
-
3266
- class Fpx < ::Stripe::RequestParams
1440
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1441
+ attr_accessor :bank_transfer
1442
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1443
+ attr_accessor :funding_type
3267
1444
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3268
1445
  #
3269
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.
@@ -3275,12 +1452,14 @@ module Stripe
3275
1452
  # 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`.
3276
1453
  attr_accessor :setup_future_usage
3277
1454
 
3278
- def initialize(setup_future_usage: nil)
1455
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1456
+ @bank_transfer = bank_transfer
1457
+ @funding_type = funding_type
3279
1458
  @setup_future_usage = setup_future_usage
3280
1459
  end
3281
1460
  end
3282
1461
 
3283
- class Giropay < ::Stripe::RequestParams
1462
+ class Eps < ::Stripe::RequestParams
3284
1463
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3285
1464
  #
3286
1465
  # 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.
@@ -3297,7 +1476,7 @@ module Stripe
3297
1476
  end
3298
1477
  end
3299
1478
 
3300
- class Gopay < ::Stripe::RequestParams
1479
+ class Fpx < ::Stripe::RequestParams
3301
1480
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3302
1481
  #
3303
1482
  # 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.
@@ -3314,7 +1493,7 @@ module Stripe
3314
1493
  end
3315
1494
  end
3316
1495
 
3317
- class Grabpay < ::Stripe::RequestParams
1496
+ class Giropay < ::Stripe::RequestParams
3318
1497
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3319
1498
  #
3320
1499
  # 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.
@@ -3331,11 +1510,7 @@ module Stripe
3331
1510
  end
3332
1511
  end
3333
1512
 
3334
- class IdBankTransfer < ::Stripe::RequestParams
3335
- # 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.
3336
- attr_accessor :expires_after
3337
- # 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.
3338
- attr_accessor :expires_at
1513
+ class Grabpay < ::Stripe::RequestParams
3339
1514
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3340
1515
  #
3341
1516
  # 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.
@@ -3347,9 +1522,7 @@ module Stripe
3347
1522
  # 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`.
3348
1523
  attr_accessor :setup_future_usage
3349
1524
 
3350
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3351
- @expires_after = expires_after
3352
- @expires_at = expires_at
1525
+ def initialize(setup_future_usage: nil)
3353
1526
  @setup_future_usage = setup_future_usage
3354
1527
  end
3355
1528
  end
@@ -3460,939 +1633,6 @@ module Stripe
3460
1633
  @reference = reference
3461
1634
  end
3462
1635
  end
3463
-
3464
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3465
- class BusReservationDetail < ::Stripe::RequestParams
3466
- class Arrival < ::Stripe::RequestParams
3467
- class Address < ::Stripe::RequestParams
3468
- # The city or town.
3469
- attr_accessor :city
3470
- # The country in ISO 3166-1 alpha-2 format.
3471
- attr_accessor :country
3472
- # The postal code formatted according to country.
3473
- attr_accessor :postal_code
3474
- # The state, county, province, or region formatted according to country.
3475
- attr_accessor :region
3476
- # Line 1 of the street address.
3477
- attr_accessor :street_address
3478
- # Line 2 of the street address.
3479
- attr_accessor :street_address2
3480
-
3481
- def initialize(
3482
- city: nil,
3483
- country: nil,
3484
- postal_code: nil,
3485
- region: nil,
3486
- street_address: nil,
3487
- street_address2: nil
3488
- )
3489
- @city = city
3490
- @country = country
3491
- @postal_code = postal_code
3492
- @region = region
3493
- @street_address = street_address
3494
- @street_address2 = street_address2
3495
- end
3496
- end
3497
- # Address of the arrival location.
3498
- attr_accessor :address
3499
- # Identifier name or reference for the arrival location.
3500
- attr_accessor :arrival_location
3501
-
3502
- def initialize(address: nil, arrival_location: nil)
3503
- @address = address
3504
- @arrival_location = arrival_location
3505
- end
3506
- end
3507
-
3508
- class Departure < ::Stripe::RequestParams
3509
- class Address < ::Stripe::RequestParams
3510
- # The city or town.
3511
- attr_accessor :city
3512
- # The country in ISO 3166-1 alpha-2 format.
3513
- attr_accessor :country
3514
- # The postal code formatted according to country.
3515
- attr_accessor :postal_code
3516
- # The state, county, province, or region formatted according to country.
3517
- attr_accessor :region
3518
- # Line 1 of the street address.
3519
- attr_accessor :street_address
3520
- # Line 2 of the street address.
3521
- attr_accessor :street_address2
3522
-
3523
- def initialize(
3524
- city: nil,
3525
- country: nil,
3526
- postal_code: nil,
3527
- region: nil,
3528
- street_address: nil,
3529
- street_address2: nil
3530
- )
3531
- @city = city
3532
- @country = country
3533
- @postal_code = postal_code
3534
- @region = region
3535
- @street_address = street_address
3536
- @street_address2 = street_address2
3537
- end
3538
- end
3539
- # Address of the departure location.
3540
- attr_accessor :address
3541
- # Timestamp of departure.
3542
- attr_accessor :departs_at
3543
- # Identifier name or reference for the origin location.
3544
- attr_accessor :departure_location
3545
-
3546
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3547
- @address = address
3548
- @departs_at = departs_at
3549
- @departure_location = departure_location
3550
- end
3551
- end
3552
-
3553
- class Insurance < ::Stripe::RequestParams
3554
- # Insurance currency.
3555
- attr_accessor :currency
3556
- # Name of the company providing the insurance.
3557
- attr_accessor :insurance_company_name
3558
- # Type of insurance.
3559
- attr_accessor :insurance_type
3560
- # Price of insurance in cents.
3561
- attr_accessor :price
3562
-
3563
- def initialize(
3564
- currency: nil,
3565
- insurance_company_name: nil,
3566
- insurance_type: nil,
3567
- price: nil
3568
- )
3569
- @currency = currency
3570
- @insurance_company_name = insurance_company_name
3571
- @insurance_type = insurance_type
3572
- @price = price
3573
- end
3574
- end
3575
-
3576
- class Passenger < ::Stripe::RequestParams
3577
- # The family name of the person.
3578
- attr_accessor :family_name
3579
- # The given name of the person.
3580
- attr_accessor :given_name
3581
-
3582
- def initialize(family_name: nil, given_name: nil)
3583
- @family_name = family_name
3584
- @given_name = given_name
3585
- end
3586
- end
3587
- # Name of associated or partner company for the service.
3588
- attr_accessor :affiliate_name
3589
- # Arrival details.
3590
- attr_accessor :arrival
3591
- # Name of transportation company.
3592
- attr_accessor :carrier_name
3593
- # Currency.
3594
- attr_accessor :currency
3595
- # Departure details.
3596
- attr_accessor :departure
3597
- # List of insurances for this reservation.
3598
- attr_accessor :insurances
3599
- # List of passengers that this reservation applies to.
3600
- attr_accessor :passengers
3601
- # Price in cents.
3602
- attr_accessor :price
3603
- # Ticket class.
3604
- attr_accessor :ticket_class
3605
-
3606
- def initialize(
3607
- affiliate_name: nil,
3608
- arrival: nil,
3609
- carrier_name: nil,
3610
- currency: nil,
3611
- departure: nil,
3612
- insurances: nil,
3613
- passengers: nil,
3614
- price: nil,
3615
- ticket_class: nil
3616
- )
3617
- @affiliate_name = affiliate_name
3618
- @arrival = arrival
3619
- @carrier_name = carrier_name
3620
- @currency = currency
3621
- @departure = departure
3622
- @insurances = insurances
3623
- @passengers = passengers
3624
- @price = price
3625
- @ticket_class = ticket_class
3626
- end
3627
- end
3628
-
3629
- class EventReservationDetail < ::Stripe::RequestParams
3630
- class Address < ::Stripe::RequestParams
3631
- # The city or town.
3632
- attr_accessor :city
3633
- # The country in ISO 3166-1 alpha-2 format.
3634
- attr_accessor :country
3635
- # The postal code formatted according to country.
3636
- attr_accessor :postal_code
3637
- # The state, county, province, or region formatted according to country.
3638
- attr_accessor :region
3639
- # Line 1 of the street address.
3640
- attr_accessor :street_address
3641
- # Line 2 of the street address.
3642
- attr_accessor :street_address2
3643
-
3644
- def initialize(
3645
- city: nil,
3646
- country: nil,
3647
- postal_code: nil,
3648
- region: nil,
3649
- street_address: nil,
3650
- street_address2: nil
3651
- )
3652
- @city = city
3653
- @country = country
3654
- @postal_code = postal_code
3655
- @region = region
3656
- @street_address = street_address
3657
- @street_address2 = street_address2
3658
- end
3659
- end
3660
-
3661
- class Insurance < ::Stripe::RequestParams
3662
- # Insurance currency.
3663
- attr_accessor :currency
3664
- # Name of the company providing the insurance.
3665
- attr_accessor :insurance_company_name
3666
- # Type of insurance.
3667
- attr_accessor :insurance_type
3668
- # Price of insurance in cents.
3669
- attr_accessor :price
3670
-
3671
- def initialize(
3672
- currency: nil,
3673
- insurance_company_name: nil,
3674
- insurance_type: nil,
3675
- price: nil
3676
- )
3677
- @currency = currency
3678
- @insurance_company_name = insurance_company_name
3679
- @insurance_type = insurance_type
3680
- @price = price
3681
- end
3682
- end
3683
- # Indicates if the tickets are digitally checked when entering the venue.
3684
- attr_accessor :access_controlled_venue
3685
- # Address of the event.
3686
- attr_accessor :address
3687
- # Name of associated or partner company for the service.
3688
- attr_accessor :affiliate_name
3689
- # End timestamp of the event.
3690
- attr_accessor :ends_at
3691
- # Company selling the ticket.
3692
- attr_accessor :event_company_name
3693
- # Name of the event.
3694
- attr_accessor :event_name
3695
- # Type of the event.
3696
- attr_accessor :event_type
3697
- # List of insurances for this event.
3698
- attr_accessor :insurances
3699
- # Start timestamp of the event.
3700
- attr_accessor :starts_at
3701
- # Name of the venue where the event takes place.
3702
- attr_accessor :venue_name
3703
-
3704
- def initialize(
3705
- access_controlled_venue: nil,
3706
- address: nil,
3707
- affiliate_name: nil,
3708
- ends_at: nil,
3709
- event_company_name: nil,
3710
- event_name: nil,
3711
- event_type: nil,
3712
- insurances: nil,
3713
- starts_at: nil,
3714
- venue_name: nil
3715
- )
3716
- @access_controlled_venue = access_controlled_venue
3717
- @address = address
3718
- @affiliate_name = affiliate_name
3719
- @ends_at = ends_at
3720
- @event_company_name = event_company_name
3721
- @event_name = event_name
3722
- @event_type = event_type
3723
- @insurances = insurances
3724
- @starts_at = starts_at
3725
- @venue_name = venue_name
3726
- end
3727
- end
3728
-
3729
- class FerryReservationDetail < ::Stripe::RequestParams
3730
- class Arrival < ::Stripe::RequestParams
3731
- class Address < ::Stripe::RequestParams
3732
- # The city or town.
3733
- attr_accessor :city
3734
- # The country in ISO 3166-1 alpha-2 format.
3735
- attr_accessor :country
3736
- # The postal code formatted according to country.
3737
- attr_accessor :postal_code
3738
- # The state, county, province, or region formatted according to country.
3739
- attr_accessor :region
3740
- # Line 1 of the street address.
3741
- attr_accessor :street_address
3742
- # Line 2 of the street address.
3743
- attr_accessor :street_address2
3744
-
3745
- def initialize(
3746
- city: nil,
3747
- country: nil,
3748
- postal_code: nil,
3749
- region: nil,
3750
- street_address: nil,
3751
- street_address2: nil
3752
- )
3753
- @city = city
3754
- @country = country
3755
- @postal_code = postal_code
3756
- @region = region
3757
- @street_address = street_address
3758
- @street_address2 = street_address2
3759
- end
3760
- end
3761
- # Address of the arrival location.
3762
- attr_accessor :address
3763
- # Identifier name or reference for the arrival location.
3764
- attr_accessor :arrival_location
3765
-
3766
- def initialize(address: nil, arrival_location: nil)
3767
- @address = address
3768
- @arrival_location = arrival_location
3769
- end
3770
- end
3771
-
3772
- class Departure < ::Stripe::RequestParams
3773
- class Address < ::Stripe::RequestParams
3774
- # The city or town.
3775
- attr_accessor :city
3776
- # The country in ISO 3166-1 alpha-2 format.
3777
- attr_accessor :country
3778
- # The postal code formatted according to country.
3779
- attr_accessor :postal_code
3780
- # The state, county, province, or region formatted according to country.
3781
- attr_accessor :region
3782
- # Line 1 of the street address.
3783
- attr_accessor :street_address
3784
- # Line 2 of the street address.
3785
- attr_accessor :street_address2
3786
-
3787
- def initialize(
3788
- city: nil,
3789
- country: nil,
3790
- postal_code: nil,
3791
- region: nil,
3792
- street_address: nil,
3793
- street_address2: nil
3794
- )
3795
- @city = city
3796
- @country = country
3797
- @postal_code = postal_code
3798
- @region = region
3799
- @street_address = street_address
3800
- @street_address2 = street_address2
3801
- end
3802
- end
3803
- # Address of the departure location.
3804
- attr_accessor :address
3805
- # Timestamp of departure.
3806
- attr_accessor :departs_at
3807
- # Identifier name or reference for the origin location.
3808
- attr_accessor :departure_location
3809
-
3810
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3811
- @address = address
3812
- @departs_at = departs_at
3813
- @departure_location = departure_location
3814
- end
3815
- end
3816
-
3817
- class Insurance < ::Stripe::RequestParams
3818
- # Insurance currency.
3819
- attr_accessor :currency
3820
- # Name of the company providing the insurance.
3821
- attr_accessor :insurance_company_name
3822
- # Type of insurance.
3823
- attr_accessor :insurance_type
3824
- # Price of insurance in cents.
3825
- attr_accessor :price
3826
-
3827
- def initialize(
3828
- currency: nil,
3829
- insurance_company_name: nil,
3830
- insurance_type: nil,
3831
- price: nil
3832
- )
3833
- @currency = currency
3834
- @insurance_company_name = insurance_company_name
3835
- @insurance_type = insurance_type
3836
- @price = price
3837
- end
3838
- end
3839
-
3840
- class Passenger < ::Stripe::RequestParams
3841
- # The family name of the person.
3842
- attr_accessor :family_name
3843
- # The given name of the person.
3844
- attr_accessor :given_name
3845
-
3846
- def initialize(family_name: nil, given_name: nil)
3847
- @family_name = family_name
3848
- @given_name = given_name
3849
- end
3850
- end
3851
- # Name of associated or partner company for the service.
3852
- attr_accessor :affiliate_name
3853
- # Arrival details.
3854
- attr_accessor :arrival
3855
- # Name of transportation company.
3856
- attr_accessor :carrier_name
3857
- # Currency.
3858
- attr_accessor :currency
3859
- # Departure details.
3860
- attr_accessor :departure
3861
- # List of insurances for this reservation.
3862
- attr_accessor :insurances
3863
- # List of passengers that this reservation applies to.
3864
- attr_accessor :passengers
3865
- # Price in cents.
3866
- attr_accessor :price
3867
- # Ticket class.
3868
- attr_accessor :ticket_class
3869
-
3870
- def initialize(
3871
- affiliate_name: nil,
3872
- arrival: nil,
3873
- carrier_name: nil,
3874
- currency: nil,
3875
- departure: nil,
3876
- insurances: nil,
3877
- passengers: nil,
3878
- price: nil,
3879
- ticket_class: nil
3880
- )
3881
- @affiliate_name = affiliate_name
3882
- @arrival = arrival
3883
- @carrier_name = carrier_name
3884
- @currency = currency
3885
- @departure = departure
3886
- @insurances = insurances
3887
- @passengers = passengers
3888
- @price = price
3889
- @ticket_class = ticket_class
3890
- end
3891
- end
3892
-
3893
- class Insurance < ::Stripe::RequestParams
3894
- # Insurance currency.
3895
- attr_accessor :currency
3896
- # Name of the company providing the insurance.
3897
- attr_accessor :insurance_company_name
3898
- # Type of insurance
3899
- attr_accessor :insurance_type
3900
- # Price of insurance in cents.
3901
- attr_accessor :price
3902
-
3903
- def initialize(
3904
- currency: nil,
3905
- insurance_company_name: nil,
3906
- insurance_type: nil,
3907
- price: nil
3908
- )
3909
- @currency = currency
3910
- @insurance_company_name = insurance_company_name
3911
- @insurance_type = insurance_type
3912
- @price = price
3913
- end
3914
- end
3915
-
3916
- class MarketplaceSeller < ::Stripe::RequestParams
3917
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3918
- # The city or town.
3919
- attr_accessor :city
3920
- # The country in ISO 3166-1 alpha-2 format.
3921
- attr_accessor :country
3922
- # The postal code formatted according to country.
3923
- attr_accessor :postal_code
3924
- # The state, county, province, or region formatted according to country.
3925
- attr_accessor :region
3926
- # Line 1 of the street address.
3927
- attr_accessor :street_address
3928
- # Line 2 of the street address.
3929
- attr_accessor :street_address2
3930
-
3931
- def initialize(
3932
- city: nil,
3933
- country: nil,
3934
- postal_code: nil,
3935
- region: nil,
3936
- street_address: nil,
3937
- street_address2: nil
3938
- )
3939
- @city = city
3940
- @country = country
3941
- @postal_code = postal_code
3942
- @region = region
3943
- @street_address = street_address
3944
- @street_address2 = street_address2
3945
- end
3946
- end
3947
- # The references to line items for purchases with multiple associated sub-sellers.
3948
- attr_accessor :line_item_references
3949
- # The address of the selling or delivering merchant.
3950
- attr_accessor :marketplace_seller_address
3951
- # The name of the marketplace seller.
3952
- attr_accessor :marketplace_seller_name
3953
- # The unique identifier for the marketplace seller.
3954
- attr_accessor :marketplace_seller_reference
3955
- # The number of transactions the sub-seller completed in the last 12 months.
3956
- attr_accessor :number_of_transactions
3957
- # The category of the product.
3958
- attr_accessor :product_category
3959
- # The date when the seller's account with the marketplace was last logged in.
3960
- attr_accessor :seller_last_login_at
3961
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3962
- attr_accessor :seller_rating
3963
- # The date when the seller's account with the marketplace was created.
3964
- attr_accessor :seller_registered_at
3965
- # The date when the seller's account with the marketplace was last updated.
3966
- attr_accessor :seller_updated_at
3967
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3968
- attr_accessor :shipping_references
3969
- # 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.
3970
- attr_accessor :volume_of_transactions
3971
-
3972
- def initialize(
3973
- line_item_references: nil,
3974
- marketplace_seller_address: nil,
3975
- marketplace_seller_name: nil,
3976
- marketplace_seller_reference: nil,
3977
- number_of_transactions: nil,
3978
- product_category: nil,
3979
- seller_last_login_at: nil,
3980
- seller_rating: nil,
3981
- seller_registered_at: nil,
3982
- seller_updated_at: nil,
3983
- shipping_references: nil,
3984
- volume_of_transactions: nil
3985
- )
3986
- @line_item_references = line_item_references
3987
- @marketplace_seller_address = marketplace_seller_address
3988
- @marketplace_seller_name = marketplace_seller_name
3989
- @marketplace_seller_reference = marketplace_seller_reference
3990
- @number_of_transactions = number_of_transactions
3991
- @product_category = product_category
3992
- @seller_last_login_at = seller_last_login_at
3993
- @seller_rating = seller_rating
3994
- @seller_registered_at = seller_registered_at
3995
- @seller_updated_at = seller_updated_at
3996
- @shipping_references = shipping_references
3997
- @volume_of_transactions = volume_of_transactions
3998
- end
3999
- end
4000
-
4001
- class RoundTripReservationDetail < ::Stripe::RequestParams
4002
- class Arrival < ::Stripe::RequestParams
4003
- class Address < ::Stripe::RequestParams
4004
- # The city or town.
4005
- attr_accessor :city
4006
- # The country in ISO 3166-1 alpha-2 format.
4007
- attr_accessor :country
4008
- # The postal code formatted according to country.
4009
- attr_accessor :postal_code
4010
- # The state, county, province, or region formatted according to country.
4011
- attr_accessor :region
4012
- # Line 1 of the street address.
4013
- attr_accessor :street_address
4014
- # Line 2 of the street address.
4015
- attr_accessor :street_address2
4016
-
4017
- def initialize(
4018
- city: nil,
4019
- country: nil,
4020
- postal_code: nil,
4021
- region: nil,
4022
- street_address: nil,
4023
- street_address2: nil
4024
- )
4025
- @city = city
4026
- @country = country
4027
- @postal_code = postal_code
4028
- @region = region
4029
- @street_address = street_address
4030
- @street_address2 = street_address2
4031
- end
4032
- end
4033
- # Address of the arrival location.
4034
- attr_accessor :address
4035
- # Identifier name or reference for the arrival location.
4036
- attr_accessor :arrival_location
4037
-
4038
- def initialize(address: nil, arrival_location: nil)
4039
- @address = address
4040
- @arrival_location = arrival_location
4041
- end
4042
- end
4043
-
4044
- class Departure < ::Stripe::RequestParams
4045
- class Address < ::Stripe::RequestParams
4046
- # The city or town.
4047
- attr_accessor :city
4048
- # The country in ISO 3166-1 alpha-2 format.
4049
- attr_accessor :country
4050
- # The postal code formatted according to country.
4051
- attr_accessor :postal_code
4052
- # The state, county, province, or region formatted according to country.
4053
- attr_accessor :region
4054
- # Line 1 of the street address.
4055
- attr_accessor :street_address
4056
- # Line 2 of the street address.
4057
- attr_accessor :street_address2
4058
-
4059
- def initialize(
4060
- city: nil,
4061
- country: nil,
4062
- postal_code: nil,
4063
- region: nil,
4064
- street_address: nil,
4065
- street_address2: nil
4066
- )
4067
- @city = city
4068
- @country = country
4069
- @postal_code = postal_code
4070
- @region = region
4071
- @street_address = street_address
4072
- @street_address2 = street_address2
4073
- end
4074
- end
4075
- # Address of the departure location.
4076
- attr_accessor :address
4077
- # Timestamp of departure.
4078
- attr_accessor :departs_at
4079
- # Identifier name or reference for the origin location.
4080
- attr_accessor :departure_location
4081
-
4082
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4083
- @address = address
4084
- @departs_at = departs_at
4085
- @departure_location = departure_location
4086
- end
4087
- end
4088
-
4089
- class Insurance < ::Stripe::RequestParams
4090
- # Insurance currency.
4091
- attr_accessor :currency
4092
- # Name of the company providing the insurance.
4093
- attr_accessor :insurance_company_name
4094
- # Type of insurance.
4095
- attr_accessor :insurance_type
4096
- # Price of insurance in cents.
4097
- attr_accessor :price
4098
-
4099
- def initialize(
4100
- currency: nil,
4101
- insurance_company_name: nil,
4102
- insurance_type: nil,
4103
- price: nil
4104
- )
4105
- @currency = currency
4106
- @insurance_company_name = insurance_company_name
4107
- @insurance_type = insurance_type
4108
- @price = price
4109
- end
4110
- end
4111
-
4112
- class Passenger < ::Stripe::RequestParams
4113
- # The family name of the person.
4114
- attr_accessor :family_name
4115
- # The given name of the person.
4116
- attr_accessor :given_name
4117
-
4118
- def initialize(family_name: nil, given_name: nil)
4119
- @family_name = family_name
4120
- @given_name = given_name
4121
- end
4122
- end
4123
- # Name of associated or partner company for the service.
4124
- attr_accessor :affiliate_name
4125
- # Arrival details.
4126
- attr_accessor :arrival
4127
- # Name of transportation company.
4128
- attr_accessor :carrier_name
4129
- # Currency.
4130
- attr_accessor :currency
4131
- # Departure details.
4132
- attr_accessor :departure
4133
- # List of insurances for this reservation.
4134
- attr_accessor :insurances
4135
- # List of passengers that this reservation applies to.
4136
- attr_accessor :passengers
4137
- # Price in cents.
4138
- attr_accessor :price
4139
- # Ticket class.
4140
- attr_accessor :ticket_class
4141
-
4142
- def initialize(
4143
- affiliate_name: nil,
4144
- arrival: nil,
4145
- carrier_name: nil,
4146
- currency: nil,
4147
- departure: nil,
4148
- insurances: nil,
4149
- passengers: nil,
4150
- price: nil,
4151
- ticket_class: nil
4152
- )
4153
- @affiliate_name = affiliate_name
4154
- @arrival = arrival
4155
- @carrier_name = carrier_name
4156
- @currency = currency
4157
- @departure = departure
4158
- @insurances = insurances
4159
- @passengers = passengers
4160
- @price = price
4161
- @ticket_class = ticket_class
4162
- end
4163
- end
4164
-
4165
- class TrainReservationDetail < ::Stripe::RequestParams
4166
- class Arrival < ::Stripe::RequestParams
4167
- class Address < ::Stripe::RequestParams
4168
- # The city or town.
4169
- attr_accessor :city
4170
- # The country in ISO 3166-1 alpha-2 format.
4171
- attr_accessor :country
4172
- # The postal code formatted according to country.
4173
- attr_accessor :postal_code
4174
- # The state, county, province, or region formatted according to country.
4175
- attr_accessor :region
4176
- # Line 1 of the street address.
4177
- attr_accessor :street_address
4178
- # Line 2 of the street address.
4179
- attr_accessor :street_address2
4180
-
4181
- def initialize(
4182
- city: nil,
4183
- country: nil,
4184
- postal_code: nil,
4185
- region: nil,
4186
- street_address: nil,
4187
- street_address2: nil
4188
- )
4189
- @city = city
4190
- @country = country
4191
- @postal_code = postal_code
4192
- @region = region
4193
- @street_address = street_address
4194
- @street_address2 = street_address2
4195
- end
4196
- end
4197
- # Address of the arrival location.
4198
- attr_accessor :address
4199
- # Identifier name or reference for the arrival location.
4200
- attr_accessor :arrival_location
4201
-
4202
- def initialize(address: nil, arrival_location: nil)
4203
- @address = address
4204
- @arrival_location = arrival_location
4205
- end
4206
- end
4207
-
4208
- class Departure < ::Stripe::RequestParams
4209
- class Address < ::Stripe::RequestParams
4210
- # The city or town.
4211
- attr_accessor :city
4212
- # The country in ISO 3166-1 alpha-2 format.
4213
- attr_accessor :country
4214
- # The postal code formatted according to country.
4215
- attr_accessor :postal_code
4216
- # The state, county, province, or region formatted according to country.
4217
- attr_accessor :region
4218
- # Line 1 of the street address.
4219
- attr_accessor :street_address
4220
- # Line 2 of the street address.
4221
- attr_accessor :street_address2
4222
-
4223
- def initialize(
4224
- city: nil,
4225
- country: nil,
4226
- postal_code: nil,
4227
- region: nil,
4228
- street_address: nil,
4229
- street_address2: nil
4230
- )
4231
- @city = city
4232
- @country = country
4233
- @postal_code = postal_code
4234
- @region = region
4235
- @street_address = street_address
4236
- @street_address2 = street_address2
4237
- end
4238
- end
4239
- # Address of the departure location.
4240
- attr_accessor :address
4241
- # Timestamp of departure.
4242
- attr_accessor :departs_at
4243
- # Identifier name or reference for the origin location.
4244
- attr_accessor :departure_location
4245
-
4246
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4247
- @address = address
4248
- @departs_at = departs_at
4249
- @departure_location = departure_location
4250
- end
4251
- end
4252
-
4253
- class Insurance < ::Stripe::RequestParams
4254
- # Insurance currency.
4255
- attr_accessor :currency
4256
- # Name of the company providing the insurance.
4257
- attr_accessor :insurance_company_name
4258
- # Type of insurance.
4259
- attr_accessor :insurance_type
4260
- # Price of insurance in cents.
4261
- attr_accessor :price
4262
-
4263
- def initialize(
4264
- currency: nil,
4265
- insurance_company_name: nil,
4266
- insurance_type: nil,
4267
- price: nil
4268
- )
4269
- @currency = currency
4270
- @insurance_company_name = insurance_company_name
4271
- @insurance_type = insurance_type
4272
- @price = price
4273
- end
4274
- end
4275
-
4276
- class Passenger < ::Stripe::RequestParams
4277
- # The family name of the person.
4278
- attr_accessor :family_name
4279
- # The given name of the person.
4280
- attr_accessor :given_name
4281
-
4282
- def initialize(family_name: nil, given_name: nil)
4283
- @family_name = family_name
4284
- @given_name = given_name
4285
- end
4286
- end
4287
- # Name of associated or partner company for the service.
4288
- attr_accessor :affiliate_name
4289
- # Arrival details.
4290
- attr_accessor :arrival
4291
- # Name of transportation company.
4292
- attr_accessor :carrier_name
4293
- # Currency.
4294
- attr_accessor :currency
4295
- # Departure details.
4296
- attr_accessor :departure
4297
- # List of insurances for this reservation.
4298
- attr_accessor :insurances
4299
- # List of passengers that this reservation applies to.
4300
- attr_accessor :passengers
4301
- # Price in cents.
4302
- attr_accessor :price
4303
- # Ticket class.
4304
- attr_accessor :ticket_class
4305
-
4306
- def initialize(
4307
- affiliate_name: nil,
4308
- arrival: nil,
4309
- carrier_name: nil,
4310
- currency: nil,
4311
- departure: nil,
4312
- insurances: nil,
4313
- passengers: nil,
4314
- price: nil,
4315
- ticket_class: nil
4316
- )
4317
- @affiliate_name = affiliate_name
4318
- @arrival = arrival
4319
- @carrier_name = carrier_name
4320
- @currency = currency
4321
- @departure = departure
4322
- @insurances = insurances
4323
- @passengers = passengers
4324
- @price = price
4325
- @ticket_class = ticket_class
4326
- end
4327
- end
4328
-
4329
- class Voucher < ::Stripe::RequestParams
4330
- # Name of associated or partner company for this voucher.
4331
- attr_accessor :affiliate_name
4332
- # The voucher validity end time.
4333
- attr_accessor :ends_at
4334
- # The voucher validity start time.
4335
- attr_accessor :starts_at
4336
- # The issuer or provider of this voucher.
4337
- attr_accessor :voucher_company
4338
- # The name or reference to identify the voucher.
4339
- attr_accessor :voucher_name
4340
- # The type of this voucher.
4341
- attr_accessor :voucher_type
4342
-
4343
- def initialize(
4344
- affiliate_name: nil,
4345
- ends_at: nil,
4346
- starts_at: nil,
4347
- voucher_company: nil,
4348
- voucher_name: nil,
4349
- voucher_type: nil
4350
- )
4351
- @affiliate_name = affiliate_name
4352
- @ends_at = ends_at
4353
- @starts_at = starts_at
4354
- @voucher_company = voucher_company
4355
- @voucher_name = voucher_name
4356
- @voucher_type = voucher_type
4357
- end
4358
- end
4359
- # Supplementary bus reservation details.
4360
- attr_accessor :bus_reservation_details
4361
- # Supplementary event reservation details.
4362
- attr_accessor :event_reservation_details
4363
- # Supplementary ferry reservation details.
4364
- attr_accessor :ferry_reservation_details
4365
- # Supplementary insurance details.
4366
- attr_accessor :insurances
4367
- # Supplementary marketplace seller details.
4368
- attr_accessor :marketplace_sellers
4369
- # Supplementary round trip reservation details.
4370
- attr_accessor :round_trip_reservation_details
4371
- # Supplementary train reservation details.
4372
- attr_accessor :train_reservation_details
4373
- # Voucher details, such as a gift card or discount code.
4374
- attr_accessor :vouchers
4375
-
4376
- def initialize(
4377
- bus_reservation_details: nil,
4378
- event_reservation_details: nil,
4379
- ferry_reservation_details: nil,
4380
- insurances: nil,
4381
- marketplace_sellers: nil,
4382
- round_trip_reservation_details: nil,
4383
- train_reservation_details: nil,
4384
- vouchers: nil
4385
- )
4386
- @bus_reservation_details = bus_reservation_details
4387
- @event_reservation_details = event_reservation_details
4388
- @ferry_reservation_details = ferry_reservation_details
4389
- @insurances = insurances
4390
- @marketplace_sellers = marketplace_sellers
4391
- @round_trip_reservation_details = round_trip_reservation_details
4392
- @train_reservation_details = train_reservation_details
4393
- @vouchers = vouchers
4394
- end
4395
- end
4396
1636
  # Controls when the funds are captured from the customer's account.
4397
1637
  #
4398
1638
  # 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.
@@ -4415,23 +1655,19 @@ module Stripe
4415
1655
  attr_accessor :setup_future_usage
4416
1656
  # Subscription details if setting up or charging a subscription.
4417
1657
  attr_accessor :subscriptions
4418
- # Supplementary Purchase Data for the corresponding Klarna payment
4419
- attr_accessor :supplementary_purchase_data
4420
1658
 
4421
1659
  def initialize(
4422
1660
  capture_method: nil,
4423
1661
  on_demand: nil,
4424
1662
  preferred_locale: nil,
4425
1663
  setup_future_usage: nil,
4426
- subscriptions: nil,
4427
- supplementary_purchase_data: nil
1664
+ subscriptions: nil
4428
1665
  )
4429
1666
  @capture_method = capture_method
4430
1667
  @on_demand = on_demand
4431
1668
  @preferred_locale = preferred_locale
4432
1669
  @setup_future_usage = setup_future_usage
4433
1670
  @subscriptions = subscriptions
4434
- @supplementary_purchase_data = supplementary_purchase_data
4435
1671
  end
4436
1672
  end
4437
1673
 
@@ -4692,65 +1928,12 @@ module Stripe
4692
1928
  end
4693
1929
 
4694
1930
  class Paypal < ::Stripe::RequestParams
4695
- class LineItem < ::Stripe::RequestParams
4696
- class Tax < ::Stripe::RequestParams
4697
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4698
- attr_accessor :amount
4699
- # The tax behavior for the line item.
4700
- attr_accessor :behavior
4701
-
4702
- def initialize(amount: nil, behavior: nil)
4703
- @amount = amount
4704
- @behavior = behavior
4705
- end
4706
- end
4707
- # Type of the line item.
4708
- attr_accessor :category
4709
- # Description of the line item.
4710
- attr_accessor :description
4711
- # Descriptive name of the line item.
4712
- attr_accessor :name
4713
- # Quantity of the line item. Must be a positive number.
4714
- attr_accessor :quantity
4715
- # Client facing stock keeping unit, article number or similar.
4716
- attr_accessor :sku
4717
- # The Stripe account ID of the connected account that sells the item.
4718
- attr_accessor :sold_by
4719
- # The tax information for the line item.
4720
- attr_accessor :tax
4721
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4722
- attr_accessor :unit_amount
4723
-
4724
- def initialize(
4725
- category: nil,
4726
- description: nil,
4727
- name: nil,
4728
- quantity: nil,
4729
- sku: nil,
4730
- sold_by: nil,
4731
- tax: nil,
4732
- unit_amount: nil
4733
- )
4734
- @category = category
4735
- @description = description
4736
- @name = name
4737
- @quantity = quantity
4738
- @sku = sku
4739
- @sold_by = sold_by
4740
- @tax = tax
4741
- @unit_amount = unit_amount
4742
- end
4743
- end
4744
1931
  # Controls when the funds will be captured from the customer's account.
4745
1932
  attr_accessor :capture_method
4746
- # The line items purchased by the customer.
4747
- attr_accessor :line_items
4748
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1933
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4749
1934
  attr_accessor :preferred_locale
4750
1935
  # 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.
4751
1936
  attr_accessor :reference
4752
- # 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.
4753
- attr_accessor :reference_id
4754
1937
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4755
1938
  attr_accessor :risk_correlation_id
4756
1939
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4763,40 +1946,19 @@ module Stripe
4763
1946
  #
4764
1947
  # 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`.
4765
1948
  attr_accessor :setup_future_usage
4766
- # 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.
4767
- attr_accessor :subsellers
4768
1949
 
4769
1950
  def initialize(
4770
1951
  capture_method: nil,
4771
- line_items: nil,
4772
1952
  preferred_locale: nil,
4773
1953
  reference: nil,
4774
- reference_id: nil,
4775
1954
  risk_correlation_id: nil,
4776
- setup_future_usage: nil,
4777
- subsellers: nil
1955
+ setup_future_usage: nil
4778
1956
  )
4779
1957
  @capture_method = capture_method
4780
- @line_items = line_items
4781
1958
  @preferred_locale = preferred_locale
4782
1959
  @reference = reference
4783
- @reference_id = reference_id
4784
1960
  @risk_correlation_id = risk_correlation_id
4785
1961
  @setup_future_usage = setup_future_usage
4786
- @subsellers = subsellers
4787
- end
4788
- end
4789
-
4790
- class Paypay < ::Stripe::RequestParams
4791
- # Controls when the funds are captured from the customer's account.
4792
- #
4793
- # 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.
4794
- #
4795
- # 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.
4796
- attr_accessor :capture_method
4797
-
4798
- def initialize(capture_method: nil)
4799
- @capture_method = capture_method
4800
1962
  end
4801
1963
  end
4802
1964
 
@@ -4851,52 +2013,12 @@ module Stripe
4851
2013
  end
4852
2014
 
4853
2015
  class Pix < ::Stripe::RequestParams
4854
- class MandateOptions < ::Stripe::RequestParams
4855
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4856
- attr_accessor :amount
4857
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4858
- attr_accessor :amount_includes_iof
4859
- # Type of amount. Defaults to `maximum`.
4860
- attr_accessor :amount_type
4861
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4862
- attr_accessor :currency
4863
- # 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.
4864
- attr_accessor :end_date
4865
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4866
- attr_accessor :payment_schedule
4867
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4868
- attr_accessor :reference
4869
- # 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.
4870
- attr_accessor :start_date
4871
-
4872
- def initialize(
4873
- amount: nil,
4874
- amount_includes_iof: nil,
4875
- amount_type: nil,
4876
- currency: nil,
4877
- end_date: nil,
4878
- payment_schedule: nil,
4879
- reference: nil,
4880
- start_date: nil
4881
- )
4882
- @amount = amount
4883
- @amount_includes_iof = amount_includes_iof
4884
- @amount_type = amount_type
4885
- @currency = currency
4886
- @end_date = end_date
4887
- @payment_schedule = payment_schedule
4888
- @reference = reference
4889
- @start_date = start_date
4890
- end
4891
- end
4892
2016
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4893
2017
  attr_accessor :amount_includes_iof
4894
2018
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4895
2019
  attr_accessor :expires_after_seconds
4896
2020
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4897
2021
  attr_accessor :expires_at
4898
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4899
- attr_accessor :mandate_options
4900
2022
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4901
2023
  #
4902
2024
  # 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.
@@ -4912,13 +2034,11 @@ module Stripe
4912
2034
  amount_includes_iof: nil,
4913
2035
  expires_after_seconds: nil,
4914
2036
  expires_at: nil,
4915
- mandate_options: nil,
4916
2037
  setup_future_usage: nil
4917
2038
  )
4918
2039
  @amount_includes_iof = amount_includes_iof
4919
2040
  @expires_after_seconds = expires_after_seconds
4920
2041
  @expires_at = expires_at
4921
- @mandate_options = mandate_options
4922
2042
  @setup_future_usage = setup_future_usage
4923
2043
  end
4924
2044
  end
@@ -4940,25 +2060,6 @@ module Stripe
4940
2060
  end
4941
2061
  end
4942
2062
 
4943
- class Qris < ::Stripe::RequestParams
4944
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4945
- #
4946
- # 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.
4947
- #
4948
- # 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.
4949
- #
4950
- # 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).
4951
- #
4952
- # 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`.
4953
- attr_accessor :setup_future_usage
4954
-
4955
- def initialize(setup_future_usage: nil)
4956
- @setup_future_usage = setup_future_usage
4957
- end
4958
- end
4959
-
4960
- class Rechnung < ::Stripe::RequestParams; end
4961
-
4962
2063
  class RevolutPay < ::Stripe::RequestParams
4963
2064
  # Controls when the funds are captured from the customer's account.
4964
2065
  #
@@ -5038,23 +2139,6 @@ module Stripe
5038
2139
  end
5039
2140
  end
5040
2141
 
5041
- class Shopeepay < ::Stripe::RequestParams
5042
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5043
- #
5044
- # 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.
5045
- #
5046
- # 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.
5047
- #
5048
- # 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).
5049
- #
5050
- # 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`.
5051
- attr_accessor :setup_future_usage
5052
-
5053
- def initialize(setup_future_usage: nil)
5054
- @setup_future_usage = setup_future_usage
5055
- end
5056
- end
5057
-
5058
2142
  class Sofort < ::Stripe::RequestParams
5059
2143
  # Language shown to the payer on redirect.
5060
2144
  attr_accessor :preferred_language
@@ -5075,23 +2159,6 @@ module Stripe
5075
2159
  end
5076
2160
  end
5077
2161
 
5078
- class StripeBalance < ::Stripe::RequestParams
5079
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5080
- #
5081
- # 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.
5082
- #
5083
- # 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.
5084
- #
5085
- # 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).
5086
- #
5087
- # 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`.
5088
- attr_accessor :setup_future_usage
5089
-
5090
- def initialize(setup_future_usage: nil)
5091
- @setup_future_usage = setup_future_usage
5092
- end
5093
- end
5094
-
5095
2162
  class Swish < ::Stripe::RequestParams
5096
2163
  # A reference for this payment to be displayed in the Swish app.
5097
2164
  attr_accessor :reference
@@ -5134,27 +2201,13 @@ module Stripe
5134
2201
  class Filters < ::Stripe::RequestParams
5135
2202
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5136
2203
  attr_accessor :account_subcategories
5137
- # ID of the institution to use to filter for selectable accounts.
5138
- attr_accessor :institution
5139
2204
 
5140
- def initialize(account_subcategories: nil, institution: nil)
2205
+ def initialize(account_subcategories: nil)
5141
2206
  @account_subcategories = account_subcategories
5142
- @institution = institution
5143
- end
5144
- end
5145
-
5146
- class ManualEntry < ::Stripe::RequestParams
5147
- # Settings for configuring manual entry of account details.
5148
- attr_accessor :mode
5149
-
5150
- def initialize(mode: nil)
5151
- @mode = mode
5152
2207
  end
5153
2208
  end
5154
2209
  # Provide filters for the linked accounts that the customer can select for the payment method.
5155
2210
  attr_accessor :filters
5156
- # Customize manual entry behavior
5157
- attr_accessor :manual_entry
5158
2211
  # 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`.
5159
2212
  attr_accessor :permissions
5160
2213
  # List of data features that you would like to retrieve upon account creation.
@@ -5162,15 +2215,8 @@ module Stripe
5162
2215
  # 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.
5163
2216
  attr_accessor :return_url
5164
2217
 
5165
- def initialize(
5166
- filters: nil,
5167
- manual_entry: nil,
5168
- permissions: nil,
5169
- prefetch: nil,
5170
- return_url: nil
5171
- )
2218
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5172
2219
  @filters = filters
5173
- @manual_entry = manual_entry
5174
2220
  @permissions = permissions
5175
2221
  @prefetch = prefetch
5176
2222
  @return_url = return_url
@@ -5315,12 +2361,8 @@ module Stripe
5315
2361
  attr_accessor :fpx
5316
2362
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5317
2363
  attr_accessor :giropay
5318
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5319
- attr_accessor :gopay
5320
2364
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5321
2365
  attr_accessor :grabpay
5322
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5323
- attr_accessor :id_bank_transfer
5324
2366
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5325
2367
  attr_accessor :ideal
5326
2368
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5357,18 +2399,12 @@ module Stripe
5357
2399
  attr_accessor :paynow
5358
2400
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5359
2401
  attr_accessor :paypal
5360
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5361
- attr_accessor :paypay
5362
2402
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5363
2403
  attr_accessor :payto
5364
2404
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5365
2405
  attr_accessor :pix
5366
2406
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5367
2407
  attr_accessor :promptpay
5368
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5369
- attr_accessor :qris
5370
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5371
- attr_accessor :rechnung
5372
2408
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5373
2409
  attr_accessor :revolut_pay
5374
2410
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5377,12 +2413,8 @@ module Stripe
5377
2413
  attr_accessor :satispay
5378
2414
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5379
2415
  attr_accessor :sepa_debit
5380
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5381
- attr_accessor :shopeepay
5382
2416
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5383
2417
  attr_accessor :sofort
5384
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5385
- attr_accessor :stripe_balance
5386
2418
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5387
2419
  attr_accessor :swish
5388
2420
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5415,9 +2447,7 @@ module Stripe
5415
2447
  eps: nil,
5416
2448
  fpx: nil,
5417
2449
  giropay: nil,
5418
- gopay: nil,
5419
2450
  grabpay: nil,
5420
- id_bank_transfer: nil,
5421
2451
  ideal: nil,
5422
2452
  interac_present: nil,
5423
2453
  kakao_pay: nil,
@@ -5436,19 +2466,14 @@ module Stripe
5436
2466
  payco: nil,
5437
2467
  paynow: nil,
5438
2468
  paypal: nil,
5439
- paypay: nil,
5440
2469
  payto: nil,
5441
2470
  pix: nil,
5442
2471
  promptpay: nil,
5443
- qris: nil,
5444
- rechnung: nil,
5445
2472
  revolut_pay: nil,
5446
2473
  samsung_pay: nil,
5447
2474
  satispay: nil,
5448
2475
  sepa_debit: nil,
5449
- shopeepay: nil,
5450
2476
  sofort: nil,
5451
- stripe_balance: nil,
5452
2477
  swish: nil,
5453
2478
  twint: nil,
5454
2479
  us_bank_account: nil,
@@ -5475,9 +2500,7 @@ module Stripe
5475
2500
  @eps = eps
5476
2501
  @fpx = fpx
5477
2502
  @giropay = giropay
5478
- @gopay = gopay
5479
2503
  @grabpay = grabpay
5480
- @id_bank_transfer = id_bank_transfer
5481
2504
  @ideal = ideal
5482
2505
  @interac_present = interac_present
5483
2506
  @kakao_pay = kakao_pay
@@ -5496,19 +2519,14 @@ module Stripe
5496
2519
  @payco = payco
5497
2520
  @paynow = paynow
5498
2521
  @paypal = paypal
5499
- @paypay = paypay
5500
2522
  @payto = payto
5501
2523
  @pix = pix
5502
2524
  @promptpay = promptpay
5503
- @qris = qris
5504
- @rechnung = rechnung
5505
2525
  @revolut_pay = revolut_pay
5506
2526
  @samsung_pay = samsung_pay
5507
2527
  @satispay = satispay
5508
2528
  @sepa_debit = sepa_debit
5509
- @shopeepay = shopeepay
5510
2529
  @sofort = sofort
5511
- @stripe_balance = stripe_balance
5512
2530
  @swish = swish
5513
2531
  @twint = twint
5514
2532
  @us_bank_account = us_bank_account
@@ -5517,17 +2535,8 @@ module Stripe
5517
2535
  end
5518
2536
  end
5519
2537
 
5520
- class PaymentsOrchestration < ::Stripe::RequestParams
5521
- # Whether this feature is enabled.
5522
- attr_accessor :enabled
5523
-
5524
- def initialize(enabled: nil)
5525
- @enabled = enabled
5526
- end
5527
- end
5528
-
5529
2538
  class RadarOptions < ::Stripe::RequestParams
5530
- # 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.
2539
+ # 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.
5531
2540
  attr_accessor :session
5532
2541
 
5533
2542
  def initialize(session: nil)
@@ -5547,7 +2556,7 @@ module Stripe
5547
2556
  attr_accessor :line2
5548
2557
  # ZIP or postal code.
5549
2558
  attr_accessor :postal_code
5550
- # State, county, province, or region.
2559
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5551
2560
  attr_accessor :state
5552
2561
 
5553
2562
  def initialize(
@@ -5592,7 +2601,7 @@ module Stripe
5592
2601
  # the full amount is transferred.
5593
2602
  #
5594
2603
  # If you intend to collect a fee and you need a more robust reporting experience, using
5595
- # [application_fee_amount](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-application_fee_amount)
2604
+ # [application_fee_amount](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount)
5596
2605
  # might be a better fit for your integration.
5597
2606
  attr_accessor :amount
5598
2607
  # If specified, successful charges will be attributed to the destination
@@ -5606,19 +2615,17 @@ module Stripe
5606
2615
  @destination = destination
5607
2616
  end
5608
2617
  end
5609
- # Allocated Funds configuration for this PaymentIntent.
5610
- attr_accessor :allocated_funds
5611
- # 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).
2618
+ # 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).
5612
2619
  attr_accessor :amount
5613
2620
  # Provides industry-specific information about the amount.
5614
2621
  attr_accessor :amount_details
5615
- # 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).
2622
+ # 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).
5616
2623
  attr_accessor :application_fee_amount
5617
2624
  # When you enable this parameter, this PaymentIntent accepts payment methods that you enable in the Dashboard and that are compatible with this PaymentIntent's other parameters.
5618
2625
  attr_accessor :automatic_payment_methods
5619
2626
  # Controls when the funds will be captured from the customer's account.
5620
2627
  attr_accessor :capture_method
5621
- # Set to `true` to attempt to [confirm this PaymentIntent](https://stripe.com/docs/api/payment_intents/confirm) immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://stripe.com/docs/api/payment_intents/confirm).
2628
+ # Set to `true` to attempt to [confirm this PaymentIntent](https://docs.stripe.com/api/payment_intents/confirm) immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, you can also provide the parameters available in the [Confirm API](https://docs.stripe.com/api/payment_intents/confirm).
5622
2629
  attr_accessor :confirm
5623
2630
  # Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.
5624
2631
  attr_accessor :confirmation_method
@@ -5632,62 +2639,58 @@ module Stripe
5632
2639
  #
5633
2640
  # Payment methods attached to other Customers cannot be used with this PaymentIntent.
5634
2641
  #
5635
- # 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.
2642
+ # 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.
5636
2643
  attr_accessor :customer
5637
- # ID of the Account this PaymentIntent belongs to, if one exists.
2644
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
5638
2645
  #
5639
2646
  # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
5640
2647
  #
5641
- # 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.
2648
+ # 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.
5642
2649
  attr_accessor :customer_account
5643
2650
  # An arbitrary string attached to the object. Often useful for displaying to users.
5644
2651
  attr_accessor :description
5645
- # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
2652
+ # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
5646
2653
  attr_accessor :error_on_requires_action
5647
2654
  # The list of payment method types to exclude from use with this payment.
5648
2655
  attr_accessor :excluded_payment_method_types
5649
2656
  # Specifies which fields in the response should be expanded.
5650
2657
  attr_accessor :expand
5651
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5652
- attr_accessor :fx_quote
5653
2658
  # Automations to be run during the PaymentIntent lifecycle
5654
2659
  attr_accessor :hooks
5655
- # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
2660
+ # ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
5656
2661
  attr_accessor :mandate
5657
- # This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
2662
+ # This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
5658
2663
  attr_accessor :mandate_data
5659
- # 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`.
2664
+ # 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`.
5660
2665
  attr_accessor :metadata
5661
- # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
2666
+ # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://docs.stripe.com/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
5662
2667
  attr_accessor :off_session
5663
- # The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2668
+ # The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5664
2669
  attr_accessor :on_behalf_of
5665
2670
  # Provides industry-specific information about the charge.
5666
2671
  attr_accessor :payment_details
5667
- # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
2672
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods#compatibility) object) to attach to this PaymentIntent.
5668
2673
  #
5669
2674
  # If you don't provide the `payment_method` parameter or the `source` parameter with `confirm=true`, `source` automatically populates with `customer.default_source` to improve migration for users of the Charges API. We recommend that you explicitly provide the `payment_method` moving forward.
5670
- # If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://stripe.com/docs/api#create_payment_intent-customer) parameter of this PaymentIntent.
2675
+ # If the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://api.stripe.com#create_payment_intent-customer) parameter of this PaymentIntent.
5671
2676
  # end
5672
2677
  attr_accessor :payment_method
5673
- # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
2678
+ # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
5674
2679
  attr_accessor :payment_method_configuration
5675
2680
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
5676
- # in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
2681
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
5677
2682
  # property on the PaymentIntent.
5678
2683
  attr_accessor :payment_method_data
5679
2684
  # Payment method-specific configuration for this PaymentIntent.
5680
2685
  attr_accessor :payment_method_options
5681
2686
  # The list of payment method types (for example, a card) that this PaymentIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
5682
2687
  attr_accessor :payment_method_types
5683
- # Options to configure Radar. Learn more about [Radar Sessions](https://stripe.com/docs/radar/radar-session).
2688
+ # Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
5684
2689
  attr_accessor :radar_options
5685
2690
  # Email address to send the receipt to. If you specify `receipt_email` for a payment in live mode, you send a receipt regardless of your [email settings](https://dashboard.stripe.com/account/emails).
5686
2691
  attr_accessor :receipt_email
5687
- # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
2692
+ # The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).
5688
2693
  attr_accessor :return_url
5689
- # Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
5690
- attr_accessor :secret_key_confirmation
5691
2694
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5692
2695
  #
5693
2696
  # 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.
@@ -5705,17 +2708,14 @@ module Stripe
5705
2708
  # 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.
5706
2709
  attr_accessor :statement_descriptor_suffix
5707
2710
  # The parameters that you can use to automatically create a Transfer.
5708
- # Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2711
+ # Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5709
2712
  attr_accessor :transfer_data
5710
- # A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers).
2713
+ # A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
5711
2714
  attr_accessor :transfer_group
5712
2715
  # Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
5713
2716
  attr_accessor :use_stripe_sdk
5714
- # When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
5715
- attr_accessor :payments_orchestration
5716
2717
 
5717
2718
  def initialize(
5718
- allocated_funds: nil,
5719
2719
  amount: nil,
5720
2720
  amount_details: nil,
5721
2721
  application_fee_amount: nil,
@@ -5731,7 +2731,6 @@ module Stripe
5731
2731
  error_on_requires_action: nil,
5732
2732
  excluded_payment_method_types: nil,
5733
2733
  expand: nil,
5734
- fx_quote: nil,
5735
2734
  hooks: nil,
5736
2735
  mandate: nil,
5737
2736
  mandate_data: nil,
@@ -5747,17 +2746,14 @@ module Stripe
5747
2746
  radar_options: nil,
5748
2747
  receipt_email: nil,
5749
2748
  return_url: nil,
5750
- secret_key_confirmation: nil,
5751
2749
  setup_future_usage: nil,
5752
2750
  shipping: nil,
5753
2751
  statement_descriptor: nil,
5754
2752
  statement_descriptor_suffix: nil,
5755
2753
  transfer_data: nil,
5756
2754
  transfer_group: nil,
5757
- use_stripe_sdk: nil,
5758
- payments_orchestration: nil
2755
+ use_stripe_sdk: nil
5759
2756
  )
5760
- @allocated_funds = allocated_funds
5761
2757
  @amount = amount
5762
2758
  @amount_details = amount_details
5763
2759
  @application_fee_amount = application_fee_amount
@@ -5773,7 +2769,6 @@ module Stripe
5773
2769
  @error_on_requires_action = error_on_requires_action
5774
2770
  @excluded_payment_method_types = excluded_payment_method_types
5775
2771
  @expand = expand
5776
- @fx_quote = fx_quote
5777
2772
  @hooks = hooks
5778
2773
  @mandate = mandate
5779
2774
  @mandate_data = mandate_data
@@ -5789,7 +2784,6 @@ module Stripe
5789
2784
  @radar_options = radar_options
5790
2785
  @receipt_email = receipt_email
5791
2786
  @return_url = return_url
5792
- @secret_key_confirmation = secret_key_confirmation
5793
2787
  @setup_future_usage = setup_future_usage
5794
2788
  @shipping = shipping
5795
2789
  @statement_descriptor = statement_descriptor
@@ -5797,7 +2791,6 @@ module Stripe
5797
2791
  @transfer_data = transfer_data
5798
2792
  @transfer_group = transfer_group
5799
2793
  @use_stripe_sdk = use_stripe_sdk
5800
- @payments_orchestration = payments_orchestration
5801
2794
  end
5802
2795
  end
5803
2796
  end