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)
@@ -199,1678 +199,21 @@ module Stripe
199
199
  end
200
200
  end
201
201
 
202
- class MandateData < ::Stripe::RequestParams
203
- class CustomerAcceptance < ::Stripe::RequestParams
204
- class Online < ::Stripe::RequestParams
205
- # The IP address from which the Mandate was accepted by the customer.
206
- attr_accessor :ip_address
207
- # The user agent of the browser from which the Mandate was accepted by the customer.
208
- attr_accessor :user_agent
209
-
210
- def initialize(ip_address: nil, user_agent: nil)
211
- @ip_address = ip_address
212
- @user_agent = user_agent
213
- end
214
- end
215
- # If this is a Mandate accepted online, this hash contains details about the online acceptance.
216
- attr_accessor :online
217
- # The type of customer acceptance information included with the Mandate.
218
- attr_accessor :type
219
-
220
- def initialize(online: nil, type: nil)
221
- @online = online
222
- @type = type
223
- end
224
- end
225
- # This hash contains details about the customer acceptance of the Mandate.
226
- attr_accessor :customer_acceptance
227
-
228
- def initialize(customer_acceptance: nil)
229
- @customer_acceptance = customer_acceptance
230
- end
231
- end
232
-
233
- class PaymentDetails < ::Stripe::RequestParams
234
- class CarRental < ::Stripe::RequestParams
235
- class Affiliate < ::Stripe::RequestParams
236
- # The name of the affiliate that originated the purchase.
237
- attr_accessor :name
238
-
239
- def initialize(name: nil)
240
- @name = name
241
- end
242
- end
243
-
244
- class Delivery < ::Stripe::RequestParams
245
- class Recipient < ::Stripe::RequestParams
246
- # The email of the recipient the ticket is delivered to.
247
- attr_accessor :email
248
- # The name of the recipient the ticket is delivered to.
249
- attr_accessor :name
250
- # The phone number of the recipient the ticket is delivered to.
251
- attr_accessor :phone
252
-
253
- def initialize(email: nil, name: nil, phone: nil)
254
- @email = email
255
- @name = name
256
- @phone = phone
257
- end
258
- end
259
- # The delivery method for the payment
260
- attr_accessor :mode
261
- # Details of the recipient.
262
- attr_accessor :recipient
263
-
264
- def initialize(mode: nil, recipient: nil)
265
- @mode = mode
266
- @recipient = recipient
267
- end
268
- end
269
-
270
- class Distance < ::Stripe::RequestParams
271
- # Distance traveled.
272
- attr_accessor :amount
273
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
274
- attr_accessor :unit
275
-
276
- def initialize(amount: nil, unit: nil)
277
- @amount = amount
278
- @unit = unit
279
- end
280
- end
281
-
282
- class Driver < ::Stripe::RequestParams
283
- # Driver's identification number.
284
- attr_accessor :driver_identification_number
285
- # Driver's tax number.
286
- attr_accessor :driver_tax_number
287
- # Full name of the person or entity on the car reservation.
288
- attr_accessor :name
289
-
290
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
291
- @driver_identification_number = driver_identification_number
292
- @driver_tax_number = driver_tax_number
293
- @name = name
294
- end
295
- end
296
-
297
- class PickupAddress < ::Stripe::RequestParams
298
- # City, district, suburb, town, or village.
299
- attr_accessor :city
300
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
301
- attr_accessor :country
302
- # Address line 1, such as the street, PO Box, or company name.
303
- attr_accessor :line1
304
- # Address line 2, such as the apartment, suite, unit, or building.
305
- attr_accessor :line2
306
- # ZIP or postal code.
307
- attr_accessor :postal_code
308
- # State, county, province, or region.
309
- attr_accessor :state
310
-
311
- def initialize(
312
- city: nil,
313
- country: nil,
314
- line1: nil,
315
- line2: nil,
316
- postal_code: nil,
317
- state: nil
318
- )
319
- @city = city
320
- @country = country
321
- @line1 = line1
322
- @line2 = line2
323
- @postal_code = postal_code
324
- @state = state
325
- end
326
- end
327
-
328
- class ReturnAddress < ::Stripe::RequestParams
329
- # City, district, suburb, town, or village.
330
- attr_accessor :city
331
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
332
- attr_accessor :country
333
- # Address line 1, such as the street, PO Box, or company name.
334
- attr_accessor :line1
335
- # Address line 2, such as the apartment, suite, unit, or building.
336
- attr_accessor :line2
337
- # ZIP or postal code.
338
- attr_accessor :postal_code
339
- # State, county, province, or region.
340
- attr_accessor :state
341
-
342
- def initialize(
343
- city: nil,
344
- country: nil,
345
- line1: nil,
346
- line2: nil,
347
- postal_code: nil,
348
- state: nil
349
- )
350
- @city = city
351
- @country = country
352
- @line1 = line1
353
- @line2 = line2
354
- @postal_code = postal_code
355
- @state = state
356
- end
357
- end
358
- # Affiliate details for this purchase.
359
- attr_accessor :affiliate
360
- # The booking number associated with the car rental.
361
- attr_accessor :booking_number
362
- # Class code of the car.
363
- attr_accessor :car_class_code
364
- # Make of the car.
365
- attr_accessor :car_make
366
- # Model of the car.
367
- attr_accessor :car_model
368
- # The name of the rental car company.
369
- attr_accessor :company
370
- # The customer service phone number of the car rental company.
371
- attr_accessor :customer_service_phone_number
372
- # Number of days the car is being rented.
373
- attr_accessor :days_rented
374
- # Delivery details for this purchase.
375
- attr_accessor :delivery
376
- # The details of the distance traveled during the rental period.
377
- attr_accessor :distance
378
- # The details of the passengers in the travel reservation
379
- attr_accessor :drivers
380
- # List of additional charges being billed.
381
- attr_accessor :extra_charges
382
- # Indicates if the customer did not keep nor cancel their booking.
383
- attr_accessor :no_show
384
- # Car pick-up address.
385
- attr_accessor :pickup_address
386
- # Car pick-up time. Measured in seconds since the Unix epoch.
387
- attr_accessor :pickup_at
388
- # Name of the pickup location.
389
- attr_accessor :pickup_location_name
390
- # Rental rate.
391
- attr_accessor :rate_amount
392
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
393
- attr_accessor :rate_interval
394
- # The name of the person or entity renting the car.
395
- attr_accessor :renter_name
396
- # Car return address.
397
- attr_accessor :return_address
398
- # Car return time. Measured in seconds since the Unix epoch.
399
- attr_accessor :return_at
400
- # Name of the return location.
401
- attr_accessor :return_location_name
402
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
403
- attr_accessor :tax_exempt
404
- # The vehicle identification number.
405
- attr_accessor :vehicle_identification_number
406
-
407
- def initialize(
408
- affiliate: nil,
409
- booking_number: nil,
410
- car_class_code: nil,
411
- car_make: nil,
412
- car_model: nil,
413
- company: nil,
414
- customer_service_phone_number: nil,
415
- days_rented: nil,
416
- delivery: nil,
417
- distance: nil,
418
- drivers: nil,
419
- extra_charges: nil,
420
- no_show: nil,
421
- pickup_address: nil,
422
- pickup_at: nil,
423
- pickup_location_name: nil,
424
- rate_amount: nil,
425
- rate_interval: nil,
426
- renter_name: nil,
427
- return_address: nil,
428
- return_at: nil,
429
- return_location_name: nil,
430
- tax_exempt: nil,
431
- vehicle_identification_number: nil
432
- )
433
- @affiliate = affiliate
434
- @booking_number = booking_number
435
- @car_class_code = car_class_code
436
- @car_make = car_make
437
- @car_model = car_model
438
- @company = company
439
- @customer_service_phone_number = customer_service_phone_number
440
- @days_rented = days_rented
441
- @delivery = delivery
442
- @distance = distance
443
- @drivers = drivers
444
- @extra_charges = extra_charges
445
- @no_show = no_show
446
- @pickup_address = pickup_address
447
- @pickup_at = pickup_at
448
- @pickup_location_name = pickup_location_name
449
- @rate_amount = rate_amount
450
- @rate_interval = rate_interval
451
- @renter_name = renter_name
452
- @return_address = return_address
453
- @return_at = return_at
454
- @return_location_name = return_location_name
455
- @tax_exempt = tax_exempt
456
- @vehicle_identification_number = vehicle_identification_number
457
- end
458
- end
459
-
460
- class CarRentalDatum < ::Stripe::RequestParams
461
- class Affiliate < ::Stripe::RequestParams
462
- # Affiliate partner code.
463
- attr_accessor :code
464
- # Name of affiliate partner.
465
- attr_accessor :name
466
-
467
- def initialize(code: nil, name: nil)
468
- @code = code
469
- @name = name
470
- end
471
- end
472
-
473
- class Distance < ::Stripe::RequestParams
474
- # Distance traveled.
475
- attr_accessor :amount
476
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
477
- attr_accessor :unit
478
-
479
- def initialize(amount: nil, unit: nil)
480
- @amount = amount
481
- @unit = unit
482
- end
483
- end
484
-
485
- class Driver < ::Stripe::RequestParams
486
- class DateOfBirth < ::Stripe::RequestParams
487
- # Day of birth (1-31).
488
- attr_accessor :day
489
- # Month of birth (1-12).
490
- attr_accessor :month
491
- # Year of birth (must be greater than 1900).
492
- attr_accessor :year
493
-
494
- def initialize(day: nil, month: nil, year: nil)
495
- @day = day
496
- @month = month
497
- @year = year
498
- end
499
- end
500
- # Driver's date of birth.
501
- attr_accessor :date_of_birth
502
- # Driver's identification number.
503
- attr_accessor :driver_identification_number
504
- # Driver's tax number.
505
- attr_accessor :driver_tax_number
506
- # Driver's full name.
507
- attr_accessor :name
508
-
509
- def initialize(
510
- date_of_birth: nil,
511
- driver_identification_number: nil,
512
- driver_tax_number: nil,
513
- name: nil
514
- )
515
- @date_of_birth = date_of_birth
516
- @driver_identification_number = driver_identification_number
517
- @driver_tax_number = driver_tax_number
518
- @name = name
519
- end
520
- end
521
-
522
- class DropOff < ::Stripe::RequestParams
523
- class Address < ::Stripe::RequestParams
524
- # City, district, suburb, town, or village.
525
- attr_accessor :city
526
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
527
- attr_accessor :country
528
- # Address line 1, such as the street, PO Box, or company name.
529
- attr_accessor :line1
530
- # Address line 2, such as the apartment, suite, unit, or building.
531
- attr_accessor :line2
532
- # ZIP or postal code.
533
- attr_accessor :postal_code
534
- # State, county, province, or region.
535
- attr_accessor :state
536
-
537
- def initialize(
538
- city: nil,
539
- country: nil,
540
- line1: nil,
541
- line2: nil,
542
- postal_code: nil,
543
- state: nil
544
- )
545
- @city = city
546
- @country = country
547
- @line1 = line1
548
- @line2 = line2
549
- @postal_code = postal_code
550
- @state = state
551
- end
552
- end
553
- # Address of the rental location.
554
- attr_accessor :address
555
- # Location name.
556
- attr_accessor :location_name
557
- # Timestamp for the location.
558
- attr_accessor :time
559
-
560
- def initialize(address: nil, location_name: nil, time: nil)
561
- @address = address
562
- @location_name = location_name
563
- @time = time
564
- end
565
- end
566
-
567
- class Insurance < ::Stripe::RequestParams
568
- # Amount of the insurance coverage in cents.
569
- attr_accessor :amount
570
- # Currency of the insurance amount.
571
- attr_accessor :currency
572
- # Name of the insurance company.
573
- attr_accessor :insurance_company_name
574
- # Type of insurance coverage.
575
- attr_accessor :insurance_type
576
-
577
- def initialize(
578
- amount: nil,
579
- currency: nil,
580
- insurance_company_name: nil,
581
- insurance_type: nil
582
- )
583
- @amount = amount
584
- @currency = currency
585
- @insurance_company_name = insurance_company_name
586
- @insurance_type = insurance_type
587
- end
588
- end
589
-
590
- class Pickup < ::Stripe::RequestParams
591
- class Address < ::Stripe::RequestParams
592
- # City, district, suburb, town, or village.
593
- attr_accessor :city
594
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
595
- attr_accessor :country
596
- # Address line 1, such as the street, PO Box, or company name.
597
- attr_accessor :line1
598
- # Address line 2, such as the apartment, suite, unit, or building.
599
- attr_accessor :line2
600
- # ZIP or postal code.
601
- attr_accessor :postal_code
602
- # State, county, province, or region.
603
- attr_accessor :state
604
-
605
- def initialize(
606
- city: nil,
607
- country: nil,
608
- line1: nil,
609
- line2: nil,
610
- postal_code: nil,
611
- state: nil
612
- )
613
- @city = city
614
- @country = country
615
- @line1 = line1
616
- @line2 = line2
617
- @postal_code = postal_code
618
- @state = state
619
- end
620
- end
621
- # Address of the rental location.
622
- attr_accessor :address
623
- # Location name.
624
- attr_accessor :location_name
625
- # Timestamp for the location.
626
- attr_accessor :time
627
-
628
- def initialize(address: nil, location_name: nil, time: nil)
629
- @address = address
630
- @location_name = location_name
631
- @time = time
632
- end
633
- end
634
-
635
- class Total < ::Stripe::RequestParams
636
- class Discounts < ::Stripe::RequestParams
637
- # Corporate client discount code.
638
- attr_accessor :corporate_client_code
639
- # Coupon code applied to the rental.
640
- attr_accessor :coupon
641
- # Maximum number of free miles or kilometers included.
642
- attr_accessor :maximum_free_miles_or_kilometers
643
-
644
- def initialize(
645
- corporate_client_code: nil,
646
- coupon: nil,
647
- maximum_free_miles_or_kilometers: nil
648
- )
649
- @corporate_client_code = corporate_client_code
650
- @coupon = coupon
651
- @maximum_free_miles_or_kilometers = maximum_free_miles_or_kilometers
652
- end
653
- end
654
-
655
- class ExtraCharge < ::Stripe::RequestParams
656
- # Amount of the extra charge in cents.
657
- attr_accessor :amount
658
- # Type of extra charge.
659
- attr_accessor :type
660
-
661
- def initialize(amount: nil, type: nil)
662
- @amount = amount
663
- @type = type
664
- end
665
- end
666
-
667
- class Tax < ::Stripe::RequestParams
668
- class Tax < ::Stripe::RequestParams
669
- # Tax amount.
670
- attr_accessor :amount
671
- # Tax rate applied.
672
- attr_accessor :rate
673
- # Type of tax applied.
674
- attr_accessor :type
675
-
676
- def initialize(amount: nil, rate: nil, type: nil)
677
- @amount = amount
678
- @rate = rate
679
- @type = type
680
- end
681
- end
682
- # Indicates if the transaction is tax exempt.
683
- attr_accessor :tax_exempt_indicator
684
- # Array of tax details.
685
- attr_accessor :taxes
686
-
687
- def initialize(tax_exempt_indicator: nil, taxes: nil)
688
- @tax_exempt_indicator = tax_exempt_indicator
689
- @taxes = taxes
690
- end
691
- end
692
- # Total amount in cents.
693
- attr_accessor :amount
694
- # Currency of the amount.
695
- attr_accessor :currency
696
- # Discount details for the rental.
697
- attr_accessor :discounts
698
- # Additional charges for the rental.
699
- attr_accessor :extra_charges
700
- # Rate per unit for the rental.
701
- attr_accessor :rate_per_unit
702
- # Unit of measurement for the rate.
703
- attr_accessor :rate_unit
704
- # Tax breakdown for the rental.
705
- attr_accessor :tax
706
-
707
- def initialize(
708
- amount: nil,
709
- currency: nil,
710
- discounts: nil,
711
- extra_charges: nil,
712
- rate_per_unit: nil,
713
- rate_unit: nil,
714
- tax: nil
715
- )
716
- @amount = amount
717
- @currency = currency
718
- @discounts = discounts
719
- @extra_charges = extra_charges
720
- @rate_per_unit = rate_per_unit
721
- @rate_unit = rate_unit
722
- @tax = tax
723
- end
724
- end
725
-
726
- class Vehicle < ::Stripe::RequestParams
727
- # Make of the rental vehicle.
728
- attr_accessor :make
729
- # Model of the rental vehicle.
730
- attr_accessor :model
731
- # Odometer reading at the time of rental.
732
- attr_accessor :odometer
733
- # Type of the rental vehicle.
734
- attr_accessor :type
735
- # Class of the rental vehicle.
736
- attr_accessor :vehicle_class
737
- # Vehicle identification number (VIN).
738
- attr_accessor :vehicle_identification_number
739
-
740
- def initialize(
741
- make: nil,
742
- model: nil,
743
- odometer: nil,
744
- type: nil,
745
- vehicle_class: nil,
746
- vehicle_identification_number: nil
747
- )
748
- @make = make
749
- @model = model
750
- @odometer = odometer
751
- @type = type
752
- @vehicle_class = vehicle_class
753
- @vehicle_identification_number = vehicle_identification_number
754
- end
755
- end
756
- # Affiliate (such as travel agency) details for the rental.
757
- attr_accessor :affiliate
758
- # Booking confirmation number for the car rental.
759
- attr_accessor :booking_number
760
- # Name of the car rental company.
761
- attr_accessor :carrier_name
762
- # Customer service phone number for the car rental company.
763
- attr_accessor :customer_service_phone_number
764
- # Number of days the car is being rented.
765
- attr_accessor :days_rented
766
- # Distance details for the rental.
767
- attr_accessor :distance
768
- # List of drivers for the rental.
769
- attr_accessor :drivers
770
- # Drop-off location details.
771
- attr_accessor :drop_off
772
- # Insurance details for the rental.
773
- attr_accessor :insurances
774
- # Indicates if the customer was a no-show.
775
- attr_accessor :no_show_indicator
776
- # Pickup location details.
777
- attr_accessor :pickup
778
- # Name of the person renting the vehicle.
779
- attr_accessor :renter_name
780
- # Total cost breakdown for the rental.
781
- attr_accessor :total
782
- # Vehicle details for the rental.
783
- attr_accessor :vehicle
784
-
785
- def initialize(
786
- affiliate: nil,
787
- booking_number: nil,
788
- carrier_name: nil,
789
- customer_service_phone_number: nil,
790
- days_rented: nil,
791
- distance: nil,
792
- drivers: nil,
793
- drop_off: nil,
794
- insurances: nil,
795
- no_show_indicator: nil,
796
- pickup: nil,
797
- renter_name: nil,
798
- total: nil,
799
- vehicle: nil
800
- )
801
- @affiliate = affiliate
802
- @booking_number = booking_number
803
- @carrier_name = carrier_name
804
- @customer_service_phone_number = customer_service_phone_number
805
- @days_rented = days_rented
806
- @distance = distance
807
- @drivers = drivers
808
- @drop_off = drop_off
809
- @insurances = insurances
810
- @no_show_indicator = no_show_indicator
811
- @pickup = pickup
812
- @renter_name = renter_name
813
- @total = total
814
- @vehicle = vehicle
815
- end
816
- end
817
-
818
- class EventDetails < ::Stripe::RequestParams
819
- class Address < ::Stripe::RequestParams
820
- # City, district, suburb, town, or village.
821
- attr_accessor :city
822
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
823
- attr_accessor :country
824
- # Address line 1, such as the street, PO Box, or company name.
825
- attr_accessor :line1
826
- # Address line 2, such as the apartment, suite, unit, or building.
827
- attr_accessor :line2
828
- # ZIP or postal code.
829
- attr_accessor :postal_code
830
- # State, county, province, or region.
831
- attr_accessor :state
832
-
833
- def initialize(
834
- city: nil,
835
- country: nil,
836
- line1: nil,
837
- line2: nil,
838
- postal_code: nil,
839
- state: nil
840
- )
841
- @city = city
842
- @country = country
843
- @line1 = line1
844
- @line2 = line2
845
- @postal_code = postal_code
846
- @state = state
847
- end
848
- end
849
-
850
- class Affiliate < ::Stripe::RequestParams
851
- # The name of the affiliate that originated the purchase.
852
- attr_accessor :name
853
-
854
- def initialize(name: nil)
855
- @name = name
856
- end
857
- end
858
-
859
- class Delivery < ::Stripe::RequestParams
860
- class Recipient < ::Stripe::RequestParams
861
- # The email of the recipient the ticket is delivered to.
862
- attr_accessor :email
863
- # The name of the recipient the ticket is delivered to.
864
- attr_accessor :name
865
- # The phone number of the recipient the ticket is delivered to.
866
- attr_accessor :phone
867
-
868
- def initialize(email: nil, name: nil, phone: nil)
869
- @email = email
870
- @name = name
871
- @phone = phone
872
- end
873
- end
874
- # The delivery method for the payment
875
- attr_accessor :mode
876
- # Details of the recipient.
877
- attr_accessor :recipient
878
-
879
- def initialize(mode: nil, recipient: nil)
880
- @mode = mode
881
- @recipient = recipient
882
- end
883
- end
884
- # Indicates if the tickets are digitally checked when entering the venue.
885
- attr_accessor :access_controlled_venue
886
- # The event location's address.
887
- attr_accessor :address
888
- # Affiliate details for this purchase.
889
- attr_accessor :affiliate
890
- # The name of the company
891
- attr_accessor :company
892
- # Delivery details for this purchase.
893
- attr_accessor :delivery
894
- # Event end time. Measured in seconds since the Unix epoch.
895
- attr_accessor :ends_at
896
- # Type of the event entertainment (concert, sports event etc)
897
- attr_accessor :genre
898
- # The name of the event.
899
- attr_accessor :name
900
- # Event start time. Measured in seconds since the Unix epoch.
901
- attr_accessor :starts_at
902
-
903
- def initialize(
904
- access_controlled_venue: nil,
905
- address: nil,
906
- affiliate: nil,
907
- company: nil,
908
- delivery: nil,
909
- ends_at: nil,
910
- genre: nil,
911
- name: nil,
912
- starts_at: nil
913
- )
914
- @access_controlled_venue = access_controlled_venue
915
- @address = address
916
- @affiliate = affiliate
917
- @company = company
918
- @delivery = delivery
919
- @ends_at = ends_at
920
- @genre = genre
921
- @name = name
922
- @starts_at = starts_at
923
- end
924
- end
925
-
926
- class Flight < ::Stripe::RequestParams
927
- class Affiliate < ::Stripe::RequestParams
928
- # The name of the affiliate that originated the purchase.
929
- attr_accessor :name
930
-
931
- def initialize(name: nil)
932
- @name = name
933
- end
934
- end
935
-
936
- class Delivery < ::Stripe::RequestParams
937
- class Recipient < ::Stripe::RequestParams
938
- # The email of the recipient the ticket is delivered to.
939
- attr_accessor :email
940
- # The name of the recipient the ticket is delivered to.
941
- attr_accessor :name
942
- # The phone number of the recipient the ticket is delivered to.
943
- attr_accessor :phone
944
-
945
- def initialize(email: nil, name: nil, phone: nil)
946
- @email = email
947
- @name = name
948
- @phone = phone
949
- end
950
- end
951
- # The delivery method for the payment
952
- attr_accessor :mode
953
- # Details of the recipient.
954
- attr_accessor :recipient
955
-
956
- def initialize(mode: nil, recipient: nil)
957
- @mode = mode
958
- @recipient = recipient
959
- end
960
- end
961
-
962
- class Passenger < ::Stripe::RequestParams
963
- # Full name of the person or entity on the flight reservation.
964
- attr_accessor :name
965
-
966
- def initialize(name: nil)
967
- @name = name
968
- end
969
- end
970
-
971
- class Segment < ::Stripe::RequestParams
972
- # The flight segment amount.
973
- attr_accessor :amount
974
- # The International Air Transport Association (IATA) airport code for the arrival airport.
975
- attr_accessor :arrival_airport
976
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
977
- attr_accessor :arrives_at
978
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
979
- attr_accessor :carrier
980
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
981
- attr_accessor :departs_at
982
- # The International Air Transport Association (IATA) airport code for the departure airport.
983
- attr_accessor :departure_airport
984
- # The flight number associated with the segment
985
- attr_accessor :flight_number
986
- # The fare class for the segment.
987
- attr_accessor :service_class
988
-
989
- def initialize(
990
- amount: nil,
991
- arrival_airport: nil,
992
- arrives_at: nil,
993
- carrier: nil,
994
- departs_at: nil,
995
- departure_airport: nil,
996
- flight_number: nil,
997
- service_class: nil
998
- )
999
- @amount = amount
1000
- @arrival_airport = arrival_airport
1001
- @arrives_at = arrives_at
1002
- @carrier = carrier
1003
- @departs_at = departs_at
1004
- @departure_airport = departure_airport
1005
- @flight_number = flight_number
1006
- @service_class = service_class
1007
- end
1008
- end
1009
- # Affiliate details for this purchase.
1010
- attr_accessor :affiliate
1011
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1012
- attr_accessor :agency_number
1013
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1014
- attr_accessor :carrier
1015
- # Delivery details for this purchase.
1016
- attr_accessor :delivery
1017
- # The name of the person or entity on the reservation.
1018
- attr_accessor :passenger_name
1019
- # The details of the passengers in the travel reservation.
1020
- attr_accessor :passengers
1021
- # The individual flight segments associated with the trip.
1022
- attr_accessor :segments
1023
- # The ticket number associated with the travel reservation.
1024
- attr_accessor :ticket_number
1025
-
1026
- def initialize(
1027
- affiliate: nil,
1028
- agency_number: nil,
1029
- carrier: nil,
1030
- delivery: nil,
1031
- passenger_name: nil,
1032
- passengers: nil,
1033
- segments: nil,
1034
- ticket_number: nil
1035
- )
1036
- @affiliate = affiliate
1037
- @agency_number = agency_number
1038
- @carrier = carrier
1039
- @delivery = delivery
1040
- @passenger_name = passenger_name
1041
- @passengers = passengers
1042
- @segments = segments
1043
- @ticket_number = ticket_number
1044
- end
1045
- end
1046
-
1047
- class FlightDatum < ::Stripe::RequestParams
1048
- class Affiliate < ::Stripe::RequestParams
1049
- # Affiliate partner code.
1050
- attr_accessor :code
1051
- # Name of affiliate partner.
1052
- attr_accessor :name
1053
- # Code provided by the company to a travel agent authorizing ticket issuance.
1054
- attr_accessor :travel_authorization_code
1055
-
1056
- def initialize(code: nil, name: nil, travel_authorization_code: nil)
1057
- @code = code
1058
- @name = name
1059
- @travel_authorization_code = travel_authorization_code
1060
- end
1061
- end
1062
-
1063
- class Insurance < ::Stripe::RequestParams
1064
- # Insurance cost.
1065
- attr_accessor :amount
1066
- # Insurance currency.
1067
- attr_accessor :currency
1068
- # Insurance company name.
1069
- attr_accessor :insurance_company_name
1070
- # Type of insurance.
1071
- attr_accessor :insurance_type
1072
-
1073
- def initialize(
1074
- amount: nil,
1075
- currency: nil,
1076
- insurance_company_name: nil,
1077
- insurance_type: nil
1078
- )
1079
- @amount = amount
1080
- @currency = currency
1081
- @insurance_company_name = insurance_company_name
1082
- @insurance_type = insurance_type
1083
- end
1084
- end
1085
-
1086
- class Passenger < ::Stripe::RequestParams
1087
- # Passenger's full name.
1088
- attr_accessor :name
1089
-
1090
- def initialize(name: nil)
1091
- @name = name
1092
- end
1093
- end
1094
-
1095
- class Segment < ::Stripe::RequestParams
1096
- class Arrival < ::Stripe::RequestParams
1097
- # Arrival airport IATA code.
1098
- attr_accessor :airport
1099
- # Arrival date/time.
1100
- attr_accessor :arrives_at
1101
- # Arrival city.
1102
- attr_accessor :city
1103
- # Arrival country.
1104
- attr_accessor :country
1105
-
1106
- def initialize(airport: nil, arrives_at: nil, city: nil, country: nil)
1107
- @airport = airport
1108
- @arrives_at = arrives_at
1109
- @city = city
1110
- @country = country
1111
- end
1112
- end
1113
-
1114
- class Departure < ::Stripe::RequestParams
1115
- # Departure airport IATA code.
1116
- attr_accessor :airport
1117
- # Departure city.
1118
- attr_accessor :city
1119
- # Departure country.
1120
- attr_accessor :country
1121
- # Departure date/time.
1122
- attr_accessor :departs_at
1123
-
1124
- def initialize(airport: nil, city: nil, country: nil, departs_at: nil)
1125
- @airport = airport
1126
- @city = city
1127
- @country = country
1128
- @departs_at = departs_at
1129
- end
1130
- end
1131
- # Segment fare amount.
1132
- attr_accessor :amount
1133
- # Arrival details.
1134
- attr_accessor :arrival
1135
- # Airline carrier code.
1136
- attr_accessor :carrier_code
1137
- # Carrier name.
1138
- attr_accessor :carrier_name
1139
- # Segment currency.
1140
- attr_accessor :currency
1141
- # Departure details.
1142
- attr_accessor :departure
1143
- # Exchange ticket number.
1144
- attr_accessor :exchange_ticket_number
1145
- # Fare basis code.
1146
- attr_accessor :fare_basis_code
1147
- # Additional fees.
1148
- attr_accessor :fees
1149
- # Flight number.
1150
- attr_accessor :flight_number
1151
- # Stopover indicator.
1152
- attr_accessor :is_stop_over_indicator
1153
- # Refundable ticket indicator.
1154
- attr_accessor :refundable
1155
- # Class of service.
1156
- attr_accessor :service_class
1157
- # Tax amount for segment.
1158
- attr_accessor :tax_amount
1159
- # Ticket number.
1160
- attr_accessor :ticket_number
1161
-
1162
- def initialize(
1163
- amount: nil,
1164
- arrival: nil,
1165
- carrier_code: nil,
1166
- carrier_name: nil,
1167
- currency: nil,
1168
- departure: nil,
1169
- exchange_ticket_number: nil,
1170
- fare_basis_code: nil,
1171
- fees: nil,
1172
- flight_number: nil,
1173
- is_stop_over_indicator: nil,
1174
- refundable: nil,
1175
- service_class: nil,
1176
- tax_amount: nil,
1177
- ticket_number: nil
1178
- )
1179
- @amount = amount
1180
- @arrival = arrival
1181
- @carrier_code = carrier_code
1182
- @carrier_name = carrier_name
1183
- @currency = currency
1184
- @departure = departure
1185
- @exchange_ticket_number = exchange_ticket_number
1186
- @fare_basis_code = fare_basis_code
1187
- @fees = fees
1188
- @flight_number = flight_number
1189
- @is_stop_over_indicator = is_stop_over_indicator
1190
- @refundable = refundable
1191
- @service_class = service_class
1192
- @tax_amount = tax_amount
1193
- @ticket_number = ticket_number
1194
- end
1195
- end
1196
-
1197
- class Total < ::Stripe::RequestParams
1198
- class Discounts < ::Stripe::RequestParams
1199
- # Corporate client discount code.
1200
- attr_accessor :corporate_client_code
1201
-
1202
- def initialize(corporate_client_code: nil)
1203
- @corporate_client_code = corporate_client_code
1204
- end
1205
- end
1206
-
1207
- class ExtraCharge < ::Stripe::RequestParams
1208
- # Amount of additional charges.
1209
- attr_accessor :amount
1210
- # Type of additional charges.
1211
- attr_accessor :type
1212
-
1213
- def initialize(amount: nil, type: nil)
1214
- @amount = amount
1215
- @type = type
1216
- end
1217
- end
1218
-
1219
- class Tax < ::Stripe::RequestParams
1220
- class Tax < ::Stripe::RequestParams
1221
- # Tax amount.
1222
- attr_accessor :amount
1223
- # Tax rate.
1224
- attr_accessor :rate
1225
- # Type of tax.
1226
- attr_accessor :type
1227
-
1228
- def initialize(amount: nil, rate: nil, type: nil)
1229
- @amount = amount
1230
- @rate = rate
1231
- @type = type
1232
- end
1233
- end
1234
- # Array of tax details.
1235
- attr_accessor :taxes
1236
-
1237
- def initialize(taxes: nil)
1238
- @taxes = taxes
1239
- end
1240
- end
1241
- # Total flight amount.
1242
- attr_accessor :amount
1243
- # Reason for credit.
1244
- attr_accessor :credit_reason
1245
- # Total currency.
1246
- attr_accessor :currency
1247
- # Discount details.
1248
- attr_accessor :discounts
1249
- # Additional charges.
1250
- attr_accessor :extra_charges
1251
- # Tax breakdown.
1252
- attr_accessor :tax
1253
-
1254
- def initialize(
1255
- amount: nil,
1256
- credit_reason: nil,
1257
- currency: nil,
1258
- discounts: nil,
1259
- extra_charges: nil,
1260
- tax: nil
1261
- )
1262
- @amount = amount
1263
- @credit_reason = credit_reason
1264
- @currency = currency
1265
- @discounts = discounts
1266
- @extra_charges = extra_charges
1267
- @tax = tax
1268
- end
1269
- end
1270
- # Affiliate details if applicable.
1271
- attr_accessor :affiliate
1272
- # Reservation reference.
1273
- attr_accessor :booking_number
1274
- # Computerized reservation system used to make the reservation and purchase the ticket.
1275
- attr_accessor :computerized_reservation_system
1276
- # Ticket restrictions.
1277
- attr_accessor :endorsements_and_restrictions
1278
- # List of insurances.
1279
- attr_accessor :insurances
1280
- # List of passengers.
1281
- attr_accessor :passengers
1282
- # List of flight segments.
1283
- attr_accessor :segments
1284
- # Electronic ticket indicator.
1285
- attr_accessor :ticket_electronically_issued_indicator
1286
- # Total cost breakdown.
1287
- attr_accessor :total
1288
- # Type of flight transaction.
1289
- attr_accessor :transaction_type
1290
-
1291
- def initialize(
1292
- affiliate: nil,
1293
- booking_number: nil,
1294
- computerized_reservation_system: nil,
1295
- endorsements_and_restrictions: nil,
1296
- insurances: nil,
1297
- passengers: nil,
1298
- segments: nil,
1299
- ticket_electronically_issued_indicator: nil,
1300
- total: nil,
1301
- transaction_type: nil
1302
- )
1303
- @affiliate = affiliate
1304
- @booking_number = booking_number
1305
- @computerized_reservation_system = computerized_reservation_system
1306
- @endorsements_and_restrictions = endorsements_and_restrictions
1307
- @insurances = insurances
1308
- @passengers = passengers
1309
- @segments = segments
1310
- @ticket_electronically_issued_indicator = ticket_electronically_issued_indicator
1311
- @total = total
1312
- @transaction_type = transaction_type
1313
- end
1314
- end
1315
-
1316
- class Lodging < ::Stripe::RequestParams
1317
- class Address < ::Stripe::RequestParams
1318
- # City, district, suburb, town, or village.
1319
- attr_accessor :city
1320
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1321
- attr_accessor :country
1322
- # Address line 1, such as the street, PO Box, or company name.
1323
- attr_accessor :line1
1324
- # Address line 2, such as the apartment, suite, unit, or building.
1325
- attr_accessor :line2
1326
- # ZIP or postal code.
1327
- attr_accessor :postal_code
1328
- # State, county, province, or region.
1329
- attr_accessor :state
1330
-
1331
- def initialize(
1332
- city: nil,
1333
- country: nil,
1334
- line1: nil,
1335
- line2: nil,
1336
- postal_code: nil,
1337
- state: nil
1338
- )
1339
- @city = city
1340
- @country = country
1341
- @line1 = line1
1342
- @line2 = line2
1343
- @postal_code = postal_code
1344
- @state = state
1345
- end
1346
- end
1347
-
1348
- class Affiliate < ::Stripe::RequestParams
1349
- # The name of the affiliate that originated the purchase.
1350
- attr_accessor :name
1351
-
1352
- def initialize(name: nil)
1353
- @name = name
1354
- end
1355
- end
1356
-
1357
- class Delivery < ::Stripe::RequestParams
1358
- class Recipient < ::Stripe::RequestParams
1359
- # The email of the recipient the ticket is delivered to.
1360
- attr_accessor :email
1361
- # The name of the recipient the ticket is delivered to.
1362
- attr_accessor :name
1363
- # The phone number of the recipient the ticket is delivered to.
1364
- attr_accessor :phone
1365
-
1366
- def initialize(email: nil, name: nil, phone: nil)
1367
- @email = email
1368
- @name = name
1369
- @phone = phone
1370
- end
1371
- end
1372
- # The delivery method for the payment
1373
- attr_accessor :mode
1374
- # Details of the recipient.
1375
- attr_accessor :recipient
1376
-
1377
- def initialize(mode: nil, recipient: nil)
1378
- @mode = mode
1379
- @recipient = recipient
1380
- end
1381
- end
1382
-
1383
- class Passenger < ::Stripe::RequestParams
1384
- # Full name of the person or entity on the lodging reservation.
1385
- attr_accessor :name
1386
-
1387
- def initialize(name: nil)
1388
- @name = name
1389
- end
1390
- end
1391
- # The lodging location's address.
1392
- attr_accessor :address
1393
- # The number of adults on the booking
1394
- attr_accessor :adults
1395
- # Affiliate details for this purchase.
1396
- attr_accessor :affiliate
1397
- # The booking number associated with the lodging reservation.
1398
- attr_accessor :booking_number
1399
- # The lodging category
1400
- attr_accessor :category
1401
- # Lodging check-in time. Measured in seconds since the Unix epoch.
1402
- attr_accessor :checkin_at
1403
- # Lodging check-out time. Measured in seconds since the Unix epoch.
1404
- attr_accessor :checkout_at
1405
- # The customer service phone number of the lodging company.
1406
- attr_accessor :customer_service_phone_number
1407
- # The daily lodging room rate.
1408
- attr_accessor :daily_room_rate_amount
1409
- # Delivery details for this purchase.
1410
- attr_accessor :delivery
1411
- # List of additional charges being billed.
1412
- attr_accessor :extra_charges
1413
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
1414
- attr_accessor :fire_safety_act_compliance
1415
- # The name of the lodging location.
1416
- attr_accessor :name
1417
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1418
- attr_accessor :no_show
1419
- # The number of rooms on the booking
1420
- attr_accessor :number_of_rooms
1421
- # The details of the passengers in the travel reservation
1422
- attr_accessor :passengers
1423
- # The phone number of the lodging location.
1424
- attr_accessor :property_phone_number
1425
- # The room class for this purchase.
1426
- attr_accessor :room_class
1427
- # The number of room nights
1428
- attr_accessor :room_nights
1429
- # The total tax amount associating with the room reservation.
1430
- attr_accessor :total_room_tax_amount
1431
- # The total tax amount
1432
- attr_accessor :total_tax_amount
1433
-
1434
- def initialize(
1435
- address: nil,
1436
- adults: nil,
1437
- affiliate: nil,
1438
- booking_number: nil,
1439
- category: nil,
1440
- checkin_at: nil,
1441
- checkout_at: nil,
1442
- customer_service_phone_number: nil,
1443
- daily_room_rate_amount: nil,
1444
- delivery: nil,
1445
- extra_charges: nil,
1446
- fire_safety_act_compliance: nil,
1447
- name: nil,
1448
- no_show: nil,
1449
- number_of_rooms: nil,
1450
- passengers: nil,
1451
- property_phone_number: nil,
1452
- room_class: nil,
1453
- room_nights: nil,
1454
- total_room_tax_amount: nil,
1455
- total_tax_amount: nil
1456
- )
1457
- @address = address
1458
- @adults = adults
1459
- @affiliate = affiliate
1460
- @booking_number = booking_number
1461
- @category = category
1462
- @checkin_at = checkin_at
1463
- @checkout_at = checkout_at
1464
- @customer_service_phone_number = customer_service_phone_number
1465
- @daily_room_rate_amount = daily_room_rate_amount
1466
- @delivery = delivery
1467
- @extra_charges = extra_charges
1468
- @fire_safety_act_compliance = fire_safety_act_compliance
1469
- @name = name
1470
- @no_show = no_show
1471
- @number_of_rooms = number_of_rooms
1472
- @passengers = passengers
1473
- @property_phone_number = property_phone_number
1474
- @room_class = room_class
1475
- @room_nights = room_nights
1476
- @total_room_tax_amount = total_room_tax_amount
1477
- @total_tax_amount = total_tax_amount
1478
- end
1479
- end
1480
-
1481
- class LodgingDatum < ::Stripe::RequestParams
1482
- class Accommodation < ::Stripe::RequestParams
1483
- # Type of accommodation.
1484
- attr_accessor :accommodation_type
1485
- # Bed type.
1486
- attr_accessor :bed_type
1487
- # Daily accommodation rate in cents.
1488
- attr_accessor :daily_rate_amount
1489
- # Number of nights.
1490
- attr_accessor :nights
1491
- # Number of rooms, cabanas, apartments, and so on.
1492
- attr_accessor :number_of_rooms
1493
- # Rate type.
1494
- attr_accessor :rate_type
1495
- # Whether smoking is allowed.
1496
- attr_accessor :smoking_indicator
1497
-
1498
- def initialize(
1499
- accommodation_type: nil,
1500
- bed_type: nil,
1501
- daily_rate_amount: nil,
1502
- nights: nil,
1503
- number_of_rooms: nil,
1504
- rate_type: nil,
1505
- smoking_indicator: nil
1506
- )
1507
- @accommodation_type = accommodation_type
1508
- @bed_type = bed_type
1509
- @daily_rate_amount = daily_rate_amount
1510
- @nights = nights
1511
- @number_of_rooms = number_of_rooms
1512
- @rate_type = rate_type
1513
- @smoking_indicator = smoking_indicator
1514
- end
1515
- end
1516
-
1517
- class Affiliate < ::Stripe::RequestParams
1518
- # Affiliate partner code.
1519
- attr_accessor :code
1520
- # Affiliate partner name.
1521
- attr_accessor :name
1522
-
1523
- def initialize(code: nil, name: nil)
1524
- @code = code
1525
- @name = name
1526
- end
1527
- end
1528
-
1529
- class Guest < ::Stripe::RequestParams
1530
- # Guest's full name.
1531
- attr_accessor :name
1532
-
1533
- def initialize(name: nil)
1534
- @name = name
1535
- end
1536
- end
1537
-
1538
- class Host < ::Stripe::RequestParams
1539
- class Address < ::Stripe::RequestParams
1540
- # City, district, suburb, town, or village.
1541
- attr_accessor :city
1542
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1543
- attr_accessor :country
1544
- # Address line 1, such as the street, PO Box, or company name.
1545
- attr_accessor :line1
1546
- # Address line 2, such as the apartment, suite, unit, or building.
1547
- attr_accessor :line2
1548
- # ZIP or postal code.
1549
- attr_accessor :postal_code
1550
- # State, county, province, or region.
1551
- attr_accessor :state
1552
-
1553
- def initialize(
1554
- city: nil,
1555
- country: nil,
1556
- line1: nil,
1557
- line2: nil,
1558
- postal_code: nil,
1559
- state: nil
1560
- )
1561
- @city = city
1562
- @country = country
1563
- @line1 = line1
1564
- @line2 = line2
1565
- @postal_code = postal_code
1566
- @state = state
1567
- end
1568
- end
1569
- # Address of the host.
1570
- attr_accessor :address
1571
- # Host's country of domicile.
1572
- attr_accessor :country_of_domicile
1573
- # Reference number for the host.
1574
- attr_accessor :host_reference
1575
- # Type of host.
1576
- attr_accessor :host_type
1577
- # Name of the lodging property or host.
1578
- attr_accessor :name
1579
- # Total number of reservations for the host.
1580
- attr_accessor :number_of_reservations
1581
- # Property phone number.
1582
- attr_accessor :property_phone_number
1583
- # Host's registration date.
1584
- attr_accessor :registered_at
1585
-
1586
- def initialize(
1587
- address: nil,
1588
- country_of_domicile: nil,
1589
- host_reference: nil,
1590
- host_type: nil,
1591
- name: nil,
1592
- number_of_reservations: nil,
1593
- property_phone_number: nil,
1594
- registered_at: nil
1595
- )
1596
- @address = address
1597
- @country_of_domicile = country_of_domicile
1598
- @host_reference = host_reference
1599
- @host_type = host_type
1600
- @name = name
1601
- @number_of_reservations = number_of_reservations
1602
- @property_phone_number = property_phone_number
1603
- @registered_at = registered_at
1604
- end
1605
- end
1606
-
1607
- class Insurance < ::Stripe::RequestParams
1608
- # Price of the insurance coverage in cents.
1609
- attr_accessor :amount
1610
- # Currency of the insurance amount.
1611
- attr_accessor :currency
1612
- # Name of the insurance company.
1613
- attr_accessor :insurance_company_name
1614
- # Type of insurance coverage.
1615
- attr_accessor :insurance_type
1616
-
1617
- def initialize(
1618
- amount: nil,
1619
- currency: nil,
1620
- insurance_company_name: nil,
1621
- insurance_type: nil
1622
- )
1623
- @amount = amount
1624
- @currency = currency
1625
- @insurance_company_name = insurance_company_name
1626
- @insurance_type = insurance_type
1627
- end
1628
- end
1629
-
1630
- class Total < ::Stripe::RequestParams
1631
- class Discounts < ::Stripe::RequestParams
1632
- # Corporate client discount code.
1633
- attr_accessor :corporate_client_code
1634
- # Coupon code.
1635
- attr_accessor :coupon
1636
-
1637
- def initialize(corporate_client_code: nil, coupon: nil)
1638
- @corporate_client_code = corporate_client_code
1639
- @coupon = coupon
1640
- end
1641
- end
1642
-
1643
- class ExtraCharge < ::Stripe::RequestParams
1644
- # Amount of the extra charge in cents.
1645
- attr_accessor :amount
1646
- # Type of extra charge.
1647
- attr_accessor :type
1648
-
1649
- def initialize(amount: nil, type: nil)
1650
- @amount = amount
1651
- @type = type
1652
- end
1653
- end
1654
-
1655
- class Tax < ::Stripe::RequestParams
1656
- class Tax < ::Stripe::RequestParams
1657
- # Tax amount in cents.
1658
- attr_accessor :amount
1659
- # Tax rate.
1660
- attr_accessor :rate
1661
- # Type of tax applied.
1662
- attr_accessor :type
1663
-
1664
- def initialize(amount: nil, rate: nil, type: nil)
1665
- @amount = amount
1666
- @rate = rate
1667
- @type = type
1668
- end
1669
- end
1670
- # Indicates whether the transaction is tax exempt.
1671
- attr_accessor :tax_exempt_indicator
1672
- # Tax details.
1673
- attr_accessor :taxes
1674
-
1675
- def initialize(tax_exempt_indicator: nil, taxes: nil)
1676
- @tax_exempt_indicator = tax_exempt_indicator
1677
- @taxes = taxes
1678
- end
1679
- end
1680
- # Total price of the lodging reservation in cents.
1681
- attr_accessor :amount
1682
- # Cash advances in cents.
1683
- attr_accessor :cash_advances
1684
- # Currency of the total amount.
1685
- attr_accessor :currency
1686
- # Discount details for the lodging.
1687
- attr_accessor :discounts
1688
- # Additional charges for the lodging.
1689
- attr_accessor :extra_charges
1690
- # Prepaid amount in cents.
1691
- attr_accessor :prepaid_amount
1692
- # Tax breakdown for the lodging reservation.
1693
- attr_accessor :tax
1694
-
1695
- def initialize(
1696
- amount: nil,
1697
- cash_advances: nil,
1698
- currency: nil,
1699
- discounts: nil,
1700
- extra_charges: nil,
1701
- prepaid_amount: nil,
1702
- tax: nil
1703
- )
1704
- @amount = amount
1705
- @cash_advances = cash_advances
1706
- @currency = currency
1707
- @discounts = discounts
1708
- @extra_charges = extra_charges
1709
- @prepaid_amount = prepaid_amount
1710
- @tax = tax
1711
- end
1712
- end
1713
- # Accommodation details for the lodging.
1714
- attr_accessor :accommodation
1715
- # Affiliate details if applicable.
1716
- attr_accessor :affiliate
1717
- # Booking confirmation number for the lodging.
1718
- attr_accessor :booking_number
1719
- # Check-in date.
1720
- attr_accessor :checkin_at
1721
- # Check-out date.
1722
- attr_accessor :checkout_at
1723
- # Customer service phone number for the lodging company.
1724
- attr_accessor :customer_service_phone_number
1725
- # Whether the lodging is compliant with any hotel fire safety regulations.
1726
- attr_accessor :fire_safety_act_compliance_indicator
1727
- # List of guests for the lodging.
1728
- attr_accessor :guests
1729
- # Host details for the lodging.
1730
- attr_accessor :host
1731
- # List of insurances for the lodging.
1732
- attr_accessor :insurances
1733
- # Whether the renter is a no-show.
1734
- attr_accessor :no_show_indicator
1735
- # Renter ID number for the lodging.
1736
- attr_accessor :renter_id_number
1737
- # Renter name for the lodging.
1738
- attr_accessor :renter_name
1739
- # Total details for the lodging.
1740
- attr_accessor :total
1741
-
1742
- def initialize(
1743
- accommodation: nil,
1744
- affiliate: nil,
1745
- booking_number: nil,
1746
- checkin_at: nil,
1747
- checkout_at: nil,
1748
- customer_service_phone_number: nil,
1749
- fire_safety_act_compliance_indicator: nil,
1750
- guests: nil,
1751
- host: nil,
1752
- insurances: nil,
1753
- no_show_indicator: nil,
1754
- renter_id_number: nil,
1755
- renter_name: nil,
1756
- total: nil
1757
- )
1758
- @accommodation = accommodation
1759
- @affiliate = affiliate
1760
- @booking_number = booking_number
1761
- @checkin_at = checkin_at
1762
- @checkout_at = checkout_at
1763
- @customer_service_phone_number = customer_service_phone_number
1764
- @fire_safety_act_compliance_indicator = fire_safety_act_compliance_indicator
1765
- @guests = guests
1766
- @host = host
1767
- @insurances = insurances
1768
- @no_show_indicator = no_show_indicator
1769
- @renter_id_number = renter_id_number
1770
- @renter_name = renter_name
1771
- @total = total
1772
- end
1773
- end
1774
-
1775
- class Subscription < ::Stripe::RequestParams
1776
- class Affiliate < ::Stripe::RequestParams
1777
- # The name of the affiliate that originated the purchase.
1778
- attr_accessor :name
1779
-
1780
- def initialize(name: nil)
1781
- @name = name
1782
- end
1783
- end
1784
-
1785
- class BillingInterval < ::Stripe::RequestParams
1786
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1787
- attr_accessor :count
1788
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1789
- attr_accessor :interval
1790
-
1791
- def initialize(count: nil, interval: nil)
1792
- @count = count
1793
- @interval = interval
1794
- end
1795
- end
1796
- # Affiliate details for this purchase.
1797
- attr_accessor :affiliate
1798
- # Info whether the subscription will be auto renewed upon expiry.
1799
- attr_accessor :auto_renewal
1800
- # Subscription billing details for this purchase.
1801
- attr_accessor :billing_interval
1802
- # Subscription end time. Measured in seconds since the Unix epoch.
1803
- attr_accessor :ends_at
1804
- # Name of the product on subscription. e.g. Apple Music Subscription
1805
- attr_accessor :name
1806
- # Subscription start time. Measured in seconds since the Unix epoch.
1807
- attr_accessor :starts_at
1808
-
1809
- def initialize(
1810
- affiliate: nil,
1811
- auto_renewal: nil,
1812
- billing_interval: nil,
1813
- ends_at: nil,
1814
- name: nil,
1815
- starts_at: nil
1816
- )
1817
- @affiliate = affiliate
1818
- @auto_renewal = auto_renewal
1819
- @billing_interval = billing_interval
1820
- @ends_at = ends_at
1821
- @name = name
1822
- @starts_at = starts_at
1823
- end
1824
- end
1825
- # Car rental details for this PaymentIntent.
1826
- attr_accessor :car_rental
1827
- # Car rental data for this PaymentIntent.
1828
- attr_accessor :car_rental_data
202
+ class PaymentDetails < ::Stripe::RequestParams
1829
203
  # A unique value to identify the customer. This field is available only for card payments.
1830
204
  #
1831
205
  # This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
1832
206
  attr_accessor :customer_reference
1833
- # Event details for this PaymentIntent
1834
- attr_accessor :event_details
1835
- # Flight reservation details for this PaymentIntent
1836
- attr_accessor :flight
1837
- # Flight data for this PaymentIntent.
1838
- attr_accessor :flight_data
1839
- # Lodging reservation details for this PaymentIntent
1840
- attr_accessor :lodging
1841
- # Lodging data for this PaymentIntent.
1842
- attr_accessor :lodging_data
1843
207
  # A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
1844
208
  #
1845
209
  # Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
1846
210
  #
1847
211
  # For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
1848
212
  attr_accessor :order_reference
1849
- # Subscription details for this PaymentIntent
1850
- attr_accessor :subscription
1851
213
 
1852
- def initialize(
1853
- car_rental: nil,
1854
- car_rental_data: nil,
1855
- customer_reference: nil,
1856
- event_details: nil,
1857
- flight: nil,
1858
- flight_data: nil,
1859
- lodging: nil,
1860
- lodging_data: nil,
1861
- order_reference: nil,
1862
- subscription: nil
1863
- )
1864
- @car_rental = car_rental
1865
- @car_rental_data = car_rental_data
214
+ def initialize(customer_reference: nil, order_reference: nil)
1866
215
  @customer_reference = customer_reference
1867
- @event_details = event_details
1868
- @flight = flight
1869
- @flight_data = flight_data
1870
- @lodging = lodging
1871
- @lodging_data = lodging_data
1872
216
  @order_reference = order_reference
1873
- @subscription = subscription
1874
217
  end
1875
218
  end
1876
219
 
@@ -1935,7 +278,7 @@ module Stripe
1935
278
  attr_accessor :line2
1936
279
  # ZIP or postal code.
1937
280
  attr_accessor :postal_code
1938
- # State, county, province, or region.
281
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1939
282
  attr_accessor :state
1940
283
 
1941
284
  def initialize(
@@ -2011,18 +354,8 @@ module Stripe
2011
354
  end
2012
355
 
2013
356
  class Giropay < ::Stripe::RequestParams; end
2014
- class Gopay < ::Stripe::RequestParams; end
2015
357
  class Grabpay < ::Stripe::RequestParams; end
2016
358
 
2017
- class IdBankTransfer < ::Stripe::RequestParams
2018
- # Bank where the account is held.
2019
- attr_accessor :bank
2020
-
2021
- def initialize(bank: nil)
2022
- @bank = bank
2023
- end
2024
- end
2025
-
2026
359
  class Ideal < ::Stripe::RequestParams
2027
360
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
2028
361
  attr_accessor :bank
@@ -2120,7 +453,6 @@ module Stripe
2120
453
  class Payco < ::Stripe::RequestParams; end
2121
454
  class Paynow < ::Stripe::RequestParams; end
2122
455
  class Paypal < ::Stripe::RequestParams; end
2123
- class Paypay < ::Stripe::RequestParams; end
2124
456
 
2125
457
  class Payto < ::Stripe::RequestParams
2126
458
  # The account number for the bank account.
@@ -2139,10 +471,9 @@ module Stripe
2139
471
 
2140
472
  class Pix < ::Stripe::RequestParams; end
2141
473
  class Promptpay < ::Stripe::RequestParams; end
2142
- class Qris < ::Stripe::RequestParams; end
2143
474
 
2144
475
  class RadarOptions < ::Stripe::RequestParams
2145
- # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
476
+ # A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
2146
477
  attr_accessor :session
2147
478
 
2148
479
  def initialize(session: nil)
@@ -2150,29 +481,6 @@ module Stripe
2150
481
  end
2151
482
  end
2152
483
 
2153
- class Rechnung < ::Stripe::RequestParams
2154
- class Dob < ::Stripe::RequestParams
2155
- # The day of birth, between 1 and 31.
2156
- attr_accessor :day
2157
- # The month of birth, between 1 and 12.
2158
- attr_accessor :month
2159
- # The four-digit year of birth.
2160
- attr_accessor :year
2161
-
2162
- def initialize(day: nil, month: nil, year: nil)
2163
- @day = day
2164
- @month = month
2165
- @year = year
2166
- end
2167
- end
2168
- # Customer's date of birth
2169
- attr_accessor :dob
2170
-
2171
- def initialize(dob: nil)
2172
- @dob = dob
2173
- end
2174
- end
2175
-
2176
484
  class RevolutPay < ::Stripe::RequestParams; end
2177
485
  class SamsungPay < ::Stripe::RequestParams; end
2178
486
  class Satispay < ::Stripe::RequestParams; end
@@ -2186,8 +494,6 @@ module Stripe
2186
494
  end
2187
495
  end
2188
496
 
2189
- class Shopeepay < ::Stripe::RequestParams; end
2190
-
2191
497
  class Sofort < ::Stripe::RequestParams
2192
498
  # Two-letter ISO code representing the country the bank account is located in.
2193
499
  attr_accessor :country
@@ -2197,18 +503,6 @@ module Stripe
2197
503
  end
2198
504
  end
2199
505
 
2200
- class StripeBalance < ::Stripe::RequestParams
2201
- # The connected account ID whose Stripe balance to use as the source of payment
2202
- attr_accessor :account
2203
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2204
- attr_accessor :source_type
2205
-
2206
- def initialize(account: nil, source_type: nil)
2207
- @account = account
2208
- @source_type = source_type
2209
- end
2210
- end
2211
-
2212
506
  class Swish < ::Stripe::RequestParams; end
2213
507
  class Twint < ::Stripe::RequestParams; end
2214
508
 
@@ -2281,12 +575,8 @@ module Stripe
2281
575
  attr_accessor :fpx
2282
576
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
2283
577
  attr_accessor :giropay
2284
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
2285
- attr_accessor :gopay
2286
578
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
2287
579
  attr_accessor :grabpay
2288
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
2289
- attr_accessor :id_bank_transfer
2290
580
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
2291
581
  attr_accessor :ideal
2292
582
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -2303,7 +593,7 @@ module Stripe
2303
593
  attr_accessor :link
2304
594
  # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2305
595
  attr_accessor :mb_way
2306
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
596
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2307
597
  attr_accessor :metadata
2308
598
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
2309
599
  attr_accessor :mobilepay
@@ -2325,20 +615,14 @@ module Stripe
2325
615
  attr_accessor :paynow
2326
616
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
2327
617
  attr_accessor :paypal
2328
- # If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
2329
- attr_accessor :paypay
2330
618
  # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
2331
619
  attr_accessor :payto
2332
620
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
2333
621
  attr_accessor :pix
2334
622
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
2335
623
  attr_accessor :promptpay
2336
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
2337
- attr_accessor :qris
2338
- # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
624
+ # Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
2339
625
  attr_accessor :radar_options
2340
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
2341
- attr_accessor :rechnung
2342
626
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
2343
627
  attr_accessor :revolut_pay
2344
628
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -2347,12 +631,8 @@ module Stripe
2347
631
  attr_accessor :satispay
2348
632
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
2349
633
  attr_accessor :sepa_debit
2350
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
2351
- attr_accessor :shopeepay
2352
634
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
2353
635
  attr_accessor :sofort
2354
- # This hash contains details about the Stripe balance payment method.
2355
- attr_accessor :stripe_balance
2356
636
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
2357
637
  attr_accessor :swish
2358
638
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -2387,9 +667,7 @@ module Stripe
2387
667
  eps: nil,
2388
668
  fpx: nil,
2389
669
  giropay: nil,
2390
- gopay: nil,
2391
670
  grabpay: nil,
2392
- id_bank_transfer: nil,
2393
671
  ideal: nil,
2394
672
  interac_present: nil,
2395
673
  kakao_pay: nil,
@@ -2409,20 +687,15 @@ module Stripe
2409
687
  payco: nil,
2410
688
  paynow: nil,
2411
689
  paypal: nil,
2412
- paypay: nil,
2413
690
  payto: nil,
2414
691
  pix: nil,
2415
692
  promptpay: nil,
2416
- qris: nil,
2417
693
  radar_options: nil,
2418
- rechnung: nil,
2419
694
  revolut_pay: nil,
2420
695
  samsung_pay: nil,
2421
696
  satispay: nil,
2422
697
  sepa_debit: nil,
2423
- shopeepay: nil,
2424
698
  sofort: nil,
2425
- stripe_balance: nil,
2426
699
  swish: nil,
2427
700
  twint: nil,
2428
701
  type: nil,
@@ -2450,9 +723,7 @@ module Stripe
2450
723
  @eps = eps
2451
724
  @fpx = fpx
2452
725
  @giropay = giropay
2453
- @gopay = gopay
2454
726
  @grabpay = grabpay
2455
- @id_bank_transfer = id_bank_transfer
2456
727
  @ideal = ideal
2457
728
  @interac_present = interac_present
2458
729
  @kakao_pay = kakao_pay
@@ -2472,20 +743,15 @@ module Stripe
2472
743
  @payco = payco
2473
744
  @paynow = paynow
2474
745
  @paypal = paypal
2475
- @paypay = paypay
2476
746
  @payto = payto
2477
747
  @pix = pix
2478
748
  @promptpay = promptpay
2479
- @qris = qris
2480
749
  @radar_options = radar_options
2481
- @rechnung = rechnung
2482
750
  @revolut_pay = revolut_pay
2483
751
  @samsung_pay = samsung_pay
2484
752
  @satispay = satispay
2485
753
  @sepa_debit = sepa_debit
2486
- @shopeepay = shopeepay
2487
754
  @sofort = sofort
2488
- @stripe_balance = stripe_balance
2489
755
  @swish = swish
2490
756
  @twint = twint
2491
757
  @type = type
@@ -2856,48 +1122,6 @@ module Stripe
2856
1122
  end
2857
1123
  end
2858
1124
 
2859
- class StatementDetails < ::Stripe::RequestParams
2860
- class Address < ::Stripe::RequestParams
2861
- # City, district, suburb, town, or village.
2862
- attr_accessor :city
2863
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2864
- attr_accessor :country
2865
- # Address line 1, such as the street, PO Box, or company name.
2866
- attr_accessor :line1
2867
- # Address line 2, such as the apartment, suite, unit, or building.
2868
- attr_accessor :line2
2869
- # ZIP or postal code.
2870
- attr_accessor :postal_code
2871
- # State, county, province, or region.
2872
- attr_accessor :state
2873
-
2874
- def initialize(
2875
- city: nil,
2876
- country: nil,
2877
- line1: nil,
2878
- line2: nil,
2879
- postal_code: nil,
2880
- state: nil
2881
- )
2882
- @city = city
2883
- @country = country
2884
- @line1 = line1
2885
- @line2 = line2
2886
- @postal_code = postal_code
2887
- @state = state
2888
- end
2889
- end
2890
- # Please pass in an address that is within your Stripe user account country
2891
- attr_accessor :address
2892
- # Phone number (e.g., a toll-free number that customers can call)
2893
- attr_accessor :phone
2894
-
2895
- def initialize(address: nil, phone: nil)
2896
- @address = address
2897
- @phone = phone
2898
- end
2899
- end
2900
-
2901
1125
  class ThreeDSecure < ::Stripe::RequestParams
2902
1126
  class NetworkOptions < ::Stripe::RequestParams
2903
1127
  class CartesBancaires < ::Stripe::RequestParams
@@ -2982,7 +1206,7 @@ module Stripe
2982
1206
  attr_accessor :cvc_token
2983
1207
  # Installment configuration for payments attempted on this PaymentIntent.
2984
1208
  #
2985
- # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
1209
+ # For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
2986
1210
  attr_accessor :installments
2987
1211
  # Configuration options for setting up an eMandate for cards issued in India.
2988
1212
  attr_accessor :mandate_options
@@ -2992,19 +1216,15 @@ module Stripe
2992
1216
  attr_accessor :moto
2993
1217
  # Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
2994
1218
  attr_accessor :network
2995
- # Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
2996
- attr_accessor :request_decremental_authorization
2997
- # Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
1219
+ # Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
2998
1220
  attr_accessor :request_extended_authorization
2999
- # Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
1221
+ # Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
3000
1222
  attr_accessor :request_incremental_authorization
3001
- # Request ability to make [multiple captures](https://stripe.com/docs/payments/multicapture) for this PaymentIntent.
1223
+ # Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
3002
1224
  attr_accessor :request_multicapture
3003
- # Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
1225
+ # Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
3004
1226
  attr_accessor :request_overcapture
3005
- # Request partial authorization on this PaymentIntent.
3006
- attr_accessor :request_partial_authorization
3007
- # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1227
+ # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
3008
1228
  attr_accessor :request_three_d_secure
3009
1229
  # When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
3010
1230
  attr_accessor :require_cvc_recollection
@@ -3022,8 +1242,6 @@ module Stripe
3022
1242
  attr_accessor :statement_descriptor_suffix_kana
3023
1243
  # Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
3024
1244
  attr_accessor :statement_descriptor_suffix_kanji
3025
- # Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
3026
- attr_accessor :statement_details
3027
1245
  # If 3D Secure authentication was performed with a third-party provider,
3028
1246
  # the authentication details to use for this payment.
3029
1247
  attr_accessor :three_d_secure
@@ -3035,18 +1253,15 @@ module Stripe
3035
1253
  mandate_options: nil,
3036
1254
  moto: nil,
3037
1255
  network: nil,
3038
- request_decremental_authorization: nil,
3039
1256
  request_extended_authorization: nil,
3040
1257
  request_incremental_authorization: nil,
3041
1258
  request_multicapture: nil,
3042
1259
  request_overcapture: nil,
3043
- request_partial_authorization: nil,
3044
1260
  request_three_d_secure: nil,
3045
1261
  require_cvc_recollection: nil,
3046
1262
  setup_future_usage: nil,
3047
1263
  statement_descriptor_suffix_kana: nil,
3048
1264
  statement_descriptor_suffix_kanji: nil,
3049
- statement_details: nil,
3050
1265
  three_d_secure: nil
3051
1266
  )
3052
1267
  @capture_method = capture_method
@@ -3055,18 +1270,15 @@ module Stripe
3055
1270
  @mandate_options = mandate_options
3056
1271
  @moto = moto
3057
1272
  @network = network
3058
- @request_decremental_authorization = request_decremental_authorization
3059
1273
  @request_extended_authorization = request_extended_authorization
3060
1274
  @request_incremental_authorization = request_incremental_authorization
3061
1275
  @request_multicapture = request_multicapture
3062
1276
  @request_overcapture = request_overcapture
3063
- @request_partial_authorization = request_partial_authorization
3064
1277
  @request_three_d_secure = request_three_d_secure
3065
1278
  @require_cvc_recollection = require_cvc_recollection
3066
1279
  @setup_future_usage = setup_future_usage
3067
1280
  @statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
3068
1281
  @statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
3069
- @statement_details = statement_details
3070
1282
  @three_d_secure = three_d_secure
3071
1283
  end
3072
1284
  end
@@ -3086,9 +1298,9 @@ module Stripe
3086
1298
  #
3087
1299
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
3088
1300
  attr_accessor :capture_method
3089
- # Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/docs/terminal/features/extended-authorizations#authorization-validity)
1301
+ # Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
3090
1302
  attr_accessor :request_extended_authorization
3091
- # Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.
1303
+ # Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
3092
1304
  attr_accessor :request_incremental_authorization_support
3093
1305
  # Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.
3094
1306
  attr_accessor :routing
@@ -3164,54 +1376,18 @@ module Stripe
3164
1376
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
3165
1377
  attr_accessor :requested_address_types
3166
1378
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
3167
- attr_accessor :type
3168
-
3169
- def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
3170
- @eu_bank_transfer = eu_bank_transfer
3171
- @requested_address_types = requested_address_types
3172
- @type = type
3173
- end
3174
- end
3175
- # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
3176
- attr_accessor :bank_transfer
3177
- # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
3178
- attr_accessor :funding_type
3179
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3180
- #
3181
- # 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.
3182
- #
3183
- # 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.
3184
- #
3185
- # 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).
3186
- #
3187
- # 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`.
3188
- attr_accessor :setup_future_usage
3189
-
3190
- def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
3191
- @bank_transfer = bank_transfer
3192
- @funding_type = funding_type
3193
- @setup_future_usage = setup_future_usage
3194
- end
3195
- end
3196
-
3197
- class Eps < ::Stripe::RequestParams
3198
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3199
- #
3200
- # 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.
3201
- #
3202
- # 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.
3203
- #
3204
- # 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).
3205
- #
3206
- # 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`.
3207
- attr_accessor :setup_future_usage
1379
+ attr_accessor :type
3208
1380
 
3209
- def initialize(setup_future_usage: nil)
3210
- @setup_future_usage = setup_future_usage
1381
+ def initialize(eu_bank_transfer: nil, requested_address_types: nil, type: nil)
1382
+ @eu_bank_transfer = eu_bank_transfer
1383
+ @requested_address_types = requested_address_types
1384
+ @type = type
1385
+ end
3211
1386
  end
3212
- end
3213
-
3214
- class Fpx < ::Stripe::RequestParams
1387
+ # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1388
+ attr_accessor :bank_transfer
1389
+ # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1390
+ attr_accessor :funding_type
3215
1391
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3216
1392
  #
3217
1393
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3223,12 +1399,14 @@ module Stripe
3223
1399
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3224
1400
  attr_accessor :setup_future_usage
3225
1401
 
3226
- def initialize(setup_future_usage: nil)
1402
+ def initialize(bank_transfer: nil, funding_type: nil, setup_future_usage: nil)
1403
+ @bank_transfer = bank_transfer
1404
+ @funding_type = funding_type
3227
1405
  @setup_future_usage = setup_future_usage
3228
1406
  end
3229
1407
  end
3230
1408
 
3231
- class Giropay < ::Stripe::RequestParams
1409
+ class Eps < ::Stripe::RequestParams
3232
1410
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3233
1411
  #
3234
1412
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3245,7 +1423,7 @@ module Stripe
3245
1423
  end
3246
1424
  end
3247
1425
 
3248
- class Gopay < ::Stripe::RequestParams
1426
+ class Fpx < ::Stripe::RequestParams
3249
1427
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3250
1428
  #
3251
1429
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3262,7 +1440,7 @@ module Stripe
3262
1440
  end
3263
1441
  end
3264
1442
 
3265
- class Grabpay < ::Stripe::RequestParams
1443
+ class Giropay < ::Stripe::RequestParams
3266
1444
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3267
1445
  #
3268
1446
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3279,11 +1457,7 @@ module Stripe
3279
1457
  end
3280
1458
  end
3281
1459
 
3282
- class IdBankTransfer < ::Stripe::RequestParams
3283
- # 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.
3284
- attr_accessor :expires_after
3285
- # 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.
3286
- attr_accessor :expires_at
1460
+ class Grabpay < ::Stripe::RequestParams
3287
1461
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
3288
1462
  #
3289
1463
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -3295,9 +1469,7 @@ module Stripe
3295
1469
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
3296
1470
  attr_accessor :setup_future_usage
3297
1471
 
3298
- def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
3299
- @expires_after = expires_after
3300
- @expires_at = expires_at
1472
+ def initialize(setup_future_usage: nil)
3301
1473
  @setup_future_usage = setup_future_usage
3302
1474
  end
3303
1475
  end
@@ -3408,939 +1580,6 @@ module Stripe
3408
1580
  @reference = reference
3409
1581
  end
3410
1582
  end
3411
-
3412
- class SupplementaryPurchaseData < ::Stripe::RequestParams
3413
- class BusReservationDetail < ::Stripe::RequestParams
3414
- class Arrival < ::Stripe::RequestParams
3415
- class Address < ::Stripe::RequestParams
3416
- # The city or town.
3417
- attr_accessor :city
3418
- # The country in ISO 3166-1 alpha-2 format.
3419
- attr_accessor :country
3420
- # The postal code formatted according to country.
3421
- attr_accessor :postal_code
3422
- # The state, county, province, or region formatted according to country.
3423
- attr_accessor :region
3424
- # Line 1 of the street address.
3425
- attr_accessor :street_address
3426
- # Line 2 of the street address.
3427
- attr_accessor :street_address2
3428
-
3429
- def initialize(
3430
- city: nil,
3431
- country: nil,
3432
- postal_code: nil,
3433
- region: nil,
3434
- street_address: nil,
3435
- street_address2: nil
3436
- )
3437
- @city = city
3438
- @country = country
3439
- @postal_code = postal_code
3440
- @region = region
3441
- @street_address = street_address
3442
- @street_address2 = street_address2
3443
- end
3444
- end
3445
- # Address of the arrival location.
3446
- attr_accessor :address
3447
- # Identifier name or reference for the arrival location.
3448
- attr_accessor :arrival_location
3449
-
3450
- def initialize(address: nil, arrival_location: nil)
3451
- @address = address
3452
- @arrival_location = arrival_location
3453
- end
3454
- end
3455
-
3456
- class Departure < ::Stripe::RequestParams
3457
- class Address < ::Stripe::RequestParams
3458
- # The city or town.
3459
- attr_accessor :city
3460
- # The country in ISO 3166-1 alpha-2 format.
3461
- attr_accessor :country
3462
- # The postal code formatted according to country.
3463
- attr_accessor :postal_code
3464
- # The state, county, province, or region formatted according to country.
3465
- attr_accessor :region
3466
- # Line 1 of the street address.
3467
- attr_accessor :street_address
3468
- # Line 2 of the street address.
3469
- attr_accessor :street_address2
3470
-
3471
- def initialize(
3472
- city: nil,
3473
- country: nil,
3474
- postal_code: nil,
3475
- region: nil,
3476
- street_address: nil,
3477
- street_address2: nil
3478
- )
3479
- @city = city
3480
- @country = country
3481
- @postal_code = postal_code
3482
- @region = region
3483
- @street_address = street_address
3484
- @street_address2 = street_address2
3485
- end
3486
- end
3487
- # Address of the departure location.
3488
- attr_accessor :address
3489
- # Timestamp of departure.
3490
- attr_accessor :departs_at
3491
- # Identifier name or reference for the origin location.
3492
- attr_accessor :departure_location
3493
-
3494
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3495
- @address = address
3496
- @departs_at = departs_at
3497
- @departure_location = departure_location
3498
- end
3499
- end
3500
-
3501
- class Insurance < ::Stripe::RequestParams
3502
- # Insurance currency.
3503
- attr_accessor :currency
3504
- # Name of the company providing the insurance.
3505
- attr_accessor :insurance_company_name
3506
- # Type of insurance.
3507
- attr_accessor :insurance_type
3508
- # Price of insurance in cents.
3509
- attr_accessor :price
3510
-
3511
- def initialize(
3512
- currency: nil,
3513
- insurance_company_name: nil,
3514
- insurance_type: nil,
3515
- price: nil
3516
- )
3517
- @currency = currency
3518
- @insurance_company_name = insurance_company_name
3519
- @insurance_type = insurance_type
3520
- @price = price
3521
- end
3522
- end
3523
-
3524
- class Passenger < ::Stripe::RequestParams
3525
- # The family name of the person.
3526
- attr_accessor :family_name
3527
- # The given name of the person.
3528
- attr_accessor :given_name
3529
-
3530
- def initialize(family_name: nil, given_name: nil)
3531
- @family_name = family_name
3532
- @given_name = given_name
3533
- end
3534
- end
3535
- # Name of associated or partner company for the service.
3536
- attr_accessor :affiliate_name
3537
- # Arrival details.
3538
- attr_accessor :arrival
3539
- # Name of transportation company.
3540
- attr_accessor :carrier_name
3541
- # Currency.
3542
- attr_accessor :currency
3543
- # Departure details.
3544
- attr_accessor :departure
3545
- # List of insurances for this reservation.
3546
- attr_accessor :insurances
3547
- # List of passengers that this reservation applies to.
3548
- attr_accessor :passengers
3549
- # Price in cents.
3550
- attr_accessor :price
3551
- # Ticket class.
3552
- attr_accessor :ticket_class
3553
-
3554
- def initialize(
3555
- affiliate_name: nil,
3556
- arrival: nil,
3557
- carrier_name: nil,
3558
- currency: nil,
3559
- departure: nil,
3560
- insurances: nil,
3561
- passengers: nil,
3562
- price: nil,
3563
- ticket_class: nil
3564
- )
3565
- @affiliate_name = affiliate_name
3566
- @arrival = arrival
3567
- @carrier_name = carrier_name
3568
- @currency = currency
3569
- @departure = departure
3570
- @insurances = insurances
3571
- @passengers = passengers
3572
- @price = price
3573
- @ticket_class = ticket_class
3574
- end
3575
- end
3576
-
3577
- class EventReservationDetail < ::Stripe::RequestParams
3578
- class Address < ::Stripe::RequestParams
3579
- # The city or town.
3580
- attr_accessor :city
3581
- # The country in ISO 3166-1 alpha-2 format.
3582
- attr_accessor :country
3583
- # The postal code formatted according to country.
3584
- attr_accessor :postal_code
3585
- # The state, county, province, or region formatted according to country.
3586
- attr_accessor :region
3587
- # Line 1 of the street address.
3588
- attr_accessor :street_address
3589
- # Line 2 of the street address.
3590
- attr_accessor :street_address2
3591
-
3592
- def initialize(
3593
- city: nil,
3594
- country: nil,
3595
- postal_code: nil,
3596
- region: nil,
3597
- street_address: nil,
3598
- street_address2: nil
3599
- )
3600
- @city = city
3601
- @country = country
3602
- @postal_code = postal_code
3603
- @region = region
3604
- @street_address = street_address
3605
- @street_address2 = street_address2
3606
- end
3607
- end
3608
-
3609
- class Insurance < ::Stripe::RequestParams
3610
- # Insurance currency.
3611
- attr_accessor :currency
3612
- # Name of the company providing the insurance.
3613
- attr_accessor :insurance_company_name
3614
- # Type of insurance.
3615
- attr_accessor :insurance_type
3616
- # Price of insurance in cents.
3617
- attr_accessor :price
3618
-
3619
- def initialize(
3620
- currency: nil,
3621
- insurance_company_name: nil,
3622
- insurance_type: nil,
3623
- price: nil
3624
- )
3625
- @currency = currency
3626
- @insurance_company_name = insurance_company_name
3627
- @insurance_type = insurance_type
3628
- @price = price
3629
- end
3630
- end
3631
- # Indicates if the tickets are digitally checked when entering the venue.
3632
- attr_accessor :access_controlled_venue
3633
- # Address of the event.
3634
- attr_accessor :address
3635
- # Name of associated or partner company for the service.
3636
- attr_accessor :affiliate_name
3637
- # End timestamp of the event.
3638
- attr_accessor :ends_at
3639
- # Company selling the ticket.
3640
- attr_accessor :event_company_name
3641
- # Name of the event.
3642
- attr_accessor :event_name
3643
- # Type of the event.
3644
- attr_accessor :event_type
3645
- # List of insurances for this event.
3646
- attr_accessor :insurances
3647
- # Start timestamp of the event.
3648
- attr_accessor :starts_at
3649
- # Name of the venue where the event takes place.
3650
- attr_accessor :venue_name
3651
-
3652
- def initialize(
3653
- access_controlled_venue: nil,
3654
- address: nil,
3655
- affiliate_name: nil,
3656
- ends_at: nil,
3657
- event_company_name: nil,
3658
- event_name: nil,
3659
- event_type: nil,
3660
- insurances: nil,
3661
- starts_at: nil,
3662
- venue_name: nil
3663
- )
3664
- @access_controlled_venue = access_controlled_venue
3665
- @address = address
3666
- @affiliate_name = affiliate_name
3667
- @ends_at = ends_at
3668
- @event_company_name = event_company_name
3669
- @event_name = event_name
3670
- @event_type = event_type
3671
- @insurances = insurances
3672
- @starts_at = starts_at
3673
- @venue_name = venue_name
3674
- end
3675
- end
3676
-
3677
- class FerryReservationDetail < ::Stripe::RequestParams
3678
- class Arrival < ::Stripe::RequestParams
3679
- class Address < ::Stripe::RequestParams
3680
- # The city or town.
3681
- attr_accessor :city
3682
- # The country in ISO 3166-1 alpha-2 format.
3683
- attr_accessor :country
3684
- # The postal code formatted according to country.
3685
- attr_accessor :postal_code
3686
- # The state, county, province, or region formatted according to country.
3687
- attr_accessor :region
3688
- # Line 1 of the street address.
3689
- attr_accessor :street_address
3690
- # Line 2 of the street address.
3691
- attr_accessor :street_address2
3692
-
3693
- def initialize(
3694
- city: nil,
3695
- country: nil,
3696
- postal_code: nil,
3697
- region: nil,
3698
- street_address: nil,
3699
- street_address2: nil
3700
- )
3701
- @city = city
3702
- @country = country
3703
- @postal_code = postal_code
3704
- @region = region
3705
- @street_address = street_address
3706
- @street_address2 = street_address2
3707
- end
3708
- end
3709
- # Address of the arrival location.
3710
- attr_accessor :address
3711
- # Identifier name or reference for the arrival location.
3712
- attr_accessor :arrival_location
3713
-
3714
- def initialize(address: nil, arrival_location: nil)
3715
- @address = address
3716
- @arrival_location = arrival_location
3717
- end
3718
- end
3719
-
3720
- class Departure < ::Stripe::RequestParams
3721
- class Address < ::Stripe::RequestParams
3722
- # The city or town.
3723
- attr_accessor :city
3724
- # The country in ISO 3166-1 alpha-2 format.
3725
- attr_accessor :country
3726
- # The postal code formatted according to country.
3727
- attr_accessor :postal_code
3728
- # The state, county, province, or region formatted according to country.
3729
- attr_accessor :region
3730
- # Line 1 of the street address.
3731
- attr_accessor :street_address
3732
- # Line 2 of the street address.
3733
- attr_accessor :street_address2
3734
-
3735
- def initialize(
3736
- city: nil,
3737
- country: nil,
3738
- postal_code: nil,
3739
- region: nil,
3740
- street_address: nil,
3741
- street_address2: nil
3742
- )
3743
- @city = city
3744
- @country = country
3745
- @postal_code = postal_code
3746
- @region = region
3747
- @street_address = street_address
3748
- @street_address2 = street_address2
3749
- end
3750
- end
3751
- # Address of the departure location.
3752
- attr_accessor :address
3753
- # Timestamp of departure.
3754
- attr_accessor :departs_at
3755
- # Identifier name or reference for the origin location.
3756
- attr_accessor :departure_location
3757
-
3758
- def initialize(address: nil, departs_at: nil, departure_location: nil)
3759
- @address = address
3760
- @departs_at = departs_at
3761
- @departure_location = departure_location
3762
- end
3763
- end
3764
-
3765
- class Insurance < ::Stripe::RequestParams
3766
- # Insurance currency.
3767
- attr_accessor :currency
3768
- # Name of the company providing the insurance.
3769
- attr_accessor :insurance_company_name
3770
- # Type of insurance.
3771
- attr_accessor :insurance_type
3772
- # Price of insurance in cents.
3773
- attr_accessor :price
3774
-
3775
- def initialize(
3776
- currency: nil,
3777
- insurance_company_name: nil,
3778
- insurance_type: nil,
3779
- price: nil
3780
- )
3781
- @currency = currency
3782
- @insurance_company_name = insurance_company_name
3783
- @insurance_type = insurance_type
3784
- @price = price
3785
- end
3786
- end
3787
-
3788
- class Passenger < ::Stripe::RequestParams
3789
- # The family name of the person.
3790
- attr_accessor :family_name
3791
- # The given name of the person.
3792
- attr_accessor :given_name
3793
-
3794
- def initialize(family_name: nil, given_name: nil)
3795
- @family_name = family_name
3796
- @given_name = given_name
3797
- end
3798
- end
3799
- # Name of associated or partner company for the service.
3800
- attr_accessor :affiliate_name
3801
- # Arrival details.
3802
- attr_accessor :arrival
3803
- # Name of transportation company.
3804
- attr_accessor :carrier_name
3805
- # Currency.
3806
- attr_accessor :currency
3807
- # Departure details.
3808
- attr_accessor :departure
3809
- # List of insurances for this reservation.
3810
- attr_accessor :insurances
3811
- # List of passengers that this reservation applies to.
3812
- attr_accessor :passengers
3813
- # Price in cents.
3814
- attr_accessor :price
3815
- # Ticket class.
3816
- attr_accessor :ticket_class
3817
-
3818
- def initialize(
3819
- affiliate_name: nil,
3820
- arrival: nil,
3821
- carrier_name: nil,
3822
- currency: nil,
3823
- departure: nil,
3824
- insurances: nil,
3825
- passengers: nil,
3826
- price: nil,
3827
- ticket_class: nil
3828
- )
3829
- @affiliate_name = affiliate_name
3830
- @arrival = arrival
3831
- @carrier_name = carrier_name
3832
- @currency = currency
3833
- @departure = departure
3834
- @insurances = insurances
3835
- @passengers = passengers
3836
- @price = price
3837
- @ticket_class = ticket_class
3838
- end
3839
- end
3840
-
3841
- class Insurance < ::Stripe::RequestParams
3842
- # Insurance currency.
3843
- attr_accessor :currency
3844
- # Name of the company providing the insurance.
3845
- attr_accessor :insurance_company_name
3846
- # Type of insurance
3847
- attr_accessor :insurance_type
3848
- # Price of insurance in cents.
3849
- attr_accessor :price
3850
-
3851
- def initialize(
3852
- currency: nil,
3853
- insurance_company_name: nil,
3854
- insurance_type: nil,
3855
- price: nil
3856
- )
3857
- @currency = currency
3858
- @insurance_company_name = insurance_company_name
3859
- @insurance_type = insurance_type
3860
- @price = price
3861
- end
3862
- end
3863
-
3864
- class MarketplaceSeller < ::Stripe::RequestParams
3865
- class MarketplaceSellerAddress < ::Stripe::RequestParams
3866
- # The city or town.
3867
- attr_accessor :city
3868
- # The country in ISO 3166-1 alpha-2 format.
3869
- attr_accessor :country
3870
- # The postal code formatted according to country.
3871
- attr_accessor :postal_code
3872
- # The state, county, province, or region formatted according to country.
3873
- attr_accessor :region
3874
- # Line 1 of the street address.
3875
- attr_accessor :street_address
3876
- # Line 2 of the street address.
3877
- attr_accessor :street_address2
3878
-
3879
- def initialize(
3880
- city: nil,
3881
- country: nil,
3882
- postal_code: nil,
3883
- region: nil,
3884
- street_address: nil,
3885
- street_address2: nil
3886
- )
3887
- @city = city
3888
- @country = country
3889
- @postal_code = postal_code
3890
- @region = region
3891
- @street_address = street_address
3892
- @street_address2 = street_address2
3893
- end
3894
- end
3895
- # The references to line items for purchases with multiple associated sub-sellers.
3896
- attr_accessor :line_item_references
3897
- # The address of the selling or delivering merchant.
3898
- attr_accessor :marketplace_seller_address
3899
- # The name of the marketplace seller.
3900
- attr_accessor :marketplace_seller_name
3901
- # The unique identifier for the marketplace seller.
3902
- attr_accessor :marketplace_seller_reference
3903
- # The number of transactions the sub-seller completed in the last 12 months.
3904
- attr_accessor :number_of_transactions
3905
- # The category of the product.
3906
- attr_accessor :product_category
3907
- # The date when the seller's account with the marketplace was last logged in.
3908
- attr_accessor :seller_last_login_at
3909
- # The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values.
3910
- attr_accessor :seller_rating
3911
- # The date when the seller's account with the marketplace was created.
3912
- attr_accessor :seller_registered_at
3913
- # The date when the seller's account with the marketplace was last updated.
3914
- attr_accessor :seller_updated_at
3915
- # The references to shipping addresses for purchases with multiple associated sub-sellers.
3916
- attr_accessor :shipping_references
3917
- # 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.
3918
- attr_accessor :volume_of_transactions
3919
-
3920
- def initialize(
3921
- line_item_references: nil,
3922
- marketplace_seller_address: nil,
3923
- marketplace_seller_name: nil,
3924
- marketplace_seller_reference: nil,
3925
- number_of_transactions: nil,
3926
- product_category: nil,
3927
- seller_last_login_at: nil,
3928
- seller_rating: nil,
3929
- seller_registered_at: nil,
3930
- seller_updated_at: nil,
3931
- shipping_references: nil,
3932
- volume_of_transactions: nil
3933
- )
3934
- @line_item_references = line_item_references
3935
- @marketplace_seller_address = marketplace_seller_address
3936
- @marketplace_seller_name = marketplace_seller_name
3937
- @marketplace_seller_reference = marketplace_seller_reference
3938
- @number_of_transactions = number_of_transactions
3939
- @product_category = product_category
3940
- @seller_last_login_at = seller_last_login_at
3941
- @seller_rating = seller_rating
3942
- @seller_registered_at = seller_registered_at
3943
- @seller_updated_at = seller_updated_at
3944
- @shipping_references = shipping_references
3945
- @volume_of_transactions = volume_of_transactions
3946
- end
3947
- end
3948
-
3949
- class RoundTripReservationDetail < ::Stripe::RequestParams
3950
- class Arrival < ::Stripe::RequestParams
3951
- class Address < ::Stripe::RequestParams
3952
- # The city or town.
3953
- attr_accessor :city
3954
- # The country in ISO 3166-1 alpha-2 format.
3955
- attr_accessor :country
3956
- # The postal code formatted according to country.
3957
- attr_accessor :postal_code
3958
- # The state, county, province, or region formatted according to country.
3959
- attr_accessor :region
3960
- # Line 1 of the street address.
3961
- attr_accessor :street_address
3962
- # Line 2 of the street address.
3963
- attr_accessor :street_address2
3964
-
3965
- def initialize(
3966
- city: nil,
3967
- country: nil,
3968
- postal_code: nil,
3969
- region: nil,
3970
- street_address: nil,
3971
- street_address2: nil
3972
- )
3973
- @city = city
3974
- @country = country
3975
- @postal_code = postal_code
3976
- @region = region
3977
- @street_address = street_address
3978
- @street_address2 = street_address2
3979
- end
3980
- end
3981
- # Address of the arrival location.
3982
- attr_accessor :address
3983
- # Identifier name or reference for the arrival location.
3984
- attr_accessor :arrival_location
3985
-
3986
- def initialize(address: nil, arrival_location: nil)
3987
- @address = address
3988
- @arrival_location = arrival_location
3989
- end
3990
- end
3991
-
3992
- class Departure < ::Stripe::RequestParams
3993
- class Address < ::Stripe::RequestParams
3994
- # The city or town.
3995
- attr_accessor :city
3996
- # The country in ISO 3166-1 alpha-2 format.
3997
- attr_accessor :country
3998
- # The postal code formatted according to country.
3999
- attr_accessor :postal_code
4000
- # The state, county, province, or region formatted according to country.
4001
- attr_accessor :region
4002
- # Line 1 of the street address.
4003
- attr_accessor :street_address
4004
- # Line 2 of the street address.
4005
- attr_accessor :street_address2
4006
-
4007
- def initialize(
4008
- city: nil,
4009
- country: nil,
4010
- postal_code: nil,
4011
- region: nil,
4012
- street_address: nil,
4013
- street_address2: nil
4014
- )
4015
- @city = city
4016
- @country = country
4017
- @postal_code = postal_code
4018
- @region = region
4019
- @street_address = street_address
4020
- @street_address2 = street_address2
4021
- end
4022
- end
4023
- # Address of the departure location.
4024
- attr_accessor :address
4025
- # Timestamp of departure.
4026
- attr_accessor :departs_at
4027
- # Identifier name or reference for the origin location.
4028
- attr_accessor :departure_location
4029
-
4030
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4031
- @address = address
4032
- @departs_at = departs_at
4033
- @departure_location = departure_location
4034
- end
4035
- end
4036
-
4037
- class Insurance < ::Stripe::RequestParams
4038
- # Insurance currency.
4039
- attr_accessor :currency
4040
- # Name of the company providing the insurance.
4041
- attr_accessor :insurance_company_name
4042
- # Type of insurance.
4043
- attr_accessor :insurance_type
4044
- # Price of insurance in cents.
4045
- attr_accessor :price
4046
-
4047
- def initialize(
4048
- currency: nil,
4049
- insurance_company_name: nil,
4050
- insurance_type: nil,
4051
- price: nil
4052
- )
4053
- @currency = currency
4054
- @insurance_company_name = insurance_company_name
4055
- @insurance_type = insurance_type
4056
- @price = price
4057
- end
4058
- end
4059
-
4060
- class Passenger < ::Stripe::RequestParams
4061
- # The family name of the person.
4062
- attr_accessor :family_name
4063
- # The given name of the person.
4064
- attr_accessor :given_name
4065
-
4066
- def initialize(family_name: nil, given_name: nil)
4067
- @family_name = family_name
4068
- @given_name = given_name
4069
- end
4070
- end
4071
- # Name of associated or partner company for the service.
4072
- attr_accessor :affiliate_name
4073
- # Arrival details.
4074
- attr_accessor :arrival
4075
- # Name of transportation company.
4076
- attr_accessor :carrier_name
4077
- # Currency.
4078
- attr_accessor :currency
4079
- # Departure details.
4080
- attr_accessor :departure
4081
- # List of insurances for this reservation.
4082
- attr_accessor :insurances
4083
- # List of passengers that this reservation applies to.
4084
- attr_accessor :passengers
4085
- # Price in cents.
4086
- attr_accessor :price
4087
- # Ticket class.
4088
- attr_accessor :ticket_class
4089
-
4090
- def initialize(
4091
- affiliate_name: nil,
4092
- arrival: nil,
4093
- carrier_name: nil,
4094
- currency: nil,
4095
- departure: nil,
4096
- insurances: nil,
4097
- passengers: nil,
4098
- price: nil,
4099
- ticket_class: nil
4100
- )
4101
- @affiliate_name = affiliate_name
4102
- @arrival = arrival
4103
- @carrier_name = carrier_name
4104
- @currency = currency
4105
- @departure = departure
4106
- @insurances = insurances
4107
- @passengers = passengers
4108
- @price = price
4109
- @ticket_class = ticket_class
4110
- end
4111
- end
4112
-
4113
- class TrainReservationDetail < ::Stripe::RequestParams
4114
- class Arrival < ::Stripe::RequestParams
4115
- class Address < ::Stripe::RequestParams
4116
- # The city or town.
4117
- attr_accessor :city
4118
- # The country in ISO 3166-1 alpha-2 format.
4119
- attr_accessor :country
4120
- # The postal code formatted according to country.
4121
- attr_accessor :postal_code
4122
- # The state, county, province, or region formatted according to country.
4123
- attr_accessor :region
4124
- # Line 1 of the street address.
4125
- attr_accessor :street_address
4126
- # Line 2 of the street address.
4127
- attr_accessor :street_address2
4128
-
4129
- def initialize(
4130
- city: nil,
4131
- country: nil,
4132
- postal_code: nil,
4133
- region: nil,
4134
- street_address: nil,
4135
- street_address2: nil
4136
- )
4137
- @city = city
4138
- @country = country
4139
- @postal_code = postal_code
4140
- @region = region
4141
- @street_address = street_address
4142
- @street_address2 = street_address2
4143
- end
4144
- end
4145
- # Address of the arrival location.
4146
- attr_accessor :address
4147
- # Identifier name or reference for the arrival location.
4148
- attr_accessor :arrival_location
4149
-
4150
- def initialize(address: nil, arrival_location: nil)
4151
- @address = address
4152
- @arrival_location = arrival_location
4153
- end
4154
- end
4155
-
4156
- class Departure < ::Stripe::RequestParams
4157
- class Address < ::Stripe::RequestParams
4158
- # The city or town.
4159
- attr_accessor :city
4160
- # The country in ISO 3166-1 alpha-2 format.
4161
- attr_accessor :country
4162
- # The postal code formatted according to country.
4163
- attr_accessor :postal_code
4164
- # The state, county, province, or region formatted according to country.
4165
- attr_accessor :region
4166
- # Line 1 of the street address.
4167
- attr_accessor :street_address
4168
- # Line 2 of the street address.
4169
- attr_accessor :street_address2
4170
-
4171
- def initialize(
4172
- city: nil,
4173
- country: nil,
4174
- postal_code: nil,
4175
- region: nil,
4176
- street_address: nil,
4177
- street_address2: nil
4178
- )
4179
- @city = city
4180
- @country = country
4181
- @postal_code = postal_code
4182
- @region = region
4183
- @street_address = street_address
4184
- @street_address2 = street_address2
4185
- end
4186
- end
4187
- # Address of the departure location.
4188
- attr_accessor :address
4189
- # Timestamp of departure.
4190
- attr_accessor :departs_at
4191
- # Identifier name or reference for the origin location.
4192
- attr_accessor :departure_location
4193
-
4194
- def initialize(address: nil, departs_at: nil, departure_location: nil)
4195
- @address = address
4196
- @departs_at = departs_at
4197
- @departure_location = departure_location
4198
- end
4199
- end
4200
-
4201
- class Insurance < ::Stripe::RequestParams
4202
- # Insurance currency.
4203
- attr_accessor :currency
4204
- # Name of the company providing the insurance.
4205
- attr_accessor :insurance_company_name
4206
- # Type of insurance.
4207
- attr_accessor :insurance_type
4208
- # Price of insurance in cents.
4209
- attr_accessor :price
4210
-
4211
- def initialize(
4212
- currency: nil,
4213
- insurance_company_name: nil,
4214
- insurance_type: nil,
4215
- price: nil
4216
- )
4217
- @currency = currency
4218
- @insurance_company_name = insurance_company_name
4219
- @insurance_type = insurance_type
4220
- @price = price
4221
- end
4222
- end
4223
-
4224
- class Passenger < ::Stripe::RequestParams
4225
- # The family name of the person.
4226
- attr_accessor :family_name
4227
- # The given name of the person.
4228
- attr_accessor :given_name
4229
-
4230
- def initialize(family_name: nil, given_name: nil)
4231
- @family_name = family_name
4232
- @given_name = given_name
4233
- end
4234
- end
4235
- # Name of associated or partner company for the service.
4236
- attr_accessor :affiliate_name
4237
- # Arrival details.
4238
- attr_accessor :arrival
4239
- # Name of transportation company.
4240
- attr_accessor :carrier_name
4241
- # Currency.
4242
- attr_accessor :currency
4243
- # Departure details.
4244
- attr_accessor :departure
4245
- # List of insurances for this reservation.
4246
- attr_accessor :insurances
4247
- # List of passengers that this reservation applies to.
4248
- attr_accessor :passengers
4249
- # Price in cents.
4250
- attr_accessor :price
4251
- # Ticket class.
4252
- attr_accessor :ticket_class
4253
-
4254
- def initialize(
4255
- affiliate_name: nil,
4256
- arrival: nil,
4257
- carrier_name: nil,
4258
- currency: nil,
4259
- departure: nil,
4260
- insurances: nil,
4261
- passengers: nil,
4262
- price: nil,
4263
- ticket_class: nil
4264
- )
4265
- @affiliate_name = affiliate_name
4266
- @arrival = arrival
4267
- @carrier_name = carrier_name
4268
- @currency = currency
4269
- @departure = departure
4270
- @insurances = insurances
4271
- @passengers = passengers
4272
- @price = price
4273
- @ticket_class = ticket_class
4274
- end
4275
- end
4276
-
4277
- class Voucher < ::Stripe::RequestParams
4278
- # Name of associated or partner company for this voucher.
4279
- attr_accessor :affiliate_name
4280
- # The voucher validity end time.
4281
- attr_accessor :ends_at
4282
- # The voucher validity start time.
4283
- attr_accessor :starts_at
4284
- # The issuer or provider of this voucher.
4285
- attr_accessor :voucher_company
4286
- # The name or reference to identify the voucher.
4287
- attr_accessor :voucher_name
4288
- # The type of this voucher.
4289
- attr_accessor :voucher_type
4290
-
4291
- def initialize(
4292
- affiliate_name: nil,
4293
- ends_at: nil,
4294
- starts_at: nil,
4295
- voucher_company: nil,
4296
- voucher_name: nil,
4297
- voucher_type: nil
4298
- )
4299
- @affiliate_name = affiliate_name
4300
- @ends_at = ends_at
4301
- @starts_at = starts_at
4302
- @voucher_company = voucher_company
4303
- @voucher_name = voucher_name
4304
- @voucher_type = voucher_type
4305
- end
4306
- end
4307
- # Supplementary bus reservation details.
4308
- attr_accessor :bus_reservation_details
4309
- # Supplementary event reservation details.
4310
- attr_accessor :event_reservation_details
4311
- # Supplementary ferry reservation details.
4312
- attr_accessor :ferry_reservation_details
4313
- # Supplementary insurance details.
4314
- attr_accessor :insurances
4315
- # Supplementary marketplace seller details.
4316
- attr_accessor :marketplace_sellers
4317
- # Supplementary round trip reservation details.
4318
- attr_accessor :round_trip_reservation_details
4319
- # Supplementary train reservation details.
4320
- attr_accessor :train_reservation_details
4321
- # Voucher details, such as a gift card or discount code.
4322
- attr_accessor :vouchers
4323
-
4324
- def initialize(
4325
- bus_reservation_details: nil,
4326
- event_reservation_details: nil,
4327
- ferry_reservation_details: nil,
4328
- insurances: nil,
4329
- marketplace_sellers: nil,
4330
- round_trip_reservation_details: nil,
4331
- train_reservation_details: nil,
4332
- vouchers: nil
4333
- )
4334
- @bus_reservation_details = bus_reservation_details
4335
- @event_reservation_details = event_reservation_details
4336
- @ferry_reservation_details = ferry_reservation_details
4337
- @insurances = insurances
4338
- @marketplace_sellers = marketplace_sellers
4339
- @round_trip_reservation_details = round_trip_reservation_details
4340
- @train_reservation_details = train_reservation_details
4341
- @vouchers = vouchers
4342
- end
4343
- end
4344
1583
  # Controls when the funds are captured from the customer's account.
4345
1584
  #
4346
1585
  # If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
@@ -4363,23 +1602,19 @@ module Stripe
4363
1602
  attr_accessor :setup_future_usage
4364
1603
  # Subscription details if setting up or charging a subscription.
4365
1604
  attr_accessor :subscriptions
4366
- # Supplementary Purchase Data for the corresponding Klarna payment
4367
- attr_accessor :supplementary_purchase_data
4368
1605
 
4369
1606
  def initialize(
4370
1607
  capture_method: nil,
4371
1608
  on_demand: nil,
4372
1609
  preferred_locale: nil,
4373
1610
  setup_future_usage: nil,
4374
- subscriptions: nil,
4375
- supplementary_purchase_data: nil
1611
+ subscriptions: nil
4376
1612
  )
4377
1613
  @capture_method = capture_method
4378
1614
  @on_demand = on_demand
4379
1615
  @preferred_locale = preferred_locale
4380
1616
  @setup_future_usage = setup_future_usage
4381
1617
  @subscriptions = subscriptions
4382
- @supplementary_purchase_data = supplementary_purchase_data
4383
1618
  end
4384
1619
  end
4385
1620
 
@@ -4640,65 +1875,12 @@ module Stripe
4640
1875
  end
4641
1876
 
4642
1877
  class Paypal < ::Stripe::RequestParams
4643
- class LineItem < ::Stripe::RequestParams
4644
- class Tax < ::Stripe::RequestParams
4645
- # The tax for a single unit of the line item in minor units. Cannot be a negative number.
4646
- attr_accessor :amount
4647
- # The tax behavior for the line item.
4648
- attr_accessor :behavior
4649
-
4650
- def initialize(amount: nil, behavior: nil)
4651
- @amount = amount
4652
- @behavior = behavior
4653
- end
4654
- end
4655
- # Type of the line item.
4656
- attr_accessor :category
4657
- # Description of the line item.
4658
- attr_accessor :description
4659
- # Descriptive name of the line item.
4660
- attr_accessor :name
4661
- # Quantity of the line item. Must be a positive number.
4662
- attr_accessor :quantity
4663
- # Client facing stock keeping unit, article number or similar.
4664
- attr_accessor :sku
4665
- # The Stripe account ID of the connected account that sells the item.
4666
- attr_accessor :sold_by
4667
- # The tax information for the line item.
4668
- attr_accessor :tax
4669
- # Price for a single unit of the line item in minor units. Cannot be a negative number.
4670
- attr_accessor :unit_amount
4671
-
4672
- def initialize(
4673
- category: nil,
4674
- description: nil,
4675
- name: nil,
4676
- quantity: nil,
4677
- sku: nil,
4678
- sold_by: nil,
4679
- tax: nil,
4680
- unit_amount: nil
4681
- )
4682
- @category = category
4683
- @description = description
4684
- @name = name
4685
- @quantity = quantity
4686
- @sku = sku
4687
- @sold_by = sold_by
4688
- @tax = tax
4689
- @unit_amount = unit_amount
4690
- end
4691
- end
4692
1878
  # Controls when the funds will be captured from the customer's account.
4693
1879
  attr_accessor :capture_method
4694
- # The line items purchased by the customer.
4695
- attr_accessor :line_items
4696
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1880
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
4697
1881
  attr_accessor :preferred_locale
4698
1882
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
4699
1883
  attr_accessor :reference
4700
- # 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.
4701
- attr_accessor :reference_id
4702
1884
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
4703
1885
  attr_accessor :risk_correlation_id
4704
1886
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -4711,40 +1893,19 @@ module Stripe
4711
1893
  #
4712
1894
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
4713
1895
  attr_accessor :setup_future_usage
4714
- # 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.
4715
- attr_accessor :subsellers
4716
1896
 
4717
1897
  def initialize(
4718
1898
  capture_method: nil,
4719
- line_items: nil,
4720
1899
  preferred_locale: nil,
4721
1900
  reference: nil,
4722
- reference_id: nil,
4723
1901
  risk_correlation_id: nil,
4724
- setup_future_usage: nil,
4725
- subsellers: nil
1902
+ setup_future_usage: nil
4726
1903
  )
4727
1904
  @capture_method = capture_method
4728
- @line_items = line_items
4729
1905
  @preferred_locale = preferred_locale
4730
1906
  @reference = reference
4731
- @reference_id = reference_id
4732
1907
  @risk_correlation_id = risk_correlation_id
4733
1908
  @setup_future_usage = setup_future_usage
4734
- @subsellers = subsellers
4735
- end
4736
- end
4737
-
4738
- class Paypay < ::Stripe::RequestParams
4739
- # Controls when the funds are captured from the customer's account.
4740
- #
4741
- # 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.
4742
- #
4743
- # 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.
4744
- attr_accessor :capture_method
4745
-
4746
- def initialize(capture_method: nil)
4747
- @capture_method = capture_method
4748
1909
  end
4749
1910
  end
4750
1911
 
@@ -4799,52 +1960,12 @@ module Stripe
4799
1960
  end
4800
1961
 
4801
1962
  class Pix < ::Stripe::RequestParams
4802
- class MandateOptions < ::Stripe::RequestParams
4803
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
4804
- attr_accessor :amount
4805
- # Determines if the amount includes the IOF tax. Defaults to `never`.
4806
- attr_accessor :amount_includes_iof
4807
- # Type of amount. Defaults to `maximum`.
4808
- attr_accessor :amount_type
4809
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
4810
- attr_accessor :currency
4811
- # 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.
4812
- attr_accessor :end_date
4813
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
4814
- attr_accessor :payment_schedule
4815
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
4816
- attr_accessor :reference
4817
- # 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.
4818
- attr_accessor :start_date
4819
-
4820
- def initialize(
4821
- amount: nil,
4822
- amount_includes_iof: nil,
4823
- amount_type: nil,
4824
- currency: nil,
4825
- end_date: nil,
4826
- payment_schedule: nil,
4827
- reference: nil,
4828
- start_date: nil
4829
- )
4830
- @amount = amount
4831
- @amount_includes_iof = amount_includes_iof
4832
- @amount_type = amount_type
4833
- @currency = currency
4834
- @end_date = end_date
4835
- @payment_schedule = payment_schedule
4836
- @reference = reference
4837
- @start_date = start_date
4838
- end
4839
- end
4840
1963
  # Determines if the amount includes the IOF tax. Defaults to `never`.
4841
1964
  attr_accessor :amount_includes_iof
4842
1965
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
4843
1966
  attr_accessor :expires_after_seconds
4844
1967
  # The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
4845
1968
  attr_accessor :expires_at
4846
- # Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
4847
- attr_accessor :mandate_options
4848
1969
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4849
1970
  #
4850
1971
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -4860,13 +1981,11 @@ module Stripe
4860
1981
  amount_includes_iof: nil,
4861
1982
  expires_after_seconds: nil,
4862
1983
  expires_at: nil,
4863
- mandate_options: nil,
4864
1984
  setup_future_usage: nil
4865
1985
  )
4866
1986
  @amount_includes_iof = amount_includes_iof
4867
1987
  @expires_after_seconds = expires_after_seconds
4868
1988
  @expires_at = expires_at
4869
- @mandate_options = mandate_options
4870
1989
  @setup_future_usage = setup_future_usage
4871
1990
  end
4872
1991
  end
@@ -4888,25 +2007,6 @@ module Stripe
4888
2007
  end
4889
2008
  end
4890
2009
 
4891
- class Qris < ::Stripe::RequestParams
4892
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4893
- #
4894
- # 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.
4895
- #
4896
- # 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.
4897
- #
4898
- # 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).
4899
- #
4900
- # 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`.
4901
- attr_accessor :setup_future_usage
4902
-
4903
- def initialize(setup_future_usage: nil)
4904
- @setup_future_usage = setup_future_usage
4905
- end
4906
- end
4907
-
4908
- class Rechnung < ::Stripe::RequestParams; end
4909
-
4910
2010
  class RevolutPay < ::Stripe::RequestParams
4911
2011
  # Controls when the funds are captured from the customer's account.
4912
2012
  #
@@ -4986,23 +2086,6 @@ module Stripe
4986
2086
  end
4987
2087
  end
4988
2088
 
4989
- class Shopeepay < ::Stripe::RequestParams
4990
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
4991
- #
4992
- # 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.
4993
- #
4994
- # 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.
4995
- #
4996
- # 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).
4997
- #
4998
- # 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`.
4999
- attr_accessor :setup_future_usage
5000
-
5001
- def initialize(setup_future_usage: nil)
5002
- @setup_future_usage = setup_future_usage
5003
- end
5004
- end
5005
-
5006
2089
  class Sofort < ::Stripe::RequestParams
5007
2090
  # Language shown to the payer on redirect.
5008
2091
  attr_accessor :preferred_language
@@ -5023,23 +2106,6 @@ module Stripe
5023
2106
  end
5024
2107
  end
5025
2108
 
5026
- class StripeBalance < ::Stripe::RequestParams
5027
- # Indicates that you intend to make future payments with this PaymentIntent's payment method.
5028
- #
5029
- # 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.
5030
- #
5031
- # 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.
5032
- #
5033
- # 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).
5034
- #
5035
- # 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`.
5036
- attr_accessor :setup_future_usage
5037
-
5038
- def initialize(setup_future_usage: nil)
5039
- @setup_future_usage = setup_future_usage
5040
- end
5041
- end
5042
-
5043
2109
  class Swish < ::Stripe::RequestParams
5044
2110
  # A reference for this payment to be displayed in the Swish app.
5045
2111
  attr_accessor :reference
@@ -5082,27 +2148,13 @@ module Stripe
5082
2148
  class Filters < ::Stripe::RequestParams
5083
2149
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
5084
2150
  attr_accessor :account_subcategories
5085
- # ID of the institution to use to filter for selectable accounts.
5086
- attr_accessor :institution
5087
2151
 
5088
- def initialize(account_subcategories: nil, institution: nil)
2152
+ def initialize(account_subcategories: nil)
5089
2153
  @account_subcategories = account_subcategories
5090
- @institution = institution
5091
- end
5092
- end
5093
-
5094
- class ManualEntry < ::Stripe::RequestParams
5095
- # Settings for configuring manual entry of account details.
5096
- attr_accessor :mode
5097
-
5098
- def initialize(mode: nil)
5099
- @mode = mode
5100
2154
  end
5101
2155
  end
5102
2156
  # Provide filters for the linked accounts that the customer can select for the payment method.
5103
2157
  attr_accessor :filters
5104
- # Customize manual entry behavior
5105
- attr_accessor :manual_entry
5106
2158
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
5107
2159
  attr_accessor :permissions
5108
2160
  # List of data features that you would like to retrieve upon account creation.
@@ -5110,15 +2162,8 @@ module Stripe
5110
2162
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
5111
2163
  attr_accessor :return_url
5112
2164
 
5113
- def initialize(
5114
- filters: nil,
5115
- manual_entry: nil,
5116
- permissions: nil,
5117
- prefetch: nil,
5118
- return_url: nil
5119
- )
2165
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
5120
2166
  @filters = filters
5121
- @manual_entry = manual_entry
5122
2167
  @permissions = permissions
5123
2168
  @prefetch = prefetch
5124
2169
  @return_url = return_url
@@ -5263,12 +2308,8 @@ module Stripe
5263
2308
  attr_accessor :fpx
5264
2309
  # If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
5265
2310
  attr_accessor :giropay
5266
- # If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
5267
- attr_accessor :gopay
5268
2311
  # If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
5269
2312
  attr_accessor :grabpay
5270
- # If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
5271
- attr_accessor :id_bank_transfer
5272
2313
  # If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
5273
2314
  attr_accessor :ideal
5274
2315
  # If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
@@ -5305,18 +2346,12 @@ module Stripe
5305
2346
  attr_accessor :paynow
5306
2347
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
5307
2348
  attr_accessor :paypal
5308
- # If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
5309
- attr_accessor :paypay
5310
2349
  # If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
5311
2350
  attr_accessor :payto
5312
2351
  # If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
5313
2352
  attr_accessor :pix
5314
2353
  # If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
5315
2354
  attr_accessor :promptpay
5316
- # If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
5317
- attr_accessor :qris
5318
- # If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
5319
- attr_accessor :rechnung
5320
2355
  # If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
5321
2356
  attr_accessor :revolut_pay
5322
2357
  # If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
@@ -5325,12 +2360,8 @@ module Stripe
5325
2360
  attr_accessor :satispay
5326
2361
  # If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
5327
2362
  attr_accessor :sepa_debit
5328
- # If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
5329
- attr_accessor :shopeepay
5330
2363
  # If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
5331
2364
  attr_accessor :sofort
5332
- # If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
5333
- attr_accessor :stripe_balance
5334
2365
  # If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
5335
2366
  attr_accessor :swish
5336
2367
  # If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
@@ -5363,9 +2394,7 @@ module Stripe
5363
2394
  eps: nil,
5364
2395
  fpx: nil,
5365
2396
  giropay: nil,
5366
- gopay: nil,
5367
2397
  grabpay: nil,
5368
- id_bank_transfer: nil,
5369
2398
  ideal: nil,
5370
2399
  interac_present: nil,
5371
2400
  kakao_pay: nil,
@@ -5384,19 +2413,14 @@ module Stripe
5384
2413
  payco: nil,
5385
2414
  paynow: nil,
5386
2415
  paypal: nil,
5387
- paypay: nil,
5388
2416
  payto: nil,
5389
2417
  pix: nil,
5390
2418
  promptpay: nil,
5391
- qris: nil,
5392
- rechnung: nil,
5393
2419
  revolut_pay: nil,
5394
2420
  samsung_pay: nil,
5395
2421
  satispay: nil,
5396
2422
  sepa_debit: nil,
5397
- shopeepay: nil,
5398
2423
  sofort: nil,
5399
- stripe_balance: nil,
5400
2424
  swish: nil,
5401
2425
  twint: nil,
5402
2426
  us_bank_account: nil,
@@ -5423,9 +2447,7 @@ module Stripe
5423
2447
  @eps = eps
5424
2448
  @fpx = fpx
5425
2449
  @giropay = giropay
5426
- @gopay = gopay
5427
2450
  @grabpay = grabpay
5428
- @id_bank_transfer = id_bank_transfer
5429
2451
  @ideal = ideal
5430
2452
  @interac_present = interac_present
5431
2453
  @kakao_pay = kakao_pay
@@ -5444,19 +2466,14 @@ module Stripe
5444
2466
  @payco = payco
5445
2467
  @paynow = paynow
5446
2468
  @paypal = paypal
5447
- @paypay = paypay
5448
2469
  @payto = payto
5449
2470
  @pix = pix
5450
2471
  @promptpay = promptpay
5451
- @qris = qris
5452
- @rechnung = rechnung
5453
2472
  @revolut_pay = revolut_pay
5454
2473
  @samsung_pay = samsung_pay
5455
2474
  @satispay = satispay
5456
2475
  @sepa_debit = sepa_debit
5457
- @shopeepay = shopeepay
5458
2476
  @sofort = sofort
5459
- @stripe_balance = stripe_balance
5460
2477
  @swish = swish
5461
2478
  @twint = twint
5462
2479
  @us_bank_account = us_bank_account
@@ -5477,7 +2494,7 @@ module Stripe
5477
2494
  attr_accessor :line2
5478
2495
  # ZIP or postal code.
5479
2496
  attr_accessor :postal_code
5480
- # State, county, province, or region.
2497
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
5481
2498
  attr_accessor :state
5482
2499
 
5483
2500
  def initialize(
@@ -5524,11 +2541,11 @@ module Stripe
5524
2541
  @amount = amount
5525
2542
  end
5526
2543
  end
5527
- # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
2544
+ # Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
5528
2545
  attr_accessor :amount
5529
2546
  # Provides industry-specific information about the amount.
5530
2547
  attr_accessor :amount_details
5531
- # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2548
+ # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5532
2549
  attr_accessor :application_fee_amount
5533
2550
  # Controls when the funds will be captured from the customer's account.
5534
2551
  attr_accessor :capture_method
@@ -5538,13 +2555,13 @@ module Stripe
5538
2555
  #
5539
2556
  # Payment methods attached to other Customers cannot be used with this PaymentIntent.
5540
2557
  #
5541
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
2558
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
5542
2559
  attr_accessor :customer
5543
- # ID of the Account this PaymentIntent belongs to, if one exists.
2560
+ # ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
5544
2561
  #
5545
2562
  # Payment methods attached to other Accounts cannot be used with this PaymentIntent.
5546
2563
  #
5547
- # If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
2564
+ # If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
5548
2565
  attr_accessor :customer_account
5549
2566
  # An arbitrary string attached to the object. Often useful for displaying to users.
5550
2567
  attr_accessor :description
@@ -5552,22 +2569,18 @@ module Stripe
5552
2569
  attr_accessor :excluded_payment_method_types
5553
2570
  # Specifies which fields in the response should be expanded.
5554
2571
  attr_accessor :expand
5555
- # The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
5556
- attr_accessor :fx_quote
5557
2572
  # Automations to be run during the PaymentIntent lifecycle
5558
2573
  attr_accessor :hooks
5559
- # This hash contains details about the Mandate to create.
5560
- attr_accessor :mandate_data
5561
- # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2574
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
5562
2575
  attr_accessor :metadata
5563
2576
  # Provides industry-specific information about the charge.
5564
2577
  attr_accessor :payment_details
5565
- # Attribute for param field payment_method
2578
+ # ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
5566
2579
  attr_accessor :payment_method
5567
- # The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
2580
+ # The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent.
5568
2581
  attr_accessor :payment_method_configuration
5569
2582
  # If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear
5570
- # in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method)
2583
+ # in the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)
5571
2584
  # property on the PaymentIntent.
5572
2585
  attr_accessor :payment_method_data
5573
2586
  # Payment-method-specific configuration for this PaymentIntent.
@@ -5594,9 +2607,9 @@ module Stripe
5594
2607
  attr_accessor :statement_descriptor
5595
2608
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
5596
2609
  attr_accessor :statement_descriptor_suffix
5597
- # Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2610
+ # Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5598
2611
  attr_accessor :transfer_data
5599
- # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
2612
+ # A string that identifies the resulting payment as part of a group. You can only provide `transfer_group` if it hasn't been set. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
5600
2613
  attr_accessor :transfer_group
5601
2614
 
5602
2615
  def initialize(
@@ -5610,9 +2623,7 @@ module Stripe
5610
2623
  description: nil,
5611
2624
  excluded_payment_method_types: nil,
5612
2625
  expand: nil,
5613
- fx_quote: nil,
5614
2626
  hooks: nil,
5615
- mandate_data: nil,
5616
2627
  metadata: nil,
5617
2628
  payment_details: nil,
5618
2629
  payment_method: nil,
@@ -5638,9 +2649,7 @@ module Stripe
5638
2649
  @description = description
5639
2650
  @excluded_payment_method_types = excluded_payment_method_types
5640
2651
  @expand = expand
5641
- @fx_quote = fx_quote
5642
2652
  @hooks = hooks
5643
- @mandate_data = mandate_data
5644
2653
  @metadata = metadata
5645
2654
  @payment_details = payment_details
5646
2655
  @payment_method = payment_method