stripe 18.1.0.pre.beta.1 → 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 (660) 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 -209
  7. data/lib/stripe/object_types.rb +0 -49
  8. data/lib/stripe/params/account_create_params.rb +48 -329
  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 -10
  12. data/lib/stripe/params/account_person_update_params.rb +10 -10
  13. data/lib/stripe/params/account_session_create_params.rb +1 -226
  14. data/lib/stripe/params/account_update_params.rb +47 -291
  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/credit_balance_summary_retrieve_params.rb +2 -2
  18. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
  19. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -2
  20. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
  21. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  22. data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
  23. data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
  24. data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
  25. data/lib/stripe/params/charge_capture_params.rb +2 -1650
  26. data/lib/stripe/params/charge_create_params.rb +12 -12
  27. data/lib/stripe/params/charge_search_params.rb +1 -1
  28. data/lib/stripe/params/charge_update_params.rb +3 -1651
  29. data/lib/stripe/params/checkout/session_create_params.rb +41 -167
  30. data/lib/stripe/params/checkout/session_update_params.rb +12 -152
  31. data/lib/stripe/params/climate/order_create_params.rb +1 -1
  32. data/lib/stripe/params/climate/order_update_params.rb +1 -1
  33. data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
  34. data/lib/stripe/params/coupon_create_params.rb +2 -18
  35. data/lib/stripe/params/coupon_update_params.rb +1 -1
  36. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  37. data/lib/stripe/params/credit_note_list_params.rb +1 -1
  38. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  39. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  40. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  41. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  42. data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
  43. data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
  44. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  45. data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
  46. data/lib/stripe/params/customer_create_params.rb +5 -5
  47. data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
  48. data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
  49. data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
  50. data/lib/stripe/params/customer_search_params.rb +1 -1
  51. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  52. data/lib/stripe/params/customer_update_params.rb +7 -7
  53. data/lib/stripe/params/dispute_update_params.rb +4 -13
  54. data/lib/stripe/params/file_create_params.rb +3 -3
  55. data/lib/stripe/params/file_link_create_params.rb +1 -1
  56. data/lib/stripe/params/file_link_update_params.rb +1 -1
  57. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
  58. data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
  59. data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
  60. data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
  61. data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
  62. data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
  63. data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
  64. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  65. data/lib/stripe/params/invoice_create_params.rb +29 -110
  66. data/lib/stripe/params/invoice_create_preview_params.rb +42 -855
  67. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  68. data/lib/stripe/params/invoice_item_create_params.rb +9 -41
  69. data/lib/stripe/params/invoice_item_list_params.rb +2 -2
  70. data/lib/stripe/params/invoice_item_update_params.rb +7 -39
  71. data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
  72. data/lib/stripe/params/invoice_list_params.rb +2 -2
  73. data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
  74. data/lib/stripe/params/invoice_search_params.rb +1 -1
  75. data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
  76. data/lib/stripe/params/invoice_update_params.rb +26 -107
  77. data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
  78. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  79. data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
  80. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  81. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  82. data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
  83. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  84. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  85. data/lib/stripe/params/issuing/card_create_params.rb +7 -7
  86. data/lib/stripe/params/issuing/card_update_params.rb +6 -6
  87. data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
  88. data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
  89. data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
  90. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  91. data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
  92. data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
  93. data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
  94. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
  95. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  96. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  97. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  98. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  99. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  100. data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
  101. data/lib/stripe/params/payment_intent_confirm_params.rb +52 -3012
  102. data/lib/stripe/params/payment_intent_create_params.rb +68 -3028
  103. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
  104. data/lib/stripe/params/payment_intent_list_params.rb +1 -1
  105. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  106. data/lib/stripe/params/payment_intent_update_params.rb +57 -3048
  107. data/lib/stripe/params/payment_link_create_params.rb +19 -19
  108. data/lib/stripe/params/payment_link_update_params.rb +9 -9
  109. data/lib/stripe/params/payment_method_attach_params.rb +1 -1
  110. data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
  111. data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
  112. data/lib/stripe/params/payment_method_create_params.rb +4 -81
  113. data/lib/stripe/params/payment_method_update_params.rb +2 -2
  114. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
  115. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
  116. data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
  117. data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
  118. data/lib/stripe/params/payout_create_params.rb +1 -1
  119. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  120. data/lib/stripe/params/payout_update_params.rb +1 -1
  121. data/lib/stripe/params/plan_create_params.rb +4 -4
  122. data/lib/stripe/params/plan_update_params.rb +2 -2
  123. data/lib/stripe/params/price_create_params.rb +6 -6
  124. data/lib/stripe/params/price_search_params.rb +1 -1
  125. data/lib/stripe/params/price_update_params.rb +3 -22
  126. data/lib/stripe/params/product_create_params.rb +7 -7
  127. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  128. data/lib/stripe/params/product_list_params.rb +1 -1
  129. data/lib/stripe/params/product_search_params.rb +1 -1
  130. data/lib/stripe/params/product_update_params.rb +4 -4
  131. data/lib/stripe/params/promotion_code_create_params.rb +3 -3
  132. data/lib/stripe/params/promotion_code_list_params.rb +1 -1
  133. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  134. data/lib/stripe/params/quote_create_params.rb +7 -805
  135. data/lib/stripe/params/quote_list_params.rb +2 -6
  136. data/lib/stripe/params/quote_update_params.rb +8 -813
  137. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  138. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  139. data/lib/stripe/params/refund_create_params.rb +2 -2
  140. data/lib/stripe/params/refund_update_params.rb +1 -1
  141. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  142. data/lib/stripe/params/setup_intent_confirm_params.rb +9 -164
  143. data/lib/stripe/params/setup_intent_create_params.rb +15 -170
  144. data/lib/stripe/params/setup_intent_update_params.rb +11 -166
  145. data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
  146. data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
  147. data/lib/stripe/params/source_create_params.rb +3 -3
  148. data/lib/stripe/params/source_update_params.rb +3 -3
  149. data/lib/stripe/params/subscription_create_params.rb +39 -264
  150. data/lib/stripe/params/subscription_item_create_params.rb +12 -56
  151. data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
  152. data/lib/stripe/params/subscription_item_update_params.rb +11 -39
  153. data/lib/stripe/params/subscription_list_params.rb +3 -3
  154. data/lib/stripe/params/subscription_resume_params.rb +2 -2
  155. data/lib/stripe/params/subscription_schedule_create_params.rb +20 -178
  156. data/lib/stripe/params/subscription_schedule_update_params.rb +20 -178
  157. data/lib/stripe/params/subscription_search_params.rb +1 -1
  158. data/lib/stripe/params/subscription_update_params.rb +36 -245
  159. data/lib/stripe/params/tax/association_find_params.rb +1 -1
  160. data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
  161. data/lib/stripe/params/tax/settings_update_params.rb +1 -1
  162. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  163. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
  164. data/lib/stripe/params/tax_id_create_params.rb +2 -2
  165. data/lib/stripe/params/tax_id_list_params.rb +2 -2
  166. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  167. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  168. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  169. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  170. data/lib/stripe/params/terminal/location_create_params.rb +2 -2
  171. data/lib/stripe/params/terminal/location_update_params.rb +2 -2
  172. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
  173. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  174. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
  175. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  176. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  177. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
  178. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
  179. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  180. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
  181. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  182. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
  183. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  184. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
  185. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  186. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  187. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
  188. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
  189. data/lib/stripe/params/token_create_params.rb +22 -22
  190. data/lib/stripe/params/topup_create_params.rb +2 -2
  191. data/lib/stripe/params/topup_update_params.rb +1 -1
  192. data/lib/stripe/params/transfer_create_params.rb +3 -7
  193. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  194. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  195. data/lib/stripe/params/transfer_update_params.rb +1 -1
  196. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  197. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  198. data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
  199. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  200. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  201. data/lib/stripe/params/treasury/financial_account_update_params.rb +2 -9
  202. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
  203. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
  204. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
  205. data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
  206. data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
  207. data/lib/stripe/params/v2/core/account_create_params.rb +46 -271
  208. data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
  209. data/lib/stripe/params/v2/core/account_token_create_params.rb +31 -21
  210. data/lib/stripe/params/v2/core/account_update_params.rb +50 -268
  211. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
  212. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
  213. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
  214. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  215. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  216. data/lib/stripe/params.rb +0 -146
  217. data/lib/stripe/resources/account.rb +27 -208
  218. data/lib/stripe/resources/account_link.rb +1 -1
  219. data/lib/stripe/resources/account_session.rb +2 -83
  220. data/lib/stripe/resources/application_fee_refund.rb +2 -2
  221. data/lib/stripe/resources/apps/secret.rb +1 -1
  222. data/lib/stripe/resources/balance.rb +2 -2
  223. data/lib/stripe/resources/balance_settings.rb +1 -1
  224. data/lib/stripe/resources/balance_transaction.rb +1 -1
  225. data/lib/stripe/resources/bank_account.rb +10 -10
  226. data/lib/stripe/resources/billing/alert.rb +1 -1
  227. data/lib/stripe/resources/billing/credit_grant.rb +2 -2
  228. data/lib/stripe/resources/billing/meter_event.rb +1 -1
  229. data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
  230. data/lib/stripe/resources/billing_portal/session.rb +6 -6
  231. data/lib/stripe/resources/capability.rb +16 -16
  232. data/lib/stripe/resources/card.rb +2 -4
  233. data/lib/stripe/resources/cash_balance.rb +2 -2
  234. data/lib/stripe/resources/charge.rb +46 -248
  235. data/lib/stripe/resources/checkout/session.rb +23 -123
  236. data/lib/stripe/resources/climate/order.rb +1 -1
  237. data/lib/stripe/resources/confirmation_token.rb +11 -144
  238. data/lib/stripe/resources/coupon.rb +4 -29
  239. data/lib/stripe/resources/credit_note.rb +5 -5
  240. data/lib/stripe/resources/credit_note_line_item.rb +1 -19
  241. data/lib/stripe/resources/customer.rb +8 -8
  242. data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
  243. data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
  244. data/lib/stripe/resources/customer_session.rb +0 -36
  245. data/lib/stripe/resources/discount.rb +3 -3
  246. data/lib/stripe/resources/dispute.rb +5 -27
  247. data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
  248. data/lib/stripe/resources/event.rb +2 -65
  249. data/lib/stripe/resources/exchange_rate.rb +2 -2
  250. data/lib/stripe/resources/file.rb +4 -4
  251. data/lib/stripe/resources/file_link.rb +1 -1
  252. data/lib/stripe/resources/financial_connections/account.rb +3 -28
  253. data/lib/stripe/resources/financial_connections/session.rb +3 -67
  254. data/lib/stripe/resources/forwarding/request.rb +1 -1
  255. data/lib/stripe/resources/funding_instructions.rb +14 -14
  256. data/lib/stripe/resources/identity/verification_report.rb +9 -9
  257. data/lib/stripe/resources/identity/verification_session.rb +11 -11
  258. data/lib/stripe/resources/invoice.rb +49 -166
  259. data/lib/stripe/resources/invoice_item.rb +6 -8
  260. data/lib/stripe/resources/invoice_line_item.rb +6 -44
  261. data/lib/stripe/resources/invoice_payment.rb +1 -1
  262. data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
  263. data/lib/stripe/resources/issuing/authorization.rb +20 -20
  264. data/lib/stripe/resources/issuing/card.rb +12 -12
  265. data/lib/stripe/resources/issuing/cardholder.rb +14 -14
  266. data/lib/stripe/resources/issuing/dispute.rb +7 -7
  267. data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
  268. data/lib/stripe/resources/issuing/token.rb +1 -1
  269. data/lib/stripe/resources/issuing/transaction.rb +12 -14
  270. data/lib/stripe/resources/line_item.rb +4 -69
  271. data/lib/stripe/resources/login_link.rb +1 -1
  272. data/lib/stripe/resources/mandate.rb +0 -43
  273. data/lib/stripe/resources/payment_attempt_record.rb +79 -201
  274. data/lib/stripe/resources/payment_intent.rb +59 -751
  275. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
  276. data/lib/stripe/resources/payment_link.rb +7 -7
  277. data/lib/stripe/resources/payment_method.rb +13 -148
  278. data/lib/stripe/resources/payment_method_configuration.rb +4 -174
  279. data/lib/stripe/resources/payment_method_domain.rb +1 -1
  280. data/lib/stripe/resources/payment_record.rb +81 -201
  281. data/lib/stripe/resources/payout.rb +7 -7
  282. data/lib/stripe/resources/person.rb +23 -23
  283. data/lib/stripe/resources/plan.rb +5 -5
  284. data/lib/stripe/resources/price.rb +6 -26
  285. data/lib/stripe/resources/product.rb +9 -9
  286. data/lib/stripe/resources/promotion_code.rb +4 -4
  287. data/lib/stripe/resources/quote.rb +14 -581
  288. data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
  289. data/lib/stripe/resources/radar/value_list.rb +2 -2
  290. data/lib/stripe/resources/radar/value_list_item.rb +1 -1
  291. data/lib/stripe/resources/refund.rb +3 -21
  292. data/lib/stripe/resources/reporting/report_run.rb +3 -3
  293. data/lib/stripe/resources/reporting/report_type.rb +3 -3
  294. data/lib/stripe/resources/reversal.rb +4 -4
  295. data/lib/stripe/resources/review.rb +1 -1
  296. data/lib/stripe/resources/setup_attempt.rb +17 -65
  297. data/lib/stripe/resources/setup_intent.rb +20 -107
  298. data/lib/stripe/resources/shipping_rate.rb +3 -3
  299. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  300. data/lib/stripe/resources/source.rb +8 -46
  301. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  302. data/lib/stripe/resources/subscription.rb +23 -221
  303. data/lib/stripe/resources/subscription_item.rb +8 -27
  304. data/lib/stripe/resources/subscription_schedule.rb +11 -204
  305. data/lib/stripe/resources/tax/association.rb +3 -3
  306. data/lib/stripe/resources/tax/calculation.rb +12 -12
  307. data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
  308. data/lib/stripe/resources/tax/registration.rb +3 -3
  309. data/lib/stripe/resources/tax/settings.rb +2 -2
  310. data/lib/stripe/resources/tax/transaction.rb +9 -9
  311. data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
  312. data/lib/stripe/resources/tax_id.rb +4 -4
  313. data/lib/stripe/resources/tax_rate.rb +1 -1
  314. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  315. data/lib/stripe/resources/terminal/connection_token.rb +1 -1
  316. data/lib/stripe/resources/terminal/location.rb +3 -3
  317. data/lib/stripe/resources/terminal/reader.rb +10 -18
  318. data/lib/stripe/resources/token.rb +4 -4
  319. data/lib/stripe/resources/topup.rb +3 -3
  320. data/lib/stripe/resources/transfer.rb +5 -7
  321. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
  322. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
  323. data/lib/stripe/resources/treasury/financial_account.rb +1 -3
  324. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  325. data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
  326. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
  327. data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
  328. data/lib/stripe/resources/treasury/received_credit.rb +10 -40
  329. data/lib/stripe/resources/treasury/received_debit.rb +7 -39
  330. data/lib/stripe/resources/treasury/transaction.rb +11 -11
  331. data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
  332. data/lib/stripe/resources/v2/core/account.rb +133 -789
  333. data/lib/stripe/resources/v2/core/account_link.rb +11 -11
  334. data/lib/stripe/resources/v2/core/account_person.rb +10 -10
  335. data/lib/stripe/resources/webhook_endpoint.rb +1 -1
  336. data/lib/stripe/resources.rb +0 -100
  337. data/lib/stripe/services/billing_service.rb +1 -2
  338. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  339. data/lib/stripe/services/financial_connections_service.rb +1 -2
  340. data/lib/stripe/services/issuing_service.rb +1 -5
  341. data/lib/stripe/services/mandate_service.rb +0 -5
  342. data/lib/stripe/services/payment_intent_service.rb +0 -37
  343. data/lib/stripe/services/payment_method_service.rb +1 -1
  344. data/lib/stripe/services/quote_service.rb +1 -49
  345. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  346. data/lib/stripe/services/subscription_service.rb +0 -11
  347. data/lib/stripe/services/tax_service.rb +1 -2
  348. data/lib/stripe/services/terminal_service.rb +1 -2
  349. data/lib/stripe/services/v1_services.rb +1 -8
  350. data/lib/stripe/services/v2/billing_service.rb +1 -5
  351. data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
  352. data/lib/stripe/services/v2/core/account_service.rb +0 -4
  353. data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
  354. data/lib/stripe/services/v2/core_service.rb +1 -2
  355. data/lib/stripe/services/v2_services.rb +1 -3
  356. data/lib/stripe/services.rb +0 -51
  357. data/lib/stripe/stripe_configuration.rb +1 -3
  358. data/lib/stripe/stripe_object.rb +31 -2
  359. data/lib/stripe/util.rb +1 -7
  360. data/lib/stripe/version.rb +1 -1
  361. data/lib/stripe.rb +0 -53
  362. data/rbi/stripe.rbi +17422 -76304
  363. metadata +4 -301
  364. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  365. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  366. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  367. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  368. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  369. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  370. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  371. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  372. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  373. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  374. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  375. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  376. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  377. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  378. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  379. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  380. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  381. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  382. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  383. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  384. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  385. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  386. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  387. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  388. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  389. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  390. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  391. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  392. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  393. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  394. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  395. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  396. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  397. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  398. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  399. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  400. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  401. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  402. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  403. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  404. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  405. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  406. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  407. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  408. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  409. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  410. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  411. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  412. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  413. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  414. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  415. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  416. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  417. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  418. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  419. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  420. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  421. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  422. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  423. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  424. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  425. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  426. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  427. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  428. data/lib/stripe/params/external_account_create_params.rb +0 -134
  429. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  430. data/lib/stripe/params/external_account_list_params.rb +0 -25
  431. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  432. data/lib/stripe/params/external_account_update_params.rb +0 -91
  433. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  434. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  435. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  436. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  437. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  438. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  439. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  440. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  441. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  442. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  443. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  444. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  445. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  446. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  447. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  448. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  449. data/lib/stripe/params/mandate_list_params.rb +0 -39
  450. data/lib/stripe/params/margin_create_params.rb +0 -25
  451. data/lib/stripe/params/margin_list_params.rb +0 -25
  452. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  453. data/lib/stripe/params/margin_update_params.rb +0 -22
  454. data/lib/stripe/params/order_cancel_params.rb +0 -13
  455. data/lib/stripe/params/order_create_params.rb +0 -2061
  456. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  457. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  458. data/lib/stripe/params/order_list_params.rb +0 -25
  459. data/lib/stripe/params/order_reopen_params.rb +0 -13
  460. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  461. data/lib/stripe/params/order_submit_params.rb +0 -16
  462. data/lib/stripe/params/order_update_params.rb +0 -2065
  463. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  464. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  465. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  466. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  467. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  468. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  469. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  470. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  471. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  472. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  473. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  474. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  475. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  476. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  477. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  478. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  479. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  480. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  481. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  482. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
  483. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  484. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  485. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  486. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  487. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  488. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  489. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  490. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  491. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  492. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  493. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  494. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  495. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  496. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  497. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  498. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  499. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  500. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  501. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  502. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  503. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  504. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  505. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  506. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  507. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  508. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  509. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  510. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  511. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  512. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  513. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  514. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  515. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  516. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  517. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  518. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  519. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  520. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  521. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  522. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  523. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  524. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  525. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  526. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  527. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  528. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  529. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  530. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  531. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  532. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  533. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  534. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  535. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
  536. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  537. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  538. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  539. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  540. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  541. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
  542. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  543. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  544. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  545. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  546. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  547. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  548. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  549. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  550. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  551. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  552. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  553. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  554. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  555. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  556. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  557. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  558. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  559. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  560. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  561. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  562. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  563. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  564. data/lib/stripe/resources/account_notice.rb +0 -94
  565. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  566. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  567. data/lib/stripe/resources/capital/financing_offer.rb +0 -142
  568. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  569. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  570. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  571. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  572. data/lib/stripe/resources/fx_quote.rb +0 -147
  573. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  574. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  575. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  576. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  577. data/lib/stripe/resources/margin.rb +0 -64
  578. data/lib/stripe/resources/order.rb +0 -987
  579. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  580. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  581. data/lib/stripe/resources/quote_line.rb +0 -521
  582. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
  583. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
  584. data/lib/stripe/resources/tax/form.rb +0 -264
  585. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  586. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  587. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  588. data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
  589. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  590. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  591. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  592. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  593. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  594. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  595. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
  596. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  597. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  598. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  599. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
  600. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
  601. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  602. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  603. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
  604. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
  605. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  606. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
  607. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  608. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
  609. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  610. data/lib/stripe/services/account_notice_service.rb +0 -39
  611. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  612. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  613. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  614. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  615. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  616. data/lib/stripe/services/capital_service.rb +0 -15
  617. data/lib/stripe/services/external_account_service.rb +0 -68
  618. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  619. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  620. data/lib/stripe/services/fx_quote_service.rb +0 -27
  621. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  622. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  623. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  624. data/lib/stripe/services/margin_service.rb +0 -50
  625. data/lib/stripe/services/order_line_item_service.rb +0 -17
  626. data/lib/stripe/services/order_service.rb +0 -78
  627. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  628. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  629. data/lib/stripe/services/privacy_service.rb +0 -13
  630. data/lib/stripe/services/quote_line_service.rb +0 -17
  631. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  632. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  633. data/lib/stripe/services/tax/form_service.rb +0 -37
  634. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  635. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  636. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  637. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  638. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  639. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  640. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  641. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  642. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  643. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  644. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  645. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  646. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  647. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  648. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  649. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  650. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  651. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  652. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  653. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  654. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  655. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  656. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  657. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  658. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  659. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  660. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -79,7 +79,7 @@ module Stripe
79
79
  end
80
80
 
81
81
  class Tax < ::Stripe::RequestParams
82
- # 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.
83
83
  #
84
84
  # This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
85
85
  attr_accessor :total_tax_amount
@@ -88,7 +88,7 @@ module Stripe
88
88
  @total_tax_amount = total_tax_amount
89
89
  end
90
90
  end
91
- # 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.
92
92
  #
93
93
  # This field is mutually exclusive with the `amount_details[discount_amount]` field.
94
94
  attr_accessor :discount_amount
@@ -104,7 +104,7 @@ module Stripe
104
104
  attr_accessor :quantity
105
105
  # Contains information about the tax on the item.
106
106
  attr_accessor :tax
107
- # 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.
108
108
  attr_accessor :unit_cost
109
109
  # A unit of measure for the line item, such as gallons, feet, meters, etc.
110
110
  attr_accessor :unit_of_measure
@@ -131,7 +131,7 @@ module Stripe
131
131
  end
132
132
 
133
133
  class Shipping < ::Stripe::RequestParams
134
- # 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.
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
135
  attr_accessor :amount
136
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
137
  attr_accessor :from_postal_code
@@ -146,7 +146,7 @@ module Stripe
146
146
  end
147
147
 
148
148
  class Tax < ::Stripe::RequestParams
149
- # 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.
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
150
  #
151
151
  # This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
152
152
  attr_accessor :total_tax_amount
@@ -155,11 +155,11 @@ module Stripe
155
155
  @total_tax_amount = total_tax_amount
156
156
  end
157
157
  end
158
- # 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.
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
159
  #
160
160
  # This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
161
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 100 line items.
162
+ # A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
163
163
  attr_accessor :line_items
164
164
  # Contains information about the shipping portion of the amount.
165
165
  attr_accessor :shipping
@@ -177,7 +177,7 @@ module Stripe
177
177
  class Hooks < ::Stripe::RequestParams
178
178
  class Inputs < ::Stripe::RequestParams
179
179
  class Tax < ::Stripe::RequestParams
180
- # The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
180
+ # The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
181
181
  attr_accessor :calculation
182
182
 
183
183
  def initialize(calculation: nil)
@@ -239,1646 +239,20 @@ module Stripe
239
239
  end
240
240
 
241
241
  class PaymentDetails < ::Stripe::RequestParams
242
- class CarRental < ::Stripe::RequestParams
243
- class Affiliate < ::Stripe::RequestParams
244
- # The name of the affiliate that originated the purchase.
245
- attr_accessor :name
246
-
247
- def initialize(name: nil)
248
- @name = name
249
- end
250
- end
251
-
252
- class Delivery < ::Stripe::RequestParams
253
- class Recipient < ::Stripe::RequestParams
254
- # The email of the recipient the ticket is delivered to.
255
- attr_accessor :email
256
- # The name of the recipient the ticket is delivered to.
257
- attr_accessor :name
258
- # The phone number of the recipient the ticket is delivered to.
259
- attr_accessor :phone
260
-
261
- def initialize(email: nil, name: nil, phone: nil)
262
- @email = email
263
- @name = name
264
- @phone = phone
265
- end
266
- end
267
- # The delivery method for the payment
268
- attr_accessor :mode
269
- # Details of the recipient.
270
- attr_accessor :recipient
271
-
272
- def initialize(mode: nil, recipient: nil)
273
- @mode = mode
274
- @recipient = recipient
275
- end
276
- end
277
-
278
- class Distance < ::Stripe::RequestParams
279
- # Distance traveled.
280
- attr_accessor :amount
281
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
282
- attr_accessor :unit
283
-
284
- def initialize(amount: nil, unit: nil)
285
- @amount = amount
286
- @unit = unit
287
- end
288
- end
289
-
290
- class Driver < ::Stripe::RequestParams
291
- # Driver's identification number.
292
- attr_accessor :driver_identification_number
293
- # Driver's tax number.
294
- attr_accessor :driver_tax_number
295
- # Full name of the person or entity on the car reservation.
296
- attr_accessor :name
297
-
298
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
299
- @driver_identification_number = driver_identification_number
300
- @driver_tax_number = driver_tax_number
301
- @name = name
302
- end
303
- end
304
-
305
- class PickupAddress < ::Stripe::RequestParams
306
- # City, district, suburb, town, or village.
307
- attr_accessor :city
308
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
309
- attr_accessor :country
310
- # Address line 1, such as the street, PO Box, or company name.
311
- attr_accessor :line1
312
- # Address line 2, such as the apartment, suite, unit, or building.
313
- attr_accessor :line2
314
- # ZIP or postal code.
315
- attr_accessor :postal_code
316
- # State, county, province, or region.
317
- attr_accessor :state
318
-
319
- def initialize(
320
- city: nil,
321
- country: nil,
322
- line1: nil,
323
- line2: nil,
324
- postal_code: nil,
325
- state: nil
326
- )
327
- @city = city
328
- @country = country
329
- @line1 = line1
330
- @line2 = line2
331
- @postal_code = postal_code
332
- @state = state
333
- end
334
- end
335
-
336
- class ReturnAddress < ::Stripe::RequestParams
337
- # City, district, suburb, town, or village.
338
- attr_accessor :city
339
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
340
- attr_accessor :country
341
- # Address line 1, such as the street, PO Box, or company name.
342
- attr_accessor :line1
343
- # Address line 2, such as the apartment, suite, unit, or building.
344
- attr_accessor :line2
345
- # ZIP or postal code.
346
- attr_accessor :postal_code
347
- # State, county, province, or region.
348
- attr_accessor :state
349
-
350
- def initialize(
351
- city: nil,
352
- country: nil,
353
- line1: nil,
354
- line2: nil,
355
- postal_code: nil,
356
- state: nil
357
- )
358
- @city = city
359
- @country = country
360
- @line1 = line1
361
- @line2 = line2
362
- @postal_code = postal_code
363
- @state = state
364
- end
365
- end
366
- # Affiliate details for this purchase.
367
- attr_accessor :affiliate
368
- # The booking number associated with the car rental.
369
- attr_accessor :booking_number
370
- # Class code of the car.
371
- attr_accessor :car_class_code
372
- # Make of the car.
373
- attr_accessor :car_make
374
- # Model of the car.
375
- attr_accessor :car_model
376
- # The name of the rental car company.
377
- attr_accessor :company
378
- # The customer service phone number of the car rental company.
379
- attr_accessor :customer_service_phone_number
380
- # Number of days the car is being rented.
381
- attr_accessor :days_rented
382
- # Delivery details for this purchase.
383
- attr_accessor :delivery
384
- # The details of the distance traveled during the rental period.
385
- attr_accessor :distance
386
- # The details of the passengers in the travel reservation
387
- attr_accessor :drivers
388
- # List of additional charges being billed.
389
- attr_accessor :extra_charges
390
- # Indicates if the customer did not keep nor cancel their booking.
391
- attr_accessor :no_show
392
- # Car pick-up address.
393
- attr_accessor :pickup_address
394
- # Car pick-up time. Measured in seconds since the Unix epoch.
395
- attr_accessor :pickup_at
396
- # Name of the pickup location.
397
- attr_accessor :pickup_location_name
398
- # Rental rate.
399
- attr_accessor :rate_amount
400
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
401
- attr_accessor :rate_interval
402
- # The name of the person or entity renting the car.
403
- attr_accessor :renter_name
404
- # Car return address.
405
- attr_accessor :return_address
406
- # Car return time. Measured in seconds since the Unix epoch.
407
- attr_accessor :return_at
408
- # Name of the return location.
409
- attr_accessor :return_location_name
410
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
411
- attr_accessor :tax_exempt
412
- # The vehicle identification number.
413
- attr_accessor :vehicle_identification_number
414
-
415
- def initialize(
416
- affiliate: nil,
417
- booking_number: nil,
418
- car_class_code: nil,
419
- car_make: nil,
420
- car_model: nil,
421
- company: nil,
422
- customer_service_phone_number: nil,
423
- days_rented: nil,
424
- delivery: nil,
425
- distance: nil,
426
- drivers: nil,
427
- extra_charges: nil,
428
- no_show: nil,
429
- pickup_address: nil,
430
- pickup_at: nil,
431
- pickup_location_name: nil,
432
- rate_amount: nil,
433
- rate_interval: nil,
434
- renter_name: nil,
435
- return_address: nil,
436
- return_at: nil,
437
- return_location_name: nil,
438
- tax_exempt: nil,
439
- vehicle_identification_number: nil
440
- )
441
- @affiliate = affiliate
442
- @booking_number = booking_number
443
- @car_class_code = car_class_code
444
- @car_make = car_make
445
- @car_model = car_model
446
- @company = company
447
- @customer_service_phone_number = customer_service_phone_number
448
- @days_rented = days_rented
449
- @delivery = delivery
450
- @distance = distance
451
- @drivers = drivers
452
- @extra_charges = extra_charges
453
- @no_show = no_show
454
- @pickup_address = pickup_address
455
- @pickup_at = pickup_at
456
- @pickup_location_name = pickup_location_name
457
- @rate_amount = rate_amount
458
- @rate_interval = rate_interval
459
- @renter_name = renter_name
460
- @return_address = return_address
461
- @return_at = return_at
462
- @return_location_name = return_location_name
463
- @tax_exempt = tax_exempt
464
- @vehicle_identification_number = vehicle_identification_number
465
- end
466
- end
467
-
468
- class CarRentalDatum < ::Stripe::RequestParams
469
- class Affiliate < ::Stripe::RequestParams
470
- # Affiliate partner code.
471
- attr_accessor :code
472
- # Name of affiliate partner.
473
- attr_accessor :name
474
-
475
- def initialize(code: nil, name: nil)
476
- @code = code
477
- @name = name
478
- end
479
- end
480
-
481
- class Distance < ::Stripe::RequestParams
482
- # Distance traveled.
483
- attr_accessor :amount
484
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
485
- attr_accessor :unit
486
-
487
- def initialize(amount: nil, unit: nil)
488
- @amount = amount
489
- @unit = unit
490
- end
491
- end
492
-
493
- class Driver < ::Stripe::RequestParams
494
- class DateOfBirth < ::Stripe::RequestParams
495
- # Day of birth (1-31).
496
- attr_accessor :day
497
- # Month of birth (1-12).
498
- attr_accessor :month
499
- # Year of birth (must be greater than 1900).
500
- attr_accessor :year
501
-
502
- def initialize(day: nil, month: nil, year: nil)
503
- @day = day
504
- @month = month
505
- @year = year
506
- end
507
- end
508
- # Driver's date of birth.
509
- attr_accessor :date_of_birth
510
- # Driver's identification number.
511
- attr_accessor :driver_identification_number
512
- # Driver's tax number.
513
- attr_accessor :driver_tax_number
514
- # Driver's full name.
515
- attr_accessor :name
516
-
517
- def initialize(
518
- date_of_birth: nil,
519
- driver_identification_number: nil,
520
- driver_tax_number: nil,
521
- name: nil
522
- )
523
- @date_of_birth = date_of_birth
524
- @driver_identification_number = driver_identification_number
525
- @driver_tax_number = driver_tax_number
526
- @name = name
527
- end
528
- end
529
-
530
- class DropOff < ::Stripe::RequestParams
531
- class Address < ::Stripe::RequestParams
532
- # City, district, suburb, town, or village.
533
- attr_accessor :city
534
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
535
- attr_accessor :country
536
- # Address line 1, such as the street, PO Box, or company name.
537
- attr_accessor :line1
538
- # Address line 2, such as the apartment, suite, unit, or building.
539
- attr_accessor :line2
540
- # ZIP or postal code.
541
- attr_accessor :postal_code
542
- # State, county, province, or region.
543
- attr_accessor :state
544
-
545
- def initialize(
546
- city: nil,
547
- country: nil,
548
- line1: nil,
549
- line2: nil,
550
- postal_code: nil,
551
- state: nil
552
- )
553
- @city = city
554
- @country = country
555
- @line1 = line1
556
- @line2 = line2
557
- @postal_code = postal_code
558
- @state = state
559
- end
560
- end
561
- # Address of the rental location.
562
- attr_accessor :address
563
- # Location name.
564
- attr_accessor :location_name
565
- # Timestamp for the location.
566
- attr_accessor :time
567
-
568
- def initialize(address: nil, location_name: nil, time: nil)
569
- @address = address
570
- @location_name = location_name
571
- @time = time
572
- end
573
- end
574
-
575
- class Insurance < ::Stripe::RequestParams
576
- # Amount of the insurance coverage in cents.
577
- attr_accessor :amount
578
- # Currency of the insurance amount.
579
- attr_accessor :currency
580
- # Name of the insurance company.
581
- attr_accessor :insurance_company_name
582
- # Type of insurance coverage.
583
- attr_accessor :insurance_type
584
-
585
- def initialize(
586
- amount: nil,
587
- currency: nil,
588
- insurance_company_name: nil,
589
- insurance_type: nil
590
- )
591
- @amount = amount
592
- @currency = currency
593
- @insurance_company_name = insurance_company_name
594
- @insurance_type = insurance_type
595
- end
596
- end
597
-
598
- class Pickup < ::Stripe::RequestParams
599
- class Address < ::Stripe::RequestParams
600
- # City, district, suburb, town, or village.
601
- attr_accessor :city
602
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
603
- attr_accessor :country
604
- # Address line 1, such as the street, PO Box, or company name.
605
- attr_accessor :line1
606
- # Address line 2, such as the apartment, suite, unit, or building.
607
- attr_accessor :line2
608
- # ZIP or postal code.
609
- attr_accessor :postal_code
610
- # State, county, province, or region.
611
- attr_accessor :state
612
-
613
- def initialize(
614
- city: nil,
615
- country: nil,
616
- line1: nil,
617
- line2: nil,
618
- postal_code: nil,
619
- state: nil
620
- )
621
- @city = city
622
- @country = country
623
- @line1 = line1
624
- @line2 = line2
625
- @postal_code = postal_code
626
- @state = state
627
- end
628
- end
629
- # Address of the rental location.
630
- attr_accessor :address
631
- # Location name.
632
- attr_accessor :location_name
633
- # Timestamp for the location.
634
- attr_accessor :time
635
-
636
- def initialize(address: nil, location_name: nil, time: nil)
637
- @address = address
638
- @location_name = location_name
639
- @time = time
640
- end
641
- end
642
-
643
- class Total < ::Stripe::RequestParams
644
- class Discounts < ::Stripe::RequestParams
645
- # Corporate client discount code.
646
- attr_accessor :corporate_client_code
647
- # Coupon code applied to the rental.
648
- attr_accessor :coupon
649
- # Maximum number of free miles or kilometers included.
650
- attr_accessor :maximum_free_miles_or_kilometers
651
-
652
- def initialize(
653
- corporate_client_code: nil,
654
- coupon: nil,
655
- maximum_free_miles_or_kilometers: nil
656
- )
657
- @corporate_client_code = corporate_client_code
658
- @coupon = coupon
659
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
660
- end
661
- end
662
-
663
- class ExtraCharge < ::Stripe::RequestParams
664
- # Amount of the extra charge in cents.
665
- attr_accessor :amount
666
- # Type of extra charge.
667
- attr_accessor :type
668
-
669
- def initialize(amount: nil, type: nil)
670
- @amount = amount
671
- @type = type
672
- end
673
- end
674
-
675
- class Tax < ::Stripe::RequestParams
676
- class Tax < ::Stripe::RequestParams
677
- # Tax amount.
678
- attr_accessor :amount
679
- # Tax rate applied.
680
- attr_accessor :rate
681
- # Type of tax applied.
682
- attr_accessor :type
683
-
684
- def initialize(amount: nil, rate: nil, type: nil)
685
- @amount = amount
686
- @rate = rate
687
- @type = type
688
- end
689
- end
690
- # Indicates if the transaction is tax exempt.
691
- attr_accessor :tax_exempt_indicator
692
- # Array of tax details.
693
- attr_accessor :taxes
694
-
695
- def initialize(tax_exempt_indicator: nil, taxes: nil)
696
- @tax_exempt_indicator = tax_exempt_indicator
697
- @taxes = taxes
698
- end
699
- end
700
- # Total amount in cents.
701
- attr_accessor :amount
702
- # Currency of the amount.
703
- attr_accessor :currency
704
- # Discount details for the rental.
705
- attr_accessor :discounts
706
- # Additional charges for the rental.
707
- attr_accessor :extra_charges
708
- # Rate per unit for the rental.
709
- attr_accessor :rate_per_unit
710
- # Unit of measurement for the rate.
711
- attr_accessor :rate_unit
712
- # Tax breakdown for the rental.
713
- attr_accessor :tax
714
-
715
- def initialize(
716
- amount: nil,
717
- currency: nil,
718
- discounts: nil,
719
- extra_charges: nil,
720
- rate_per_unit: nil,
721
- rate_unit: nil,
722
- tax: nil
723
- )
724
- @amount = amount
725
- @currency = currency
726
- @discounts = discounts
727
- @extra_charges = extra_charges
728
- @rate_per_unit = rate_per_unit
729
- @rate_unit = rate_unit
730
- @tax = tax
731
- end
732
- end
733
-
734
- class Vehicle < ::Stripe::RequestParams
735
- # Make of the rental vehicle.
736
- attr_accessor :make
737
- # Model of the rental vehicle.
738
- attr_accessor :model
739
- # Odometer reading at the time of rental.
740
- attr_accessor :odometer
741
- # Type of the rental vehicle.
742
- attr_accessor :type
743
- # Class of the rental vehicle.
744
- attr_accessor :vehicle_class
745
- # Vehicle identification number (VIN).
746
- attr_accessor :vehicle_identification_number
747
-
748
- def initialize(
749
- make: nil,
750
- model: nil,
751
- odometer: nil,
752
- type: nil,
753
- vehicle_class: nil,
754
- vehicle_identification_number: nil
755
- )
756
- @make = make
757
- @model = model
758
- @odometer = odometer
759
- @type = type
760
- @vehicle_class = vehicle_class
761
- @vehicle_identification_number = vehicle_identification_number
762
- end
763
- end
764
- # Affiliate (such as travel agency) details for the rental.
765
- attr_accessor :affiliate
766
- # Booking confirmation number for the car rental.
767
- attr_accessor :booking_number
768
- # Name of the car rental company.
769
- attr_accessor :carrier_name
770
- # Customer service phone number for the car rental company.
771
- attr_accessor :customer_service_phone_number
772
- # Number of days the car is being rented.
773
- attr_accessor :days_rented
774
- # Distance details for the rental.
775
- attr_accessor :distance
776
- # List of drivers for the rental.
777
- attr_accessor :drivers
778
- # Drop-off location details.
779
- attr_accessor :drop_off
780
- # Insurance details for the rental.
781
- attr_accessor :insurances
782
- # Indicates if the customer was a no-show.
783
- attr_accessor :no_show_indicator
784
- # Pickup location details.
785
- attr_accessor :pickup
786
- # Name of the person renting the vehicle.
787
- attr_accessor :renter_name
788
- # Total cost breakdown for the rental.
789
- attr_accessor :total
790
- # Vehicle details for the rental.
791
- attr_accessor :vehicle
792
-
793
- def initialize(
794
- affiliate: nil,
795
- booking_number: nil,
796
- carrier_name: nil,
797
- customer_service_phone_number: nil,
798
- days_rented: nil,
799
- distance: nil,
800
- drivers: nil,
801
- drop_off: nil,
802
- insurances: nil,
803
- no_show_indicator: nil,
804
- pickup: nil,
805
- renter_name: nil,
806
- total: nil,
807
- vehicle: nil
808
- )
809
- @affiliate = affiliate
810
- @booking_number = booking_number
811
- @carrier_name = carrier_name
812
- @customer_service_phone_number = customer_service_phone_number
813
- @days_rented = days_rented
814
- @distance = distance
815
- @drivers = drivers
816
- @drop_off = drop_off
817
- @insurances = insurances
818
- @no_show_indicator = no_show_indicator
819
- @pickup = pickup
820
- @renter_name = renter_name
821
- @total = total
822
- @vehicle = vehicle
823
- end
824
- end
825
-
826
- class EventDetails < ::Stripe::RequestParams
827
- class Address < ::Stripe::RequestParams
828
- # City, district, suburb, town, or village.
829
- attr_accessor :city
830
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
831
- attr_accessor :country
832
- # Address line 1, such as the street, PO Box, or company name.
833
- attr_accessor :line1
834
- # Address line 2, such as the apartment, suite, unit, or building.
835
- attr_accessor :line2
836
- # ZIP or postal code.
837
- attr_accessor :postal_code
838
- # State, county, province, or region.
839
- attr_accessor :state
840
-
841
- def initialize(
842
- city: nil,
843
- country: nil,
844
- line1: nil,
845
- line2: nil,
846
- postal_code: nil,
847
- state: nil
848
- )
849
- @city = city
850
- @country = country
851
- @line1 = line1
852
- @line2 = line2
853
- @postal_code = postal_code
854
- @state = state
855
- end
856
- end
857
-
858
- class Affiliate < ::Stripe::RequestParams
859
- # The name of the affiliate that originated the purchase.
860
- attr_accessor :name
861
-
862
- def initialize(name: nil)
863
- @name = name
864
- end
865
- end
866
-
867
- class Delivery < ::Stripe::RequestParams
868
- class Recipient < ::Stripe::RequestParams
869
- # The email of the recipient the ticket is delivered to.
870
- attr_accessor :email
871
- # The name of the recipient the ticket is delivered to.
872
- attr_accessor :name
873
- # The phone number of the recipient the ticket is delivered to.
874
- attr_accessor :phone
875
-
876
- def initialize(email: nil, name: nil, phone: nil)
877
- @email = email
878
- @name = name
879
- @phone = phone
880
- end
881
- end
882
- # The delivery method for the payment
883
- attr_accessor :mode
884
- # Details of the recipient.
885
- attr_accessor :recipient
886
-
887
- def initialize(mode: nil, recipient: nil)
888
- @mode = mode
889
- @recipient = recipient
890
- end
891
- end
892
- # Indicates if the tickets are digitally checked when entering the venue.
893
- attr_accessor :access_controlled_venue
894
- # The event location's address.
895
- attr_accessor :address
896
- # Affiliate details for this purchase.
897
- attr_accessor :affiliate
898
- # The name of the company
899
- attr_accessor :company
900
- # Delivery details for this purchase.
901
- attr_accessor :delivery
902
- # Event end time. Measured in seconds since the Unix epoch.
903
- attr_accessor :ends_at
904
- # Type of the event entertainment (concert, sports event etc)
905
- attr_accessor :genre
906
- # The name of the event.
907
- attr_accessor :name
908
- # Event start time. Measured in seconds since the Unix epoch.
909
- attr_accessor :starts_at
910
-
911
- def initialize(
912
- access_controlled_venue: nil,
913
- address: nil,
914
- affiliate: nil,
915
- company: nil,
916
- delivery: nil,
917
- ends_at: nil,
918
- genre: nil,
919
- name: nil,
920
- starts_at: nil
921
- )
922
- @access_controlled_venue = access_controlled_venue
923
- @address = address
924
- @affiliate = affiliate
925
- @company = company
926
- @delivery = delivery
927
- @ends_at = ends_at
928
- @genre = genre
929
- @name = name
930
- @starts_at = starts_at
931
- end
932
- end
933
-
934
- class Flight < ::Stripe::RequestParams
935
- class Affiliate < ::Stripe::RequestParams
936
- # The name of the affiliate that originated the purchase.
937
- attr_accessor :name
938
-
939
- def initialize(name: nil)
940
- @name = name
941
- end
942
- end
943
-
944
- class Delivery < ::Stripe::RequestParams
945
- class Recipient < ::Stripe::RequestParams
946
- # The email of the recipient the ticket is delivered to.
947
- attr_accessor :email
948
- # The name of the recipient the ticket is delivered to.
949
- attr_accessor :name
950
- # The phone number of the recipient the ticket is delivered to.
951
- attr_accessor :phone
952
-
953
- def initialize(email: nil, name: nil, phone: nil)
954
- @email = email
955
- @name = name
956
- @phone = phone
957
- end
958
- end
959
- # The delivery method for the payment
960
- attr_accessor :mode
961
- # Details of the recipient.
962
- attr_accessor :recipient
963
-
964
- def initialize(mode: nil, recipient: nil)
965
- @mode = mode
966
- @recipient = recipient
967
- end
968
- end
969
-
970
- class Passenger < ::Stripe::RequestParams
971
- # Full name of the person or entity on the flight reservation.
972
- attr_accessor :name
973
-
974
- def initialize(name: nil)
975
- @name = name
976
- end
977
- end
978
-
979
- class Segment < ::Stripe::RequestParams
980
- # The flight segment amount.
981
- attr_accessor :amount
982
- # The International Air Transport Association (IATA) airport code for the arrival airport.
983
- attr_accessor :arrival_airport
984
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
985
- attr_accessor :arrives_at
986
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
987
- attr_accessor :carrier
988
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
989
- attr_accessor :departs_at
990
- # The International Air Transport Association (IATA) airport code for the departure airport.
991
- attr_accessor :departure_airport
992
- # The flight number associated with the segment
993
- attr_accessor :flight_number
994
- # The fare class for the segment.
995
- attr_accessor :service_class
996
-
997
- def initialize(
998
- amount: nil,
999
- arrival_airport: nil,
1000
- arrives_at: nil,
1001
- carrier: nil,
1002
- departs_at: nil,
1003
- departure_airport: nil,
1004
- flight_number: nil,
1005
- service_class: nil
1006
- )
1007
- @amount = amount
1008
- @arrival_airport = arrival_airport
1009
- @arrives_at = arrives_at
1010
- @carrier = carrier
1011
- @departs_at = departs_at
1012
- @departure_airport = departure_airport
1013
- @flight_number = flight_number
1014
- @service_class = service_class
1015
- end
1016
- end
1017
- # Affiliate details for this purchase.
1018
- attr_accessor :affiliate
1019
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1020
- attr_accessor :agency_number
1021
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1022
- attr_accessor :carrier
1023
- # Delivery details for this purchase.
1024
- attr_accessor :delivery
1025
- # The name of the person or entity on the reservation.
1026
- attr_accessor :passenger_name
1027
- # The details of the passengers in the travel reservation.
1028
- attr_accessor :passengers
1029
- # The individual flight segments associated with the trip.
1030
- attr_accessor :segments
1031
- # The ticket number associated with the travel reservation.
1032
- attr_accessor :ticket_number
1033
-
1034
- def initialize(
1035
- affiliate: nil,
1036
- agency_number: nil,
1037
- carrier: nil,
1038
- delivery: nil,
1039
- passenger_name: nil,
1040
- passengers: nil,
1041
- segments: nil,
1042
- ticket_number: nil
1043
- )
1044
- @affiliate = affiliate
1045
- @agency_number = agency_number
1046
- @carrier = carrier
1047
- @delivery = delivery
1048
- @passenger_name = passenger_name
1049
- @passengers = passengers
1050
- @segments = segments
1051
- @ticket_number = ticket_number
1052
- end
1053
- end
1054
-
1055
- class FlightDatum < ::Stripe::RequestParams
1056
- class Affiliate < ::Stripe::RequestParams
1057
- # Affiliate partner code.
1058
- attr_accessor :code
1059
- # Name of affiliate partner.
1060
- attr_accessor :name
1061
- # Code provided by the company to a travel agent authorizing ticket issuance.
1062
- attr_accessor :travel_authorization_code
1063
-
1064
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1065
- @code = code
1066
- @name = name
1067
- @travel_authorization_code = travel_authorization_code
1068
- end
1069
- end
1070
-
1071
- class Insurance < ::Stripe::RequestParams
1072
- # Insurance cost.
1073
- attr_accessor :amount
1074
- # Insurance currency.
1075
- attr_accessor :currency
1076
- # Insurance company name.
1077
- attr_accessor :insurance_company_name
1078
- # Type of insurance.
1079
- attr_accessor :insurance_type
1080
-
1081
- def initialize(
1082
- amount: nil,
1083
- currency: nil,
1084
- insurance_company_name: nil,
1085
- insurance_type: nil
1086
- )
1087
- @amount = amount
1088
- @currency = currency
1089
- @insurance_company_name = insurance_company_name
1090
- @insurance_type = insurance_type
1091
- end
1092
- end
1093
-
1094
- class Passenger < ::Stripe::RequestParams
1095
- # Passenger's full name.
1096
- attr_accessor :name
1097
-
1098
- def initialize(name: nil)
1099
- @name = name
1100
- end
1101
- end
1102
-
1103
- class Segment < ::Stripe::RequestParams
1104
- class Arrival < ::Stripe::RequestParams
1105
- # Arrival airport IATA code.
1106
- attr_accessor :airport
1107
- # Arrival date/time.
1108
- attr_accessor :arrives_at
1109
- # Arrival city.
1110
- attr_accessor :city
1111
- # Arrival country.
1112
- attr_accessor :country
1113
-
1114
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1115
- @airport = airport
1116
- @arrives_at = arrives_at
1117
- @city = city
1118
- @country = country
1119
- end
1120
- end
1121
-
1122
- class Departure < ::Stripe::RequestParams
1123
- # Departure airport IATA code.
1124
- attr_accessor :airport
1125
- # Departure city.
1126
- attr_accessor :city
1127
- # Departure country.
1128
- attr_accessor :country
1129
- # Departure date/time.
1130
- attr_accessor :departs_at
1131
-
1132
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1133
- @airport = airport
1134
- @city = city
1135
- @country = country
1136
- @departs_at = departs_at
1137
- end
1138
- end
1139
- # Segment fare amount.
1140
- attr_accessor :amount
1141
- # Arrival details.
1142
- attr_accessor :arrival
1143
- # Airline carrier code.
1144
- attr_accessor :carrier_code
1145
- # Carrier name.
1146
- attr_accessor :carrier_name
1147
- # Segment currency.
1148
- attr_accessor :currency
1149
- # Departure details.
1150
- attr_accessor :departure
1151
- # Exchange ticket number.
1152
- attr_accessor :exchange_ticket_number
1153
- # Fare basis code.
1154
- attr_accessor :fare_basis_code
1155
- # Additional fees.
1156
- attr_accessor :fees
1157
- # Flight number.
1158
- attr_accessor :flight_number
1159
- # Stopover indicator.
1160
- attr_accessor :is_stop_over_indicator
1161
- # Refundable ticket indicator.
1162
- attr_accessor :refundable
1163
- # Class of service.
1164
- attr_accessor :service_class
1165
- # Tax amount for segment.
1166
- attr_accessor :tax_amount
1167
- # Ticket number.
1168
- attr_accessor :ticket_number
1169
-
1170
- def initialize(
1171
- amount: nil,
1172
- arrival: nil,
1173
- carrier_code: nil,
1174
- carrier_name: nil,
1175
- currency: nil,
1176
- departure: nil,
1177
- exchange_ticket_number: nil,
1178
- fare_basis_code: nil,
1179
- fees: nil,
1180
- flight_number: nil,
1181
- is_stop_over_indicator: nil,
1182
- refundable: nil,
1183
- service_class: nil,
1184
- tax_amount: nil,
1185
- ticket_number: nil
1186
- )
1187
- @amount = amount
1188
- @arrival = arrival
1189
- @carrier_code = carrier_code
1190
- @carrier_name = carrier_name
1191
- @currency = currency
1192
- @departure = departure
1193
- @exchange_ticket_number = exchange_ticket_number
1194
- @fare_basis_code = fare_basis_code
1195
- @fees = fees
1196
- @flight_number = flight_number
1197
- @is_stop_over_indicator = is_stop_over_indicator
1198
- @refundable = refundable
1199
- @service_class = service_class
1200
- @tax_amount = tax_amount
1201
- @ticket_number = ticket_number
1202
- end
1203
- end
1204
-
1205
- class Total < ::Stripe::RequestParams
1206
- class Discounts < ::Stripe::RequestParams
1207
- # Corporate client discount code.
1208
- attr_accessor :corporate_client_code
1209
-
1210
- def initialize(corporate_client_code: nil)
1211
- @corporate_client_code = corporate_client_code
1212
- end
1213
- end
1214
-
1215
- class ExtraCharge < ::Stripe::RequestParams
1216
- # Amount of additional charges.
1217
- attr_accessor :amount
1218
- # Type of additional charges.
1219
- attr_accessor :type
1220
-
1221
- def initialize(amount: nil, type: nil)
1222
- @amount = amount
1223
- @type = type
1224
- end
1225
- end
1226
-
1227
- class Tax < ::Stripe::RequestParams
1228
- class Tax < ::Stripe::RequestParams
1229
- # Tax amount.
1230
- attr_accessor :amount
1231
- # Tax rate.
1232
- attr_accessor :rate
1233
- # Type of tax.
1234
- attr_accessor :type
1235
-
1236
- def initialize(amount: nil, rate: nil, type: nil)
1237
- @amount = amount
1238
- @rate = rate
1239
- @type = type
1240
- end
1241
- end
1242
- # Array of tax details.
1243
- attr_accessor :taxes
1244
-
1245
- def initialize(taxes: nil)
1246
- @taxes = taxes
1247
- end
1248
- end
1249
- # Total flight amount.
1250
- attr_accessor :amount
1251
- # Reason for credit.
1252
- attr_accessor :credit_reason
1253
- # Total currency.
1254
- attr_accessor :currency
1255
- # Discount details.
1256
- attr_accessor :discounts
1257
- # Additional charges.
1258
- attr_accessor :extra_charges
1259
- # Tax breakdown.
1260
- attr_accessor :tax
1261
-
1262
- def initialize(
1263
- amount: nil,
1264
- credit_reason: nil,
1265
- currency: nil,
1266
- discounts: nil,
1267
- extra_charges: nil,
1268
- tax: nil
1269
- )
1270
- @amount = amount
1271
- @credit_reason = credit_reason
1272
- @currency = currency
1273
- @discounts = discounts
1274
- @extra_charges = extra_charges
1275
- @tax = tax
1276
- end
1277
- end
1278
- # Affiliate details if applicable.
1279
- attr_accessor :affiliate
1280
- # Reservation reference.
1281
- attr_accessor :booking_number
1282
- # Computerized reservation system used to make the reservation and purchase the ticket.
1283
- attr_accessor :computerized_reservation_system
1284
- # Ticket restrictions.
1285
- attr_accessor :endorsements_and_restrictions
1286
- # List of insurances.
1287
- attr_accessor :insurances
1288
- # List of passengers.
1289
- attr_accessor :passengers
1290
- # List of flight segments.
1291
- attr_accessor :segments
1292
- # Electronic ticket indicator.
1293
- attr_accessor :ticket_electronically_issued_indicator
1294
- # Total cost breakdown.
1295
- attr_accessor :total
1296
- # Type of flight transaction.
1297
- attr_accessor :transaction_type
1298
-
1299
- def initialize(
1300
- affiliate: nil,
1301
- booking_number: nil,
1302
- computerized_reservation_system: nil,
1303
- endorsements_and_restrictions: nil,
1304
- insurances: nil,
1305
- passengers: nil,
1306
- segments: nil,
1307
- ticket_electronically_issued_indicator: nil,
1308
- total: nil,
1309
- transaction_type: nil
1310
- )
1311
- @affiliate = affiliate
1312
- @booking_number = booking_number
1313
- @computerized_reservation_system = computerized_reservation_system
1314
- @endorsements_and_restrictions = endorsements_and_restrictions
1315
- @insurances = insurances
1316
- @passengers = passengers
1317
- @segments = segments
1318
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1319
- @total = total
1320
- @transaction_type = transaction_type
1321
- end
1322
- end
1323
-
1324
- class Lodging < ::Stripe::RequestParams
1325
- class Address < ::Stripe::RequestParams
1326
- # City, district, suburb, town, or village.
1327
- attr_accessor :city
1328
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1329
- attr_accessor :country
1330
- # Address line 1, such as the street, PO Box, or company name.
1331
- attr_accessor :line1
1332
- # Address line 2, such as the apartment, suite, unit, or building.
1333
- attr_accessor :line2
1334
- # ZIP or postal code.
1335
- attr_accessor :postal_code
1336
- # State, county, province, or region.
1337
- attr_accessor :state
1338
-
1339
- def initialize(
1340
- city: nil,
1341
- country: nil,
1342
- line1: nil,
1343
- line2: nil,
1344
- postal_code: nil,
1345
- state: nil
1346
- )
1347
- @city = city
1348
- @country = country
1349
- @line1 = line1
1350
- @line2 = line2
1351
- @postal_code = postal_code
1352
- @state = state
1353
- end
1354
- end
1355
-
1356
- class Affiliate < ::Stripe::RequestParams
1357
- # The name of the affiliate that originated the purchase.
1358
- attr_accessor :name
1359
-
1360
- def initialize(name: nil)
1361
- @name = name
1362
- end
1363
- end
1364
-
1365
- class Delivery < ::Stripe::RequestParams
1366
- class Recipient < ::Stripe::RequestParams
1367
- # The email of the recipient the ticket is delivered to.
1368
- attr_accessor :email
1369
- # The name of the recipient the ticket is delivered to.
1370
- attr_accessor :name
1371
- # The phone number of the recipient the ticket is delivered to.
1372
- attr_accessor :phone
1373
-
1374
- def initialize(email: nil, name: nil, phone: nil)
1375
- @email = email
1376
- @name = name
1377
- @phone = phone
1378
- end
1379
- end
1380
- # The delivery method for the payment
1381
- attr_accessor :mode
1382
- # Details of the recipient.
1383
- attr_accessor :recipient
1384
-
1385
- def initialize(mode: nil, recipient: nil)
1386
- @mode = mode
1387
- @recipient = recipient
1388
- end
1389
- end
1390
-
1391
- class Passenger < ::Stripe::RequestParams
1392
- # Full name of the person or entity on the lodging reservation.
1393
- attr_accessor :name
1394
-
1395
- def initialize(name: nil)
1396
- @name = name
1397
- end
1398
- end
1399
- # The lodging location's address.
1400
- attr_accessor :address
1401
- # The number of adults on the booking
1402
- attr_accessor :adults
1403
- # Affiliate details for this purchase.
1404
- attr_accessor :affiliate
1405
- # The booking number associated with the lodging reservation.
1406
- attr_accessor :booking_number
1407
- # The lodging category
1408
- attr_accessor :category
1409
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1410
- attr_accessor :checkin_at
1411
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1412
- attr_accessor :checkout_at
1413
- # The customer service phone number of the lodging company.
1414
- attr_accessor :customer_service_phone_number
1415
- # The daily lodging room rate.
1416
- attr_accessor :daily_room_rate_amount
1417
- # Delivery details for this purchase.
1418
- attr_accessor :delivery
1419
- # List of additional charges being billed.
1420
- attr_accessor :extra_charges
1421
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1422
- attr_accessor :fire_safety_act_compliance
1423
- # The name of the lodging location.
1424
- attr_accessor :name
1425
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1426
- attr_accessor :no_show
1427
- # The number of rooms on the booking
1428
- attr_accessor :number_of_rooms
1429
- # The details of the passengers in the travel reservation
1430
- attr_accessor :passengers
1431
- # The phone number of the lodging location.
1432
- attr_accessor :property_phone_number
1433
- # The room class for this purchase.
1434
- attr_accessor :room_class
1435
- # The number of room nights
1436
- attr_accessor :room_nights
1437
- # The total tax amount associating with the room reservation.
1438
- attr_accessor :total_room_tax_amount
1439
- # The total tax amount
1440
- attr_accessor :total_tax_amount
1441
-
1442
- def initialize(
1443
- address: nil,
1444
- adults: nil,
1445
- affiliate: nil,
1446
- booking_number: nil,
1447
- category: nil,
1448
- checkin_at: nil,
1449
- checkout_at: nil,
1450
- customer_service_phone_number: nil,
1451
- daily_room_rate_amount: nil,
1452
- delivery: nil,
1453
- extra_charges: nil,
1454
- fire_safety_act_compliance: nil,
1455
- name: nil,
1456
- no_show: nil,
1457
- number_of_rooms: nil,
1458
- passengers: nil,
1459
- property_phone_number: nil,
1460
- room_class: nil,
1461
- room_nights: nil,
1462
- total_room_tax_amount: nil,
1463
- total_tax_amount: nil
1464
- )
1465
- @address = address
1466
- @adults = adults
1467
- @affiliate = affiliate
1468
- @booking_number = booking_number
1469
- @category = category
1470
- @checkin_at = checkin_at
1471
- @checkout_at = checkout_at
1472
- @customer_service_phone_number = customer_service_phone_number
1473
- @daily_room_rate_amount = daily_room_rate_amount
1474
- @delivery = delivery
1475
- @extra_charges = extra_charges
1476
- @fire_safety_act_compliance = fire_safety_act_compliance
1477
- @name = name
1478
- @no_show = no_show
1479
- @number_of_rooms = number_of_rooms
1480
- @passengers = passengers
1481
- @property_phone_number = property_phone_number
1482
- @room_class = room_class
1483
- @room_nights = room_nights
1484
- @total_room_tax_amount = total_room_tax_amount
1485
- @total_tax_amount = total_tax_amount
1486
- end
1487
- end
1488
-
1489
- class LodgingDatum < ::Stripe::RequestParams
1490
- class Accommodation < ::Stripe::RequestParams
1491
- # Type of accommodation.
1492
- attr_accessor :accommodation_type
1493
- # Bed type.
1494
- attr_accessor :bed_type
1495
- # Daily accommodation rate in cents.
1496
- attr_accessor :daily_rate_amount
1497
- # Number of nights.
1498
- attr_accessor :nights
1499
- # Number of rooms, cabanas, apartments, and so on.
1500
- attr_accessor :number_of_rooms
1501
- # Rate type.
1502
- attr_accessor :rate_type
1503
- # Whether smoking is allowed.
1504
- attr_accessor :smoking_indicator
1505
-
1506
- def initialize(
1507
- accommodation_type: nil,
1508
- bed_type: nil,
1509
- daily_rate_amount: nil,
1510
- nights: nil,
1511
- number_of_rooms: nil,
1512
- rate_type: nil,
1513
- smoking_indicator: nil
1514
- )
1515
- @accommodation_type = accommodation_type
1516
- @bed_type = bed_type
1517
- @daily_rate_amount = daily_rate_amount
1518
- @nights = nights
1519
- @number_of_rooms = number_of_rooms
1520
- @rate_type = rate_type
1521
- @smoking_indicator = smoking_indicator
1522
- end
1523
- end
1524
-
1525
- class Affiliate < ::Stripe::RequestParams
1526
- # Affiliate partner code.
1527
- attr_accessor :code
1528
- # Affiliate partner name.
1529
- attr_accessor :name
1530
-
1531
- def initialize(code: nil, name: nil)
1532
- @code = code
1533
- @name = name
1534
- end
1535
- end
1536
-
1537
- class Guest < ::Stripe::RequestParams
1538
- # Guest's full name.
1539
- attr_accessor :name
1540
-
1541
- def initialize(name: nil)
1542
- @name = name
1543
- end
1544
- end
1545
-
1546
- class Host < ::Stripe::RequestParams
1547
- class Address < ::Stripe::RequestParams
1548
- # City, district, suburb, town, or village.
1549
- attr_accessor :city
1550
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1551
- attr_accessor :country
1552
- # Address line 1, such as the street, PO Box, or company name.
1553
- attr_accessor :line1
1554
- # Address line 2, such as the apartment, suite, unit, or building.
1555
- attr_accessor :line2
1556
- # ZIP or postal code.
1557
- attr_accessor :postal_code
1558
- # State, county, province, or region.
1559
- attr_accessor :state
1560
-
1561
- def initialize(
1562
- city: nil,
1563
- country: nil,
1564
- line1: nil,
1565
- line2: nil,
1566
- postal_code: nil,
1567
- state: nil
1568
- )
1569
- @city = city
1570
- @country = country
1571
- @line1 = line1
1572
- @line2 = line2
1573
- @postal_code = postal_code
1574
- @state = state
1575
- end
1576
- end
1577
- # Address of the host.
1578
- attr_accessor :address
1579
- # Host's country of domicile.
1580
- attr_accessor :country_of_domicile
1581
- # Reference number for the host.
1582
- attr_accessor :host_reference
1583
- # Type of host.
1584
- attr_accessor :host_type
1585
- # Name of the lodging property or host.
1586
- attr_accessor :name
1587
- # Total number of reservations for the host.
1588
- attr_accessor :number_of_reservations
1589
- # Property phone number.
1590
- attr_accessor :property_phone_number
1591
- # Host's registration date.
1592
- attr_accessor :registered_at
1593
-
1594
- def initialize(
1595
- address: nil,
1596
- country_of_domicile: nil,
1597
- host_reference: nil,
1598
- host_type: nil,
1599
- name: nil,
1600
- number_of_reservations: nil,
1601
- property_phone_number: nil,
1602
- registered_at: nil
1603
- )
1604
- @address = address
1605
- @country_of_domicile = country_of_domicile
1606
- @host_reference = host_reference
1607
- @host_type = host_type
1608
- @name = name
1609
- @number_of_reservations = number_of_reservations
1610
- @property_phone_number = property_phone_number
1611
- @registered_at = registered_at
1612
- end
1613
- end
1614
-
1615
- class Insurance < ::Stripe::RequestParams
1616
- # Price of the insurance coverage in cents.
1617
- attr_accessor :amount
1618
- # Currency of the insurance amount.
1619
- attr_accessor :currency
1620
- # Name of the insurance company.
1621
- attr_accessor :insurance_company_name
1622
- # Type of insurance coverage.
1623
- attr_accessor :insurance_type
1624
-
1625
- def initialize(
1626
- amount: nil,
1627
- currency: nil,
1628
- insurance_company_name: nil,
1629
- insurance_type: nil
1630
- )
1631
- @amount = amount
1632
- @currency = currency
1633
- @insurance_company_name = insurance_company_name
1634
- @insurance_type = insurance_type
1635
- end
1636
- end
1637
-
1638
- class Total < ::Stripe::RequestParams
1639
- class Discounts < ::Stripe::RequestParams
1640
- # Corporate client discount code.
1641
- attr_accessor :corporate_client_code
1642
- # Coupon code.
1643
- attr_accessor :coupon
1644
-
1645
- def initialize(corporate_client_code: nil, coupon: nil)
1646
- @corporate_client_code = corporate_client_code
1647
- @coupon = coupon
1648
- end
1649
- end
1650
-
1651
- class ExtraCharge < ::Stripe::RequestParams
1652
- # Amount of the extra charge in cents.
1653
- attr_accessor :amount
1654
- # Type of extra charge.
1655
- attr_accessor :type
1656
-
1657
- def initialize(amount: nil, type: nil)
1658
- @amount = amount
1659
- @type = type
1660
- end
1661
- end
1662
-
1663
- class Tax < ::Stripe::RequestParams
1664
- class Tax < ::Stripe::RequestParams
1665
- # Tax amount in cents.
1666
- attr_accessor :amount
1667
- # Tax rate.
1668
- attr_accessor :rate
1669
- # Type of tax applied.
1670
- attr_accessor :type
1671
-
1672
- def initialize(amount: nil, rate: nil, type: nil)
1673
- @amount = amount
1674
- @rate = rate
1675
- @type = type
1676
- end
1677
- end
1678
- # Indicates whether the transaction is tax exempt.
1679
- attr_accessor :tax_exempt_indicator
1680
- # Tax details.
1681
- attr_accessor :taxes
1682
-
1683
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1684
- @tax_exempt_indicator = tax_exempt_indicator
1685
- @taxes = taxes
1686
- end
1687
- end
1688
- # Total price of the lodging reservation in cents.
1689
- attr_accessor :amount
1690
- # Cash advances in cents.
1691
- attr_accessor :cash_advances
1692
- # Currency of the total amount.
1693
- attr_accessor :currency
1694
- # Discount details for the lodging.
1695
- attr_accessor :discounts
1696
- # Additional charges for the lodging.
1697
- attr_accessor :extra_charges
1698
- # Prepaid amount in cents.
1699
- attr_accessor :prepaid_amount
1700
- # Tax breakdown for the lodging reservation.
1701
- attr_accessor :tax
1702
-
1703
- def initialize(
1704
- amount: nil,
1705
- cash_advances: nil,
1706
- currency: nil,
1707
- discounts: nil,
1708
- extra_charges: nil,
1709
- prepaid_amount: nil,
1710
- tax: nil
1711
- )
1712
- @amount = amount
1713
- @cash_advances = cash_advances
1714
- @currency = currency
1715
- @discounts = discounts
1716
- @extra_charges = extra_charges
1717
- @prepaid_amount = prepaid_amount
1718
- @tax = tax
1719
- end
1720
- end
1721
- # Accommodation details for the lodging.
1722
- attr_accessor :accommodation
1723
- # Affiliate details if applicable.
1724
- attr_accessor :affiliate
1725
- # Booking confirmation number for the lodging.
1726
- attr_accessor :booking_number
1727
- # Check-in date.
1728
- attr_accessor :checkin_at
1729
- # Check-out date.
1730
- attr_accessor :checkout_at
1731
- # Customer service phone number for the lodging company.
1732
- attr_accessor :customer_service_phone_number
1733
- # Whether the lodging is compliant with any hotel fire safety regulations.
1734
- attr_accessor :fire_safety_act_compliance_indicator
1735
- # List of guests for the lodging.
1736
- attr_accessor :guests
1737
- # Host details for the lodging.
1738
- attr_accessor :host
1739
- # List of insurances for the lodging.
1740
- attr_accessor :insurances
1741
- # Whether the renter is a no-show.
1742
- attr_accessor :no_show_indicator
1743
- # Renter ID number for the lodging.
1744
- attr_accessor :renter_id_number
1745
- # Renter name for the lodging.
1746
- attr_accessor :renter_name
1747
- # Total details for the lodging.
1748
- attr_accessor :total
1749
-
1750
- def initialize(
1751
- accommodation: nil,
1752
- affiliate: nil,
1753
- booking_number: nil,
1754
- checkin_at: nil,
1755
- checkout_at: nil,
1756
- customer_service_phone_number: nil,
1757
- fire_safety_act_compliance_indicator: nil,
1758
- guests: nil,
1759
- host: nil,
1760
- insurances: nil,
1761
- no_show_indicator: nil,
1762
- renter_id_number: nil,
1763
- renter_name: nil,
1764
- total: nil
1765
- )
1766
- @accommodation = accommodation
1767
- @affiliate = affiliate
1768
- @booking_number = booking_number
1769
- @checkin_at = checkin_at
1770
- @checkout_at = checkout_at
1771
- @customer_service_phone_number = customer_service_phone_number
1772
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1773
- @guests = guests
1774
- @host = host
1775
- @insurances = insurances
1776
- @no_show_indicator = no_show_indicator
1777
- @renter_id_number = renter_id_number
1778
- @renter_name = renter_name
1779
- @total = total
1780
- end
1781
- end
1782
-
1783
- class Subscription < ::Stripe::RequestParams
1784
- class Affiliate < ::Stripe::RequestParams
1785
- # The name of the affiliate that originated the purchase.
1786
- attr_accessor :name
1787
-
1788
- def initialize(name: nil)
1789
- @name = name
1790
- end
1791
- end
1792
-
1793
- class BillingInterval < ::Stripe::RequestParams
1794
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1795
- attr_accessor :count
1796
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1797
- attr_accessor :interval
1798
-
1799
- def initialize(count: nil, interval: nil)
1800
- @count = count
1801
- @interval = interval
1802
- end
1803
- end
1804
- # Affiliate details for this purchase.
1805
- attr_accessor :affiliate
1806
- # Info whether the subscription will be auto renewed upon expiry.
1807
- attr_accessor :auto_renewal
1808
- # Subscription billing details for this purchase.
1809
- attr_accessor :billing_interval
1810
- # Subscription end time. Measured in seconds since the Unix epoch.
1811
- attr_accessor :ends_at
1812
- # Name of the product on subscription. e.g. Apple Music Subscription
1813
- attr_accessor :name
1814
- # Subscription start time. Measured in seconds since the Unix epoch.
1815
- attr_accessor :starts_at
1816
-
1817
- def initialize(
1818
- affiliate: nil,
1819
- auto_renewal: nil,
1820
- billing_interval: nil,
1821
- ends_at: nil,
1822
- name: nil,
1823
- starts_at: nil
1824
- )
1825
- @affiliate = affiliate
1826
- @auto_renewal = auto_renewal
1827
- @billing_interval = billing_interval
1828
- @ends_at = ends_at
1829
- @name = name
1830
- @starts_at = starts_at
1831
- end
1832
- end
1833
- # Car rental details for this PaymentIntent.
1834
- attr_accessor :car_rental
1835
- # Car rental data for this PaymentIntent.
1836
- attr_accessor :car_rental_data
1837
242
  # A unique value to identify the customer. This field is available only for card payments.
1838
243
  #
1839
244
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1840
245
  attr_accessor :customer_reference
1841
- # Event details for this PaymentIntent
1842
- attr_accessor :event_details
1843
- # Flight reservation details for this PaymentIntent
1844
- attr_accessor :flight
1845
- # Flight data for this PaymentIntent.
1846
- attr_accessor :flight_data
1847
- # Lodging reservation details for this PaymentIntent
1848
- attr_accessor :lodging
1849
- # Lodging data for this PaymentIntent.
1850
- attr_accessor :lodging_data
1851
246
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1852
247
  #
1853
248
  # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
1854
249
  #
1855
250
  # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
1856
251
  attr_accessor :order_reference
1857
- # Subscription details for this PaymentIntent
1858
- attr_accessor :subscription
1859
252
 
1860
- def initialize(
1861
- car_rental: nil,
1862
- car_rental_data: nil,
1863
- customer_reference: nil,
1864
- event_details: nil,
1865
- flight: nil,
1866
- flight_data: nil,
1867
- lodging: nil,
1868
- lodging_data: nil,
1869
- order_reference: nil,
1870
- subscription: nil
1871
- )
1872
- @car_rental = car_rental
1873
- @car_rental_data = car_rental_data
253
+ def initialize(customer_reference: nil, order_reference: nil)
1874
254
  @customer_reference = customer_reference
1875
- @event_details = event_details
1876
- @flight = flight
1877
- @flight_data = flight_data
1878
- @lodging = lodging
1879
- @lodging_data = lodging_data
1880
255
  @order_reference = order_reference
1881
- @subscription = subscription
1882
256
  end
1883
257
  end
1884
258
 
@@ -1943,7 +317,7 @@ module Stripe
1943
317
  attr_accessor :line2
1944
318
  # ZIP or postal code.
1945
319
  attr_accessor :postal_code
1946
- # State, county, province, or region.
320
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1947
321
  attr_accessor :state
1948
322
 
1949
323
  def initialize(
@@ -2019,18 +393,8 @@ module Stripe
2019
393
  end
2020
394
 
2021
395
  class Giropay < ::Stripe::RequestParams; end
2022
- class Gopay < ::Stripe::RequestParams; end
2023
396
  class Grabpay < ::Stripe::RequestParams; end
2024
397
 
2025
- class IdBankTransfer < ::Stripe::RequestParams
2026
- # Bank where the account is held.
2027
- attr_accessor :bank
2028
-
2029
- def initialize(bank: nil)
2030
- @bank = bank
2031
- end
2032
- end
2033
-
2034
398
  class Ideal < ::Stripe::RequestParams
2035
399
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2036
400
  attr_accessor :bank
@@ -2128,7 +492,6 @@ module Stripe
2128
492
  class Payco < ::Stripe::RequestParams; end
2129
493
  class Paynow < ::Stripe::RequestParams; end
2130
494
  class Paypal < ::Stripe::RequestParams; end
2131
- class Paypay < ::Stripe::RequestParams; end
2132
495
 
2133
496
  class Payto < ::Stripe::RequestParams
2134
497
  # The account number for the bank account.
@@ -2147,10 +510,9 @@ module Stripe
2147
510
 
2148
511
  class Pix < ::Stripe::RequestParams; end
2149
512
  class Promptpay < ::Stripe::RequestParams; end
2150
- class Qris < ::Stripe::RequestParams; end
2151
513
 
2152
514
  class RadarOptions < ::Stripe::RequestParams
2153
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
515
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2154
516
  attr_accessor :session
2155
517
 
2156
518
  def initialize(session: nil)
@@ -2158,29 +520,6 @@ module Stripe
2158
520
  end
2159
521
  end
2160
522
 
2161
- class Rechnung < ::Stripe::RequestParams
2162
- class Dob < ::Stripe::RequestParams
2163
- # The day of birth, between 1 and 31.
2164
- attr_accessor :day
2165
- # The month of birth, between 1 and 12.
2166
- attr_accessor :month
2167
- # The four-digit year of birth.
2168
- attr_accessor :year
2169
-
2170
- def initialize(day: nil, month: nil, year: nil)
2171
- @day = day
2172
- @month = month
2173
- @year = year
2174
- end
2175
- end
2176
- # Customer's date of birth
2177
- attr_accessor :dob
2178
-
2179
- def initialize(dob: nil)
2180
- @dob = dob
2181
- end
2182
- end
2183
-
2184
523
  class RevolutPay < ::Stripe::RequestParams; end
2185
524
  class SamsungPay < ::Stripe::RequestParams; end
2186
525
  class Satispay < ::Stripe::RequestParams; end
@@ -2194,8 +533,6 @@ module Stripe
2194
533
  end
2195
534
  end
2196
535
 
2197
- class Shopeepay < ::Stripe::RequestParams; end
2198
-
2199
536
  class Sofort < ::Stripe::RequestParams
2200
537
  # Two-letter ISO code representing the country the bank account is located in.
2201
538
  attr_accessor :country
@@ -2205,18 +542,6 @@ module Stripe
2205
542
  end
2206
543
  end
2207
544
 
2208
- class StripeBalance < ::Stripe::RequestParams
2209
- # The connected account ID whose Stripe balance to use as the source of payment
2210
- attr_accessor :account
2211
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2212
- attr_accessor :source_type
2213
-
2214
- def initialize(account: nil, source_type: nil)
2215
- @account = account
2216
- @source_type = source_type
2217
- end
2218
- end
2219
-
2220
545
  class Swish < ::Stripe::RequestParams; end
2221
546
  class Twint < ::Stripe::RequestParams; end
2222
547
 
@@ -2289,12 +614,8 @@ module Stripe
2289
614
  attr_accessor :fpx
2290
615
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2291
616
  attr_accessor :giropay
2292
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2293
- attr_accessor :gopay
2294
617
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2295
618
  attr_accessor :grabpay
2296
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2297
- attr_accessor :id_bank_transfer
2298
619
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2299
620
  attr_accessor :ideal
2300
621
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2311,7 +632,7 @@ module Stripe
2311
632
  attr_accessor :link
2312
633
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2313
634
  attr_accessor :mb_way
2314
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
635
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2315
636
  attr_accessor :metadata
2316
637
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2317
638
  attr_accessor :mobilepay
@@ -2333,20 +654,14 @@ module Stripe
2333
654
  attr_accessor :paynow
2334
655
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2335
656
  attr_accessor :paypal
2336
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2337
- attr_accessor :paypay
2338
657
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2339
658
  attr_accessor :payto
2340
659
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2341
660
  attr_accessor :pix
2342
661
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2343
662
  attr_accessor :promptpay
2344
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2345
- attr_accessor :qris
2346
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
663
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2347
664
  attr_accessor :radar_options
2348
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2349
- attr_accessor :rechnung
2350
665
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2351
666
  attr_accessor :revolut_pay
2352
667
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2355,12 +670,8 @@ module Stripe
2355
670
  attr_accessor :satispay
2356
671
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2357
672
  attr_accessor :sepa_debit
2358
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2359
- attr_accessor :shopeepay
2360
673
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2361
674
  attr_accessor :sofort
2362
- # This hash contains details about the Stripe balance payment method.
2363
- attr_accessor :stripe_balance
2364
675
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2365
676
  attr_accessor :swish
2366
677
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2395,9 +706,7 @@ module Stripe
2395
706
  eps: nil,
2396
707
  fpx: nil,
2397
708
  giropay: nil,
2398
- gopay: nil,
2399
709
  grabpay: nil,
2400
- id_bank_transfer: nil,
2401
710
  ideal: nil,
2402
711
  interac_present: nil,
2403
712
  kakao_pay: nil,
@@ -2417,20 +726,15 @@ module Stripe
2417
726
  payco: nil,
2418
727
  paynow: nil,
2419
728
  paypal: nil,
2420
- paypay: nil,
2421
729
  payto: nil,
2422
730
  pix: nil,
2423
731
  promptpay: nil,
2424
- qris: nil,
2425
732
  radar_options: nil,
2426
- rechnung: nil,
2427
733
  revolut_pay: nil,
2428
734
  samsung_pay: nil,
2429
735
  satispay: nil,
2430
736
  sepa_debit: nil,
2431
- shopeepay: nil,
2432
737
  sofort: nil,
2433
- stripe_balance: nil,
2434
738
  swish: nil,
2435
739
  twint: nil,
2436
740
  type: nil,
@@ -2458,9 +762,7 @@ module Stripe
2458
762
  @eps = eps
2459
763
  @fpx = fpx
2460
764
  @giropay = giropay
2461
- @gopay = gopay
2462
765
  @grabpay = grabpay
2463
- @id_bank_transfer = id_bank_transfer
2464
766
  @ideal = ideal
2465
767
  @interac_present = interac_present
2466
768
  @kakao_pay = kakao_pay
@@ -2480,20 +782,15 @@ module Stripe
2480
782
  @payco = payco
2481
783
  @paynow = paynow
2482
784
  @paypal = paypal
2483
- @paypay = paypay
2484
785
  @payto = payto
2485
786
  @pix = pix
2486
787
  @promptpay = promptpay
2487
- @qris = qris
2488
788
  @radar_options = radar_options
2489
- @rechnung = rechnung
2490
789
  @revolut_pay = revolut_pay
2491
790
  @samsung_pay = samsung_pay
2492
791
  @satispay = satispay
2493
792
  @sepa_debit = sepa_debit
2494
- @shopeepay = shopeepay
2495
793
  @sofort = sofort
2496
- @stripe_balance = stripe_balance
2497
794
  @swish = swish
2498
795
  @twint = twint
2499
796
  @type = type
@@ -2864,48 +1161,6 @@ module Stripe
2864
1161
  end
2865
1162
  end
2866
1163
 
2867
- class StatementDetails < ::Stripe::RequestParams
2868
- class Address < ::Stripe::RequestParams
2869
- # City, district, suburb, town, or village.
2870
- attr_accessor :city
2871
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2872
- attr_accessor :country
2873
- # Address line 1, such as the street, PO Box, or company name.
2874
- attr_accessor :line1
2875
- # Address line 2, such as the apartment, suite, unit, or building.
2876
- attr_accessor :line2
2877
- # ZIP or postal code.
2878
- attr_accessor :postal_code
2879
- # State, county, province, or region.
2880
- attr_accessor :state
2881
-
2882
- def initialize(
2883
- city: nil,
2884
- country: nil,
2885
- line1: nil,
2886
- line2: nil,
2887
- postal_code: nil,
2888
- state: nil
2889
- )
2890
- @city = city
2891
- @country = country
2892
- @line1 = line1
2893
- @line2 = line2
2894
- @postal_code = postal_code
2895
- @state = state
2896
- end
2897
- end
2898
- # Please pass in an address that is within your Stripe user account country
2899
- attr_accessor :address
2900
- # Phone number (e.g., a toll-free number that customers can call)
2901
- attr_accessor :phone
2902
-
2903
- def initialize(address: nil, phone: nil)
2904
- @address = address
2905
- @phone = phone
2906
- end
2907
- end
2908
-
2909
1164
  class ThreeDSecure < ::Stripe::RequestParams
2910
1165
  class NetworkOptions < ::Stripe::RequestParams
2911
1166
  class CartesBancaires < ::Stripe::RequestParams
@@ -2990,7 +1245,7 @@ module Stripe
2990
1245
  attr_accessor :cvc_token
2991
1246
  # Installment configuration for payments attempted on this PaymentIntent.
2992
1247
  #
2993
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
1248
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
2994
1249
  attr_accessor :installments
2995
1250
  # Configuration options for setting up an eMandate for cards issued in India.
2996
1251
  attr_accessor :mandate_options
@@ -3000,19 +1255,15 @@ module Stripe
3000
1255
  attr_accessor :moto
3001
1256
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
3002
1257
  attr_accessor :network
3003
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
3004
- attr_accessor :request_decremental_authorization
3005
- # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1258
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
3006
1259
  attr_accessor :request_extended_authorization
3007
- # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
1260
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
3008
1261
  attr_accessor :request_incremental_authorization
3009
- # Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.
1262
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
3010
1263
  attr_accessor :request_multicapture
3011
- # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1264
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3012
1265
  attr_accessor :request_overcapture
3013
- # Request partial authorization on this PaymentIntent.
3014
- attr_accessor :request_partial_authorization
3015
- # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1266
+ # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3016
1267
  attr_accessor :request_three_d_secure
3017
1268
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
3018
1269
  attr_accessor :require_cvc_recollection
@@ -3030,8 +1281,6 @@ module Stripe
3030
1281
  attr_accessor :statement_descriptor_suffix_kana
3031
1282
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
3032
1283
  attr_accessor :statement_descriptor_suffix_kanji
3033
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3034
- attr_accessor :statement_details
3035
1284
  # If 3D Secure authentication was performed with a third-party provider,
3036
1285
  # the authentication details to use for this payment.
3037
1286
  attr_accessor :three_d_secure
@@ -3043,18 +1292,15 @@ module Stripe
3043
1292
  mandate_options: nil,
3044
1293
  moto: nil,
3045
1294
  network: nil,
3046
- request_decremental_authorization: nil,
3047
1295
  request_extended_authorization: nil,
3048
1296
  request_incremental_authorization: nil,
3049
1297
  request_multicapture: nil,
3050
1298
  request_overcapture: nil,
3051
- request_partial_authorization: nil,
3052
1299
  request_three_d_secure: nil,
3053
1300
  require_cvc_recollection: nil,
3054
1301
  setup_future_usage: nil,
3055
1302
  statement_descriptor_suffix_kana: nil,
3056
1303
  statement_descriptor_suffix_kanji: nil,
3057
- statement_details: nil,
3058
1304
  three_d_secure: nil
3059
1305
  )
3060
1306
  @capture_method = capture_method
@@ -3063,18 +1309,15 @@ module Stripe
3063
1309
  @mandate_options = mandate_options
3064
1310
  @moto = moto
3065
1311
  @network = network
3066
- @request_decremental_authorization = request_decremental_authorization
3067
1312
  @request_extended_authorization = request_extended_authorization
3068
1313
  @request_incremental_authorization = request_incremental_authorization
3069
1314
  @request_multicapture = request_multicapture
3070
1315
  @request_overcapture = request_overcapture
3071
- @request_partial_authorization = request_partial_authorization
3072
1316
  @request_three_d_secure = request_three_d_secure
3073
1317
  @require_cvc_recollection = require_cvc_recollection
3074
1318
  @setup_future_usage = setup_future_usage
3075
1319
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3076
1320
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3077
- @statement_details = statement_details
3078
1321
  @three_d_secure = three_d_secure
3079
1322
  end
3080
1323
  end
@@ -3094,9 +1337,9 @@ module Stripe
3094
1337
  #
3095
1338
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
3096
1339
  attr_accessor :capture_method
3097
- # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1340
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
3098
1341
  attr_accessor :request_extended_authorization
3099
- # Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
1342
+ # Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
3100
1343
  attr_accessor :request_incremental_authorization_support
3101
1344
  # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3102
1345
  attr_accessor :routing
@@ -3172,54 +1415,18 @@ module Stripe
3172
1415
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
3173
1416
  attr_accessor :requested_address_types
3174
1417
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
3175
- attr_accessor :type
3176
-
3177
- def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
3178
- @eu_bank_transfer = eu_bank_transfer
3179
- @requested_address_types = requested_address_types
3180
- @type = type
3181
- end
3182
- end
3183
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3184
- attr_accessor :bank_transfer
3185
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3186
- attr_accessor :funding_type
3187
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3188
- #
3189
- # 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.
3190
- #
3191
- # 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.
3192
- #
3193
- # 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).
3194
- #
3195
- # 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`.
3196
- attr_accessor :setup_future_usage
3197
-
3198
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3199
- @bank_transfer = bank_transfer
3200
- @funding_type = funding_type
3201
- @setup_future_usage = setup_future_usage
3202
- end
3203
- end
3204
-
3205
- class Eps < ::Stripe::RequestParams
3206
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3207
- #
3208
- # 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.
3209
- #
3210
- # 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.
3211
- #
3212
- # 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).
3213
- #
3214
- # 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`.
3215
- attr_accessor :setup_future_usage
1418
+ attr_accessor :type
3216
1419
 
3217
- def initialize(setup_future_usage: nil)
3218
- @setup_future_usage = setup_future_usage
1420
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1421
+ @eu_bank_transfer = eu_bank_transfer
1422
+ @requested_address_types = requested_address_types
1423
+ @type = type
1424
+ end
3219
1425
  end
3220
- end
3221
-
3222
- class Fpx < ::Stripe::RequestParams
1426
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1427
+ attr_accessor :bank_transfer
1428
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1429
+ attr_accessor :funding_type
3223
1430
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3224
1431
  #
3225
1432
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3231,12 +1438,14 @@ module Stripe
3231
1438
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3232
1439
  attr_accessor :setup_future_usage
3233
1440
 
3234
- def initialize(setup_future_usage: nil)
1441
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1442
+ @bank_transfer = bank_transfer
1443
+ @funding_type = funding_type
3235
1444
  @setup_future_usage = setup_future_usage
3236
1445
  end
3237
1446
  end
3238
1447
 
3239
- class Giropay < ::Stripe::RequestParams
1448
+ class Eps < ::Stripe::RequestParams
3240
1449
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3241
1450
  #
3242
1451
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3253,7 +1462,7 @@ module Stripe
3253
1462
  end
3254
1463
  end
3255
1464
 
3256
- class Gopay < ::Stripe::RequestParams
1465
+ class Fpx < ::Stripe::RequestParams
3257
1466
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3258
1467
  #
3259
1468
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3270,7 +1479,7 @@ module Stripe
3270
1479
  end
3271
1480
  end
3272
1481
 
3273
- class Grabpay < ::Stripe::RequestParams
1482
+ class Giropay < ::Stripe::RequestParams
3274
1483
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3275
1484
  #
3276
1485
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3287,11 +1496,7 @@ module Stripe
3287
1496
  end
3288
1497
  end
3289
1498
 
3290
- class IdBankTransfer < ::Stripe::RequestParams
3291
- # 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.
3292
- attr_accessor :expires_after
3293
- # 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.
3294
- attr_accessor :expires_at
1499
+ class Grabpay < ::Stripe::RequestParams
3295
1500
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3296
1501
  #
3297
1502
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3303,9 +1508,7 @@ module Stripe
3303
1508
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3304
1509
  attr_accessor :setup_future_usage
3305
1510
 
3306
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3307
- @expires_after = expires_after
3308
- @expires_at = expires_at
1511
+ def initialize(setup_future_usage: nil)
3309
1512
  @setup_future_usage = setup_future_usage
3310
1513
  end
3311
1514
  end
@@ -3416,939 +1619,6 @@ module Stripe
3416
1619
  @reference = reference
3417
1620
  end
3418
1621
  end
3419
-
3420
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3421
- class BusReservationDetail < ::Stripe::RequestParams
3422
- class Arrival < ::Stripe::RequestParams
3423
- class Address < ::Stripe::RequestParams
3424
- # The city or town.
3425
- attr_accessor :city
3426
- # The country in ISO 3166-1 alpha-2 format.
3427
- attr_accessor :country
3428
- # The postal code formatted according to country.
3429
- attr_accessor :postal_code
3430
- # The state, county, province, or region formatted according to country.
3431
- attr_accessor :region
3432
- # Line 1 of the street address.
3433
- attr_accessor :street_address
3434
- # Line 2 of the street address.
3435
- attr_accessor :street_address2
3436
-
3437
- def initialize(
3438
- city: nil,
3439
- country: nil,
3440
- postal_code: nil,
3441
- region: nil,
3442
- street_address: nil,
3443
- street_address2: nil
3444
- )
3445
- @city = city
3446
- @country = country
3447
- @postal_code = postal_code
3448
- @region = region
3449
- @street_address = street_address
3450
- @street_address2 = street_address2
3451
- end
3452
- end
3453
- # Address of the arrival location.
3454
- attr_accessor :address
3455
- # Identifier name or reference for the arrival location.
3456
- attr_accessor :arrival_location
3457
-
3458
- def initialize(address: nil, arrival_location: nil)
3459
- @address = address
3460
- @arrival_location = arrival_location
3461
- end
3462
- end
3463
-
3464
- class Departure < ::Stripe::RequestParams
3465
- class Address < ::Stripe::RequestParams
3466
- # The city or town.
3467
- attr_accessor :city
3468
- # The country in ISO 3166-1 alpha-2 format.
3469
- attr_accessor :country
3470
- # The postal code formatted according to country.
3471
- attr_accessor :postal_code
3472
- # The state, county, province, or region formatted according to country.
3473
- attr_accessor :region
3474
- # Line 1 of the street address.
3475
- attr_accessor :street_address
3476
- # Line 2 of the street address.
3477
- attr_accessor :street_address2
3478
-
3479
- def initialize(
3480
- city: nil,
3481
- country: nil,
3482
- postal_code: nil,
3483
- region: nil,
3484
- street_address: nil,
3485
- street_address2: nil
3486
- )
3487
- @city = city
3488
- @country = country
3489
- @postal_code = postal_code
3490
- @region = region
3491
- @street_address = street_address
3492
- @street_address2 = street_address2
3493
- end
3494
- end
3495
- # Address of the departure location.
3496
- attr_accessor :address
3497
- # Timestamp of departure.
3498
- attr_accessor :departs_at
3499
- # Identifier name or reference for the origin location.
3500
- attr_accessor :departure_location
3501
-
3502
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3503
- @address = address
3504
- @departs_at = departs_at
3505
- @departure_location = departure_location
3506
- end
3507
- end
3508
-
3509
- class Insurance < ::Stripe::RequestParams
3510
- # Insurance currency.
3511
- attr_accessor :currency
3512
- # Name of the company providing the insurance.
3513
- attr_accessor :insurance_company_name
3514
- # Type of insurance.
3515
- attr_accessor :insurance_type
3516
- # Price of insurance in cents.
3517
- attr_accessor :price
3518
-
3519
- def initialize(
3520
- currency: nil,
3521
- insurance_company_name: nil,
3522
- insurance_type: nil,
3523
- price: nil
3524
- )
3525
- @currency = currency
3526
- @insurance_company_name = insurance_company_name
3527
- @insurance_type = insurance_type
3528
- @price = price
3529
- end
3530
- end
3531
-
3532
- class Passenger < ::Stripe::RequestParams
3533
- # The family name of the person.
3534
- attr_accessor :family_name
3535
- # The given name of the person.
3536
- attr_accessor :given_name
3537
-
3538
- def initialize(family_name: nil, given_name: nil)
3539
- @family_name = family_name
3540
- @given_name = given_name
3541
- end
3542
- end
3543
- # Name of associated or partner company for the service.
3544
- attr_accessor :affiliate_name
3545
- # Arrival details.
3546
- attr_accessor :arrival
3547
- # Name of transportation company.
3548
- attr_accessor :carrier_name
3549
- # Currency.
3550
- attr_accessor :currency
3551
- # Departure details.
3552
- attr_accessor :departure
3553
- # List of insurances for this reservation.
3554
- attr_accessor :insurances
3555
- # List of passengers that this reservation applies to.
3556
- attr_accessor :passengers
3557
- # Price in cents.
3558
- attr_accessor :price
3559
- # Ticket class.
3560
- attr_accessor :ticket_class
3561
-
3562
- def initialize(
3563
- affiliate_name: nil,
3564
- arrival: nil,
3565
- carrier_name: nil,
3566
- currency: nil,
3567
- departure: nil,
3568
- insurances: nil,
3569
- passengers: nil,
3570
- price: nil,
3571
- ticket_class: nil
3572
- )
3573
- @affiliate_name = affiliate_name
3574
- @arrival = arrival
3575
- @carrier_name = carrier_name
3576
- @currency = currency
3577
- @departure = departure
3578
- @insurances = insurances
3579
- @passengers = passengers
3580
- @price = price
3581
- @ticket_class = ticket_class
3582
- end
3583
- end
3584
-
3585
- class EventReservationDetail < ::Stripe::RequestParams
3586
- class Address < ::Stripe::RequestParams
3587
- # The city or town.
3588
- attr_accessor :city
3589
- # The country in ISO 3166-1 alpha-2 format.
3590
- attr_accessor :country
3591
- # The postal code formatted according to country.
3592
- attr_accessor :postal_code
3593
- # The state, county, province, or region formatted according to country.
3594
- attr_accessor :region
3595
- # Line 1 of the street address.
3596
- attr_accessor :street_address
3597
- # Line 2 of the street address.
3598
- attr_accessor :street_address2
3599
-
3600
- def initialize(
3601
- city: nil,
3602
- country: nil,
3603
- postal_code: nil,
3604
- region: nil,
3605
- street_address: nil,
3606
- street_address2: nil
3607
- )
3608
- @city = city
3609
- @country = country
3610
- @postal_code = postal_code
3611
- @region = region
3612
- @street_address = street_address
3613
- @street_address2 = street_address2
3614
- end
3615
- end
3616
-
3617
- class Insurance < ::Stripe::RequestParams
3618
- # Insurance currency.
3619
- attr_accessor :currency
3620
- # Name of the company providing the insurance.
3621
- attr_accessor :insurance_company_name
3622
- # Type of insurance.
3623
- attr_accessor :insurance_type
3624
- # Price of insurance in cents.
3625
- attr_accessor :price
3626
-
3627
- def initialize(
3628
- currency: nil,
3629
- insurance_company_name: nil,
3630
- insurance_type: nil,
3631
- price: nil
3632
- )
3633
- @currency = currency
3634
- @insurance_company_name = insurance_company_name
3635
- @insurance_type = insurance_type
3636
- @price = price
3637
- end
3638
- end
3639
- # Indicates if the tickets are digitally checked when entering the venue.
3640
- attr_accessor :access_controlled_venue
3641
- # Address of the event.
3642
- attr_accessor :address
3643
- # Name of associated or partner company for the service.
3644
- attr_accessor :affiliate_name
3645
- # End timestamp of the event.
3646
- attr_accessor :ends_at
3647
- # Company selling the ticket.
3648
- attr_accessor :event_company_name
3649
- # Name of the event.
3650
- attr_accessor :event_name
3651
- # Type of the event.
3652
- attr_accessor :event_type
3653
- # List of insurances for this event.
3654
- attr_accessor :insurances
3655
- # Start timestamp of the event.
3656
- attr_accessor :starts_at
3657
- # Name of the venue where the event takes place.
3658
- attr_accessor :venue_name
3659
-
3660
- def initialize(
3661
- access_controlled_venue: nil,
3662
- address: nil,
3663
- affiliate_name: nil,
3664
- ends_at: nil,
3665
- event_company_name: nil,
3666
- event_name: nil,
3667
- event_type: nil,
3668
- insurances: nil,
3669
- starts_at: nil,
3670
- venue_name: nil
3671
- )
3672
- @access_controlled_venue = access_controlled_venue
3673
- @address = address
3674
- @affiliate_name = affiliate_name
3675
- @ends_at = ends_at
3676
- @event_company_name = event_company_name
3677
- @event_name = event_name
3678
- @event_type = event_type
3679
- @insurances = insurances
3680
- @starts_at = starts_at
3681
- @venue_name = venue_name
3682
- end
3683
- end
3684
-
3685
- class FerryReservationDetail < ::Stripe::RequestParams
3686
- class Arrival < ::Stripe::RequestParams
3687
- class Address < ::Stripe::RequestParams
3688
- # The city or town.
3689
- attr_accessor :city
3690
- # The country in ISO 3166-1 alpha-2 format.
3691
- attr_accessor :country
3692
- # The postal code formatted according to country.
3693
- attr_accessor :postal_code
3694
- # The state, county, province, or region formatted according to country.
3695
- attr_accessor :region
3696
- # Line 1 of the street address.
3697
- attr_accessor :street_address
3698
- # Line 2 of the street address.
3699
- attr_accessor :street_address2
3700
-
3701
- def initialize(
3702
- city: nil,
3703
- country: nil,
3704
- postal_code: nil,
3705
- region: nil,
3706
- street_address: nil,
3707
- street_address2: nil
3708
- )
3709
- @city = city
3710
- @country = country
3711
- @postal_code = postal_code
3712
- @region = region
3713
- @street_address = street_address
3714
- @street_address2 = street_address2
3715
- end
3716
- end
3717
- # Address of the arrival location.
3718
- attr_accessor :address
3719
- # Identifier name or reference for the arrival location.
3720
- attr_accessor :arrival_location
3721
-
3722
- def initialize(address: nil, arrival_location: nil)
3723
- @address = address
3724
- @arrival_location = arrival_location
3725
- end
3726
- end
3727
-
3728
- class Departure < ::Stripe::RequestParams
3729
- class Address < ::Stripe::RequestParams
3730
- # The city or town.
3731
- attr_accessor :city
3732
- # The country in ISO 3166-1 alpha-2 format.
3733
- attr_accessor :country
3734
- # The postal code formatted according to country.
3735
- attr_accessor :postal_code
3736
- # The state, county, province, or region formatted according to country.
3737
- attr_accessor :region
3738
- # Line 1 of the street address.
3739
- attr_accessor :street_address
3740
- # Line 2 of the street address.
3741
- attr_accessor :street_address2
3742
-
3743
- def initialize(
3744
- city: nil,
3745
- country: nil,
3746
- postal_code: nil,
3747
- region: nil,
3748
- street_address: nil,
3749
- street_address2: nil
3750
- )
3751
- @city = city
3752
- @country = country
3753
- @postal_code = postal_code
3754
- @region = region
3755
- @street_address = street_address
3756
- @street_address2 = street_address2
3757
- end
3758
- end
3759
- # Address of the departure location.
3760
- attr_accessor :address
3761
- # Timestamp of departure.
3762
- attr_accessor :departs_at
3763
- # Identifier name or reference for the origin location.
3764
- attr_accessor :departure_location
3765
-
3766
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3767
- @address = address
3768
- @departs_at = departs_at
3769
- @departure_location = departure_location
3770
- end
3771
- end
3772
-
3773
- class Insurance < ::Stripe::RequestParams
3774
- # Insurance currency.
3775
- attr_accessor :currency
3776
- # Name of the company providing the insurance.
3777
- attr_accessor :insurance_company_name
3778
- # Type of insurance.
3779
- attr_accessor :insurance_type
3780
- # Price of insurance in cents.
3781
- attr_accessor :price
3782
-
3783
- def initialize(
3784
- currency: nil,
3785
- insurance_company_name: nil,
3786
- insurance_type: nil,
3787
- price: nil
3788
- )
3789
- @currency = currency
3790
- @insurance_company_name = insurance_company_name
3791
- @insurance_type = insurance_type
3792
- @price = price
3793
- end
3794
- end
3795
-
3796
- class Passenger < ::Stripe::RequestParams
3797
- # The family name of the person.
3798
- attr_accessor :family_name
3799
- # The given name of the person.
3800
- attr_accessor :given_name
3801
-
3802
- def initialize(family_name: nil, given_name: nil)
3803
- @family_name = family_name
3804
- @given_name = given_name
3805
- end
3806
- end
3807
- # Name of associated or partner company for the service.
3808
- attr_accessor :affiliate_name
3809
- # Arrival details.
3810
- attr_accessor :arrival
3811
- # Name of transportation company.
3812
- attr_accessor :carrier_name
3813
- # Currency.
3814
- attr_accessor :currency
3815
- # Departure details.
3816
- attr_accessor :departure
3817
- # List of insurances for this reservation.
3818
- attr_accessor :insurances
3819
- # List of passengers that this reservation applies to.
3820
- attr_accessor :passengers
3821
- # Price in cents.
3822
- attr_accessor :price
3823
- # Ticket class.
3824
- attr_accessor :ticket_class
3825
-
3826
- def initialize(
3827
- affiliate_name: nil,
3828
- arrival: nil,
3829
- carrier_name: nil,
3830
- currency: nil,
3831
- departure: nil,
3832
- insurances: nil,
3833
- passengers: nil,
3834
- price: nil,
3835
- ticket_class: nil
3836
- )
3837
- @affiliate_name = affiliate_name
3838
- @arrival = arrival
3839
- @carrier_name = carrier_name
3840
- @currency = currency
3841
- @departure = departure
3842
- @insurances = insurances
3843
- @passengers = passengers
3844
- @price = price
3845
- @ticket_class = ticket_class
3846
- end
3847
- end
3848
-
3849
- class Insurance < ::Stripe::RequestParams
3850
- # Insurance currency.
3851
- attr_accessor :currency
3852
- # Name of the company providing the insurance.
3853
- attr_accessor :insurance_company_name
3854
- # Type of insurance
3855
- attr_accessor :insurance_type
3856
- # Price of insurance in cents.
3857
- attr_accessor :price
3858
-
3859
- def initialize(
3860
- currency: nil,
3861
- insurance_company_name: nil,
3862
- insurance_type: nil,
3863
- price: nil
3864
- )
3865
- @currency = currency
3866
- @insurance_company_name = insurance_company_name
3867
- @insurance_type = insurance_type
3868
- @price = price
3869
- end
3870
- end
3871
-
3872
- class MarketplaceSeller < ::Stripe::RequestParams
3873
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3874
- # The city or town.
3875
- attr_accessor :city
3876
- # The country in ISO 3166-1 alpha-2 format.
3877
- attr_accessor :country
3878
- # The postal code formatted according to country.
3879
- attr_accessor :postal_code
3880
- # The state, county, province, or region formatted according to country.
3881
- attr_accessor :region
3882
- # Line 1 of the street address.
3883
- attr_accessor :street_address
3884
- # Line 2 of the street address.
3885
- attr_accessor :street_address2
3886
-
3887
- def initialize(
3888
- city: nil,
3889
- country: nil,
3890
- postal_code: nil,
3891
- region: nil,
3892
- street_address: nil,
3893
- street_address2: nil
3894
- )
3895
- @city = city
3896
- @country = country
3897
- @postal_code = postal_code
3898
- @region = region
3899
- @street_address = street_address
3900
- @street_address2 = street_address2
3901
- end
3902
- end
3903
- # The references to line items for purchases with multiple associated sub-sellers.
3904
- attr_accessor :line_item_references
3905
- # The address of the selling or delivering merchant.
3906
- attr_accessor :marketplace_seller_address
3907
- # The name of the marketplace seller.
3908
- attr_accessor :marketplace_seller_name
3909
- # The unique identifier for the marketplace seller.
3910
- attr_accessor :marketplace_seller_reference
3911
- # The number of transactions the sub-seller completed in the last 12 months.
3912
- attr_accessor :number_of_transactions
3913
- # The category of the product.
3914
- attr_accessor :product_category
3915
- # The date when the seller's account with the marketplace was last logged in.
3916
- attr_accessor :seller_last_login_at
3917
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3918
- attr_accessor :seller_rating
3919
- # The date when the seller's account with the marketplace was created.
3920
- attr_accessor :seller_registered_at
3921
- # The date when the seller's account with the marketplace was last updated.
3922
- attr_accessor :seller_updated_at
3923
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3924
- attr_accessor :shipping_references
3925
- # 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.
3926
- attr_accessor :volume_of_transactions
3927
-
3928
- def initialize(
3929
- line_item_references: nil,
3930
- marketplace_seller_address: nil,
3931
- marketplace_seller_name: nil,
3932
- marketplace_seller_reference: nil,
3933
- number_of_transactions: nil,
3934
- product_category: nil,
3935
- seller_last_login_at: nil,
3936
- seller_rating: nil,
3937
- seller_registered_at: nil,
3938
- seller_updated_at: nil,
3939
- shipping_references: nil,
3940
- volume_of_transactions: nil
3941
- )
3942
- @line_item_references = line_item_references
3943
- @marketplace_seller_address = marketplace_seller_address
3944
- @marketplace_seller_name = marketplace_seller_name
3945
- @marketplace_seller_reference = marketplace_seller_reference
3946
- @number_of_transactions = number_of_transactions
3947
- @product_category = product_category
3948
- @seller_last_login_at = seller_last_login_at
3949
- @seller_rating = seller_rating
3950
- @seller_registered_at = seller_registered_at
3951
- @seller_updated_at = seller_updated_at
3952
- @shipping_references = shipping_references
3953
- @volume_of_transactions = volume_of_transactions
3954
- end
3955
- end
3956
-
3957
- class RoundTripReservationDetail < ::Stripe::RequestParams
3958
- class Arrival < ::Stripe::RequestParams
3959
- class Address < ::Stripe::RequestParams
3960
- # The city or town.
3961
- attr_accessor :city
3962
- # The country in ISO 3166-1 alpha-2 format.
3963
- attr_accessor :country
3964
- # The postal code formatted according to country.
3965
- attr_accessor :postal_code
3966
- # The state, county, province, or region formatted according to country.
3967
- attr_accessor :region
3968
- # Line 1 of the street address.
3969
- attr_accessor :street_address
3970
- # Line 2 of the street address.
3971
- attr_accessor :street_address2
3972
-
3973
- def initialize(
3974
- city: nil,
3975
- country: nil,
3976
- postal_code: nil,
3977
- region: nil,
3978
- street_address: nil,
3979
- street_address2: nil
3980
- )
3981
- @city = city
3982
- @country = country
3983
- @postal_code = postal_code
3984
- @region = region
3985
- @street_address = street_address
3986
- @street_address2 = street_address2
3987
- end
3988
- end
3989
- # Address of the arrival location.
3990
- attr_accessor :address
3991
- # Identifier name or reference for the arrival location.
3992
- attr_accessor :arrival_location
3993
-
3994
- def initialize(address: nil, arrival_location: nil)
3995
- @address = address
3996
- @arrival_location = arrival_location
3997
- end
3998
- end
3999
-
4000
- class Departure < ::Stripe::RequestParams
4001
- class Address < ::Stripe::RequestParams
4002
- # The city or town.
4003
- attr_accessor :city
4004
- # The country in ISO 3166-1 alpha-2 format.
4005
- attr_accessor :country
4006
- # The postal code formatted according to country.
4007
- attr_accessor :postal_code
4008
- # The state, county, province, or region formatted according to country.
4009
- attr_accessor :region
4010
- # Line 1 of the street address.
4011
- attr_accessor :street_address
4012
- # Line 2 of the street address.
4013
- attr_accessor :street_address2
4014
-
4015
- def initialize(
4016
- city: nil,
4017
- country: nil,
4018
- postal_code: nil,
4019
- region: nil,
4020
- street_address: nil,
4021
- street_address2: nil
4022
- )
4023
- @city = city
4024
- @country = country
4025
- @postal_code = postal_code
4026
- @region = region
4027
- @street_address = street_address
4028
- @street_address2 = street_address2
4029
- end
4030
- end
4031
- # Address of the departure location.
4032
- attr_accessor :address
4033
- # Timestamp of departure.
4034
- attr_accessor :departs_at
4035
- # Identifier name or reference for the origin location.
4036
- attr_accessor :departure_location
4037
-
4038
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4039
- @address = address
4040
- @departs_at = departs_at
4041
- @departure_location = departure_location
4042
- end
4043
- end
4044
-
4045
- class Insurance < ::Stripe::RequestParams
4046
- # Insurance currency.
4047
- attr_accessor :currency
4048
- # Name of the company providing the insurance.
4049
- attr_accessor :insurance_company_name
4050
- # Type of insurance.
4051
- attr_accessor :insurance_type
4052
- # Price of insurance in cents.
4053
- attr_accessor :price
4054
-
4055
- def initialize(
4056
- currency: nil,
4057
- insurance_company_name: nil,
4058
- insurance_type: nil,
4059
- price: nil
4060
- )
4061
- @currency = currency
4062
- @insurance_company_name = insurance_company_name
4063
- @insurance_type = insurance_type
4064
- @price = price
4065
- end
4066
- end
4067
-
4068
- class Passenger < ::Stripe::RequestParams
4069
- # The family name of the person.
4070
- attr_accessor :family_name
4071
- # The given name of the person.
4072
- attr_accessor :given_name
4073
-
4074
- def initialize(family_name: nil, given_name: nil)
4075
- @family_name = family_name
4076
- @given_name = given_name
4077
- end
4078
- end
4079
- # Name of associated or partner company for the service.
4080
- attr_accessor :affiliate_name
4081
- # Arrival details.
4082
- attr_accessor :arrival
4083
- # Name of transportation company.
4084
- attr_accessor :carrier_name
4085
- # Currency.
4086
- attr_accessor :currency
4087
- # Departure details.
4088
- attr_accessor :departure
4089
- # List of insurances for this reservation.
4090
- attr_accessor :insurances
4091
- # List of passengers that this reservation applies to.
4092
- attr_accessor :passengers
4093
- # Price in cents.
4094
- attr_accessor :price
4095
- # Ticket class.
4096
- attr_accessor :ticket_class
4097
-
4098
- def initialize(
4099
- affiliate_name: nil,
4100
- arrival: nil,
4101
- carrier_name: nil,
4102
- currency: nil,
4103
- departure: nil,
4104
- insurances: nil,
4105
- passengers: nil,
4106
- price: nil,
4107
- ticket_class: nil
4108
- )
4109
- @affiliate_name = affiliate_name
4110
- @arrival = arrival
4111
- @carrier_name = carrier_name
4112
- @currency = currency
4113
- @departure = departure
4114
- @insurances = insurances
4115
- @passengers = passengers
4116
- @price = price
4117
- @ticket_class = ticket_class
4118
- end
4119
- end
4120
-
4121
- class TrainReservationDetail < ::Stripe::RequestParams
4122
- class Arrival < ::Stripe::RequestParams
4123
- class Address < ::Stripe::RequestParams
4124
- # The city or town.
4125
- attr_accessor :city
4126
- # The country in ISO 3166-1 alpha-2 format.
4127
- attr_accessor :country
4128
- # The postal code formatted according to country.
4129
- attr_accessor :postal_code
4130
- # The state, county, province, or region formatted according to country.
4131
- attr_accessor :region
4132
- # Line 1 of the street address.
4133
- attr_accessor :street_address
4134
- # Line 2 of the street address.
4135
- attr_accessor :street_address2
4136
-
4137
- def initialize(
4138
- city: nil,
4139
- country: nil,
4140
- postal_code: nil,
4141
- region: nil,
4142
- street_address: nil,
4143
- street_address2: nil
4144
- )
4145
- @city = city
4146
- @country = country
4147
- @postal_code = postal_code
4148
- @region = region
4149
- @street_address = street_address
4150
- @street_address2 = street_address2
4151
- end
4152
- end
4153
- # Address of the arrival location.
4154
- attr_accessor :address
4155
- # Identifier name or reference for the arrival location.
4156
- attr_accessor :arrival_location
4157
-
4158
- def initialize(address: nil, arrival_location: nil)
4159
- @address = address
4160
- @arrival_location = arrival_location
4161
- end
4162
- end
4163
-
4164
- class Departure < ::Stripe::RequestParams
4165
- class Address < ::Stripe::RequestParams
4166
- # The city or town.
4167
- attr_accessor :city
4168
- # The country in ISO 3166-1 alpha-2 format.
4169
- attr_accessor :country
4170
- # The postal code formatted according to country.
4171
- attr_accessor :postal_code
4172
- # The state, county, province, or region formatted according to country.
4173
- attr_accessor :region
4174
- # Line 1 of the street address.
4175
- attr_accessor :street_address
4176
- # Line 2 of the street address.
4177
- attr_accessor :street_address2
4178
-
4179
- def initialize(
4180
- city: nil,
4181
- country: nil,
4182
- postal_code: nil,
4183
- region: nil,
4184
- street_address: nil,
4185
- street_address2: nil
4186
- )
4187
- @city = city
4188
- @country = country
4189
- @postal_code = postal_code
4190
- @region = region
4191
- @street_address = street_address
4192
- @street_address2 = street_address2
4193
- end
4194
- end
4195
- # Address of the departure location.
4196
- attr_accessor :address
4197
- # Timestamp of departure.
4198
- attr_accessor :departs_at
4199
- # Identifier name or reference for the origin location.
4200
- attr_accessor :departure_location
4201
-
4202
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4203
- @address = address
4204
- @departs_at = departs_at
4205
- @departure_location = departure_location
4206
- end
4207
- end
4208
-
4209
- class Insurance < ::Stripe::RequestParams
4210
- # Insurance currency.
4211
- attr_accessor :currency
4212
- # Name of the company providing the insurance.
4213
- attr_accessor :insurance_company_name
4214
- # Type of insurance.
4215
- attr_accessor :insurance_type
4216
- # Price of insurance in cents.
4217
- attr_accessor :price
4218
-
4219
- def initialize(
4220
- currency: nil,
4221
- insurance_company_name: nil,
4222
- insurance_type: nil,
4223
- price: nil
4224
- )
4225
- @currency = currency
4226
- @insurance_company_name = insurance_company_name
4227
- @insurance_type = insurance_type
4228
- @price = price
4229
- end
4230
- end
4231
-
4232
- class Passenger < ::Stripe::RequestParams
4233
- # The family name of the person.
4234
- attr_accessor :family_name
4235
- # The given name of the person.
4236
- attr_accessor :given_name
4237
-
4238
- def initialize(family_name: nil, given_name: nil)
4239
- @family_name = family_name
4240
- @given_name = given_name
4241
- end
4242
- end
4243
- # Name of associated or partner company for the service.
4244
- attr_accessor :affiliate_name
4245
- # Arrival details.
4246
- attr_accessor :arrival
4247
- # Name of transportation company.
4248
- attr_accessor :carrier_name
4249
- # Currency.
4250
- attr_accessor :currency
4251
- # Departure details.
4252
- attr_accessor :departure
4253
- # List of insurances for this reservation.
4254
- attr_accessor :insurances
4255
- # List of passengers that this reservation applies to.
4256
- attr_accessor :passengers
4257
- # Price in cents.
4258
- attr_accessor :price
4259
- # Ticket class.
4260
- attr_accessor :ticket_class
4261
-
4262
- def initialize(
4263
- affiliate_name: nil,
4264
- arrival: nil,
4265
- carrier_name: nil,
4266
- currency: nil,
4267
- departure: nil,
4268
- insurances: nil,
4269
- passengers: nil,
4270
- price: nil,
4271
- ticket_class: nil
4272
- )
4273
- @affiliate_name = affiliate_name
4274
- @arrival = arrival
4275
- @carrier_name = carrier_name
4276
- @currency = currency
4277
- @departure = departure
4278
- @insurances = insurances
4279
- @passengers = passengers
4280
- @price = price
4281
- @ticket_class = ticket_class
4282
- end
4283
- end
4284
-
4285
- class Voucher < ::Stripe::RequestParams
4286
- # Name of associated or partner company for this voucher.
4287
- attr_accessor :affiliate_name
4288
- # The voucher validity end time.
4289
- attr_accessor :ends_at
4290
- # The voucher validity start time.
4291
- attr_accessor :starts_at
4292
- # The issuer or provider of this voucher.
4293
- attr_accessor :voucher_company
4294
- # The name or reference to identify the voucher.
4295
- attr_accessor :voucher_name
4296
- # The type of this voucher.
4297
- attr_accessor :voucher_type
4298
-
4299
- def initialize(
4300
- affiliate_name: nil,
4301
- ends_at: nil,
4302
- starts_at: nil,
4303
- voucher_company: nil,
4304
- voucher_name: nil,
4305
- voucher_type: nil
4306
- )
4307
- @affiliate_name = affiliate_name
4308
- @ends_at = ends_at
4309
- @starts_at = starts_at
4310
- @voucher_company = voucher_company
4311
- @voucher_name = voucher_name
4312
- @voucher_type = voucher_type
4313
- end
4314
- end
4315
- # Supplementary bus reservation details.
4316
- attr_accessor :bus_reservation_details
4317
- # Supplementary event reservation details.
4318
- attr_accessor :event_reservation_details
4319
- # Supplementary ferry reservation details.
4320
- attr_accessor :ferry_reservation_details
4321
- # Supplementary insurance details.
4322
- attr_accessor :insurances
4323
- # Supplementary marketplace seller details.
4324
- attr_accessor :marketplace_sellers
4325
- # Supplementary round trip reservation details.
4326
- attr_accessor :round_trip_reservation_details
4327
- # Supplementary train reservation details.
4328
- attr_accessor :train_reservation_details
4329
- # Voucher details, such as a gift card or discount code.
4330
- attr_accessor :vouchers
4331
-
4332
- def initialize(
4333
- bus_reservation_details: nil,
4334
- event_reservation_details: nil,
4335
- ferry_reservation_details: nil,
4336
- insurances: nil,
4337
- marketplace_sellers: nil,
4338
- round_trip_reservation_details: nil,
4339
- train_reservation_details: nil,
4340
- vouchers: nil
4341
- )
4342
- @bus_reservation_details = bus_reservation_details
4343
- @event_reservation_details = event_reservation_details
4344
- @ferry_reservation_details = ferry_reservation_details
4345
- @insurances = insurances
4346
- @marketplace_sellers = marketplace_sellers
4347
- @round_trip_reservation_details = round_trip_reservation_details
4348
- @train_reservation_details = train_reservation_details
4349
- @vouchers = vouchers
4350
- end
4351
- end
4352
1622
  # Controls when the funds are captured from the customer's account.
4353
1623
  #
4354
1624
  # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
@@ -4371,23 +1641,19 @@ module Stripe
4371
1641
  attr_accessor :setup_future_usage
4372
1642
  # Subscription details if setting up or charging a subscription.
4373
1643
  attr_accessor :subscriptions
4374
- # Supplementary Purchase Data for the corresponding Klarna payment
4375
- attr_accessor :supplementary_purchase_data
4376
1644
 
4377
1645
  def initialize(
4378
1646
  capture_method: nil,
4379
1647
  on_demand: nil,
4380
1648
  preferred_locale: nil,
4381
1649
  setup_future_usage: nil,
4382
- subscriptions: nil,
4383
- supplementary_purchase_data: nil
1650
+ subscriptions: nil
4384
1651
  )
4385
1652
  @capture_method = capture_method
4386
1653
  @on_demand = on_demand
4387
1654
  @preferred_locale = preferred_locale
4388
1655
  @setup_future_usage = setup_future_usage
4389
1656
  @subscriptions = subscriptions
4390
- @supplementary_purchase_data = supplementary_purchase_data
4391
1657
  end
4392
1658
  end
4393
1659
 
@@ -4648,65 +1914,12 @@ module Stripe
4648
1914
  end
4649
1915
 
4650
1916
  class Paypal < ::Stripe::RequestParams
4651
- class LineItem < ::Stripe::RequestParams
4652
- class Tax < ::Stripe::RequestParams
4653
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4654
- attr_accessor :amount
4655
- # The tax behavior for the line item.
4656
- attr_accessor :behavior
4657
-
4658
- def initialize(amount: nil, behavior: nil)
4659
- @amount = amount
4660
- @behavior = behavior
4661
- end
4662
- end
4663
- # Type of the line item.
4664
- attr_accessor :category
4665
- # Description of the line item.
4666
- attr_accessor :description
4667
- # Descriptive name of the line item.
4668
- attr_accessor :name
4669
- # Quantity of the line item. Must be a positive number.
4670
- attr_accessor :quantity
4671
- # Client facing stock keeping unit, article number or similar.
4672
- attr_accessor :sku
4673
- # The Stripe account ID of the connected account that sells the item.
4674
- attr_accessor :sold_by
4675
- # The tax information for the line item.
4676
- attr_accessor :tax
4677
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4678
- attr_accessor :unit_amount
4679
-
4680
- def initialize(
4681
- category: nil,
4682
- description: nil,
4683
- name: nil,
4684
- quantity: nil,
4685
- sku: nil,
4686
- sold_by: nil,
4687
- tax: nil,
4688
- unit_amount: nil
4689
- )
4690
- @category = category
4691
- @description = description
4692
- @name = name
4693
- @quantity = quantity
4694
- @sku = sku
4695
- @sold_by = sold_by
4696
- @tax = tax
4697
- @unit_amount = unit_amount
4698
- end
4699
- end
4700
1917
  # Controls when the funds will be captured from the customer's account.
4701
1918
  attr_accessor :capture_method
4702
- # The line items purchased by the customer.
4703
- attr_accessor :line_items
4704
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1919
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4705
1920
  attr_accessor :preferred_locale
4706
1921
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
4707
1922
  attr_accessor :reference
4708
- # 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.
4709
- attr_accessor :reference_id
4710
1923
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4711
1924
  attr_accessor :risk_correlation_id
4712
1925
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4719,40 +1932,19 @@ module Stripe
4719
1932
  #
4720
1933
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4721
1934
  attr_accessor :setup_future_usage
4722
- # 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.
4723
- attr_accessor :subsellers
4724
1935
 
4725
1936
  def initialize(
4726
1937
  capture_method: nil,
4727
- line_items: nil,
4728
1938
  preferred_locale: nil,
4729
1939
  reference: nil,
4730
- reference_id: nil,
4731
1940
  risk_correlation_id: nil,
4732
- setup_future_usage: nil,
4733
- subsellers: nil
1941
+ setup_future_usage: nil
4734
1942
  )
4735
1943
  @capture_method = capture_method
4736
- @line_items = line_items
4737
1944
  @preferred_locale = preferred_locale
4738
1945
  @reference = reference
4739
- @reference_id = reference_id
4740
1946
  @risk_correlation_id = risk_correlation_id
4741
1947
  @setup_future_usage = setup_future_usage
4742
- @subsellers = subsellers
4743
- end
4744
- end
4745
-
4746
- class Paypay < ::Stripe::RequestParams
4747
- # Controls when the funds are captured from the customer's account.
4748
- #
4749
- # 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.
4750
- #
4751
- # 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.
4752
- attr_accessor :capture_method
4753
-
4754
- def initialize(capture_method: nil)
4755
- @capture_method = capture_method
4756
1948
  end
4757
1949
  end
4758
1950
 
@@ -4807,52 +1999,12 @@ module Stripe
4807
1999
  end
4808
2000
 
4809
2001
  class Pix < ::Stripe::RequestParams
4810
- class MandateOptions < ::Stripe::RequestParams
4811
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4812
- attr_accessor :amount
4813
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4814
- attr_accessor :amount_includes_iof
4815
- # Type of amount. Defaults to `maximum`.
4816
- attr_accessor :amount_type
4817
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4818
- attr_accessor :currency
4819
- # 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.
4820
- attr_accessor :end_date
4821
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4822
- attr_accessor :payment_schedule
4823
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4824
- attr_accessor :reference
4825
- # 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.
4826
- attr_accessor :start_date
4827
-
4828
- def initialize(
4829
- amount: nil,
4830
- amount_includes_iof: nil,
4831
- amount_type: nil,
4832
- currency: nil,
4833
- end_date: nil,
4834
- payment_schedule: nil,
4835
- reference: nil,
4836
- start_date: nil
4837
- )
4838
- @amount = amount
4839
- @amount_includes_iof = amount_includes_iof
4840
- @amount_type = amount_type
4841
- @currency = currency
4842
- @end_date = end_date
4843
- @payment_schedule = payment_schedule
4844
- @reference = reference
4845
- @start_date = start_date
4846
- end
4847
- end
4848
2002
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4849
2003
  attr_accessor :amount_includes_iof
4850
2004
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4851
2005
  attr_accessor :expires_after_seconds
4852
2006
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4853
2007
  attr_accessor :expires_at
4854
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4855
- attr_accessor :mandate_options
4856
2008
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4857
2009
  #
4858
2010
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -4868,13 +2020,11 @@ module Stripe
4868
2020
  amount_includes_iof: nil,
4869
2021
  expires_after_seconds: nil,
4870
2022
  expires_at: nil,
4871
- mandate_options: nil,
4872
2023
  setup_future_usage: nil
4873
2024
  )
4874
2025
  @amount_includes_iof = amount_includes_iof
4875
2026
  @expires_after_seconds = expires_after_seconds
4876
2027
  @expires_at = expires_at
4877
- @mandate_options = mandate_options
4878
2028
  @setup_future_usage = setup_future_usage
4879
2029
  end
4880
2030
  end
@@ -4896,25 +2046,6 @@ module Stripe
4896
2046
  end
4897
2047
  end
4898
2048
 
4899
- class Qris < ::Stripe::RequestParams
4900
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4901
- #
4902
- # 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.
4903
- #
4904
- # 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.
4905
- #
4906
- # 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).
4907
- #
4908
- # 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`.
4909
- attr_accessor :setup_future_usage
4910
-
4911
- def initialize(setup_future_usage: nil)
4912
- @setup_future_usage = setup_future_usage
4913
- end
4914
- end
4915
-
4916
- class Rechnung < ::Stripe::RequestParams; end
4917
-
4918
2049
  class RevolutPay < ::Stripe::RequestParams
4919
2050
  # Controls when the funds are captured from the customer's account.
4920
2051
  #
@@ -4994,23 +2125,6 @@ module Stripe
4994
2125
  end
4995
2126
  end
4996
2127
 
4997
- class Shopeepay < ::Stripe::RequestParams
4998
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4999
- #
5000
- # 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.
5001
- #
5002
- # 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.
5003
- #
5004
- # 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).
5005
- #
5006
- # 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`.
5007
- attr_accessor :setup_future_usage
5008
-
5009
- def initialize(setup_future_usage: nil)
5010
- @setup_future_usage = setup_future_usage
5011
- end
5012
- end
5013
-
5014
2128
  class Sofort < ::Stripe::RequestParams
5015
2129
  # Language shown to the payer on redirect.
5016
2130
  attr_accessor :preferred_language
@@ -5031,23 +2145,6 @@ module Stripe
5031
2145
  end
5032
2146
  end
5033
2147
 
5034
- class StripeBalance < ::Stripe::RequestParams
5035
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5036
- #
5037
- # 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.
5038
- #
5039
- # 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.
5040
- #
5041
- # 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).
5042
- #
5043
- # 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`.
5044
- attr_accessor :setup_future_usage
5045
-
5046
- def initialize(setup_future_usage: nil)
5047
- @setup_future_usage = setup_future_usage
5048
- end
5049
- end
5050
-
5051
2148
  class Swish < ::Stripe::RequestParams
5052
2149
  # A reference for this payment to be displayed in the Swish app.
5053
2150
  attr_accessor :reference
@@ -5090,27 +2187,13 @@ module Stripe
5090
2187
  class Filters < ::Stripe::RequestParams
5091
2188
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5092
2189
  attr_accessor :account_subcategories
5093
- # ID of the institution to use to filter for selectable accounts.
5094
- attr_accessor :institution
5095
2190
 
5096
- def initialize(account_subcategories: nil, institution: nil)
2191
+ def initialize(account_subcategories: nil)
5097
2192
  @account_subcategories = account_subcategories
5098
- @institution = institution
5099
- end
5100
- end
5101
-
5102
- class ManualEntry < ::Stripe::RequestParams
5103
- # Settings for configuring manual entry of account details.
5104
- attr_accessor :mode
5105
-
5106
- def initialize(mode: nil)
5107
- @mode = mode
5108
2193
  end
5109
2194
  end
5110
2195
  # Provide filters for the linked accounts that the customer can select for the payment method.
5111
2196
  attr_accessor :filters
5112
- # Customize manual entry behavior
5113
- attr_accessor :manual_entry
5114
2197
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
5115
2198
  attr_accessor :permissions
5116
2199
  # List of data features that you would like to retrieve upon account creation.
@@ -5118,15 +2201,8 @@ module Stripe
5118
2201
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
5119
2202
  attr_accessor :return_url
5120
2203
 
5121
- def initialize(
5122
- filters: nil,
5123
- manual_entry: nil,
5124
- permissions: nil,
5125
- prefetch: nil,
5126
- return_url: nil
5127
- )
2204
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5128
2205
  @filters = filters
5129
- @manual_entry = manual_entry
5130
2206
  @permissions = permissions
5131
2207
  @prefetch = prefetch
5132
2208
  @return_url = return_url
@@ -5271,12 +2347,8 @@ module Stripe
5271
2347
  attr_accessor :fpx
5272
2348
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5273
2349
  attr_accessor :giropay
5274
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5275
- attr_accessor :gopay
5276
2350
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5277
2351
  attr_accessor :grabpay
5278
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5279
- attr_accessor :id_bank_transfer
5280
2352
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5281
2353
  attr_accessor :ideal
5282
2354
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5313,18 +2385,12 @@ module Stripe
5313
2385
  attr_accessor :paynow
5314
2386
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5315
2387
  attr_accessor :paypal
5316
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5317
- attr_accessor :paypay
5318
2388
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5319
2389
  attr_accessor :payto
5320
2390
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5321
2391
  attr_accessor :pix
5322
2392
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5323
2393
  attr_accessor :promptpay
5324
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5325
- attr_accessor :qris
5326
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5327
- attr_accessor :rechnung
5328
2394
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5329
2395
  attr_accessor :revolut_pay
5330
2396
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5333,12 +2399,8 @@ module Stripe
5333
2399
  attr_accessor :satispay
5334
2400
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5335
2401
  attr_accessor :sepa_debit
5336
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5337
- attr_accessor :shopeepay
5338
2402
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5339
2403
  attr_accessor :sofort
5340
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5341
- attr_accessor :stripe_balance
5342
2404
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5343
2405
  attr_accessor :swish
5344
2406
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5371,9 +2433,7 @@ module Stripe
5371
2433
  eps: nil,
5372
2434
  fpx: nil,
5373
2435
  giropay: nil,
5374
- gopay: nil,
5375
2436
  grabpay: nil,
5376
- id_bank_transfer: nil,
5377
2437
  ideal: nil,
5378
2438
  interac_present: nil,
5379
2439
  kakao_pay: nil,
@@ -5392,19 +2452,14 @@ module Stripe
5392
2452
  payco: nil,
5393
2453
  paynow: nil,
5394
2454
  paypal: nil,
5395
- paypay: nil,
5396
2455
  payto: nil,
5397
2456
  pix: nil,
5398
2457
  promptpay: nil,
5399
- qris: nil,
5400
- rechnung: nil,
5401
2458
  revolut_pay: nil,
5402
2459
  samsung_pay: nil,
5403
2460
  satispay: nil,
5404
2461
  sepa_debit: nil,
5405
- shopeepay: nil,
5406
2462
  sofort: nil,
5407
- stripe_balance: nil,
5408
2463
  swish: nil,
5409
2464
  twint: nil,
5410
2465
  us_bank_account: nil,
@@ -5431,9 +2486,7 @@ module Stripe
5431
2486
  @eps = eps
5432
2487
  @fpx = fpx
5433
2488
  @giropay = giropay
5434
- @gopay = gopay
5435
2489
  @grabpay = grabpay
5436
- @id_bank_transfer = id_bank_transfer
5437
2490
  @ideal = ideal
5438
2491
  @interac_present = interac_present
5439
2492
  @kakao_pay = kakao_pay
@@ -5452,19 +2505,14 @@ module Stripe
5452
2505
  @payco = payco
5453
2506
  @paynow = paynow
5454
2507
  @paypal = paypal
5455
- @paypay = paypay
5456
2508
  @payto = payto
5457
2509
  @pix = pix
5458
2510
  @promptpay = promptpay
5459
- @qris = qris
5460
- @rechnung = rechnung
5461
2511
  @revolut_pay = revolut_pay
5462
2512
  @samsung_pay = samsung_pay
5463
2513
  @satispay = satispay
5464
2514
  @sepa_debit = sepa_debit
5465
- @shopeepay = shopeepay
5466
2515
  @sofort = sofort
5467
- @stripe_balance = stripe_balance
5468
2516
  @swish = swish
5469
2517
  @twint = twint
5470
2518
  @us_bank_account = us_bank_account
@@ -5474,7 +2522,7 @@ module Stripe
5474
2522
  end
5475
2523
 
5476
2524
  class RadarOptions < ::Stripe::RequestParams
5477
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2525
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
5478
2526
  attr_accessor :session
5479
2527
 
5480
2528
  def initialize(session: nil)
@@ -5494,7 +2542,7 @@ module Stripe
5494
2542
  attr_accessor :line2
5495
2543
  # ZIP or postal code.
5496
2544
  attr_accessor :postal_code
5497
- # State, county, province, or region.
2545
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5498
2546
  attr_accessor :state
5499
2547
 
5500
2548
  def initialize(
@@ -5534,44 +2582,40 @@ module Stripe
5534
2582
  end
5535
2583
  # Provides industry-specific information about the amount.
5536
2584
  attr_accessor :amount_details
5537
- # 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).
5538
- attr_accessor :application_fee_amount
5539
2585
  # Controls when the funds will be captured from the customer's account.
5540
2586
  attr_accessor :capture_method
5541
2587
  # ID of the ConfirmationToken used to confirm this PaymentIntent.
5542
2588
  #
5543
2589
  # If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
5544
2590
  attr_accessor :confirmation_token
5545
- # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication).
2591
+ # Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://docs.stripe.com/payments/save-card-without-authentication).
5546
2592
  attr_accessor :error_on_requires_action
5547
2593
  # The list of payment method types to exclude from use with this payment.
5548
2594
  attr_accessor :excluded_payment_method_types
5549
2595
  # Specifies which fields in the response should be expanded.
5550
2596
  attr_accessor :expand
5551
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5552
- attr_accessor :fx_quote
5553
2597
  # Automations to be run during the PaymentIntent lifecycle
5554
2598
  attr_accessor :hooks
5555
2599
  # ID of the mandate that's used for this payment.
5556
2600
  attr_accessor :mandate
5557
2601
  # Attribute for param field mandate_data
5558
2602
  attr_accessor :mandate_data
5559
- # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards).
2603
+ # Set to `true` to indicate that the customer isn't in your checkout flow during this payment attempt and can't authenticate. Use this parameter in scenarios where you collect card details and [charge them later](https://docs.stripe.com/payments/cards/charging-saved-cards).
5560
2604
  attr_accessor :off_session
5561
2605
  # Provides industry-specific information about the charge.
5562
2606
  attr_accessor :payment_details
5563
- # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
5564
- # If the payment method is attached to a Customer, it must match the [customer](https://stripe.com/docs/api#create_payment_intent-customer) that is set on this PaymentIntent.
2607
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.
2608
+ # If the payment method is attached to a Customer, it must match the [customer](https://api.stripe.com#create_payment_intent-customer) that is set on this PaymentIntent.
5565
2609
  attr_accessor :payment_method
5566
2610
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
5567
- # in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
2611
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
5568
2612
  # property on the PaymentIntent.
5569
2613
  attr_accessor :payment_method_data
5570
2614
  # Payment method-specific configuration for this PaymentIntent.
5571
2615
  attr_accessor :payment_method_options
5572
2616
  # The list of payment method types (for example, a card) that this PaymentIntent can use. Use `automatic_payment_methods` to manage payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
5573
2617
  attr_accessor :payment_method_types
5574
- # Options to configure Radar. Learn more about [Radar Sessions](https://stripe.com/docs/radar/radar-session).
2618
+ # Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).
5575
2619
  attr_accessor :radar_options
5576
2620
  # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
5577
2621
  attr_accessor :receipt_email
@@ -5596,13 +2640,11 @@ module Stripe
5596
2640
 
5597
2641
  def initialize(
5598
2642
  amount_details: nil,
5599
- application_fee_amount: nil,
5600
2643
  capture_method: nil,
5601
2644
  confirmation_token: nil,
5602
2645
  error_on_requires_action: nil,
5603
2646
  excluded_payment_method_types: nil,
5604
2647
  expand: nil,
5605
- fx_quote: nil,
5606
2648
  hooks: nil,
5607
2649
  mandate: nil,
5608
2650
  mandate_data: nil,
@@ -5620,13 +2662,11 @@ module Stripe
5620
2662
  use_stripe_sdk: nil
5621
2663
  )
5622
2664
  @amount_details = amount_details
5623
- @application_fee_amount = application_fee_amount
5624
2665
  @capture_method = capture_method
5625
2666
  @confirmation_token = confirmation_token
5626
2667
  @error_on_requires_action = error_on_requires_action
5627
2668
  @excluded_payment_method_types = excluded_payment_method_types
5628
2669
  @expand = expand
5629
- @fx_quote = fx_quote
5630
2670
  @hooks = hooks
5631
2671
  @mandate = mandate
5632
2672
  @mandate_data = mandate_data