stripe 15.5.0.pre.beta.1 → 15.5.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 (616) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +680 -1634
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +6 -4
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -32
  8. data/lib/stripe/api_version.rb +2 -1
  9. data/lib/stripe/errors.rb +0 -60
  10. data/lib/stripe/event_types.rb +0 -102
  11. data/lib/stripe/object_types.rb +0 -53
  12. data/lib/stripe/resources/account.rb +3 -655
  13. data/lib/stripe/resources/account_session.rb +76 -250
  14. data/lib/stripe/resources/balance.rb +2 -7
  15. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  16. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  17. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  18. data/lib/stripe/resources/billing/meter.rb +2 -2
  19. data/lib/stripe/resources/billing_portal/configuration.rb +12 -2
  20. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  21. data/lib/stripe/resources/card.rb +0 -2
  22. data/lib/stripe/resources/cash_balance.rb +0 -2
  23. data/lib/stripe/resources/charge.rb +38 -1543
  24. data/lib/stripe/resources/checkout/session.rb +16 -403
  25. data/lib/stripe/resources/confirmation_token.rb +0 -170
  26. data/lib/stripe/resources/coupon.rb +1 -30
  27. data/lib/stripe/resources/credit_note.rb +3 -9
  28. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  29. data/lib/stripe/resources/customer.rb +0 -2
  30. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  32. data/lib/stripe/resources/customer_session.rb +1 -6
  33. data/lib/stripe/resources/discount.rb +0 -2
  34. data/lib/stripe/resources/dispute.rb +1 -12
  35. data/lib/stripe/resources/event.rb +0 -31
  36. data/lib/stripe/resources/file.rb +1 -1
  37. data/lib/stripe/resources/file_link.rb +1 -1
  38. data/lib/stripe/resources/financial_connections/account.rb +1 -22
  39. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  40. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  41. data/lib/stripe/resources/invoice.rb +55 -1136
  42. data/lib/stripe/resources/invoice_item.rb +2 -78
  43. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  44. data/lib/stripe/resources/invoice_payment.rb +53 -2
  45. data/lib/stripe/resources/issuing/card.rb +8 -0
  46. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  47. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  48. data/lib/stripe/resources/line_item.rb +0 -37
  49. data/lib/stripe/resources/mandate.rb +0 -24
  50. data/lib/stripe/resources/payment_intent.rb +401 -6126
  51. data/lib/stripe/resources/payment_link.rb +1 -1
  52. data/lib/stripe/resources/payment_method.rb +1 -192
  53. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  54. data/lib/stripe/resources/price.rb +0 -30
  55. data/lib/stripe/resources/promotion_code.rb +5 -12
  56. data/lib/stripe/resources/quote.rb +7 -2038
  57. data/lib/stripe/resources/refund.rb +0 -9
  58. data/lib/stripe/resources/setup_attempt.rb +1 -22
  59. data/lib/stripe/resources/setup_intent.rb +10 -579
  60. data/lib/stripe/resources/source.rb +0 -29
  61. data/lib/stripe/resources/subscription.rb +116 -374
  62. data/lib/stripe/resources/subscription_item.rb +3 -84
  63. data/lib/stripe/resources/subscription_schedule.rb +134 -1009
  64. data/lib/stripe/resources/tax_id.rb +2 -12
  65. data/lib/stripe/resources/terminal/configuration.rb +49 -0
  66. data/lib/stripe/resources/terminal/reader.rb +22 -8
  67. data/lib/stripe/resources/transfer.rb +0 -6
  68. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  69. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  70. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  71. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  72. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  73. data/lib/stripe/resources.rb +0 -109
  74. data/lib/stripe/services/account_service.rb +1 -562
  75. data/lib/stripe/services/account_session_service.rb +46 -220
  76. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  77. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  78. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  79. data/lib/stripe/services/billing/meter_service.rb +1 -1
  80. data/lib/stripe/services/billing_portal/configuration_service.rb +10 -2
  81. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  82. data/lib/stripe/services/billing_service.rb +1 -2
  83. data/lib/stripe/services/charge_service.rb +0 -1418
  84. data/lib/stripe/services/checkout/session_service.rb +13 -319
  85. data/lib/stripe/services/coupon_service.rb +1 -17
  86. data/lib/stripe/services/credit_note_preview_lines_service.rb +1 -1
  87. data/lib/stripe/services/credit_note_service.rb +2 -6
  88. data/lib/stripe/services/customer_service.rb +4 -4
  89. data/lib/stripe/services/customer_session_service.rb +1 -4
  90. data/lib/stripe/services/file_link_service.rb +1 -1
  91. data/lib/stripe/services/file_service.rb +1 -1
  92. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  93. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  94. data/lib/stripe/services/financial_connections_service.rb +1 -2
  95. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  96. data/lib/stripe/services/invoice_item_service.rb +2 -74
  97. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  98. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  99. data/lib/stripe/services/invoice_service.rb +54 -1069
  100. data/lib/stripe/services/issuing/card_service.rb +8 -0
  101. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  102. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  103. data/lib/stripe/services/issuing_service.rb +1 -5
  104. data/lib/stripe/services/payment_intent_service.rb +351 -5612
  105. data/lib/stripe/services/payment_link_service.rb +1 -1
  106. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  107. data/lib/stripe/services/payment_method_service.rb +1 -120
  108. data/lib/stripe/services/price_service.rb +0 -19
  109. data/lib/stripe/services/promotion_code_service.rb +0 -8
  110. data/lib/stripe/services/quote_service.rb +9 -1724
  111. data/lib/stripe/services/setup_intent_service.rb +9 -538
  112. data/lib/stripe/services/subscription_item_service.rb +3 -75
  113. data/lib/stripe/services/subscription_schedule_service.rb +110 -913
  114. data/lib/stripe/services/subscription_service.rb +116 -318
  115. data/lib/stripe/services/tax_id_service.rb +2 -8
  116. data/lib/stripe/services/tax_service.rb +1 -3
  117. data/lib/stripe/services/terminal/configuration_service.rb +38 -0
  118. data/lib/stripe/services/terminal_service.rb +1 -3
  119. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -97
  120. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +22 -0
  121. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  122. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  123. data/lib/stripe/services/transfer_service.rb +0 -4
  124. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  125. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  126. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  127. data/lib/stripe/services/v1_services.rb +5 -14
  128. data/lib/stripe/services/v2/billing_service.rb +2 -2
  129. data/lib/stripe/services/v2/core_service.rb +2 -5
  130. data/lib/stripe/services/v2_services.rb +1 -4
  131. data/lib/stripe/services.rb +1 -55
  132. data/lib/stripe/stripe_configuration.rb +1 -3
  133. data/lib/stripe/stripe_object.rb +1 -1
  134. data/lib/stripe/stripe_service.rb +3 -1
  135. data/lib/stripe/util.rb +1 -7
  136. data/lib/stripe/version.rb +1 -1
  137. data/lib/stripe.rb +0 -53
  138. data/rbi/stripe/resources/account.rbi +4991 -0
  139. data/rbi/stripe/resources/account_link.rbi +76 -0
  140. data/rbi/stripe/resources/account_session.rbi +1173 -0
  141. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  142. data/rbi/stripe/resources/application.rbi +20 -0
  143. data/rbi/stripe/resources/application_fee.rbi +118 -0
  144. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  145. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  146. data/rbi/stripe/resources/balance.rbi +230 -0
  147. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  148. data/rbi/stripe/resources/bank_account.rbi +127 -0
  149. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  150. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  151. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  152. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  153. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  154. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  155. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  156. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  157. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  158. data/rbi/stripe/resources/billing_portal/configuration.rbi +712 -0
  159. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  160. data/rbi/stripe/resources/capability.rbi +125 -0
  161. data/rbi/stripe/resources/card.rbi +125 -0
  162. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  163. data/rbi/stripe/resources/charge.rbi +2136 -0
  164. data/rbi/stripe/resources/checkout/session.rbi +4105 -0
  165. data/rbi/stripe/resources/climate/order.rbi +245 -0
  166. data/rbi/stripe/resources/climate/product.rbi +75 -0
  167. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  168. data/rbi/stripe/resources/confirmation_token.rbi +1818 -0
  169. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  170. data/rbi/stripe/resources/country_spec.rbi +85 -0
  171. data/rbi/stripe/resources/coupon.rbi +250 -0
  172. data/rbi/stripe/resources/credit_note.rbi +752 -0
  173. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  174. data/rbi/stripe/resources/customer.rbi +993 -0
  175. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  176. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  177. data/rbi/stripe/resources/customer_session.rbi +200 -0
  178. data/rbi/stripe/resources/discount.rbi +53 -0
  179. data/rbi/stripe/resources/dispute.rbi +761 -0
  180. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  181. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  182. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  183. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  184. data/rbi/stripe/resources/event.rbi +137 -0
  185. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  186. data/rbi/stripe/resources/file.rbi +143 -0
  187. data/rbi/stripe/resources/file_link.rbi +141 -0
  188. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  189. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  190. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  191. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  192. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  193. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  194. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  195. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  196. data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
  197. data/rbi/stripe/resources/invoice.rbi +3894 -0
  198. data/rbi/stripe/resources/invoice_item.rbi +470 -0
  199. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  200. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  201. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  202. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  203. data/rbi/stripe/resources/issuing/card.rbi +749 -0
  204. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  205. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  206. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  207. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  208. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  209. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  210. data/rbi/stripe/resources/line_item.rbi +72 -0
  211. data/rbi/stripe/resources/login_link.rbi +19 -0
  212. data/rbi/stripe/resources/mandate.rbi +191 -0
  213. data/rbi/stripe/resources/payment_intent.rbi +10011 -0
  214. data/rbi/stripe/resources/payment_link.rbi +1891 -0
  215. data/rbi/stripe/resources/payment_method.rbi +1770 -0
  216. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  217. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  218. data/rbi/stripe/resources/payout.rbi +307 -0
  219. data/rbi/stripe/resources/person.rbi +401 -0
  220. data/rbi/stripe/resources/plan.rbi +371 -0
  221. data/rbi/stripe/resources/price.rbi +694 -0
  222. data/rbi/stripe/resources/product.rbi +553 -0
  223. data/rbi/stripe/resources/product_feature.rbi +26 -0
  224. data/rbi/stripe/resources/promotion_code.rbi +264 -0
  225. data/rbi/stripe/resources/quote.rbi +1137 -0
  226. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  227. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  228. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  229. data/rbi/stripe/resources/refund.rbi +523 -0
  230. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  231. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  232. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  233. data/rbi/stripe/resources/reversal.rbi +51 -0
  234. data/rbi/stripe/resources/review.rbi +154 -0
  235. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  236. data/rbi/stripe/resources/setup_intent.rbi +3974 -0
  237. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  238. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  239. data/rbi/stripe/resources/source.rbi +1496 -0
  240. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  241. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  242. data/rbi/stripe/resources/subscription.rbi +2154 -0
  243. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  244. data/rbi/stripe/resources/subscription_schedule.rbi +1795 -0
  245. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  246. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  247. data/rbi/stripe/resources/tax/registration.rbi +3216 -0
  248. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  249. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  250. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  251. data/rbi/stripe/resources/tax_code.rbi +44 -0
  252. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  253. data/rbi/stripe/resources/tax_id.rbi +165 -0
  254. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  255. data/rbi/stripe/resources/terminal/configuration.rbi +1647 -0
  256. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  257. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  258. data/rbi/stripe/resources/terminal/reader.rbi +1016 -0
  259. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  260. data/rbi/stripe/resources/token.rbi +1281 -0
  261. data/rbi/stripe/resources/topup.rbi +222 -0
  262. data/rbi/stripe/resources/transfer.rbi +199 -0
  263. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  264. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  265. data/rbi/stripe/resources/treasury/financial_account.rbi +869 -0
  266. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  267. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  268. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  269. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  270. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  271. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  272. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  273. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  274. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  275. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  276. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  277. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  278. data/rbi/stripe/resources/v2/event.rbi +48 -0
  279. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  280. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  281. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  282. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +122 -135
  283. data/rbi/stripe/services/account_link_service.rbi +60 -0
  284. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  285. data/rbi/stripe/services/account_person_service.rbi +1007 -0
  286. data/rbi/stripe/services/account_service.rbi +4281 -0
  287. data/rbi/stripe/services/account_session_service.rbi +748 -0
  288. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  289. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  290. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  291. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  292. data/rbi/stripe/services/apps_service.rbi +9 -0
  293. data/rbi/stripe/services/balance_service.rbi +21 -0
  294. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  295. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  296. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  297. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  298. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  299. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  300. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  301. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  302. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  303. data/rbi/stripe/services/billing_portal/configuration_service.rbi +561 -0
  304. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  305. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  306. data/rbi/stripe/services/billing_service.rbi +15 -0
  307. data/rbi/stripe/services/charge_service.rbi +448 -0
  308. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  309. data/rbi/stripe/services/checkout/session_service.rbi +2697 -0
  310. data/rbi/stripe/services/checkout_service.rbi +9 -0
  311. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  312. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  313. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  314. data/rbi/stripe/services/climate_service.rbi +11 -0
  315. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  316. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  317. data/rbi/stripe/services/coupon_service.rbi +194 -0
  318. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  319. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  320. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  321. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  322. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  323. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  324. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  325. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  326. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  327. data/rbi/stripe/services/customer_service.rbi +635 -0
  328. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  329. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  330. data/rbi/stripe/services/dispute_service.rbi +424 -0
  331. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  332. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  333. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  334. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  335. data/rbi/stripe/services/event_service.rbi +83 -0
  336. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  337. data/rbi/stripe/services/file_link_service.rbi +124 -0
  338. data/rbi/stripe/services/file_service.rbi +116 -0
  339. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  340. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  341. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  342. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  343. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  344. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  345. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  346. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  347. data/rbi/stripe/services/identity/verification_session_service.rbi +339 -0
  348. data/rbi/stripe/services/identity_service.rbi +10 -0
  349. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  350. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  351. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  352. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  353. data/rbi/stripe/services/invoice_service.rbi +3073 -0
  354. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  355. data/rbi/stripe/services/issuing/card_service.rbi +503 -0
  356. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  357. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  358. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  359. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  360. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  361. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  362. data/rbi/stripe/services/issuing_service.rbi +16 -0
  363. data/rbi/stripe/services/mandate_service.rbi +20 -0
  364. data/rbi/stripe/services/payment_intent_service.rbi +8010 -0
  365. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  366. data/rbi/stripe/services/payment_link_service.rbi +1441 -0
  367. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  368. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  369. data/rbi/stripe/services/payment_method_service.rbi +781 -0
  370. data/rbi/stripe/services/payout_service.rbi +209 -0
  371. data/rbi/stripe/services/plan_service.rbi +282 -0
  372. data/rbi/stripe/services/price_service.rbi +546 -0
  373. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  374. data/rbi/stripe/services/product_service.rbi +477 -0
  375. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  376. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  377. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  378. data/rbi/stripe/services/quote_service.rbi +695 -0
  379. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  380. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  381. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  382. data/rbi/stripe/services/radar_service.rbi +11 -0
  383. data/rbi/stripe/services/refund_service.rbi +185 -0
  384. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  385. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  386. data/rbi/stripe/services/reporting_service.rbi +10 -0
  387. data/rbi/stripe/services/review_service.rbi +84 -0
  388. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  389. data/rbi/stripe/services/setup_intent_service.rbi +3709 -0
  390. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  391. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  392. data/rbi/stripe/services/sigma_service.rbi +9 -0
  393. data/rbi/stripe/services/source_service.rbi +663 -0
  394. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  395. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  396. data/rbi/stripe/services/subscription_schedule_service.rbi +1425 -0
  397. data/rbi/stripe/services/subscription_service.rbi +1768 -0
  398. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  399. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  400. data/rbi/stripe/services/tax/registration_service.rbi +2278 -0
  401. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  402. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  403. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  404. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  405. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  406. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  407. data/rbi/stripe/services/tax_service.rbi +12 -0
  408. data/rbi/stripe/services/terminal/configuration_service.rbi +1328 -0
  409. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  410. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  411. data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
  412. data/rbi/stripe/services/terminal_service.rbi +12 -0
  413. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  414. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  415. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  416. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  417. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  418. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  419. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  420. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  421. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +117 -0
  422. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  423. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  424. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  425. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  426. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  427. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  428. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  429. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  430. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  431. data/rbi/stripe/services/token_service.rbi +1255 -0
  432. data/rbi/stripe/services/topup_service.rbi +176 -0
  433. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  434. data/rbi/stripe/services/transfer_service.rbi +152 -0
  435. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  436. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  437. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  438. data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
  439. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  440. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  441. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  442. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  443. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  444. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  445. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  446. data/rbi/stripe/services/treasury_service.rbi +18 -0
  447. data/rbi/stripe/services/v1_services.rbi +77 -0
  448. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  449. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  450. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  451. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  452. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  453. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  454. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  455. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  456. data/rbi/stripe/services/v2_services.rbi +10 -0
  457. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  458. data/stripe.gemspec +1 -4
  459. metadata +325 -169
  460. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  461. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  462. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  463. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  465. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  466. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  468. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
  469. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  470. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  471. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  472. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  473. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
  474. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  475. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  476. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  477. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  484. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  493. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  503. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  504. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  505. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  506. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  507. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  508. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  509. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  510. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  511. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  512. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  513. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  514. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
  515. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  516. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  517. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  518. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  519. data/lib/stripe/resources/account_notice.rb +0 -123
  520. data/lib/stripe/resources/balance_settings.rb +0 -105
  521. data/lib/stripe/resources/billing/meter_usage.rb +0 -23
  522. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
  523. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  524. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  525. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  526. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  527. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  528. data/lib/stripe/resources/fx_quote.rb +0 -186
  529. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  530. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  531. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  532. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  533. data/lib/stripe/resources/margin.rb +0 -115
  534. data/lib/stripe/resources/order.rb +0 -2958
  535. data/lib/stripe/resources/payment_attempt_record.rb +0 -1101
  536. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  537. data/lib/stripe/resources/payment_record.rb +0 -1630
  538. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  539. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  540. data/lib/stripe/resources/quote_line.rb +0 -274
  541. data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
  542. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -371
  543. data/lib/stripe/resources/tax/association.rb +0 -66
  544. data/lib/stripe/resources/tax/form.rb +0 -211
  545. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
  546. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  547. data/lib/stripe/resources/v2/core/account.rb +0 -1930
  548. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  549. data/lib/stripe/resources/v2/core/person.rb +0 -276
  550. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  551. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  552. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  553. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  554. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  555. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -77
  556. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  557. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  558. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  559. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  560. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  561. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  562. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
  563. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  564. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  565. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  566. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  567. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  568. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
  569. data/lib/stripe/services/account_notice_service.rb +0 -101
  570. data/lib/stripe/services/balance_settings_service.rb +0 -96
  571. data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
  572. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  573. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  574. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  575. data/lib/stripe/services/capital_service.rb +0 -15
  576. data/lib/stripe/services/fx_quote_service.rb +0 -123
  577. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  578. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  579. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  580. data/lib/stripe/services/margin_service.rb +0 -119
  581. data/lib/stripe/services/order_service.rb +0 -2388
  582. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  583. data/lib/stripe/services/payment_record_service.rb +0 -542
  584. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  585. data/lib/stripe/services/privacy_service.rb +0 -13
  586. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  587. data/lib/stripe/services/tax/association_service.rb +0 -31
  588. data/lib/stripe/services/tax/form_service.rb +0 -100
  589. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
  590. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  591. data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
  592. data/lib/stripe/services/v2/core/account_service.rb +0 -4522
  593. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  594. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  595. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  596. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  597. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  598. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -116
  599. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  600. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  601. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  602. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  603. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  604. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  605. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  606. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  607. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  608. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  609. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  610. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  611. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  612. data/lib/stripe/services/v2/payment_service.rb +0 -15
  613. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -152
  614. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  615. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
  616. data/rbi/stripe.rbi +0 -199016
@@ -96,11 +96,11 @@ module Stripe
96
96
  attr_reader :advice_code
97
97
  # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
98
98
  attr_reader :network_advice_code
99
- # For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
99
+ # For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.
100
100
  attr_reader :network_decline_code
101
101
  # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
102
102
  attr_reader :network_status
103
- # An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
103
+ # An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
104
104
  attr_reader :reason
105
105
  # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
106
106
  attr_reader :risk_level
@@ -181,15 +181,22 @@ module Stripe
181
181
  attr_reader :transaction_id
182
182
  end
183
183
 
184
- class Alma < Stripe::StripeObject; end
184
+ class Alma < Stripe::StripeObject
185
+ class Installments < Stripe::StripeObject
186
+ # The number of installments.
187
+ attr_reader :count
188
+ end
189
+ # Attribute for field installments
190
+ attr_reader :installments
191
+ # The Alma transaction ID associated with this payment.
192
+ attr_reader :transaction_id
193
+ end
185
194
 
186
195
  class AmazonPay < Stripe::StripeObject
187
196
  class Funding < Stripe::StripeObject
188
197
  class Card < Stripe::StripeObject
189
198
  # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
190
199
  attr_reader :brand
191
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
192
- attr_reader :brand_product
193
200
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
194
201
  attr_reader :country
195
202
  # Two-digit number representing the card's expiration month.
@@ -208,6 +215,8 @@ module Stripe
208
215
  end
209
216
  # Attribute for field funding
210
217
  attr_reader :funding
218
+ # The Amazon Pay transaction ID associated with this payment.
219
+ attr_reader :transaction_id
211
220
  end
212
221
 
213
222
  class AuBecsDebit < Stripe::StripeObject
@@ -253,7 +262,10 @@ module Stripe
253
262
  attr_reader :verified_name
254
263
  end
255
264
 
256
- class Billie < Stripe::StripeObject; end
265
+ class Billie < Stripe::StripeObject
266
+ # The Billie transaction ID associated with this payment.
267
+ attr_reader :transaction_id
268
+ end
257
269
 
258
270
  class Blik < Stripe::StripeObject
259
271
  # A unique and immutable identifier assigned by BLIK to every buyer.
@@ -275,11 +287,6 @@ module Stripe
275
287
  attr_reader :cvc_check
276
288
  end
277
289
 
278
- class DecrementalAuthorization < Stripe::StripeObject
279
- # Indicates whether or not the decremental authorization feature is supported.
280
- attr_reader :status
281
- end
282
-
283
290
  class ExtendedAuthorization < Stripe::StripeObject
284
291
  # Indicates whether or not the capture window is extended beyond the standard authorization.
285
292
  attr_reader :status
@@ -321,11 +328,6 @@ module Stripe
321
328
  attr_reader :status
322
329
  end
323
330
 
324
- class PartialAuthorization < Stripe::StripeObject
325
- # Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
326
- attr_reader :status
327
- end
328
-
329
331
  class ThreeDSecure < Stripe::StripeObject
330
332
  # For authenticated transactions: how the customer was authenticated by
331
333
  # the issuing bank.
@@ -458,8 +460,6 @@ module Stripe
458
460
  end
459
461
  # The authorized amount.
460
462
  attr_reader :amount_authorized
461
- # The latest amount intended to be authorized by this charge.
462
- attr_reader :amount_requested
463
463
  # Authorization code on the charge.
464
464
  attr_reader :authorization_code
465
465
  # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
@@ -470,8 +470,6 @@ module Stripe
470
470
  attr_reader :checks
471
471
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
472
472
  attr_reader :country
473
- # Attribute for field decremental_authorization
474
- attr_reader :decremental_authorization
475
473
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
476
474
  attr_reader :description
477
475
  # Two-digit number representing the card's expiration month.
@@ -512,8 +510,6 @@ module Stripe
512
510
  attr_reader :network_transaction_id
513
511
  # Attribute for field overcapture
514
512
  attr_reader :overcapture
515
- # Attribute for field partial_authorization
516
- attr_reader :partial_authorization
517
513
  # Status of a card based on the card issuer.
518
514
  attr_reader :regulated_status
519
515
  # Populated if this transaction used 3D Secure authentication.
@@ -662,26 +658,11 @@ module Stripe
662
658
  attr_reader :verified_name
663
659
  end
664
660
 
665
- class Gopay < Stripe::StripeObject; end
666
-
667
661
  class Grabpay < Stripe::StripeObject
668
662
  # Unique transaction id generated by GrabPay
669
663
  attr_reader :transaction_id
670
664
  end
671
665
 
672
- class IdBankTransfer < Stripe::StripeObject
673
- # Account number of the bank account to transfer funds to.
674
- attr_reader :account_number
675
- # Bank where the account is located.
676
- attr_reader :bank
677
- # Local bank code of the bank.
678
- attr_reader :bank_code
679
- # Name of the bank associated with the bank account.
680
- attr_reader :bank_name
681
- # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
682
- attr_reader :display_name
683
- end
684
-
685
666
  class Ideal < Stripe::StripeObject
686
667
  # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
687
668
  attr_reader :bank
@@ -762,6 +743,8 @@ module Stripe
762
743
  class KakaoPay < Stripe::StripeObject
763
744
  # A unique identifier for the buyer as determined by the local payment processor.
764
745
  attr_reader :buyer_id
746
+ # The Kakao Pay transaction ID associated with this payment.
747
+ attr_reader :transaction_id
765
748
  end
766
749
 
767
750
  class Klarna < Stripe::StripeObject
@@ -799,6 +782,8 @@ module Stripe
799
782
  attr_reader :buyer_id
800
783
  # The last four digits of the card. This may not be present for American Express cards.
801
784
  attr_reader :last4
785
+ # The Korean Card transaction ID associated with this payment.
786
+ attr_reader :transaction_id
802
787
  end
803
788
 
804
789
  class Link < Stripe::StripeObject
@@ -807,8 +792,6 @@ module Stripe
807
792
  attr_reader :country
808
793
  end
809
794
 
810
- class MbWay < Stripe::StripeObject; end
811
-
812
795
  class Mobilepay < Stripe::StripeObject
813
796
  class Card < Stripe::StripeObject
814
797
  # Brand of the card used in the transaction
@@ -836,6 +819,8 @@ module Stripe
836
819
  class NaverPay < Stripe::StripeObject
837
820
  # A unique identifier for the buyer as determined by the local payment processor.
838
821
  attr_reader :buyer_id
822
+ # The Naver Pay transaction ID associated with this payment.
823
+ attr_reader :transaction_id
839
824
  end
840
825
 
841
826
  class NzBankAccount < Stripe::StripeObject
@@ -874,9 +859,15 @@ module Stripe
874
859
  class Payco < Stripe::StripeObject
875
860
  # A unique identifier for the buyer as determined by the local payment processor.
876
861
  attr_reader :buyer_id
862
+ # The Payco transaction ID associated with this payment.
863
+ attr_reader :transaction_id
877
864
  end
878
865
 
879
866
  class Paynow < Stripe::StripeObject
867
+ # ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
868
+ attr_reader :location
869
+ # ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
870
+ attr_reader :reader
880
871
  # Reference number associated with this PayNow payment
881
872
  attr_reader :reference
882
873
  end
@@ -888,36 +879,6 @@ module Stripe
888
879
  # Indicates whether the transaction is eligible for PayPal's seller protection.
889
880
  attr_reader :status
890
881
  end
891
-
892
- class Shipping < Stripe::StripeObject
893
- # City, district, suburb, town, or village.
894
- attr_reader :city
895
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
896
- attr_reader :country
897
- # Address line 1 (e.g., street, PO Box, or company name).
898
- attr_reader :line1
899
- # Address line 2 (e.g., apartment, suite, unit, or building).
900
- attr_reader :line2
901
- # ZIP or postal code.
902
- attr_reader :postal_code
903
- # State, county, province, or region.
904
- attr_reader :state
905
- end
906
-
907
- class VerifiedAddress < Stripe::StripeObject
908
- # City, district, suburb, town, or village.
909
- attr_reader :city
910
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
911
- attr_reader :country
912
- # Address line 1 (e.g., street, PO Box, or company name).
913
- attr_reader :line1
914
- # Address line 2 (e.g., apartment, suite, unit, or building).
915
- attr_reader :line2
916
- # ZIP or postal code.
917
- attr_reader :postal_code
918
- # State, county, province, or region.
919
- attr_reader :state
920
- end
921
882
  # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
922
883
  attr_reader :country
923
884
  # Owner's email. Values are provided by PayPal directly
@@ -930,33 +891,8 @@ module Stripe
930
891
  attr_reader :payer_name
931
892
  # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
932
893
  attr_reader :seller_protection
933
- # The shipping address for the customer, as supplied by the merchant at the point of payment
934
- # execution. This shipping address will not be updated if the merchant updates the shipping
935
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
936
- attr_reader :shipping
937
894
  # A unique ID generated by PayPal for this transaction.
938
895
  attr_reader :transaction_id
939
- # The shipping address for the customer, as supplied by the merchant at the point of payment
940
- # execution. This shipping address will not be updated if the merchant updates the shipping
941
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
942
- attr_reader :verified_address
943
- # Owner's verified email. Values are verified or provided by PayPal directly
944
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
945
- attr_reader :verified_email
946
- # Owner's verified full name. Values are verified or provided by PayPal directly
947
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
948
- attr_reader :verified_name
949
- end
950
-
951
- class Payto < Stripe::StripeObject
952
- # Bank-State-Branch number of the bank account.
953
- attr_reader :bsb_number
954
- # Last four digits of the bank account number.
955
- attr_reader :last4
956
- # ID of the mandate used to make this payment.
957
- attr_reader :mandate
958
- # The PayID alias for the bank account.
959
- attr_reader :pay_id
960
896
  end
961
897
 
962
898
  class Pix < Stripe::StripeObject
@@ -969,16 +905,11 @@ module Stripe
969
905
  attr_reader :reference
970
906
  end
971
907
 
972
- class Qris < Stripe::StripeObject; end
973
- class Rechnung < Stripe::StripeObject; end
974
-
975
908
  class RevolutPay < Stripe::StripeObject
976
909
  class Funding < Stripe::StripeObject
977
910
  class Card < Stripe::StripeObject
978
911
  # Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
979
912
  attr_reader :brand
980
- # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
981
- attr_reader :brand_product
982
913
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
983
914
  attr_reader :country
984
915
  # Two-digit number representing the card's expiration month.
@@ -997,14 +928,21 @@ module Stripe
997
928
  end
998
929
  # Attribute for field funding
999
930
  attr_reader :funding
931
+ # The Revolut Pay transaction ID associated with this payment.
932
+ attr_reader :transaction_id
1000
933
  end
1001
934
 
1002
935
  class SamsungPay < Stripe::StripeObject
1003
936
  # A unique identifier for the buyer as determined by the local payment processor.
1004
937
  attr_reader :buyer_id
938
+ # The Samsung Pay transaction ID associated with this payment.
939
+ attr_reader :transaction_id
1005
940
  end
1006
941
 
1007
- class Satispay < Stripe::StripeObject; end
942
+ class Satispay < Stripe::StripeObject
943
+ # The Satispay transaction ID associated with this payment.
944
+ attr_reader :transaction_id
945
+ end
1008
946
 
1009
947
  class SepaCreditTransfer < Stripe::StripeObject
1010
948
  # Name of the bank associated with the bank account.
@@ -1030,8 +968,6 @@ module Stripe
1030
968
  attr_reader :mandate
1031
969
  end
1032
970
 
1033
- class Shopeepay < Stripe::StripeObject; end
1034
-
1035
971
  class Sofort < Stripe::StripeObject
1036
972
  # Bank code of bank associated with the bank account.
1037
973
  attr_reader :bank_code
@@ -1057,13 +993,6 @@ module Stripe
1057
993
 
1058
994
  class StripeAccount < Stripe::StripeObject; end
1059
995
 
1060
- class StripeBalance < Stripe::StripeObject
1061
- # The connected account ID whose Stripe balance to use as the source of payment
1062
- attr_reader :account
1063
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1064
- attr_reader :source_type
1065
- end
1066
-
1067
996
  class Swish < Stripe::StripeObject
1068
997
  # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
1069
998
  attr_reader :fingerprint
@@ -1152,12 +1081,8 @@ module Stripe
1152
1081
  attr_reader :fpx
1153
1082
  # Attribute for field giropay
1154
1083
  attr_reader :giropay
1155
- # Attribute for field gopay
1156
- attr_reader :gopay
1157
1084
  # Attribute for field grabpay
1158
1085
  attr_reader :grabpay
1159
- # Attribute for field id_bank_transfer
1160
- attr_reader :id_bank_transfer
1161
1086
  # Attribute for field ideal
1162
1087
  attr_reader :ideal
1163
1088
  # Attribute for field interac_present
@@ -1172,8 +1097,6 @@ module Stripe
1172
1097
  attr_reader :kr_card
1173
1098
  # Attribute for field link
1174
1099
  attr_reader :link
1175
- # Attribute for field mb_way
1176
- attr_reader :mb_way
1177
1100
  # Attribute for field mobilepay
1178
1101
  attr_reader :mobilepay
1179
1102
  # Attribute for field multibanco
@@ -1194,16 +1117,10 @@ module Stripe
1194
1117
  attr_reader :paynow
1195
1118
  # Attribute for field paypal
1196
1119
  attr_reader :paypal
1197
- # Attribute for field payto
1198
- attr_reader :payto
1199
1120
  # Attribute for field pix
1200
1121
  attr_reader :pix
1201
1122
  # Attribute for field promptpay
1202
1123
  attr_reader :promptpay
1203
- # Attribute for field qris
1204
- attr_reader :qris
1205
- # Attribute for field rechnung
1206
- attr_reader :rechnung
1207
1124
  # Attribute for field revolut_pay
1208
1125
  attr_reader :revolut_pay
1209
1126
  # Attribute for field samsung_pay
@@ -1214,14 +1131,10 @@ module Stripe
1214
1131
  attr_reader :sepa_credit_transfer
1215
1132
  # Attribute for field sepa_debit
1216
1133
  attr_reader :sepa_debit
1217
- # Attribute for field shopeepay
1218
- attr_reader :shopeepay
1219
1134
  # Attribute for field sofort
1220
1135
  attr_reader :sofort
1221
1136
  # Attribute for field stripe_account
1222
1137
  attr_reader :stripe_account
1223
- # Attribute for field stripe_balance
1224
- attr_reader :stripe_balance
1225
1138
  # Attribute for field swish
1226
1139
  attr_reader :swish
1227
1140
  # Attribute for field twint
@@ -1520,711 +1433,6 @@ module Stripe
1520
1433
  end
1521
1434
  end
1522
1435
 
1523
- class PaymentDetails < Stripe::RequestParams
1524
- class CarRental < Stripe::RequestParams
1525
- class Affiliate < Stripe::RequestParams
1526
- # The name of the affiliate that originated the purchase.
1527
- attr_accessor :name
1528
-
1529
- def initialize(name: nil)
1530
- @name = name
1531
- end
1532
- end
1533
-
1534
- class Delivery < Stripe::RequestParams
1535
- class Recipient < Stripe::RequestParams
1536
- # The email of the recipient the ticket is delivered to.
1537
- attr_accessor :email
1538
- # The name of the recipient the ticket is delivered to.
1539
- attr_accessor :name
1540
- # The phone number of the recipient the ticket is delivered to.
1541
- attr_accessor :phone
1542
-
1543
- def initialize(email: nil, name: nil, phone: nil)
1544
- @email = email
1545
- @name = name
1546
- @phone = phone
1547
- end
1548
- end
1549
- # The delivery method for the payment
1550
- attr_accessor :mode
1551
- # Details of the recipient.
1552
- attr_accessor :recipient
1553
-
1554
- def initialize(mode: nil, recipient: nil)
1555
- @mode = mode
1556
- @recipient = recipient
1557
- end
1558
- end
1559
-
1560
- class Distance < Stripe::RequestParams
1561
- # Distance traveled.
1562
- attr_accessor :amount
1563
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
1564
- attr_accessor :unit
1565
-
1566
- def initialize(amount: nil, unit: nil)
1567
- @amount = amount
1568
- @unit = unit
1569
- end
1570
- end
1571
-
1572
- class Driver < Stripe::RequestParams
1573
- # Driver's identification number.
1574
- attr_accessor :driver_identification_number
1575
- # Driver's tax number.
1576
- attr_accessor :driver_tax_number
1577
- # Full name of the person or entity on the car reservation.
1578
- attr_accessor :name
1579
-
1580
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
1581
- @driver_identification_number = driver_identification_number
1582
- @driver_tax_number = driver_tax_number
1583
- @name = name
1584
- end
1585
- end
1586
-
1587
- class PickupAddress < Stripe::RequestParams
1588
- # City, district, suburb, town, or village.
1589
- attr_accessor :city
1590
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1591
- attr_accessor :country
1592
- # Address line 1 (e.g., street, PO Box, or company name).
1593
- attr_accessor :line1
1594
- # Address line 2 (e.g., apartment, suite, unit, or building).
1595
- attr_accessor :line2
1596
- # ZIP or postal code.
1597
- attr_accessor :postal_code
1598
- # State, county, province, or region.
1599
- attr_accessor :state
1600
-
1601
- def initialize(
1602
- city: nil,
1603
- country: nil,
1604
- line1: nil,
1605
- line2: nil,
1606
- postal_code: nil,
1607
- state: nil
1608
- )
1609
- @city = city
1610
- @country = country
1611
- @line1 = line1
1612
- @line2 = line2
1613
- @postal_code = postal_code
1614
- @state = state
1615
- end
1616
- end
1617
-
1618
- class ReturnAddress < Stripe::RequestParams
1619
- # City, district, suburb, town, or village.
1620
- attr_accessor :city
1621
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1622
- attr_accessor :country
1623
- # Address line 1 (e.g., street, PO Box, or company name).
1624
- attr_accessor :line1
1625
- # Address line 2 (e.g., apartment, suite, unit, or building).
1626
- attr_accessor :line2
1627
- # ZIP or postal code.
1628
- attr_accessor :postal_code
1629
- # State, county, province, or region.
1630
- attr_accessor :state
1631
-
1632
- def initialize(
1633
- city: nil,
1634
- country: nil,
1635
- line1: nil,
1636
- line2: nil,
1637
- postal_code: nil,
1638
- state: nil
1639
- )
1640
- @city = city
1641
- @country = country
1642
- @line1 = line1
1643
- @line2 = line2
1644
- @postal_code = postal_code
1645
- @state = state
1646
- end
1647
- end
1648
- # Affiliate details for this purchase.
1649
- attr_accessor :affiliate
1650
- # The booking number associated with the car rental.
1651
- attr_accessor :booking_number
1652
- # Class code of the car.
1653
- attr_accessor :car_class_code
1654
- # Make of the car.
1655
- attr_accessor :car_make
1656
- # Model of the car.
1657
- attr_accessor :car_model
1658
- # The name of the rental car company.
1659
- attr_accessor :company
1660
- # The customer service phone number of the car rental company.
1661
- attr_accessor :customer_service_phone_number
1662
- # Number of days the car is being rented.
1663
- attr_accessor :days_rented
1664
- # Delivery details for this purchase.
1665
- attr_accessor :delivery
1666
- # The details of the distance traveled during the rental period.
1667
- attr_accessor :distance
1668
- # The details of the passengers in the travel reservation
1669
- attr_accessor :drivers
1670
- # List of additional charges being billed.
1671
- attr_accessor :extra_charges
1672
- # Indicates if the customer did not keep nor cancel their booking.
1673
- attr_accessor :no_show
1674
- # Car pick-up address.
1675
- attr_accessor :pickup_address
1676
- # Car pick-up time. Measured in seconds since the Unix epoch.
1677
- attr_accessor :pickup_at
1678
- # Name of the pickup location.
1679
- attr_accessor :pickup_location_name
1680
- # Rental rate.
1681
- attr_accessor :rate_amount
1682
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1683
- attr_accessor :rate_interval
1684
- # The name of the person or entity renting the car.
1685
- attr_accessor :renter_name
1686
- # Car return address.
1687
- attr_accessor :return_address
1688
- # Car return time. Measured in seconds since the Unix epoch.
1689
- attr_accessor :return_at
1690
- # Name of the return location.
1691
- attr_accessor :return_location_name
1692
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1693
- attr_accessor :tax_exempt
1694
- # The vehicle identification number.
1695
- attr_accessor :vehicle_identification_number
1696
-
1697
- def initialize(
1698
- affiliate: nil,
1699
- booking_number: nil,
1700
- car_class_code: nil,
1701
- car_make: nil,
1702
- car_model: nil,
1703
- company: nil,
1704
- customer_service_phone_number: nil,
1705
- days_rented: nil,
1706
- delivery: nil,
1707
- distance: nil,
1708
- drivers: nil,
1709
- extra_charges: nil,
1710
- no_show: nil,
1711
- pickup_address: nil,
1712
- pickup_at: nil,
1713
- pickup_location_name: nil,
1714
- rate_amount: nil,
1715
- rate_interval: nil,
1716
- renter_name: nil,
1717
- return_address: nil,
1718
- return_at: nil,
1719
- return_location_name: nil,
1720
- tax_exempt: nil,
1721
- vehicle_identification_number: nil
1722
- )
1723
- @affiliate = affiliate
1724
- @booking_number = booking_number
1725
- @car_class_code = car_class_code
1726
- @car_make = car_make
1727
- @car_model = car_model
1728
- @company = company
1729
- @customer_service_phone_number = customer_service_phone_number
1730
- @days_rented = days_rented
1731
- @delivery = delivery
1732
- @distance = distance
1733
- @drivers = drivers
1734
- @extra_charges = extra_charges
1735
- @no_show = no_show
1736
- @pickup_address = pickup_address
1737
- @pickup_at = pickup_at
1738
- @pickup_location_name = pickup_location_name
1739
- @rate_amount = rate_amount
1740
- @rate_interval = rate_interval
1741
- @renter_name = renter_name
1742
- @return_address = return_address
1743
- @return_at = return_at
1744
- @return_location_name = return_location_name
1745
- @tax_exempt = tax_exempt
1746
- @vehicle_identification_number = vehicle_identification_number
1747
- end
1748
- end
1749
-
1750
- class EventDetails < Stripe::RequestParams
1751
- class Address < Stripe::RequestParams
1752
- # City, district, suburb, town, or village.
1753
- attr_accessor :city
1754
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1755
- attr_accessor :country
1756
- # Address line 1 (e.g., street, PO Box, or company name).
1757
- attr_accessor :line1
1758
- # Address line 2 (e.g., apartment, suite, unit, or building).
1759
- attr_accessor :line2
1760
- # ZIP or postal code.
1761
- attr_accessor :postal_code
1762
- # State, county, province, or region.
1763
- attr_accessor :state
1764
-
1765
- def initialize(
1766
- city: nil,
1767
- country: nil,
1768
- line1: nil,
1769
- line2: nil,
1770
- postal_code: nil,
1771
- state: nil
1772
- )
1773
- @city = city
1774
- @country = country
1775
- @line1 = line1
1776
- @line2 = line2
1777
- @postal_code = postal_code
1778
- @state = state
1779
- end
1780
- end
1781
-
1782
- class Affiliate < Stripe::RequestParams
1783
- # The name of the affiliate that originated the purchase.
1784
- attr_accessor :name
1785
-
1786
- def initialize(name: nil)
1787
- @name = name
1788
- end
1789
- end
1790
-
1791
- class Delivery < Stripe::RequestParams
1792
- class Recipient < Stripe::RequestParams
1793
- # The email of the recipient the ticket is delivered to.
1794
- attr_accessor :email
1795
- # The name of the recipient the ticket is delivered to.
1796
- attr_accessor :name
1797
- # The phone number of the recipient the ticket is delivered to.
1798
- attr_accessor :phone
1799
-
1800
- def initialize(email: nil, name: nil, phone: nil)
1801
- @email = email
1802
- @name = name
1803
- @phone = phone
1804
- end
1805
- end
1806
- # The delivery method for the payment
1807
- attr_accessor :mode
1808
- # Details of the recipient.
1809
- attr_accessor :recipient
1810
-
1811
- def initialize(mode: nil, recipient: nil)
1812
- @mode = mode
1813
- @recipient = recipient
1814
- end
1815
- end
1816
- # Indicates if the tickets are digitally checked when entering the venue.
1817
- attr_accessor :access_controlled_venue
1818
- # The event location's address.
1819
- attr_accessor :address
1820
- # Affiliate details for this purchase.
1821
- attr_accessor :affiliate
1822
- # The name of the company
1823
- attr_accessor :company
1824
- # Delivery details for this purchase.
1825
- attr_accessor :delivery
1826
- # Event end time. Measured in seconds since the Unix epoch.
1827
- attr_accessor :ends_at
1828
- # Type of the event entertainment (concert, sports event etc)
1829
- attr_accessor :genre
1830
- # The name of the event.
1831
- attr_accessor :name
1832
- # Event start time. Measured in seconds since the Unix epoch.
1833
- attr_accessor :starts_at
1834
-
1835
- def initialize(
1836
- access_controlled_venue: nil,
1837
- address: nil,
1838
- affiliate: nil,
1839
- company: nil,
1840
- delivery: nil,
1841
- ends_at: nil,
1842
- genre: nil,
1843
- name: nil,
1844
- starts_at: nil
1845
- )
1846
- @access_controlled_venue = access_controlled_venue
1847
- @address = address
1848
- @affiliate = affiliate
1849
- @company = company
1850
- @delivery = delivery
1851
- @ends_at = ends_at
1852
- @genre = genre
1853
- @name = name
1854
- @starts_at = starts_at
1855
- end
1856
- end
1857
-
1858
- class Flight < Stripe::RequestParams
1859
- class Affiliate < Stripe::RequestParams
1860
- # The name of the affiliate that originated the purchase.
1861
- attr_accessor :name
1862
-
1863
- def initialize(name: nil)
1864
- @name = name
1865
- end
1866
- end
1867
-
1868
- class Delivery < Stripe::RequestParams
1869
- class Recipient < Stripe::RequestParams
1870
- # The email of the recipient the ticket is delivered to.
1871
- attr_accessor :email
1872
- # The name of the recipient the ticket is delivered to.
1873
- attr_accessor :name
1874
- # The phone number of the recipient the ticket is delivered to.
1875
- attr_accessor :phone
1876
-
1877
- def initialize(email: nil, name: nil, phone: nil)
1878
- @email = email
1879
- @name = name
1880
- @phone = phone
1881
- end
1882
- end
1883
- # The delivery method for the payment
1884
- attr_accessor :mode
1885
- # Details of the recipient.
1886
- attr_accessor :recipient
1887
-
1888
- def initialize(mode: nil, recipient: nil)
1889
- @mode = mode
1890
- @recipient = recipient
1891
- end
1892
- end
1893
-
1894
- class Passenger < Stripe::RequestParams
1895
- # Full name of the person or entity on the flight reservation.
1896
- attr_accessor :name
1897
-
1898
- def initialize(name: nil)
1899
- @name = name
1900
- end
1901
- end
1902
-
1903
- class Segment < Stripe::RequestParams
1904
- # The flight segment amount.
1905
- attr_accessor :amount
1906
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1907
- attr_accessor :arrival_airport
1908
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1909
- attr_accessor :arrives_at
1910
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1911
- attr_accessor :carrier
1912
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1913
- attr_accessor :departs_at
1914
- # The International Air Transport Association (IATA) airport code for the departure airport.
1915
- attr_accessor :departure_airport
1916
- # The flight number associated with the segment
1917
- attr_accessor :flight_number
1918
- # The fare class for the segment.
1919
- attr_accessor :service_class
1920
-
1921
- def initialize(
1922
- amount: nil,
1923
- arrival_airport: nil,
1924
- arrives_at: nil,
1925
- carrier: nil,
1926
- departs_at: nil,
1927
- departure_airport: nil,
1928
- flight_number: nil,
1929
- service_class: nil
1930
- )
1931
- @amount = amount
1932
- @arrival_airport = arrival_airport
1933
- @arrives_at = arrives_at
1934
- @carrier = carrier
1935
- @departs_at = departs_at
1936
- @departure_airport = departure_airport
1937
- @flight_number = flight_number
1938
- @service_class = service_class
1939
- end
1940
- end
1941
- # Affiliate details for this purchase.
1942
- attr_accessor :affiliate
1943
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1944
- attr_accessor :agency_number
1945
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1946
- attr_accessor :carrier
1947
- # Delivery details for this purchase.
1948
- attr_accessor :delivery
1949
- # The name of the person or entity on the reservation.
1950
- attr_accessor :passenger_name
1951
- # The details of the passengers in the travel reservation.
1952
- attr_accessor :passengers
1953
- # The individual flight segments associated with the trip.
1954
- attr_accessor :segments
1955
- # The ticket number associated with the travel reservation.
1956
- attr_accessor :ticket_number
1957
-
1958
- def initialize(
1959
- affiliate: nil,
1960
- agency_number: nil,
1961
- carrier: nil,
1962
- delivery: nil,
1963
- passenger_name: nil,
1964
- passengers: nil,
1965
- segments: nil,
1966
- ticket_number: nil
1967
- )
1968
- @affiliate = affiliate
1969
- @agency_number = agency_number
1970
- @carrier = carrier
1971
- @delivery = delivery
1972
- @passenger_name = passenger_name
1973
- @passengers = passengers
1974
- @segments = segments
1975
- @ticket_number = ticket_number
1976
- end
1977
- end
1978
-
1979
- class Lodging < Stripe::RequestParams
1980
- class Address < Stripe::RequestParams
1981
- # City, district, suburb, town, or village.
1982
- attr_accessor :city
1983
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1984
- attr_accessor :country
1985
- # Address line 1 (e.g., street, PO Box, or company name).
1986
- attr_accessor :line1
1987
- # Address line 2 (e.g., apartment, suite, unit, or building).
1988
- attr_accessor :line2
1989
- # ZIP or postal code.
1990
- attr_accessor :postal_code
1991
- # State, county, province, or region.
1992
- attr_accessor :state
1993
-
1994
- def initialize(
1995
- city: nil,
1996
- country: nil,
1997
- line1: nil,
1998
- line2: nil,
1999
- postal_code: nil,
2000
- state: nil
2001
- )
2002
- @city = city
2003
- @country = country
2004
- @line1 = line1
2005
- @line2 = line2
2006
- @postal_code = postal_code
2007
- @state = state
2008
- end
2009
- end
2010
-
2011
- class Affiliate < Stripe::RequestParams
2012
- # The name of the affiliate that originated the purchase.
2013
- attr_accessor :name
2014
-
2015
- def initialize(name: nil)
2016
- @name = name
2017
- end
2018
- end
2019
-
2020
- class Delivery < Stripe::RequestParams
2021
- class Recipient < Stripe::RequestParams
2022
- # The email of the recipient the ticket is delivered to.
2023
- attr_accessor :email
2024
- # The name of the recipient the ticket is delivered to.
2025
- attr_accessor :name
2026
- # The phone number of the recipient the ticket is delivered to.
2027
- attr_accessor :phone
2028
-
2029
- def initialize(email: nil, name: nil, phone: nil)
2030
- @email = email
2031
- @name = name
2032
- @phone = phone
2033
- end
2034
- end
2035
- # The delivery method for the payment
2036
- attr_accessor :mode
2037
- # Details of the recipient.
2038
- attr_accessor :recipient
2039
-
2040
- def initialize(mode: nil, recipient: nil)
2041
- @mode = mode
2042
- @recipient = recipient
2043
- end
2044
- end
2045
-
2046
- class Passenger < Stripe::RequestParams
2047
- # Full name of the person or entity on the lodging reservation.
2048
- attr_accessor :name
2049
-
2050
- def initialize(name: nil)
2051
- @name = name
2052
- end
2053
- end
2054
- # The lodging location's address.
2055
- attr_accessor :address
2056
- # The number of adults on the booking
2057
- attr_accessor :adults
2058
- # Affiliate details for this purchase.
2059
- attr_accessor :affiliate
2060
- # The booking number associated with the lodging reservation.
2061
- attr_accessor :booking_number
2062
- # The lodging category
2063
- attr_accessor :category
2064
- # Lodging check-in time. Measured in seconds since the Unix epoch.
2065
- attr_accessor :checkin_at
2066
- # Lodging check-out time. Measured in seconds since the Unix epoch.
2067
- attr_accessor :checkout_at
2068
- # The customer service phone number of the lodging company.
2069
- attr_accessor :customer_service_phone_number
2070
- # The daily lodging room rate.
2071
- attr_accessor :daily_room_rate_amount
2072
- # Delivery details for this purchase.
2073
- attr_accessor :delivery
2074
- # List of additional charges being billed.
2075
- attr_accessor :extra_charges
2076
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
2077
- attr_accessor :fire_safety_act_compliance
2078
- # The name of the lodging location.
2079
- attr_accessor :name
2080
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2081
- attr_accessor :no_show
2082
- # The number of rooms on the booking
2083
- attr_accessor :number_of_rooms
2084
- # The details of the passengers in the travel reservation
2085
- attr_accessor :passengers
2086
- # The phone number of the lodging location.
2087
- attr_accessor :property_phone_number
2088
- # The room class for this purchase.
2089
- attr_accessor :room_class
2090
- # The number of room nights
2091
- attr_accessor :room_nights
2092
- # The total tax amount associating with the room reservation.
2093
- attr_accessor :total_room_tax_amount
2094
- # The total tax amount
2095
- attr_accessor :total_tax_amount
2096
-
2097
- def initialize(
2098
- address: nil,
2099
- adults: nil,
2100
- affiliate: nil,
2101
- booking_number: nil,
2102
- category: nil,
2103
- checkin_at: nil,
2104
- checkout_at: nil,
2105
- customer_service_phone_number: nil,
2106
- daily_room_rate_amount: nil,
2107
- delivery: nil,
2108
- extra_charges: nil,
2109
- fire_safety_act_compliance: nil,
2110
- name: nil,
2111
- no_show: nil,
2112
- number_of_rooms: nil,
2113
- passengers: nil,
2114
- property_phone_number: nil,
2115
- room_class: nil,
2116
- room_nights: nil,
2117
- total_room_tax_amount: nil,
2118
- total_tax_amount: nil
2119
- )
2120
- @address = address
2121
- @adults = adults
2122
- @affiliate = affiliate
2123
- @booking_number = booking_number
2124
- @category = category
2125
- @checkin_at = checkin_at
2126
- @checkout_at = checkout_at
2127
- @customer_service_phone_number = customer_service_phone_number
2128
- @daily_room_rate_amount = daily_room_rate_amount
2129
- @delivery = delivery
2130
- @extra_charges = extra_charges
2131
- @fire_safety_act_compliance = fire_safety_act_compliance
2132
- @name = name
2133
- @no_show = no_show
2134
- @number_of_rooms = number_of_rooms
2135
- @passengers = passengers
2136
- @property_phone_number = property_phone_number
2137
- @room_class = room_class
2138
- @room_nights = room_nights
2139
- @total_room_tax_amount = total_room_tax_amount
2140
- @total_tax_amount = total_tax_amount
2141
- end
2142
- end
2143
-
2144
- class Subscription < Stripe::RequestParams
2145
- class Affiliate < Stripe::RequestParams
2146
- # The name of the affiliate that originated the purchase.
2147
- attr_accessor :name
2148
-
2149
- def initialize(name: nil)
2150
- @name = name
2151
- end
2152
- end
2153
-
2154
- class BillingInterval < Stripe::RequestParams
2155
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2156
- attr_accessor :count
2157
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2158
- attr_accessor :interval
2159
-
2160
- def initialize(count: nil, interval: nil)
2161
- @count = count
2162
- @interval = interval
2163
- end
2164
- end
2165
- # Affiliate details for this purchase.
2166
- attr_accessor :affiliate
2167
- # Info whether the subscription will be auto renewed upon expiry.
2168
- attr_accessor :auto_renewal
2169
- # Subscription billing details for this purchase.
2170
- attr_accessor :billing_interval
2171
- # Subscription end time. Measured in seconds since the Unix epoch.
2172
- attr_accessor :ends_at
2173
- # Name of the product on subscription. e.g. Apple Music Subscription
2174
- attr_accessor :name
2175
- # Subscription start time. Measured in seconds since the Unix epoch.
2176
- attr_accessor :starts_at
2177
-
2178
- def initialize(
2179
- affiliate: nil,
2180
- auto_renewal: nil,
2181
- billing_interval: nil,
2182
- ends_at: nil,
2183
- name: nil,
2184
- starts_at: nil
2185
- )
2186
- @affiliate = affiliate
2187
- @auto_renewal = auto_renewal
2188
- @billing_interval = billing_interval
2189
- @ends_at = ends_at
2190
- @name = name
2191
- @starts_at = starts_at
2192
- end
2193
- end
2194
- # Car rental details for this PaymentIntent.
2195
- attr_accessor :car_rental
2196
- # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
2197
- attr_accessor :customer_reference
2198
- # Event details for this PaymentIntent
2199
- attr_accessor :event_details
2200
- # Flight reservation details for this PaymentIntent
2201
- attr_accessor :flight
2202
- # Lodging reservation details for this PaymentIntent
2203
- attr_accessor :lodging
2204
- # A unique value assigned by the business to identify the transaction.
2205
- attr_accessor :order_reference
2206
- # Subscription details for this PaymentIntent
2207
- attr_accessor :subscription
2208
-
2209
- def initialize(
2210
- car_rental: nil,
2211
- customer_reference: nil,
2212
- event_details: nil,
2213
- flight: nil,
2214
- lodging: nil,
2215
- order_reference: nil,
2216
- subscription: nil
2217
- )
2218
- @car_rental = car_rental
2219
- @customer_reference = customer_reference
2220
- @event_details = event_details
2221
- @flight = flight
2222
- @lodging = lodging
2223
- @order_reference = order_reference
2224
- @subscription = subscription
2225
- end
2226
- end
2227
-
2228
1436
  class Shipping < Stripe::RequestParams
2229
1437
  class Address < Stripe::RequestParams
2230
1438
  # City, district, suburb, town, or village.
@@ -2285,8 +1493,6 @@ module Stripe
2285
1493
  attr_accessor :fraud_details
2286
1494
  # 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`.
2287
1495
  attr_accessor :metadata
2288
- # Provides industry-specific information about the charge.
2289
- attr_accessor :payment_details
2290
1496
  # This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
2291
1497
  attr_accessor :receipt_email
2292
1498
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
@@ -2300,7 +1506,6 @@ module Stripe
2300
1506
  expand: nil,
2301
1507
  fraud_details: nil,
2302
1508
  metadata: nil,
2303
- payment_details: nil,
2304
1509
  receipt_email: nil,
2305
1510
  shipping: nil,
2306
1511
  transfer_group: nil
@@ -2310,7 +1515,6 @@ module Stripe
2310
1515
  @expand = expand
2311
1516
  @fraud_details = fraud_details
2312
1517
  @metadata = metadata
2313
- @payment_details = payment_details
2314
1518
  @receipt_email = receipt_email
2315
1519
  @shipping = shipping
2316
1520
  @transfer_group = transfer_group
@@ -2336,711 +1540,6 @@ module Stripe
2336
1540
  end
2337
1541
 
2338
1542
  class CaptureParams < Stripe::RequestParams
2339
- class PaymentDetails < Stripe::RequestParams
2340
- class CarRental < Stripe::RequestParams
2341
- class Affiliate < Stripe::RequestParams
2342
- # The name of the affiliate that originated the purchase.
2343
- attr_accessor :name
2344
-
2345
- def initialize(name: nil)
2346
- @name = name
2347
- end
2348
- end
2349
-
2350
- class Delivery < Stripe::RequestParams
2351
- class Recipient < Stripe::RequestParams
2352
- # The email of the recipient the ticket is delivered to.
2353
- attr_accessor :email
2354
- # The name of the recipient the ticket is delivered to.
2355
- attr_accessor :name
2356
- # The phone number of the recipient the ticket is delivered to.
2357
- attr_accessor :phone
2358
-
2359
- def initialize(email: nil, name: nil, phone: nil)
2360
- @email = email
2361
- @name = name
2362
- @phone = phone
2363
- end
2364
- end
2365
- # The delivery method for the payment
2366
- attr_accessor :mode
2367
- # Details of the recipient.
2368
- attr_accessor :recipient
2369
-
2370
- def initialize(mode: nil, recipient: nil)
2371
- @mode = mode
2372
- @recipient = recipient
2373
- end
2374
- end
2375
-
2376
- class Distance < Stripe::RequestParams
2377
- # Distance traveled.
2378
- attr_accessor :amount
2379
- # Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
2380
- attr_accessor :unit
2381
-
2382
- def initialize(amount: nil, unit: nil)
2383
- @amount = amount
2384
- @unit = unit
2385
- end
2386
- end
2387
-
2388
- class Driver < Stripe::RequestParams
2389
- # Driver's identification number.
2390
- attr_accessor :driver_identification_number
2391
- # Driver's tax number.
2392
- attr_accessor :driver_tax_number
2393
- # Full name of the person or entity on the car reservation.
2394
- attr_accessor :name
2395
-
2396
- def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
2397
- @driver_identification_number = driver_identification_number
2398
- @driver_tax_number = driver_tax_number
2399
- @name = name
2400
- end
2401
- end
2402
-
2403
- class PickupAddress < Stripe::RequestParams
2404
- # City, district, suburb, town, or village.
2405
- attr_accessor :city
2406
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2407
- attr_accessor :country
2408
- # Address line 1 (e.g., street, PO Box, or company name).
2409
- attr_accessor :line1
2410
- # Address line 2 (e.g., apartment, suite, unit, or building).
2411
- attr_accessor :line2
2412
- # ZIP or postal code.
2413
- attr_accessor :postal_code
2414
- # State, county, province, or region.
2415
- attr_accessor :state
2416
-
2417
- def initialize(
2418
- city: nil,
2419
- country: nil,
2420
- line1: nil,
2421
- line2: nil,
2422
- postal_code: nil,
2423
- state: nil
2424
- )
2425
- @city = city
2426
- @country = country
2427
- @line1 = line1
2428
- @line2 = line2
2429
- @postal_code = postal_code
2430
- @state = state
2431
- end
2432
- end
2433
-
2434
- class ReturnAddress < Stripe::RequestParams
2435
- # City, district, suburb, town, or village.
2436
- attr_accessor :city
2437
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2438
- attr_accessor :country
2439
- # Address line 1 (e.g., street, PO Box, or company name).
2440
- attr_accessor :line1
2441
- # Address line 2 (e.g., apartment, suite, unit, or building).
2442
- attr_accessor :line2
2443
- # ZIP or postal code.
2444
- attr_accessor :postal_code
2445
- # State, county, province, or region.
2446
- attr_accessor :state
2447
-
2448
- def initialize(
2449
- city: nil,
2450
- country: nil,
2451
- line1: nil,
2452
- line2: nil,
2453
- postal_code: nil,
2454
- state: nil
2455
- )
2456
- @city = city
2457
- @country = country
2458
- @line1 = line1
2459
- @line2 = line2
2460
- @postal_code = postal_code
2461
- @state = state
2462
- end
2463
- end
2464
- # Affiliate details for this purchase.
2465
- attr_accessor :affiliate
2466
- # The booking number associated with the car rental.
2467
- attr_accessor :booking_number
2468
- # Class code of the car.
2469
- attr_accessor :car_class_code
2470
- # Make of the car.
2471
- attr_accessor :car_make
2472
- # Model of the car.
2473
- attr_accessor :car_model
2474
- # The name of the rental car company.
2475
- attr_accessor :company
2476
- # The customer service phone number of the car rental company.
2477
- attr_accessor :customer_service_phone_number
2478
- # Number of days the car is being rented.
2479
- attr_accessor :days_rented
2480
- # Delivery details for this purchase.
2481
- attr_accessor :delivery
2482
- # The details of the distance traveled during the rental period.
2483
- attr_accessor :distance
2484
- # The details of the passengers in the travel reservation
2485
- attr_accessor :drivers
2486
- # List of additional charges being billed.
2487
- attr_accessor :extra_charges
2488
- # Indicates if the customer did not keep nor cancel their booking.
2489
- attr_accessor :no_show
2490
- # Car pick-up address.
2491
- attr_accessor :pickup_address
2492
- # Car pick-up time. Measured in seconds since the Unix epoch.
2493
- attr_accessor :pickup_at
2494
- # Name of the pickup location.
2495
- attr_accessor :pickup_location_name
2496
- # Rental rate.
2497
- attr_accessor :rate_amount
2498
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2499
- attr_accessor :rate_interval
2500
- # The name of the person or entity renting the car.
2501
- attr_accessor :renter_name
2502
- # Car return address.
2503
- attr_accessor :return_address
2504
- # Car return time. Measured in seconds since the Unix epoch.
2505
- attr_accessor :return_at
2506
- # Name of the return location.
2507
- attr_accessor :return_location_name
2508
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
2509
- attr_accessor :tax_exempt
2510
- # The vehicle identification number.
2511
- attr_accessor :vehicle_identification_number
2512
-
2513
- def initialize(
2514
- affiliate: nil,
2515
- booking_number: nil,
2516
- car_class_code: nil,
2517
- car_make: nil,
2518
- car_model: nil,
2519
- company: nil,
2520
- customer_service_phone_number: nil,
2521
- days_rented: nil,
2522
- delivery: nil,
2523
- distance: nil,
2524
- drivers: nil,
2525
- extra_charges: nil,
2526
- no_show: nil,
2527
- pickup_address: nil,
2528
- pickup_at: nil,
2529
- pickup_location_name: nil,
2530
- rate_amount: nil,
2531
- rate_interval: nil,
2532
- renter_name: nil,
2533
- return_address: nil,
2534
- return_at: nil,
2535
- return_location_name: nil,
2536
- tax_exempt: nil,
2537
- vehicle_identification_number: nil
2538
- )
2539
- @affiliate = affiliate
2540
- @booking_number = booking_number
2541
- @car_class_code = car_class_code
2542
- @car_make = car_make
2543
- @car_model = car_model
2544
- @company = company
2545
- @customer_service_phone_number = customer_service_phone_number
2546
- @days_rented = days_rented
2547
- @delivery = delivery
2548
- @distance = distance
2549
- @drivers = drivers
2550
- @extra_charges = extra_charges
2551
- @no_show = no_show
2552
- @pickup_address = pickup_address
2553
- @pickup_at = pickup_at
2554
- @pickup_location_name = pickup_location_name
2555
- @rate_amount = rate_amount
2556
- @rate_interval = rate_interval
2557
- @renter_name = renter_name
2558
- @return_address = return_address
2559
- @return_at = return_at
2560
- @return_location_name = return_location_name
2561
- @tax_exempt = tax_exempt
2562
- @vehicle_identification_number = vehicle_identification_number
2563
- end
2564
- end
2565
-
2566
- class EventDetails < Stripe::RequestParams
2567
- class Address < Stripe::RequestParams
2568
- # City, district, suburb, town, or village.
2569
- attr_accessor :city
2570
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2571
- attr_accessor :country
2572
- # Address line 1 (e.g., street, PO Box, or company name).
2573
- attr_accessor :line1
2574
- # Address line 2 (e.g., apartment, suite, unit, or building).
2575
- attr_accessor :line2
2576
- # ZIP or postal code.
2577
- attr_accessor :postal_code
2578
- # State, county, province, or region.
2579
- attr_accessor :state
2580
-
2581
- def initialize(
2582
- city: nil,
2583
- country: nil,
2584
- line1: nil,
2585
- line2: nil,
2586
- postal_code: nil,
2587
- state: nil
2588
- )
2589
- @city = city
2590
- @country = country
2591
- @line1 = line1
2592
- @line2 = line2
2593
- @postal_code = postal_code
2594
- @state = state
2595
- end
2596
- end
2597
-
2598
- class Affiliate < Stripe::RequestParams
2599
- # The name of the affiliate that originated the purchase.
2600
- attr_accessor :name
2601
-
2602
- def initialize(name: nil)
2603
- @name = name
2604
- end
2605
- end
2606
-
2607
- class Delivery < Stripe::RequestParams
2608
- class Recipient < Stripe::RequestParams
2609
- # The email of the recipient the ticket is delivered to.
2610
- attr_accessor :email
2611
- # The name of the recipient the ticket is delivered to.
2612
- attr_accessor :name
2613
- # The phone number of the recipient the ticket is delivered to.
2614
- attr_accessor :phone
2615
-
2616
- def initialize(email: nil, name: nil, phone: nil)
2617
- @email = email
2618
- @name = name
2619
- @phone = phone
2620
- end
2621
- end
2622
- # The delivery method for the payment
2623
- attr_accessor :mode
2624
- # Details of the recipient.
2625
- attr_accessor :recipient
2626
-
2627
- def initialize(mode: nil, recipient: nil)
2628
- @mode = mode
2629
- @recipient = recipient
2630
- end
2631
- end
2632
- # Indicates if the tickets are digitally checked when entering the venue.
2633
- attr_accessor :access_controlled_venue
2634
- # The event location's address.
2635
- attr_accessor :address
2636
- # Affiliate details for this purchase.
2637
- attr_accessor :affiliate
2638
- # The name of the company
2639
- attr_accessor :company
2640
- # Delivery details for this purchase.
2641
- attr_accessor :delivery
2642
- # Event end time. Measured in seconds since the Unix epoch.
2643
- attr_accessor :ends_at
2644
- # Type of the event entertainment (concert, sports event etc)
2645
- attr_accessor :genre
2646
- # The name of the event.
2647
- attr_accessor :name
2648
- # Event start time. Measured in seconds since the Unix epoch.
2649
- attr_accessor :starts_at
2650
-
2651
- def initialize(
2652
- access_controlled_venue: nil,
2653
- address: nil,
2654
- affiliate: nil,
2655
- company: nil,
2656
- delivery: nil,
2657
- ends_at: nil,
2658
- genre: nil,
2659
- name: nil,
2660
- starts_at: nil
2661
- )
2662
- @access_controlled_venue = access_controlled_venue
2663
- @address = address
2664
- @affiliate = affiliate
2665
- @company = company
2666
- @delivery = delivery
2667
- @ends_at = ends_at
2668
- @genre = genre
2669
- @name = name
2670
- @starts_at = starts_at
2671
- end
2672
- end
2673
-
2674
- class Flight < Stripe::RequestParams
2675
- class Affiliate < Stripe::RequestParams
2676
- # The name of the affiliate that originated the purchase.
2677
- attr_accessor :name
2678
-
2679
- def initialize(name: nil)
2680
- @name = name
2681
- end
2682
- end
2683
-
2684
- class Delivery < Stripe::RequestParams
2685
- class Recipient < Stripe::RequestParams
2686
- # The email of the recipient the ticket is delivered to.
2687
- attr_accessor :email
2688
- # The name of the recipient the ticket is delivered to.
2689
- attr_accessor :name
2690
- # The phone number of the recipient the ticket is delivered to.
2691
- attr_accessor :phone
2692
-
2693
- def initialize(email: nil, name: nil, phone: nil)
2694
- @email = email
2695
- @name = name
2696
- @phone = phone
2697
- end
2698
- end
2699
- # The delivery method for the payment
2700
- attr_accessor :mode
2701
- # Details of the recipient.
2702
- attr_accessor :recipient
2703
-
2704
- def initialize(mode: nil, recipient: nil)
2705
- @mode = mode
2706
- @recipient = recipient
2707
- end
2708
- end
2709
-
2710
- class Passenger < Stripe::RequestParams
2711
- # Full name of the person or entity on the flight reservation.
2712
- attr_accessor :name
2713
-
2714
- def initialize(name: nil)
2715
- @name = name
2716
- end
2717
- end
2718
-
2719
- class Segment < Stripe::RequestParams
2720
- # The flight segment amount.
2721
- attr_accessor :amount
2722
- # The International Air Transport Association (IATA) airport code for the arrival airport.
2723
- attr_accessor :arrival_airport
2724
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
2725
- attr_accessor :arrives_at
2726
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
2727
- attr_accessor :carrier
2728
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
2729
- attr_accessor :departs_at
2730
- # The International Air Transport Association (IATA) airport code for the departure airport.
2731
- attr_accessor :departure_airport
2732
- # The flight number associated with the segment
2733
- attr_accessor :flight_number
2734
- # The fare class for the segment.
2735
- attr_accessor :service_class
2736
-
2737
- def initialize(
2738
- amount: nil,
2739
- arrival_airport: nil,
2740
- arrives_at: nil,
2741
- carrier: nil,
2742
- departs_at: nil,
2743
- departure_airport: nil,
2744
- flight_number: nil,
2745
- service_class: nil
2746
- )
2747
- @amount = amount
2748
- @arrival_airport = arrival_airport
2749
- @arrives_at = arrives_at
2750
- @carrier = carrier
2751
- @departs_at = departs_at
2752
- @departure_airport = departure_airport
2753
- @flight_number = flight_number
2754
- @service_class = service_class
2755
- end
2756
- end
2757
- # Affiliate details for this purchase.
2758
- attr_accessor :affiliate
2759
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2760
- attr_accessor :agency_number
2761
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2762
- attr_accessor :carrier
2763
- # Delivery details for this purchase.
2764
- attr_accessor :delivery
2765
- # The name of the person or entity on the reservation.
2766
- attr_accessor :passenger_name
2767
- # The details of the passengers in the travel reservation.
2768
- attr_accessor :passengers
2769
- # The individual flight segments associated with the trip.
2770
- attr_accessor :segments
2771
- # The ticket number associated with the travel reservation.
2772
- attr_accessor :ticket_number
2773
-
2774
- def initialize(
2775
- affiliate: nil,
2776
- agency_number: nil,
2777
- carrier: nil,
2778
- delivery: nil,
2779
- passenger_name: nil,
2780
- passengers: nil,
2781
- segments: nil,
2782
- ticket_number: nil
2783
- )
2784
- @affiliate = affiliate
2785
- @agency_number = agency_number
2786
- @carrier = carrier
2787
- @delivery = delivery
2788
- @passenger_name = passenger_name
2789
- @passengers = passengers
2790
- @segments = segments
2791
- @ticket_number = ticket_number
2792
- end
2793
- end
2794
-
2795
- class Lodging < Stripe::RequestParams
2796
- class Address < Stripe::RequestParams
2797
- # City, district, suburb, town, or village.
2798
- attr_accessor :city
2799
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2800
- attr_accessor :country
2801
- # Address line 1 (e.g., street, PO Box, or company name).
2802
- attr_accessor :line1
2803
- # Address line 2 (e.g., apartment, suite, unit, or building).
2804
- attr_accessor :line2
2805
- # ZIP or postal code.
2806
- attr_accessor :postal_code
2807
- # State, county, province, or region.
2808
- attr_accessor :state
2809
-
2810
- def initialize(
2811
- city: nil,
2812
- country: nil,
2813
- line1: nil,
2814
- line2: nil,
2815
- postal_code: nil,
2816
- state: nil
2817
- )
2818
- @city = city
2819
- @country = country
2820
- @line1 = line1
2821
- @line2 = line2
2822
- @postal_code = postal_code
2823
- @state = state
2824
- end
2825
- end
2826
-
2827
- class Affiliate < Stripe::RequestParams
2828
- # The name of the affiliate that originated the purchase.
2829
- attr_accessor :name
2830
-
2831
- def initialize(name: nil)
2832
- @name = name
2833
- end
2834
- end
2835
-
2836
- class Delivery < Stripe::RequestParams
2837
- class Recipient < Stripe::RequestParams
2838
- # The email of the recipient the ticket is delivered to.
2839
- attr_accessor :email
2840
- # The name of the recipient the ticket is delivered to.
2841
- attr_accessor :name
2842
- # The phone number of the recipient the ticket is delivered to.
2843
- attr_accessor :phone
2844
-
2845
- def initialize(email: nil, name: nil, phone: nil)
2846
- @email = email
2847
- @name = name
2848
- @phone = phone
2849
- end
2850
- end
2851
- # The delivery method for the payment
2852
- attr_accessor :mode
2853
- # Details of the recipient.
2854
- attr_accessor :recipient
2855
-
2856
- def initialize(mode: nil, recipient: nil)
2857
- @mode = mode
2858
- @recipient = recipient
2859
- end
2860
- end
2861
-
2862
- class Passenger < Stripe::RequestParams
2863
- # Full name of the person or entity on the lodging reservation.
2864
- attr_accessor :name
2865
-
2866
- def initialize(name: nil)
2867
- @name = name
2868
- end
2869
- end
2870
- # The lodging location's address.
2871
- attr_accessor :address
2872
- # The number of adults on the booking
2873
- attr_accessor :adults
2874
- # Affiliate details for this purchase.
2875
- attr_accessor :affiliate
2876
- # The booking number associated with the lodging reservation.
2877
- attr_accessor :booking_number
2878
- # The lodging category
2879
- attr_accessor :category
2880
- # Lodging check-in time. Measured in seconds since the Unix epoch.
2881
- attr_accessor :checkin_at
2882
- # Lodging check-out time. Measured in seconds since the Unix epoch.
2883
- attr_accessor :checkout_at
2884
- # The customer service phone number of the lodging company.
2885
- attr_accessor :customer_service_phone_number
2886
- # The daily lodging room rate.
2887
- attr_accessor :daily_room_rate_amount
2888
- # Delivery details for this purchase.
2889
- attr_accessor :delivery
2890
- # List of additional charges being billed.
2891
- attr_accessor :extra_charges
2892
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
2893
- attr_accessor :fire_safety_act_compliance
2894
- # The name of the lodging location.
2895
- attr_accessor :name
2896
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2897
- attr_accessor :no_show
2898
- # The number of rooms on the booking
2899
- attr_accessor :number_of_rooms
2900
- # The details of the passengers in the travel reservation
2901
- attr_accessor :passengers
2902
- # The phone number of the lodging location.
2903
- attr_accessor :property_phone_number
2904
- # The room class for this purchase.
2905
- attr_accessor :room_class
2906
- # The number of room nights
2907
- attr_accessor :room_nights
2908
- # The total tax amount associating with the room reservation.
2909
- attr_accessor :total_room_tax_amount
2910
- # The total tax amount
2911
- attr_accessor :total_tax_amount
2912
-
2913
- def initialize(
2914
- address: nil,
2915
- adults: nil,
2916
- affiliate: nil,
2917
- booking_number: nil,
2918
- category: nil,
2919
- checkin_at: nil,
2920
- checkout_at: nil,
2921
- customer_service_phone_number: nil,
2922
- daily_room_rate_amount: nil,
2923
- delivery: nil,
2924
- extra_charges: nil,
2925
- fire_safety_act_compliance: nil,
2926
- name: nil,
2927
- no_show: nil,
2928
- number_of_rooms: nil,
2929
- passengers: nil,
2930
- property_phone_number: nil,
2931
- room_class: nil,
2932
- room_nights: nil,
2933
- total_room_tax_amount: nil,
2934
- total_tax_amount: nil
2935
- )
2936
- @address = address
2937
- @adults = adults
2938
- @affiliate = affiliate
2939
- @booking_number = booking_number
2940
- @category = category
2941
- @checkin_at = checkin_at
2942
- @checkout_at = checkout_at
2943
- @customer_service_phone_number = customer_service_phone_number
2944
- @daily_room_rate_amount = daily_room_rate_amount
2945
- @delivery = delivery
2946
- @extra_charges = extra_charges
2947
- @fire_safety_act_compliance = fire_safety_act_compliance
2948
- @name = name
2949
- @no_show = no_show
2950
- @number_of_rooms = number_of_rooms
2951
- @passengers = passengers
2952
- @property_phone_number = property_phone_number
2953
- @room_class = room_class
2954
- @room_nights = room_nights
2955
- @total_room_tax_amount = total_room_tax_amount
2956
- @total_tax_amount = total_tax_amount
2957
- end
2958
- end
2959
-
2960
- class Subscription < Stripe::RequestParams
2961
- class Affiliate < Stripe::RequestParams
2962
- # The name of the affiliate that originated the purchase.
2963
- attr_accessor :name
2964
-
2965
- def initialize(name: nil)
2966
- @name = name
2967
- end
2968
- end
2969
-
2970
- class BillingInterval < Stripe::RequestParams
2971
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2972
- attr_accessor :count
2973
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2974
- attr_accessor :interval
2975
-
2976
- def initialize(count: nil, interval: nil)
2977
- @count = count
2978
- @interval = interval
2979
- end
2980
- end
2981
- # Affiliate details for this purchase.
2982
- attr_accessor :affiliate
2983
- # Info whether the subscription will be auto renewed upon expiry.
2984
- attr_accessor :auto_renewal
2985
- # Subscription billing details for this purchase.
2986
- attr_accessor :billing_interval
2987
- # Subscription end time. Measured in seconds since the Unix epoch.
2988
- attr_accessor :ends_at
2989
- # Name of the product on subscription. e.g. Apple Music Subscription
2990
- attr_accessor :name
2991
- # Subscription start time. Measured in seconds since the Unix epoch.
2992
- attr_accessor :starts_at
2993
-
2994
- def initialize(
2995
- affiliate: nil,
2996
- auto_renewal: nil,
2997
- billing_interval: nil,
2998
- ends_at: nil,
2999
- name: nil,
3000
- starts_at: nil
3001
- )
3002
- @affiliate = affiliate
3003
- @auto_renewal = auto_renewal
3004
- @billing_interval = billing_interval
3005
- @ends_at = ends_at
3006
- @name = name
3007
- @starts_at = starts_at
3008
- end
3009
- end
3010
- # Car rental details for this PaymentIntent.
3011
- attr_accessor :car_rental
3012
- # Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
3013
- attr_accessor :customer_reference
3014
- # Event details for this PaymentIntent
3015
- attr_accessor :event_details
3016
- # Flight reservation details for this PaymentIntent
3017
- attr_accessor :flight
3018
- # Lodging reservation details for this PaymentIntent
3019
- attr_accessor :lodging
3020
- # A unique value assigned by the business to identify the transaction.
3021
- attr_accessor :order_reference
3022
- # Subscription details for this PaymentIntent
3023
- attr_accessor :subscription
3024
-
3025
- def initialize(
3026
- car_rental: nil,
3027
- customer_reference: nil,
3028
- event_details: nil,
3029
- flight: nil,
3030
- lodging: nil,
3031
- order_reference: nil,
3032
- subscription: nil
3033
- )
3034
- @car_rental = car_rental
3035
- @customer_reference = customer_reference
3036
- @event_details = event_details
3037
- @flight = flight
3038
- @lodging = lodging
3039
- @order_reference = order_reference
3040
- @subscription = subscription
3041
- end
3042
- end
3043
-
3044
1543
  class TransferData < Stripe::RequestParams
3045
1544
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
3046
1545
  attr_accessor :amount
@@ -3057,8 +1556,6 @@ module Stripe
3057
1556
  attr_accessor :application_fee_amount
3058
1557
  # Specifies which fields in the response should be expanded.
3059
1558
  attr_accessor :expand
3060
- # Provides industry-specific information about the charge.
3061
- attr_accessor :payment_details
3062
1559
  # The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
3063
1560
  attr_accessor :receipt_email
3064
1561
  # For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
@@ -3077,7 +1574,6 @@ module Stripe
3077
1574
  application_fee: nil,
3078
1575
  application_fee_amount: nil,
3079
1576
  expand: nil,
3080
- payment_details: nil,
3081
1577
  receipt_email: nil,
3082
1578
  statement_descriptor: nil,
3083
1579
  statement_descriptor_suffix: nil,
@@ -3088,7 +1584,6 @@ module Stripe
3088
1584
  @application_fee = application_fee
3089
1585
  @application_fee_amount = application_fee_amount
3090
1586
  @expand = expand
3091
- @payment_details = payment_details
3092
1587
  @receipt_email = receipt_email
3093
1588
  @statement_descriptor = statement_descriptor
3094
1589
  @statement_descriptor_suffix = statement_descriptor_suffix