stripe 14.1.0.pre.beta.1 → 15.0.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 (574) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +689 -1512
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +3 -3
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/save.rb +2 -1
  7. data/lib/stripe/api_operations/singleton_save.rb +2 -1
  8. data/lib/stripe/api_requestor.rb +3 -29
  9. data/lib/stripe/api_resource.rb +10 -3
  10. data/lib/stripe/api_version.rb +1 -1
  11. data/lib/stripe/errors.rb +0 -54
  12. data/lib/stripe/event_types.rb +0 -75
  13. data/lib/stripe/object_types.rb +0 -48
  14. data/lib/stripe/request_options.rb +2 -1
  15. data/lib/stripe/resources/account.rb +1 -653
  16. data/lib/stripe/resources/account_session.rb +1 -247
  17. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  18. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  19. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  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 +0 -1454
  24. data/lib/stripe/resources/checkout/session.rb +4 -260
  25. data/lib/stripe/resources/confirmation_token.rb +0 -234
  26. data/lib/stripe/resources/coupon.rb +1 -1
  27. data/lib/stripe/resources/credit_note.rb +0 -10
  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/event.rb +0 -33
  35. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  36. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  37. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  38. data/lib/stripe/resources/invoice.rb +16 -1176
  39. data/lib/stripe/resources/invoice_item.rb +2 -78
  40. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  41. data/lib/stripe/resources/invoice_payment.rb +53 -2
  42. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  43. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  44. data/lib/stripe/resources/line_item.rb +0 -37
  45. data/lib/stripe/resources/mandate.rb +0 -24
  46. data/lib/stripe/resources/payment_intent.rb +307 -5109
  47. data/lib/stripe/resources/payment_method.rb +1 -196
  48. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  49. data/lib/stripe/resources/payout.rb +0 -6
  50. data/lib/stripe/resources/price.rb +0 -30
  51. data/lib/stripe/resources/product.rb +0 -59
  52. data/lib/stripe/resources/promotion_code.rb +0 -10
  53. data/lib/stripe/resources/quote.rb +6 -2042
  54. data/lib/stripe/resources/refund.rb +0 -9
  55. data/lib/stripe/resources/setup_attempt.rb +0 -21
  56. data/lib/stripe/resources/setup_intent.rb +9 -596
  57. data/lib/stripe/resources/source.rb +1 -30
  58. data/lib/stripe/resources/subscription.rb +9 -292
  59. data/lib/stripe/resources/subscription_item.rb +3 -84
  60. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  61. data/lib/stripe/resources/tax_id.rb +2 -12
  62. data/lib/stripe/resources/terminal/reader.rb +0 -406
  63. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  64. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  65. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  66. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  67. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  68. data/lib/stripe/resources.rb +0 -85
  69. data/lib/stripe/services/account_service.rb +1 -562
  70. data/lib/stripe/services/account_session_service.rb +1 -217
  71. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  72. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  73. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  74. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  75. data/lib/stripe/services/charge_service.rb +0 -1334
  76. data/lib/stripe/services/checkout/session_service.rb +2 -172
  77. data/lib/stripe/services/credit_note_service.rb +0 -4
  78. data/lib/stripe/services/customer_session_service.rb +1 -4
  79. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  80. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  81. data/lib/stripe/services/financial_connections_service.rb +1 -2
  82. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  83. data/lib/stripe/services/invoice_item_service.rb +2 -74
  84. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  85. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  86. data/lib/stripe/services/invoice_service.rb +17 -1088
  87. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  88. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  89. data/lib/stripe/services/issuing_service.rb +1 -5
  90. data/lib/stripe/services/payment_intent_service.rb +264 -4637
  91. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  92. data/lib/stripe/services/payment_method_service.rb +1 -126
  93. data/lib/stripe/services/payout_service.rb +0 -4
  94. data/lib/stripe/services/price_service.rb +0 -19
  95. data/lib/stripe/services/product_service.rb +0 -38
  96. data/lib/stripe/services/promotion_code_service.rb +0 -8
  97. data/lib/stripe/services/quote_service.rb +7 -1726
  98. data/lib/stripe/services/setup_intent_service.rb +9 -556
  99. data/lib/stripe/services/subscription_item_service.rb +3 -75
  100. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  101. data/lib/stripe/services/subscription_service.rb +9 -253
  102. data/lib/stripe/services/tax_id_service.rb +2 -8
  103. data/lib/stripe/services/tax_service.rb +1 -3
  104. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  105. data/lib/stripe/services/terminal_service.rb +1 -2
  106. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -148
  107. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  108. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  109. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  110. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  111. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  112. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  113. data/lib/stripe/services/v1_services.rb +2 -10
  114. data/lib/stripe/services/v2/core/event_service.rb +5 -3
  115. data/lib/stripe/services/v2/core_service.rb +1 -4
  116. data/lib/stripe/services/v2_services.rb +2 -4
  117. data/lib/stripe/services.rb +0 -49
  118. data/lib/stripe/stripe_configuration.rb +1 -3
  119. data/lib/stripe/stripe_object.rb +14 -4
  120. data/lib/stripe/util.rb +12 -7
  121. data/lib/stripe/version.rb +1 -1
  122. data/lib/stripe.rb +0 -55
  123. data/rbi/stripe/resources/account.rbi +4840 -0
  124. data/rbi/stripe/resources/account_link.rbi +74 -0
  125. data/rbi/stripe/resources/account_session.rbi +894 -0
  126. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  127. data/rbi/stripe/resources/application.rbi +20 -0
  128. data/rbi/stripe/resources/application_fee.rbi +118 -0
  129. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  130. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  131. data/rbi/stripe/resources/balance.rbi +180 -0
  132. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  133. data/rbi/stripe/resources/bank_account.rbi +127 -0
  134. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  135. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  136. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  137. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  138. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  139. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  140. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  141. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  142. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  143. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  144. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  145. data/rbi/stripe/resources/capability.rbi +125 -0
  146. data/rbi/stripe/resources/card.rbi +125 -0
  147. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  148. data/rbi/stripe/resources/charge.rbi +2054 -0
  149. data/rbi/stripe/resources/checkout/session.rbi +3951 -0
  150. data/rbi/stripe/resources/climate/order.rbi +245 -0
  151. data/rbi/stripe/resources/climate/product.rbi +75 -0
  152. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  153. data/rbi/stripe/resources/confirmation_token.rbi +1793 -0
  154. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  155. data/rbi/stripe/resources/country_spec.rbi +85 -0
  156. data/rbi/stripe/resources/coupon.rbi +252 -0
  157. data/rbi/stripe/resources/credit_note.rbi +747 -0
  158. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  159. data/rbi/stripe/resources/customer.rbi +1009 -0
  160. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  161. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  162. data/rbi/stripe/resources/customer_session.rbi +200 -0
  163. data/rbi/stripe/resources/discount.rbi +53 -0
  164. data/rbi/stripe/resources/dispute.rbi +761 -0
  165. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  166. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  167. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  168. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  169. data/rbi/stripe/resources/event.rbi +146 -0
  170. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  171. data/rbi/stripe/resources/file.rbi +143 -0
  172. data/rbi/stripe/resources/file_link.rbi +141 -0
  173. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  174. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  175. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  176. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  177. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  178. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  179. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  180. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  181. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  182. data/rbi/stripe/resources/invoice.rbi +3733 -0
  183. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  184. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  185. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  186. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  187. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  188. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  189. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  190. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  191. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  192. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  193. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  194. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  195. data/rbi/stripe/resources/line_item.rbi +72 -0
  196. data/rbi/stripe/resources/login_link.rbi +18 -0
  197. data/rbi/stripe/resources/mandate.rbi +187 -0
  198. data/rbi/stripe/resources/payment_intent.rbi +9731 -0
  199. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  200. data/rbi/stripe/resources/payment_method.rbi +1822 -0
  201. data/rbi/stripe/resources/payment_method_configuration.rbi +3154 -0
  202. data/rbi/stripe/resources/payment_method_domain.rbi +212 -0
  203. data/rbi/stripe/resources/payout.rbi +300 -0
  204. data/rbi/stripe/resources/person.rbi +371 -0
  205. data/rbi/stripe/resources/plan.rbi +373 -0
  206. data/rbi/stripe/resources/price.rbi +694 -0
  207. data/rbi/stripe/resources/product.rbi +557 -0
  208. data/rbi/stripe/resources/product_feature.rbi +26 -0
  209. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  210. data/rbi/stripe/resources/quote.rbi +1123 -0
  211. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  212. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  213. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  214. data/rbi/stripe/resources/refund.rbi +516 -0
  215. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  216. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  217. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  218. data/rbi/stripe/resources/reversal.rbi +51 -0
  219. data/rbi/stripe/resources/review.rbi +154 -0
  220. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  221. data/rbi/stripe/resources/setup_intent.rbi +3860 -0
  222. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  223. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  224. data/rbi/stripe/resources/source.rbi +1496 -0
  225. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  226. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  227. data/rbi/stripe/resources/subscription.rbi +1964 -0
  228. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  229. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  230. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  231. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  232. data/rbi/stripe/resources/tax/registration.rbi +2485 -0
  233. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  234. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  235. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  236. data/rbi/stripe/resources/tax_code.rbi +44 -0
  237. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  238. data/rbi/stripe/resources/tax_id.rbi +167 -0
  239. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  240. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  241. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  242. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  243. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  244. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  245. data/rbi/stripe/resources/token.rbi +1217 -0
  246. data/rbi/stripe/resources/topup.rbi +222 -0
  247. data/rbi/stripe/resources/transfer.rbi +199 -0
  248. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  249. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  250. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  251. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  252. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  253. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  254. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  255. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  256. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  257. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  258. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  259. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  260. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  261. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  262. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  263. data/rbi/stripe/resources/v2/event.rbi +48 -0
  264. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  265. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  266. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  267. data/rbi/stripe/services/account_external_account_service.rbi +306 -0
  268. data/rbi/stripe/services/account_link_service.rbi +58 -0
  269. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  270. data/rbi/stripe/services/account_person_service.rbi +923 -0
  271. data/rbi/stripe/services/account_service.rbi +4143 -0
  272. data/rbi/stripe/services/account_session_service.rbi +572 -0
  273. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  274. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  275. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  276. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  277. data/rbi/stripe/services/apps_service.rbi +9 -0
  278. data/rbi/stripe/services/balance_service.rbi +21 -0
  279. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  280. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  281. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  282. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  283. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  284. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  285. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  286. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  287. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  288. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  289. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  290. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  291. data/rbi/stripe/services/billing_service.rbi +15 -0
  292. data/rbi/stripe/services/charge_service.rbi +448 -0
  293. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  294. data/rbi/stripe/services/checkout/session_service.rbi +2585 -0
  295. data/rbi/stripe/services/checkout_service.rbi +9 -0
  296. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  297. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  298. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  299. data/rbi/stripe/services/climate_service.rbi +11 -0
  300. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  301. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  302. data/rbi/stripe/services/coupon_service.rbi +196 -0
  303. data/{lib/stripe/services/quote_preview_subscription_schedule_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  304. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  305. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  306. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  307. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  308. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  309. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  310. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  311. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  312. data/rbi/stripe/services/customer_service.rbi +651 -0
  313. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  314. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  315. data/rbi/stripe/services/dispute_service.rbi +424 -0
  316. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  317. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  318. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  319. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  320. data/rbi/stripe/services/event_service.rbi +83 -0
  321. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  322. data/rbi/stripe/services/file_link_service.rbi +124 -0
  323. data/rbi/stripe/services/file_service.rbi +116 -0
  324. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  325. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  326. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  327. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  328. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  329. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  330. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  331. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  332. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  333. data/rbi/stripe/services/identity_service.rbi +10 -0
  334. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  335. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  336. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  337. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  338. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  339. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  340. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  341. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  342. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  343. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  344. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  345. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  346. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  347. data/rbi/stripe/services/issuing_service.rbi +16 -0
  348. data/rbi/stripe/services/mandate_service.rbi +20 -0
  349. data/rbi/stripe/services/payment_intent_service.rbi +7759 -0
  350. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  351. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  352. data/rbi/stripe/services/payment_method_configuration_service.rbi +2211 -0
  353. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  354. data/rbi/stripe/services/payment_method_service.rbi +840 -0
  355. data/rbi/stripe/services/payout_service.rbi +205 -0
  356. data/rbi/stripe/services/plan_service.rbi +284 -0
  357. data/rbi/stripe/services/price_service.rbi +546 -0
  358. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  359. data/rbi/stripe/services/product_service.rbi +479 -0
  360. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  361. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  362. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  363. data/rbi/stripe/services/quote_service.rbi +686 -0
  364. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  365. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  366. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  367. data/rbi/stripe/services/radar_service.rbi +11 -0
  368. data/rbi/stripe/services/refund_service.rbi +185 -0
  369. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  370. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  371. data/rbi/stripe/services/reporting_service.rbi +10 -0
  372. data/rbi/stripe/services/review_service.rbi +84 -0
  373. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  374. data/rbi/stripe/services/setup_intent_service.rbi +3596 -0
  375. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  376. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  377. data/rbi/stripe/services/sigma_service.rbi +9 -0
  378. data/rbi/stripe/services/source_service.rbi +663 -0
  379. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  380. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  381. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  382. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  383. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  384. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  385. data/rbi/stripe/services/tax/registration_service.rbi +1689 -0
  386. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  387. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  388. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  389. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  390. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  391. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  392. data/rbi/stripe/services/tax_service.rbi +12 -0
  393. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  394. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  395. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  396. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  397. data/rbi/stripe/services/terminal_service.rbi +12 -0
  398. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  399. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  400. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  401. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  402. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  403. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  404. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  405. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  406. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  407. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  408. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  409. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  410. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  411. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  412. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  413. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  414. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  415. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  416. data/rbi/stripe/services/token_service.rbi +1189 -0
  417. data/rbi/stripe/services/topup_service.rbi +176 -0
  418. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  419. data/rbi/stripe/services/transfer_service.rbi +152 -0
  420. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  421. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  422. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  423. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  424. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  425. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  426. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  427. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  428. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  429. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  430. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  431. data/rbi/stripe/services/treasury_service.rbi +18 -0
  432. data/rbi/stripe/services/v1_services.rbi +77 -0
  433. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  434. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  435. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  436. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  437. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  438. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  439. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  440. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  441. data/rbi/stripe/services/v2_services.rbi +10 -0
  442. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  443. data/stripe.gemspec +1 -4
  444. metadata +324 -140
  445. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  446. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  447. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  448. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  449. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  450. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  451. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  452. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  453. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  454. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  455. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  456. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  457. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  458. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  459. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  460. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  461. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  462. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  463. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  464. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  465. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  466. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  467. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  468. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  469. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  470. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  471. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  473. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  477. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  485. data/lib/stripe/request_signing_authenticator.rb +0 -79
  486. data/lib/stripe/resources/account_notice.rb +0 -123
  487. data/lib/stripe/resources/balance_settings.rb +0 -101
  488. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  489. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  490. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  491. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  492. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  493. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  494. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  495. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  496. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  497. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  498. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  499. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  500. data/lib/stripe/resources/margin.rb +0 -115
  501. data/lib/stripe/resources/order.rb +0 -2859
  502. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  503. data/lib/stripe/resources/payment_record.rb +0 -1607
  504. data/lib/stripe/resources/quote_line.rb +0 -274
  505. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  506. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  507. data/lib/stripe/resources/tax/association.rb +0 -89
  508. data/lib/stripe/resources/tax/form.rb +0 -211
  509. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  510. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  511. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  512. data/lib/stripe/resources/v2/core/person.rb +0 -272
  513. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  514. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  515. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  516. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  517. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  518. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  519. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  520. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  521. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  522. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  523. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  524. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  525. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  526. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  527. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  528. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  529. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  530. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  531. data/lib/stripe/services/account_notice_service.rb +0 -101
  532. data/lib/stripe/services/balance_settings_service.rb +0 -96
  533. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  534. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  535. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  536. data/lib/stripe/services/capital_service.rb +0 -15
  537. data/lib/stripe/services/external_account_service.rb +0 -206
  538. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  539. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  540. data/lib/stripe/services/gift_cards_service.rb +0 -14
  541. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  542. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  543. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  544. data/lib/stripe/services/margin_service.rb +0 -119
  545. data/lib/stripe/services/order_service.rb +0 -2268
  546. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  547. data/lib/stripe/services/payment_record_service.rb +0 -542
  548. data/lib/stripe/services/tax/association_service.rb +0 -31
  549. data/lib/stripe/services/tax/form_service.rb +0 -100
  550. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  551. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  552. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  553. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  554. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  555. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  556. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  557. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  558. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  559. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  560. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  561. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  562. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  563. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  564. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  565. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  566. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  567. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  568. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  569. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  570. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  571. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  572. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  573. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  574. data/rbi/stripe.rbi +0 -189274
@@ -182,8 +182,6 @@ module Stripe
182
182
  class Card < Stripe::StripeObject
183
183
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
184
184
  attr_reader :brand
185
- # 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.)
186
- attr_reader :brand_product
187
185
  # 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.
188
186
  attr_reader :country
189
187
  # Two-digit number representing the card's expiration month.
@@ -269,11 +267,6 @@ module Stripe
269
267
  attr_reader :cvc_check
270
268
  end
271
269
 
272
- class DecrementalAuthorization < Stripe::StripeObject
273
- # Indicates whether or not the decremental authorization feature is supported.
274
- attr_reader :status
275
- end
276
-
277
270
  class ExtendedAuthorization < Stripe::StripeObject
278
271
  # Indicates whether or not the capture window is extended beyond the standard authorization.
279
272
  attr_reader :status
@@ -315,11 +308,6 @@ module Stripe
315
308
  attr_reader :status
316
309
  end
317
310
 
318
- class PartialAuthorization < Stripe::StripeObject
319
- # Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
320
- attr_reader :status
321
- end
322
-
323
311
  class ThreeDSecure < Stripe::StripeObject
324
312
  # For authenticated transactions: how the customer was authenticated by
325
313
  # the issuing bank.
@@ -452,8 +440,6 @@ module Stripe
452
440
  end
453
441
  # The authorized amount.
454
442
  attr_reader :amount_authorized
455
- # The latest amount intended to be authorized by this charge.
456
- attr_reader :amount_requested
457
443
  # Authorization code on the charge.
458
444
  attr_reader :authorization_code
459
445
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
@@ -464,8 +450,6 @@ module Stripe
464
450
  attr_reader :checks
465
451
  # 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.
466
452
  attr_reader :country
467
- # Attribute for field decremental_authorization
468
- attr_reader :decremental_authorization
469
453
  # 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.)
470
454
  attr_reader :description
471
455
  # Two-digit number representing the card's expiration month.
@@ -506,8 +490,6 @@ module Stripe
506
490
  attr_reader :network_transaction_id
507
491
  # Attribute for field overcapture
508
492
  attr_reader :overcapture
509
- # Attribute for field partial_authorization
510
- attr_reader :partial_authorization
511
493
  # Status of a card based on the card issuer.
512
494
  attr_reader :regulated_status
513
495
  # Populated if this transaction used 3D Secure authentication.
@@ -643,26 +625,11 @@ module Stripe
643
625
  attr_reader :verified_name
644
626
  end
645
627
 
646
- class Gopay < Stripe::StripeObject; end
647
-
648
628
  class Grabpay < Stripe::StripeObject
649
629
  # Unique transaction id generated by GrabPay
650
630
  attr_reader :transaction_id
651
631
  end
652
632
 
653
- class IdBankTransfer < Stripe::StripeObject
654
- # Account number of the bank account to transfer funds to.
655
- attr_reader :account_number
656
- # Bank where the account is located.
657
- attr_reader :bank
658
- # Local bank code of the bank.
659
- attr_reader :bank_code
660
- # Name of the bank associated with the bank account.
661
- attr_reader :bank_name
662
- # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
663
- attr_reader :display_name
664
- end
665
-
666
633
  class Ideal < Stripe::StripeObject
667
634
  # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
668
635
  attr_reader :bank
@@ -788,8 +755,6 @@ module Stripe
788
755
  attr_reader :country
789
756
  end
790
757
 
791
- class MbWay < Stripe::StripeObject; end
792
-
793
758
  class Mobilepay < Stripe::StripeObject
794
759
  class Card < Stripe::StripeObject
795
760
  # Brand of the card used in the transaction
@@ -869,36 +834,6 @@ module Stripe
869
834
  # Indicates whether the transaction is eligible for PayPal's seller protection.
870
835
  attr_reader :status
871
836
  end
872
-
873
- class Shipping < Stripe::StripeObject
874
- # City, district, suburb, town, or village.
875
- attr_reader :city
876
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
877
- attr_reader :country
878
- # Address line 1 (e.g., street, PO Box, or company name).
879
- attr_reader :line1
880
- # Address line 2 (e.g., apartment, suite, unit, or building).
881
- attr_reader :line2
882
- # ZIP or postal code.
883
- attr_reader :postal_code
884
- # State, county, province, or region.
885
- attr_reader :state
886
- end
887
-
888
- class VerifiedAddress < Stripe::StripeObject
889
- # City, district, suburb, town, or village.
890
- attr_reader :city
891
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
892
- attr_reader :country
893
- # Address line 1 (e.g., street, PO Box, or company name).
894
- attr_reader :line1
895
- # Address line 2 (e.g., apartment, suite, unit, or building).
896
- attr_reader :line2
897
- # ZIP or postal code.
898
- attr_reader :postal_code
899
- # State, county, province, or region.
900
- attr_reader :state
901
- end
902
837
  # 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.
903
838
  attr_reader :country
904
839
  # Owner's email. Values are provided by PayPal directly
@@ -911,33 +846,8 @@ module Stripe
911
846
  attr_reader :payer_name
912
847
  # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
913
848
  attr_reader :seller_protection
914
- # The shipping address for the customer, as supplied by the merchant at the point of payment
915
- # execution. This shipping address will not be updated if the merchant updates the shipping
916
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
917
- attr_reader :shipping
918
849
  # A unique ID generated by PayPal for this transaction.
919
850
  attr_reader :transaction_id
920
- # The shipping address for the customer, as supplied by the merchant at the point of payment
921
- # execution. This shipping address will not be updated if the merchant updates the shipping
922
- # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
923
- attr_reader :verified_address
924
- # Owner's verified email. Values are verified or provided by PayPal directly
925
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
926
- attr_reader :verified_email
927
- # Owner's verified full name. Values are verified or provided by PayPal directly
928
- # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
929
- attr_reader :verified_name
930
- end
931
-
932
- class Payto < Stripe::StripeObject
933
- # Bank-State-Branch number of the bank account.
934
- attr_reader :bsb_number
935
- # Last four digits of the bank account number.
936
- attr_reader :last4
937
- # ID of the mandate used to make this payment.
938
- attr_reader :mandate
939
- # The PayID alias for the bank account.
940
- attr_reader :pay_id
941
851
  end
942
852
 
943
853
  class Pix < Stripe::StripeObject
@@ -950,16 +860,11 @@ module Stripe
950
860
  attr_reader :reference
951
861
  end
952
862
 
953
- class Qris < Stripe::StripeObject; end
954
- class Rechnung < Stripe::StripeObject; end
955
-
956
863
  class RevolutPay < Stripe::StripeObject
957
864
  class Funding < Stripe::StripeObject
958
865
  class Card < Stripe::StripeObject
959
866
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
960
867
  attr_reader :brand
961
- # 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.)
962
- attr_reader :brand_product
963
868
  # 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.
964
869
  attr_reader :country
965
870
  # Two-digit number representing the card's expiration month.
@@ -1011,8 +916,6 @@ module Stripe
1011
916
  attr_reader :mandate
1012
917
  end
1013
918
 
1014
- class Shopeepay < Stripe::StripeObject; end
1015
-
1016
919
  class Sofort < Stripe::StripeObject
1017
920
  # Bank code of bank associated with the bank account.
1018
921
  attr_reader :bank_code
@@ -1038,13 +941,6 @@ module Stripe
1038
941
 
1039
942
  class StripeAccount < Stripe::StripeObject; end
1040
943
 
1041
- class StripeBalance < Stripe::StripeObject
1042
- # The connected account ID whose Stripe balance to use as the source of payment
1043
- attr_reader :account
1044
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1045
- attr_reader :source_type
1046
- end
1047
-
1048
944
  class Swish < Stripe::StripeObject
1049
945
  # 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
1050
946
  attr_reader :fingerprint
@@ -1127,12 +1023,8 @@ module Stripe
1127
1023
  attr_reader :fpx
1128
1024
  # Attribute for field giropay
1129
1025
  attr_reader :giropay
1130
- # Attribute for field gopay
1131
- attr_reader :gopay
1132
1026
  # Attribute for field grabpay
1133
1027
  attr_reader :grabpay
1134
- # Attribute for field id_bank_transfer
1135
- attr_reader :id_bank_transfer
1136
1028
  # Attribute for field ideal
1137
1029
  attr_reader :ideal
1138
1030
  # Attribute for field interac_present
@@ -1147,8 +1039,6 @@ module Stripe
1147
1039
  attr_reader :kr_card
1148
1040
  # Attribute for field link
1149
1041
  attr_reader :link
1150
- # Attribute for field mb_way
1151
- attr_reader :mb_way
1152
1042
  # Attribute for field mobilepay
1153
1043
  attr_reader :mobilepay
1154
1044
  # Attribute for field multibanco
@@ -1169,16 +1059,10 @@ module Stripe
1169
1059
  attr_reader :paynow
1170
1060
  # Attribute for field paypal
1171
1061
  attr_reader :paypal
1172
- # Attribute for field payto
1173
- attr_reader :payto
1174
1062
  # Attribute for field pix
1175
1063
  attr_reader :pix
1176
1064
  # Attribute for field promptpay
1177
1065
  attr_reader :promptpay
1178
- # Attribute for field qris
1179
- attr_reader :qris
1180
- # Attribute for field rechnung
1181
- attr_reader :rechnung
1182
1066
  # Attribute for field revolut_pay
1183
1067
  attr_reader :revolut_pay
1184
1068
  # Attribute for field samsung_pay
@@ -1189,14 +1073,10 @@ module Stripe
1189
1073
  attr_reader :sepa_credit_transfer
1190
1074
  # Attribute for field sepa_debit
1191
1075
  attr_reader :sepa_debit
1192
- # Attribute for field shopeepay
1193
- attr_reader :shopeepay
1194
1076
  # Attribute for field sofort
1195
1077
  attr_reader :sofort
1196
1078
  # Attribute for field stripe_account
1197
1079
  attr_reader :stripe_account
1198
- # Attribute for field stripe_balance
1199
- attr_reader :stripe_balance
1200
1080
  # Attribute for field swish
1201
1081
  attr_reader :swish
1202
1082
  # Attribute for field twint
@@ -1495,669 +1375,6 @@ module Stripe
1495
1375
  end
1496
1376
  end
1497
1377
 
1498
- class PaymentDetails < Stripe::RequestParams
1499
- class CarRental < Stripe::RequestParams
1500
- class Affiliate < Stripe::RequestParams
1501
- # The name of the affiliate that originated the purchase.
1502
- attr_accessor :name
1503
-
1504
- def initialize(name: nil)
1505
- @name = name
1506
- end
1507
- end
1508
-
1509
- class Delivery < Stripe::RequestParams
1510
- class Recipient < Stripe::RequestParams
1511
- # The email of the recipient the ticket is delivered to.
1512
- attr_accessor :email
1513
- # The name of the recipient the ticket is delivered to.
1514
- attr_accessor :name
1515
- # The phone number of the recipient the ticket is delivered to.
1516
- attr_accessor :phone
1517
-
1518
- def initialize(email: nil, name: nil, phone: nil)
1519
- @email = email
1520
- @name = name
1521
- @phone = phone
1522
- end
1523
- end
1524
- # The delivery method for the payment
1525
- attr_accessor :mode
1526
- # Details of the recipient.
1527
- attr_accessor :recipient
1528
-
1529
- def initialize(mode: nil, recipient: nil)
1530
- @mode = mode
1531
- @recipient = recipient
1532
- end
1533
- end
1534
-
1535
- class Driver < Stripe::RequestParams
1536
- # Full name of the person or entity on the car reservation.
1537
- attr_accessor :name
1538
-
1539
- def initialize(name: nil)
1540
- @name = name
1541
- end
1542
- end
1543
-
1544
- class PickupAddress < Stripe::RequestParams
1545
- # City, district, suburb, town, or village.
1546
- attr_accessor :city
1547
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1548
- attr_accessor :country
1549
- # Address line 1 (e.g., street, PO Box, or company name).
1550
- attr_accessor :line1
1551
- # Address line 2 (e.g., apartment, suite, unit, or building).
1552
- attr_accessor :line2
1553
- # ZIP or postal code.
1554
- attr_accessor :postal_code
1555
- # State, county, province, or region.
1556
- attr_accessor :state
1557
-
1558
- def initialize(
1559
- city: nil,
1560
- country: nil,
1561
- line1: nil,
1562
- line2: nil,
1563
- postal_code: nil,
1564
- state: nil
1565
- )
1566
- @city = city
1567
- @country = country
1568
- @line1 = line1
1569
- @line2 = line2
1570
- @postal_code = postal_code
1571
- @state = state
1572
- end
1573
- end
1574
-
1575
- class ReturnAddress < Stripe::RequestParams
1576
- # City, district, suburb, town, or village.
1577
- attr_accessor :city
1578
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1579
- attr_accessor :country
1580
- # Address line 1 (e.g., street, PO Box, or company name).
1581
- attr_accessor :line1
1582
- # Address line 2 (e.g., apartment, suite, unit, or building).
1583
- attr_accessor :line2
1584
- # ZIP or postal code.
1585
- attr_accessor :postal_code
1586
- # State, county, province, or region.
1587
- attr_accessor :state
1588
-
1589
- def initialize(
1590
- city: nil,
1591
- country: nil,
1592
- line1: nil,
1593
- line2: nil,
1594
- postal_code: nil,
1595
- state: nil
1596
- )
1597
- @city = city
1598
- @country = country
1599
- @line1 = line1
1600
- @line2 = line2
1601
- @postal_code = postal_code
1602
- @state = state
1603
- end
1604
- end
1605
- # Affiliate details for this purchase.
1606
- attr_accessor :affiliate
1607
- # The booking number associated with the car rental.
1608
- attr_accessor :booking_number
1609
- # Class code of the car.
1610
- attr_accessor :car_class_code
1611
- # Make of the car.
1612
- attr_accessor :car_make
1613
- # Model of the car.
1614
- attr_accessor :car_model
1615
- # The name of the rental car company.
1616
- attr_accessor :company
1617
- # The customer service phone number of the car rental company.
1618
- attr_accessor :customer_service_phone_number
1619
- # Number of days the car is being rented.
1620
- attr_accessor :days_rented
1621
- # Delivery details for this purchase.
1622
- attr_accessor :delivery
1623
- # The details of the passengers in the travel reservation
1624
- attr_accessor :drivers
1625
- # List of additional charges being billed.
1626
- attr_accessor :extra_charges
1627
- # Indicates if the customer did not keep nor cancel their booking.
1628
- attr_accessor :no_show
1629
- # Car pick-up address.
1630
- attr_accessor :pickup_address
1631
- # Car pick-up time. Measured in seconds since the Unix epoch.
1632
- attr_accessor :pickup_at
1633
- # Rental rate.
1634
- attr_accessor :rate_amount
1635
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1636
- attr_accessor :rate_interval
1637
- # The name of the person or entity renting the car.
1638
- attr_accessor :renter_name
1639
- # Car return address.
1640
- attr_accessor :return_address
1641
- # Car return time. Measured in seconds since the Unix epoch.
1642
- attr_accessor :return_at
1643
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
1644
- attr_accessor :tax_exempt
1645
-
1646
- def initialize(
1647
- affiliate: nil,
1648
- booking_number: nil,
1649
- car_class_code: nil,
1650
- car_make: nil,
1651
- car_model: nil,
1652
- company: nil,
1653
- customer_service_phone_number: nil,
1654
- days_rented: nil,
1655
- delivery: nil,
1656
- drivers: nil,
1657
- extra_charges: nil,
1658
- no_show: nil,
1659
- pickup_address: nil,
1660
- pickup_at: nil,
1661
- rate_amount: nil,
1662
- rate_interval: nil,
1663
- renter_name: nil,
1664
- return_address: nil,
1665
- return_at: nil,
1666
- tax_exempt: nil
1667
- )
1668
- @affiliate = affiliate
1669
- @booking_number = booking_number
1670
- @car_class_code = car_class_code
1671
- @car_make = car_make
1672
- @car_model = car_model
1673
- @company = company
1674
- @customer_service_phone_number = customer_service_phone_number
1675
- @days_rented = days_rented
1676
- @delivery = delivery
1677
- @drivers = drivers
1678
- @extra_charges = extra_charges
1679
- @no_show = no_show
1680
- @pickup_address = pickup_address
1681
- @pickup_at = pickup_at
1682
- @rate_amount = rate_amount
1683
- @rate_interval = rate_interval
1684
- @renter_name = renter_name
1685
- @return_address = return_address
1686
- @return_at = return_at
1687
- @tax_exempt = tax_exempt
1688
- end
1689
- end
1690
-
1691
- class EventDetails < Stripe::RequestParams
1692
- class Address < Stripe::RequestParams
1693
- # City, district, suburb, town, or village.
1694
- attr_accessor :city
1695
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1696
- attr_accessor :country
1697
- # Address line 1 (e.g., street, PO Box, or company name).
1698
- attr_accessor :line1
1699
- # Address line 2 (e.g., apartment, suite, unit, or building).
1700
- attr_accessor :line2
1701
- # ZIP or postal code.
1702
- attr_accessor :postal_code
1703
- # State, county, province, or region.
1704
- attr_accessor :state
1705
-
1706
- def initialize(
1707
- city: nil,
1708
- country: nil,
1709
- line1: nil,
1710
- line2: nil,
1711
- postal_code: nil,
1712
- state: nil
1713
- )
1714
- @city = city
1715
- @country = country
1716
- @line1 = line1
1717
- @line2 = line2
1718
- @postal_code = postal_code
1719
- @state = state
1720
- end
1721
- end
1722
-
1723
- class Affiliate < Stripe::RequestParams
1724
- # The name of the affiliate that originated the purchase.
1725
- attr_accessor :name
1726
-
1727
- def initialize(name: nil)
1728
- @name = name
1729
- end
1730
- end
1731
-
1732
- class Delivery < Stripe::RequestParams
1733
- class Recipient < Stripe::RequestParams
1734
- # The email of the recipient the ticket is delivered to.
1735
- attr_accessor :email
1736
- # The name of the recipient the ticket is delivered to.
1737
- attr_accessor :name
1738
- # The phone number of the recipient the ticket is delivered to.
1739
- attr_accessor :phone
1740
-
1741
- def initialize(email: nil, name: nil, phone: nil)
1742
- @email = email
1743
- @name = name
1744
- @phone = phone
1745
- end
1746
- end
1747
- # The delivery method for the payment
1748
- attr_accessor :mode
1749
- # Details of the recipient.
1750
- attr_accessor :recipient
1751
-
1752
- def initialize(mode: nil, recipient: nil)
1753
- @mode = mode
1754
- @recipient = recipient
1755
- end
1756
- end
1757
- # Indicates if the tickets are digitally checked when entering the venue.
1758
- attr_accessor :access_controlled_venue
1759
- # The event location's address.
1760
- attr_accessor :address
1761
- # Affiliate details for this purchase.
1762
- attr_accessor :affiliate
1763
- # The name of the company
1764
- attr_accessor :company
1765
- # Delivery details for this purchase.
1766
- attr_accessor :delivery
1767
- # Event end time. Measured in seconds since the Unix epoch.
1768
- attr_accessor :ends_at
1769
- # Type of the event entertainment (concert, sports event etc)
1770
- attr_accessor :genre
1771
- # The name of the event.
1772
- attr_accessor :name
1773
- # Event start time. Measured in seconds since the Unix epoch.
1774
- attr_accessor :starts_at
1775
-
1776
- def initialize(
1777
- access_controlled_venue: nil,
1778
- address: nil,
1779
- affiliate: nil,
1780
- company: nil,
1781
- delivery: nil,
1782
- ends_at: nil,
1783
- genre: nil,
1784
- name: nil,
1785
- starts_at: nil
1786
- )
1787
- @access_controlled_venue = access_controlled_venue
1788
- @address = address
1789
- @affiliate = affiliate
1790
- @company = company
1791
- @delivery = delivery
1792
- @ends_at = ends_at
1793
- @genre = genre
1794
- @name = name
1795
- @starts_at = starts_at
1796
- end
1797
- end
1798
-
1799
- class Flight < Stripe::RequestParams
1800
- class Affiliate < Stripe::RequestParams
1801
- # The name of the affiliate that originated the purchase.
1802
- attr_accessor :name
1803
-
1804
- def initialize(name: nil)
1805
- @name = name
1806
- end
1807
- end
1808
-
1809
- class Delivery < Stripe::RequestParams
1810
- class Recipient < Stripe::RequestParams
1811
- # The email of the recipient the ticket is delivered to.
1812
- attr_accessor :email
1813
- # The name of the recipient the ticket is delivered to.
1814
- attr_accessor :name
1815
- # The phone number of the recipient the ticket is delivered to.
1816
- attr_accessor :phone
1817
-
1818
- def initialize(email: nil, name: nil, phone: nil)
1819
- @email = email
1820
- @name = name
1821
- @phone = phone
1822
- end
1823
- end
1824
- # The delivery method for the payment
1825
- attr_accessor :mode
1826
- # Details of the recipient.
1827
- attr_accessor :recipient
1828
-
1829
- def initialize(mode: nil, recipient: nil)
1830
- @mode = mode
1831
- @recipient = recipient
1832
- end
1833
- end
1834
-
1835
- class Passenger < Stripe::RequestParams
1836
- # Full name of the person or entity on the flight reservation.
1837
- attr_accessor :name
1838
-
1839
- def initialize(name: nil)
1840
- @name = name
1841
- end
1842
- end
1843
-
1844
- class Segment < Stripe::RequestParams
1845
- # The flight segment amount.
1846
- attr_accessor :amount
1847
- # The International Air Transport Association (IATA) airport code for the arrival airport.
1848
- attr_accessor :arrival_airport
1849
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1850
- attr_accessor :arrives_at
1851
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1852
- attr_accessor :carrier
1853
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1854
- attr_accessor :departs_at
1855
- # The International Air Transport Association (IATA) airport code for the departure airport.
1856
- attr_accessor :departure_airport
1857
- # The flight number associated with the segment
1858
- attr_accessor :flight_number
1859
- # The fare class for the segment.
1860
- attr_accessor :service_class
1861
-
1862
- def initialize(
1863
- amount: nil,
1864
- arrival_airport: nil,
1865
- arrives_at: nil,
1866
- carrier: nil,
1867
- departs_at: nil,
1868
- departure_airport: nil,
1869
- flight_number: nil,
1870
- service_class: nil
1871
- )
1872
- @amount = amount
1873
- @arrival_airport = arrival_airport
1874
- @arrives_at = arrives_at
1875
- @carrier = carrier
1876
- @departs_at = departs_at
1877
- @departure_airport = departure_airport
1878
- @flight_number = flight_number
1879
- @service_class = service_class
1880
- end
1881
- end
1882
- # Affiliate details for this purchase.
1883
- attr_accessor :affiliate
1884
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1885
- attr_accessor :agency_number
1886
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1887
- attr_accessor :carrier
1888
- # Delivery details for this purchase.
1889
- attr_accessor :delivery
1890
- # The name of the person or entity on the reservation.
1891
- attr_accessor :passenger_name
1892
- # The details of the passengers in the travel reservation.
1893
- attr_accessor :passengers
1894
- # The individual flight segments associated with the trip.
1895
- attr_accessor :segments
1896
- # The ticket number associated with the travel reservation.
1897
- attr_accessor :ticket_number
1898
-
1899
- def initialize(
1900
- affiliate: nil,
1901
- agency_number: nil,
1902
- carrier: nil,
1903
- delivery: nil,
1904
- passenger_name: nil,
1905
- passengers: nil,
1906
- segments: nil,
1907
- ticket_number: nil
1908
- )
1909
- @affiliate = affiliate
1910
- @agency_number = agency_number
1911
- @carrier = carrier
1912
- @delivery = delivery
1913
- @passenger_name = passenger_name
1914
- @passengers = passengers
1915
- @segments = segments
1916
- @ticket_number = ticket_number
1917
- end
1918
- end
1919
-
1920
- class Lodging < Stripe::RequestParams
1921
- class Address < Stripe::RequestParams
1922
- # City, district, suburb, town, or village.
1923
- attr_accessor :city
1924
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1925
- attr_accessor :country
1926
- # Address line 1 (e.g., street, PO Box, or company name).
1927
- attr_accessor :line1
1928
- # Address line 2 (e.g., apartment, suite, unit, or building).
1929
- attr_accessor :line2
1930
- # ZIP or postal code.
1931
- attr_accessor :postal_code
1932
- # State, county, province, or region.
1933
- attr_accessor :state
1934
-
1935
- def initialize(
1936
- city: nil,
1937
- country: nil,
1938
- line1: nil,
1939
- line2: nil,
1940
- postal_code: nil,
1941
- state: nil
1942
- )
1943
- @city = city
1944
- @country = country
1945
- @line1 = line1
1946
- @line2 = line2
1947
- @postal_code = postal_code
1948
- @state = state
1949
- end
1950
- end
1951
-
1952
- class Affiliate < Stripe::RequestParams
1953
- # The name of the affiliate that originated the purchase.
1954
- attr_accessor :name
1955
-
1956
- def initialize(name: nil)
1957
- @name = name
1958
- end
1959
- end
1960
-
1961
- class Delivery < Stripe::RequestParams
1962
- class Recipient < Stripe::RequestParams
1963
- # The email of the recipient the ticket is delivered to.
1964
- attr_accessor :email
1965
- # The name of the recipient the ticket is delivered to.
1966
- attr_accessor :name
1967
- # The phone number of the recipient the ticket is delivered to.
1968
- attr_accessor :phone
1969
-
1970
- def initialize(email: nil, name: nil, phone: nil)
1971
- @email = email
1972
- @name = name
1973
- @phone = phone
1974
- end
1975
- end
1976
- # The delivery method for the payment
1977
- attr_accessor :mode
1978
- # Details of the recipient.
1979
- attr_accessor :recipient
1980
-
1981
- def initialize(mode: nil, recipient: nil)
1982
- @mode = mode
1983
- @recipient = recipient
1984
- end
1985
- end
1986
-
1987
- class Passenger < Stripe::RequestParams
1988
- # Full name of the person or entity on the lodging reservation.
1989
- attr_accessor :name
1990
-
1991
- def initialize(name: nil)
1992
- @name = name
1993
- end
1994
- end
1995
- # The lodging location's address.
1996
- attr_accessor :address
1997
- # The number of adults on the booking
1998
- attr_accessor :adults
1999
- # Affiliate details for this purchase.
2000
- attr_accessor :affiliate
2001
- # The booking number associated with the lodging reservation.
2002
- attr_accessor :booking_number
2003
- # The lodging category
2004
- attr_accessor :category
2005
- # Loding check-in time. Measured in seconds since the Unix epoch.
2006
- attr_accessor :checkin_at
2007
- # Lodging check-out time. Measured in seconds since the Unix epoch.
2008
- attr_accessor :checkout_at
2009
- # The customer service phone number of the lodging company.
2010
- attr_accessor :customer_service_phone_number
2011
- # The daily lodging room rate.
2012
- attr_accessor :daily_room_rate_amount
2013
- # Delivery details for this purchase.
2014
- attr_accessor :delivery
2015
- # List of additional charges being billed.
2016
- attr_accessor :extra_charges
2017
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
2018
- attr_accessor :fire_safety_act_compliance
2019
- # The name of the lodging location.
2020
- attr_accessor :name
2021
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2022
- attr_accessor :no_show
2023
- # The number of rooms on the booking
2024
- attr_accessor :number_of_rooms
2025
- # The details of the passengers in the travel reservation
2026
- attr_accessor :passengers
2027
- # The phone number of the lodging location.
2028
- attr_accessor :property_phone_number
2029
- # The room class for this purchase.
2030
- attr_accessor :room_class
2031
- # The number of room nights
2032
- attr_accessor :room_nights
2033
- # The total tax amount associating with the room reservation.
2034
- attr_accessor :total_room_tax_amount
2035
- # The total tax amount
2036
- attr_accessor :total_tax_amount
2037
-
2038
- def initialize(
2039
- address: nil,
2040
- adults: nil,
2041
- affiliate: nil,
2042
- booking_number: nil,
2043
- category: nil,
2044
- checkin_at: nil,
2045
- checkout_at: nil,
2046
- customer_service_phone_number: nil,
2047
- daily_room_rate_amount: nil,
2048
- delivery: nil,
2049
- extra_charges: nil,
2050
- fire_safety_act_compliance: nil,
2051
- name: nil,
2052
- no_show: nil,
2053
- number_of_rooms: nil,
2054
- passengers: nil,
2055
- property_phone_number: nil,
2056
- room_class: nil,
2057
- room_nights: nil,
2058
- total_room_tax_amount: nil,
2059
- total_tax_amount: nil
2060
- )
2061
- @address = address
2062
- @adults = adults
2063
- @affiliate = affiliate
2064
- @booking_number = booking_number
2065
- @category = category
2066
- @checkin_at = checkin_at
2067
- @checkout_at = checkout_at
2068
- @customer_service_phone_number = customer_service_phone_number
2069
- @daily_room_rate_amount = daily_room_rate_amount
2070
- @delivery = delivery
2071
- @extra_charges = extra_charges
2072
- @fire_safety_act_compliance = fire_safety_act_compliance
2073
- @name = name
2074
- @no_show = no_show
2075
- @number_of_rooms = number_of_rooms
2076
- @passengers = passengers
2077
- @property_phone_number = property_phone_number
2078
- @room_class = room_class
2079
- @room_nights = room_nights
2080
- @total_room_tax_amount = total_room_tax_amount
2081
- @total_tax_amount = total_tax_amount
2082
- end
2083
- end
2084
-
2085
- class Subscription < Stripe::RequestParams
2086
- class Affiliate < Stripe::RequestParams
2087
- # The name of the affiliate that originated the purchase.
2088
- attr_accessor :name
2089
-
2090
- def initialize(name: nil)
2091
- @name = name
2092
- end
2093
- end
2094
-
2095
- class BillingInterval < Stripe::RequestParams
2096
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2097
- attr_accessor :count
2098
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2099
- attr_accessor :interval
2100
-
2101
- def initialize(count: nil, interval: nil)
2102
- @count = count
2103
- @interval = interval
2104
- end
2105
- end
2106
- # Affiliate details for this purchase.
2107
- attr_accessor :affiliate
2108
- # Info whether the subscription will be auto renewed upon expiry.
2109
- attr_accessor :auto_renewal
2110
- # Subscription billing details for this purchase.
2111
- attr_accessor :billing_interval
2112
- # Subscription end time. Measured in seconds since the Unix epoch.
2113
- attr_accessor :ends_at
2114
- # Name of the product on subscription. e.g. Apple Music Subscription
2115
- attr_accessor :name
2116
- # Subscription start time. Measured in seconds since the Unix epoch.
2117
- attr_accessor :starts_at
2118
-
2119
- def initialize(
2120
- affiliate: nil,
2121
- auto_renewal: nil,
2122
- billing_interval: nil,
2123
- ends_at: nil,
2124
- name: nil,
2125
- starts_at: nil
2126
- )
2127
- @affiliate = affiliate
2128
- @auto_renewal = auto_renewal
2129
- @billing_interval = billing_interval
2130
- @ends_at = ends_at
2131
- @name = name
2132
- @starts_at = starts_at
2133
- end
2134
- end
2135
- # Car rental details for this PaymentIntent.
2136
- attr_accessor :car_rental
2137
- # Event details for this PaymentIntent
2138
- attr_accessor :event_details
2139
- # Flight reservation details for this PaymentIntent
2140
- attr_accessor :flight
2141
- # Lodging reservation details for this PaymentIntent
2142
- attr_accessor :lodging
2143
- # Subscription details for this PaymentIntent
2144
- attr_accessor :subscription
2145
-
2146
- def initialize(
2147
- car_rental: nil,
2148
- event_details: nil,
2149
- flight: nil,
2150
- lodging: nil,
2151
- subscription: nil
2152
- )
2153
- @car_rental = car_rental
2154
- @event_details = event_details
2155
- @flight = flight
2156
- @lodging = lodging
2157
- @subscription = subscription
2158
- end
2159
- end
2160
-
2161
1378
  class Shipping < Stripe::RequestParams
2162
1379
  class Address < Stripe::RequestParams
2163
1380
  # City, district, suburb, town, or village.
@@ -2218,8 +1435,6 @@ module Stripe
2218
1435
  attr_accessor :fraud_details
2219
1436
  # 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`.
2220
1437
  attr_accessor :metadata
2221
- # Provides industry-specific information about the charge.
2222
- attr_accessor :payment_details
2223
1438
  # 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.
2224
1439
  attr_accessor :receipt_email
2225
1440
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
@@ -2233,7 +1448,6 @@ module Stripe
2233
1448
  expand: nil,
2234
1449
  fraud_details: nil,
2235
1450
  metadata: nil,
2236
- payment_details: nil,
2237
1451
  receipt_email: nil,
2238
1452
  shipping: nil,
2239
1453
  transfer_group: nil
@@ -2243,7 +1457,6 @@ module Stripe
2243
1457
  @expand = expand
2244
1458
  @fraud_details = fraud_details
2245
1459
  @metadata = metadata
2246
- @payment_details = payment_details
2247
1460
  @receipt_email = receipt_email
2248
1461
  @shipping = shipping
2249
1462
  @transfer_group = transfer_group
@@ -2269,669 +1482,6 @@ module Stripe
2269
1482
  end
2270
1483
 
2271
1484
  class CaptureParams < Stripe::RequestParams
2272
- class PaymentDetails < Stripe::RequestParams
2273
- class CarRental < Stripe::RequestParams
2274
- class Affiliate < Stripe::RequestParams
2275
- # The name of the affiliate that originated the purchase.
2276
- attr_accessor :name
2277
-
2278
- def initialize(name: nil)
2279
- @name = name
2280
- end
2281
- end
2282
-
2283
- class Delivery < Stripe::RequestParams
2284
- class Recipient < Stripe::RequestParams
2285
- # The email of the recipient the ticket is delivered to.
2286
- attr_accessor :email
2287
- # The name of the recipient the ticket is delivered to.
2288
- attr_accessor :name
2289
- # The phone number of the recipient the ticket is delivered to.
2290
- attr_accessor :phone
2291
-
2292
- def initialize(email: nil, name: nil, phone: nil)
2293
- @email = email
2294
- @name = name
2295
- @phone = phone
2296
- end
2297
- end
2298
- # The delivery method for the payment
2299
- attr_accessor :mode
2300
- # Details of the recipient.
2301
- attr_accessor :recipient
2302
-
2303
- def initialize(mode: nil, recipient: nil)
2304
- @mode = mode
2305
- @recipient = recipient
2306
- end
2307
- end
2308
-
2309
- class Driver < Stripe::RequestParams
2310
- # Full name of the person or entity on the car reservation.
2311
- attr_accessor :name
2312
-
2313
- def initialize(name: nil)
2314
- @name = name
2315
- end
2316
- end
2317
-
2318
- class PickupAddress < Stripe::RequestParams
2319
- # City, district, suburb, town, or village.
2320
- attr_accessor :city
2321
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2322
- attr_accessor :country
2323
- # Address line 1 (e.g., street, PO Box, or company name).
2324
- attr_accessor :line1
2325
- # Address line 2 (e.g., apartment, suite, unit, or building).
2326
- attr_accessor :line2
2327
- # ZIP or postal code.
2328
- attr_accessor :postal_code
2329
- # State, county, province, or region.
2330
- attr_accessor :state
2331
-
2332
- def initialize(
2333
- city: nil,
2334
- country: nil,
2335
- line1: nil,
2336
- line2: nil,
2337
- postal_code: nil,
2338
- state: nil
2339
- )
2340
- @city = city
2341
- @country = country
2342
- @line1 = line1
2343
- @line2 = line2
2344
- @postal_code = postal_code
2345
- @state = state
2346
- end
2347
- end
2348
-
2349
- class ReturnAddress < Stripe::RequestParams
2350
- # City, district, suburb, town, or village.
2351
- attr_accessor :city
2352
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2353
- attr_accessor :country
2354
- # Address line 1 (e.g., street, PO Box, or company name).
2355
- attr_accessor :line1
2356
- # Address line 2 (e.g., apartment, suite, unit, or building).
2357
- attr_accessor :line2
2358
- # ZIP or postal code.
2359
- attr_accessor :postal_code
2360
- # State, county, province, or region.
2361
- attr_accessor :state
2362
-
2363
- def initialize(
2364
- city: nil,
2365
- country: nil,
2366
- line1: nil,
2367
- line2: nil,
2368
- postal_code: nil,
2369
- state: nil
2370
- )
2371
- @city = city
2372
- @country = country
2373
- @line1 = line1
2374
- @line2 = line2
2375
- @postal_code = postal_code
2376
- @state = state
2377
- end
2378
- end
2379
- # Affiliate details for this purchase.
2380
- attr_accessor :affiliate
2381
- # The booking number associated with the car rental.
2382
- attr_accessor :booking_number
2383
- # Class code of the car.
2384
- attr_accessor :car_class_code
2385
- # Make of the car.
2386
- attr_accessor :car_make
2387
- # Model of the car.
2388
- attr_accessor :car_model
2389
- # The name of the rental car company.
2390
- attr_accessor :company
2391
- # The customer service phone number of the car rental company.
2392
- attr_accessor :customer_service_phone_number
2393
- # Number of days the car is being rented.
2394
- attr_accessor :days_rented
2395
- # Delivery details for this purchase.
2396
- attr_accessor :delivery
2397
- # The details of the passengers in the travel reservation
2398
- attr_accessor :drivers
2399
- # List of additional charges being billed.
2400
- attr_accessor :extra_charges
2401
- # Indicates if the customer did not keep nor cancel their booking.
2402
- attr_accessor :no_show
2403
- # Car pick-up address.
2404
- attr_accessor :pickup_address
2405
- # Car pick-up time. Measured in seconds since the Unix epoch.
2406
- attr_accessor :pickup_at
2407
- # Rental rate.
2408
- attr_accessor :rate_amount
2409
- # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2410
- attr_accessor :rate_interval
2411
- # The name of the person or entity renting the car.
2412
- attr_accessor :renter_name
2413
- # Car return address.
2414
- attr_accessor :return_address
2415
- # Car return time. Measured in seconds since the Unix epoch.
2416
- attr_accessor :return_at
2417
- # Indicates whether the goods or services are tax-exempt or tax is not collected.
2418
- attr_accessor :tax_exempt
2419
-
2420
- def initialize(
2421
- affiliate: nil,
2422
- booking_number: nil,
2423
- car_class_code: nil,
2424
- car_make: nil,
2425
- car_model: nil,
2426
- company: nil,
2427
- customer_service_phone_number: nil,
2428
- days_rented: nil,
2429
- delivery: nil,
2430
- drivers: nil,
2431
- extra_charges: nil,
2432
- no_show: nil,
2433
- pickup_address: nil,
2434
- pickup_at: nil,
2435
- rate_amount: nil,
2436
- rate_interval: nil,
2437
- renter_name: nil,
2438
- return_address: nil,
2439
- return_at: nil,
2440
- tax_exempt: nil
2441
- )
2442
- @affiliate = affiliate
2443
- @booking_number = booking_number
2444
- @car_class_code = car_class_code
2445
- @car_make = car_make
2446
- @car_model = car_model
2447
- @company = company
2448
- @customer_service_phone_number = customer_service_phone_number
2449
- @days_rented = days_rented
2450
- @delivery = delivery
2451
- @drivers = drivers
2452
- @extra_charges = extra_charges
2453
- @no_show = no_show
2454
- @pickup_address = pickup_address
2455
- @pickup_at = pickup_at
2456
- @rate_amount = rate_amount
2457
- @rate_interval = rate_interval
2458
- @renter_name = renter_name
2459
- @return_address = return_address
2460
- @return_at = return_at
2461
- @tax_exempt = tax_exempt
2462
- end
2463
- end
2464
-
2465
- class EventDetails < Stripe::RequestParams
2466
- class Address < Stripe::RequestParams
2467
- # City, district, suburb, town, or village.
2468
- attr_accessor :city
2469
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2470
- attr_accessor :country
2471
- # Address line 1 (e.g., street, PO Box, or company name).
2472
- attr_accessor :line1
2473
- # Address line 2 (e.g., apartment, suite, unit, or building).
2474
- attr_accessor :line2
2475
- # ZIP or postal code.
2476
- attr_accessor :postal_code
2477
- # State, county, province, or region.
2478
- attr_accessor :state
2479
-
2480
- def initialize(
2481
- city: nil,
2482
- country: nil,
2483
- line1: nil,
2484
- line2: nil,
2485
- postal_code: nil,
2486
- state: nil
2487
- )
2488
- @city = city
2489
- @country = country
2490
- @line1 = line1
2491
- @line2 = line2
2492
- @postal_code = postal_code
2493
- @state = state
2494
- end
2495
- end
2496
-
2497
- class Affiliate < Stripe::RequestParams
2498
- # The name of the affiliate that originated the purchase.
2499
- attr_accessor :name
2500
-
2501
- def initialize(name: nil)
2502
- @name = name
2503
- end
2504
- end
2505
-
2506
- class Delivery < Stripe::RequestParams
2507
- class Recipient < Stripe::RequestParams
2508
- # The email of the recipient the ticket is delivered to.
2509
- attr_accessor :email
2510
- # The name of the recipient the ticket is delivered to.
2511
- attr_accessor :name
2512
- # The phone number of the recipient the ticket is delivered to.
2513
- attr_accessor :phone
2514
-
2515
- def initialize(email: nil, name: nil, phone: nil)
2516
- @email = email
2517
- @name = name
2518
- @phone = phone
2519
- end
2520
- end
2521
- # The delivery method for the payment
2522
- attr_accessor :mode
2523
- # Details of the recipient.
2524
- attr_accessor :recipient
2525
-
2526
- def initialize(mode: nil, recipient: nil)
2527
- @mode = mode
2528
- @recipient = recipient
2529
- end
2530
- end
2531
- # Indicates if the tickets are digitally checked when entering the venue.
2532
- attr_accessor :access_controlled_venue
2533
- # The event location's address.
2534
- attr_accessor :address
2535
- # Affiliate details for this purchase.
2536
- attr_accessor :affiliate
2537
- # The name of the company
2538
- attr_accessor :company
2539
- # Delivery details for this purchase.
2540
- attr_accessor :delivery
2541
- # Event end time. Measured in seconds since the Unix epoch.
2542
- attr_accessor :ends_at
2543
- # Type of the event entertainment (concert, sports event etc)
2544
- attr_accessor :genre
2545
- # The name of the event.
2546
- attr_accessor :name
2547
- # Event start time. Measured in seconds since the Unix epoch.
2548
- attr_accessor :starts_at
2549
-
2550
- def initialize(
2551
- access_controlled_venue: nil,
2552
- address: nil,
2553
- affiliate: nil,
2554
- company: nil,
2555
- delivery: nil,
2556
- ends_at: nil,
2557
- genre: nil,
2558
- name: nil,
2559
- starts_at: nil
2560
- )
2561
- @access_controlled_venue = access_controlled_venue
2562
- @address = address
2563
- @affiliate = affiliate
2564
- @company = company
2565
- @delivery = delivery
2566
- @ends_at = ends_at
2567
- @genre = genre
2568
- @name = name
2569
- @starts_at = starts_at
2570
- end
2571
- end
2572
-
2573
- class Flight < Stripe::RequestParams
2574
- class Affiliate < Stripe::RequestParams
2575
- # The name of the affiliate that originated the purchase.
2576
- attr_accessor :name
2577
-
2578
- def initialize(name: nil)
2579
- @name = name
2580
- end
2581
- end
2582
-
2583
- class Delivery < Stripe::RequestParams
2584
- class Recipient < Stripe::RequestParams
2585
- # The email of the recipient the ticket is delivered to.
2586
- attr_accessor :email
2587
- # The name of the recipient the ticket is delivered to.
2588
- attr_accessor :name
2589
- # The phone number of the recipient the ticket is delivered to.
2590
- attr_accessor :phone
2591
-
2592
- def initialize(email: nil, name: nil, phone: nil)
2593
- @email = email
2594
- @name = name
2595
- @phone = phone
2596
- end
2597
- end
2598
- # The delivery method for the payment
2599
- attr_accessor :mode
2600
- # Details of the recipient.
2601
- attr_accessor :recipient
2602
-
2603
- def initialize(mode: nil, recipient: nil)
2604
- @mode = mode
2605
- @recipient = recipient
2606
- end
2607
- end
2608
-
2609
- class Passenger < Stripe::RequestParams
2610
- # Full name of the person or entity on the flight reservation.
2611
- attr_accessor :name
2612
-
2613
- def initialize(name: nil)
2614
- @name = name
2615
- end
2616
- end
2617
-
2618
- class Segment < Stripe::RequestParams
2619
- # The flight segment amount.
2620
- attr_accessor :amount
2621
- # The International Air Transport Association (IATA) airport code for the arrival airport.
2622
- attr_accessor :arrival_airport
2623
- # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
2624
- attr_accessor :arrives_at
2625
- # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
2626
- attr_accessor :carrier
2627
- # The departure time for the flight segment. Measured in seconds since the Unix epoch.
2628
- attr_accessor :departs_at
2629
- # The International Air Transport Association (IATA) airport code for the departure airport.
2630
- attr_accessor :departure_airport
2631
- # The flight number associated with the segment
2632
- attr_accessor :flight_number
2633
- # The fare class for the segment.
2634
- attr_accessor :service_class
2635
-
2636
- def initialize(
2637
- amount: nil,
2638
- arrival_airport: nil,
2639
- arrives_at: nil,
2640
- carrier: nil,
2641
- departs_at: nil,
2642
- departure_airport: nil,
2643
- flight_number: nil,
2644
- service_class: nil
2645
- )
2646
- @amount = amount
2647
- @arrival_airport = arrival_airport
2648
- @arrives_at = arrives_at
2649
- @carrier = carrier
2650
- @departs_at = departs_at
2651
- @departure_airport = departure_airport
2652
- @flight_number = flight_number
2653
- @service_class = service_class
2654
- end
2655
- end
2656
- # Affiliate details for this purchase.
2657
- attr_accessor :affiliate
2658
- # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2659
- attr_accessor :agency_number
2660
- # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2661
- attr_accessor :carrier
2662
- # Delivery details for this purchase.
2663
- attr_accessor :delivery
2664
- # The name of the person or entity on the reservation.
2665
- attr_accessor :passenger_name
2666
- # The details of the passengers in the travel reservation.
2667
- attr_accessor :passengers
2668
- # The individual flight segments associated with the trip.
2669
- attr_accessor :segments
2670
- # The ticket number associated with the travel reservation.
2671
- attr_accessor :ticket_number
2672
-
2673
- def initialize(
2674
- affiliate: nil,
2675
- agency_number: nil,
2676
- carrier: nil,
2677
- delivery: nil,
2678
- passenger_name: nil,
2679
- passengers: nil,
2680
- segments: nil,
2681
- ticket_number: nil
2682
- )
2683
- @affiliate = affiliate
2684
- @agency_number = agency_number
2685
- @carrier = carrier
2686
- @delivery = delivery
2687
- @passenger_name = passenger_name
2688
- @passengers = passengers
2689
- @segments = segments
2690
- @ticket_number = ticket_number
2691
- end
2692
- end
2693
-
2694
- class Lodging < Stripe::RequestParams
2695
- class Address < Stripe::RequestParams
2696
- # City, district, suburb, town, or village.
2697
- attr_accessor :city
2698
- # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2699
- attr_accessor :country
2700
- # Address line 1 (e.g., street, PO Box, or company name).
2701
- attr_accessor :line1
2702
- # Address line 2 (e.g., apartment, suite, unit, or building).
2703
- attr_accessor :line2
2704
- # ZIP or postal code.
2705
- attr_accessor :postal_code
2706
- # State, county, province, or region.
2707
- attr_accessor :state
2708
-
2709
- def initialize(
2710
- city: nil,
2711
- country: nil,
2712
- line1: nil,
2713
- line2: nil,
2714
- postal_code: nil,
2715
- state: nil
2716
- )
2717
- @city = city
2718
- @country = country
2719
- @line1 = line1
2720
- @line2 = line2
2721
- @postal_code = postal_code
2722
- @state = state
2723
- end
2724
- end
2725
-
2726
- class Affiliate < Stripe::RequestParams
2727
- # The name of the affiliate that originated the purchase.
2728
- attr_accessor :name
2729
-
2730
- def initialize(name: nil)
2731
- @name = name
2732
- end
2733
- end
2734
-
2735
- class Delivery < Stripe::RequestParams
2736
- class Recipient < Stripe::RequestParams
2737
- # The email of the recipient the ticket is delivered to.
2738
- attr_accessor :email
2739
- # The name of the recipient the ticket is delivered to.
2740
- attr_accessor :name
2741
- # The phone number of the recipient the ticket is delivered to.
2742
- attr_accessor :phone
2743
-
2744
- def initialize(email: nil, name: nil, phone: nil)
2745
- @email = email
2746
- @name = name
2747
- @phone = phone
2748
- end
2749
- end
2750
- # The delivery method for the payment
2751
- attr_accessor :mode
2752
- # Details of the recipient.
2753
- attr_accessor :recipient
2754
-
2755
- def initialize(mode: nil, recipient: nil)
2756
- @mode = mode
2757
- @recipient = recipient
2758
- end
2759
- end
2760
-
2761
- class Passenger < Stripe::RequestParams
2762
- # Full name of the person or entity on the lodging reservation.
2763
- attr_accessor :name
2764
-
2765
- def initialize(name: nil)
2766
- @name = name
2767
- end
2768
- end
2769
- # The lodging location's address.
2770
- attr_accessor :address
2771
- # The number of adults on the booking
2772
- attr_accessor :adults
2773
- # Affiliate details for this purchase.
2774
- attr_accessor :affiliate
2775
- # The booking number associated with the lodging reservation.
2776
- attr_accessor :booking_number
2777
- # The lodging category
2778
- attr_accessor :category
2779
- # Loding check-in time. Measured in seconds since the Unix epoch.
2780
- attr_accessor :checkin_at
2781
- # Lodging check-out time. Measured in seconds since the Unix epoch.
2782
- attr_accessor :checkout_at
2783
- # The customer service phone number of the lodging company.
2784
- attr_accessor :customer_service_phone_number
2785
- # The daily lodging room rate.
2786
- attr_accessor :daily_room_rate_amount
2787
- # Delivery details for this purchase.
2788
- attr_accessor :delivery
2789
- # List of additional charges being billed.
2790
- attr_accessor :extra_charges
2791
- # Indicates whether the lodging location is compliant with the Fire Safety Act.
2792
- attr_accessor :fire_safety_act_compliance
2793
- # The name of the lodging location.
2794
- attr_accessor :name
2795
- # Indicates if the customer did not keep their booking while failing to cancel the reservation.
2796
- attr_accessor :no_show
2797
- # The number of rooms on the booking
2798
- attr_accessor :number_of_rooms
2799
- # The details of the passengers in the travel reservation
2800
- attr_accessor :passengers
2801
- # The phone number of the lodging location.
2802
- attr_accessor :property_phone_number
2803
- # The room class for this purchase.
2804
- attr_accessor :room_class
2805
- # The number of room nights
2806
- attr_accessor :room_nights
2807
- # The total tax amount associating with the room reservation.
2808
- attr_accessor :total_room_tax_amount
2809
- # The total tax amount
2810
- attr_accessor :total_tax_amount
2811
-
2812
- def initialize(
2813
- address: nil,
2814
- adults: nil,
2815
- affiliate: nil,
2816
- booking_number: nil,
2817
- category: nil,
2818
- checkin_at: nil,
2819
- checkout_at: nil,
2820
- customer_service_phone_number: nil,
2821
- daily_room_rate_amount: nil,
2822
- delivery: nil,
2823
- extra_charges: nil,
2824
- fire_safety_act_compliance: nil,
2825
- name: nil,
2826
- no_show: nil,
2827
- number_of_rooms: nil,
2828
- passengers: nil,
2829
- property_phone_number: nil,
2830
- room_class: nil,
2831
- room_nights: nil,
2832
- total_room_tax_amount: nil,
2833
- total_tax_amount: nil
2834
- )
2835
- @address = address
2836
- @adults = adults
2837
- @affiliate = affiliate
2838
- @booking_number = booking_number
2839
- @category = category
2840
- @checkin_at = checkin_at
2841
- @checkout_at = checkout_at
2842
- @customer_service_phone_number = customer_service_phone_number
2843
- @daily_room_rate_amount = daily_room_rate_amount
2844
- @delivery = delivery
2845
- @extra_charges = extra_charges
2846
- @fire_safety_act_compliance = fire_safety_act_compliance
2847
- @name = name
2848
- @no_show = no_show
2849
- @number_of_rooms = number_of_rooms
2850
- @passengers = passengers
2851
- @property_phone_number = property_phone_number
2852
- @room_class = room_class
2853
- @room_nights = room_nights
2854
- @total_room_tax_amount = total_room_tax_amount
2855
- @total_tax_amount = total_tax_amount
2856
- end
2857
- end
2858
-
2859
- class Subscription < Stripe::RequestParams
2860
- class Affiliate < Stripe::RequestParams
2861
- # The name of the affiliate that originated the purchase.
2862
- attr_accessor :name
2863
-
2864
- def initialize(name: nil)
2865
- @name = name
2866
- end
2867
- end
2868
-
2869
- class BillingInterval < Stripe::RequestParams
2870
- # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2871
- attr_accessor :count
2872
- # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2873
- attr_accessor :interval
2874
-
2875
- def initialize(count: nil, interval: nil)
2876
- @count = count
2877
- @interval = interval
2878
- end
2879
- end
2880
- # Affiliate details for this purchase.
2881
- attr_accessor :affiliate
2882
- # Info whether the subscription will be auto renewed upon expiry.
2883
- attr_accessor :auto_renewal
2884
- # Subscription billing details for this purchase.
2885
- attr_accessor :billing_interval
2886
- # Subscription end time. Measured in seconds since the Unix epoch.
2887
- attr_accessor :ends_at
2888
- # Name of the product on subscription. e.g. Apple Music Subscription
2889
- attr_accessor :name
2890
- # Subscription start time. Measured in seconds since the Unix epoch.
2891
- attr_accessor :starts_at
2892
-
2893
- def initialize(
2894
- affiliate: nil,
2895
- auto_renewal: nil,
2896
- billing_interval: nil,
2897
- ends_at: nil,
2898
- name: nil,
2899
- starts_at: nil
2900
- )
2901
- @affiliate = affiliate
2902
- @auto_renewal = auto_renewal
2903
- @billing_interval = billing_interval
2904
- @ends_at = ends_at
2905
- @name = name
2906
- @starts_at = starts_at
2907
- end
2908
- end
2909
- # Car rental details for this PaymentIntent.
2910
- attr_accessor :car_rental
2911
- # Event details for this PaymentIntent
2912
- attr_accessor :event_details
2913
- # Flight reservation details for this PaymentIntent
2914
- attr_accessor :flight
2915
- # Lodging reservation details for this PaymentIntent
2916
- attr_accessor :lodging
2917
- # Subscription details for this PaymentIntent
2918
- attr_accessor :subscription
2919
-
2920
- def initialize(
2921
- car_rental: nil,
2922
- event_details: nil,
2923
- flight: nil,
2924
- lodging: nil,
2925
- subscription: nil
2926
- )
2927
- @car_rental = car_rental
2928
- @event_details = event_details
2929
- @flight = flight
2930
- @lodging = lodging
2931
- @subscription = subscription
2932
- end
2933
- end
2934
-
2935
1485
  class TransferData < Stripe::RequestParams
2936
1486
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2937
1487
  attr_accessor :amount
@@ -2948,8 +1498,6 @@ module Stripe
2948
1498
  attr_accessor :application_fee_amount
2949
1499
  # Specifies which fields in the response should be expanded.
2950
1500
  attr_accessor :expand
2951
- # Provides industry-specific information about the charge.
2952
- attr_accessor :payment_details
2953
1501
  # 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.
2954
1502
  attr_accessor :receipt_email
2955
1503
  # 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).
@@ -2968,7 +1516,6 @@ module Stripe
2968
1516
  application_fee: nil,
2969
1517
  application_fee_amount: nil,
2970
1518
  expand: nil,
2971
- payment_details: nil,
2972
1519
  receipt_email: nil,
2973
1520
  statement_descriptor: nil,
2974
1521
  statement_descriptor_suffix: nil,
@@ -2979,7 +1526,6 @@ module Stripe
2979
1526
  @application_fee = application_fee
2980
1527
  @application_fee_amount = application_fee_amount
2981
1528
  @expand = expand
2982
- @payment_details = payment_details
2983
1529
  @receipt_email = receipt_email
2984
1530
  @statement_descriptor = statement_descriptor
2985
1531
  @statement_descriptor_suffix = statement_descriptor_suffix