stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/resources/account.rb +23 -745
  6. data/lib/stripe/resources/account_link.rb +0 -10
  7. data/lib/stripe/resources/account_notice.rb +0 -22
  8. data/lib/stripe/resources/account_session.rb +0 -125
  9. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  10. data/lib/stripe/resources/application.rb +0 -3
  11. data/lib/stripe/resources/application_fee.rb +0 -24
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  13. data/lib/stripe/resources/apps/secret.rb +0 -25
  14. data/lib/stripe/resources/balance.rb +0 -31
  15. data/lib/stripe/resources/balance_transaction.rb +0 -29
  16. data/lib/stripe/resources/bank_account.rb +0 -29
  17. data/lib/stripe/resources/billing/alert.rb +0 -22
  18. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  19. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  20. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  21. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  22. data/lib/stripe/resources/billing/meter.rb +0 -25
  23. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  29. data/lib/stripe/resources/capability.rb +2 -29
  30. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  31. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  32. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  33. data/lib/stripe/resources/card.rb +2 -34
  34. data/lib/stripe/resources/cash_balance.rb +0 -5
  35. data/lib/stripe/resources/charge.rb +4 -665
  36. data/lib/stripe/resources/checkout/session.rb +4 -512
  37. data/lib/stripe/resources/climate/order.rb +0 -40
  38. data/lib/stripe/resources/climate/product.rb +0 -13
  39. data/lib/stripe/resources/climate/supplier.rb +0 -13
  40. data/lib/stripe/resources/confirmation_token.rb +2 -337
  41. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  42. data/lib/stripe/resources/country_spec.rb +0 -13
  43. data/lib/stripe/resources/coupon.rb +0 -39
  44. data/lib/stripe/resources/credit_note.rb +0 -138
  45. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  46. data/lib/stripe/resources/customer.rb +1 -156
  47. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  48. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  49. data/lib/stripe/resources/customer_session.rb +0 -24
  50. data/lib/stripe/resources/discount.rb +0 -12
  51. data/lib/stripe/resources/dispute.rb +4 -152
  52. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  53. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  54. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  55. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  56. data/lib/stripe/resources/event.rb +0 -27
  57. data/lib/stripe/resources/exchange_rate.rb +0 -5
  58. data/lib/stripe/resources/file.rb +0 -23
  59. data/lib/stripe/resources/file_link.rb +0 -22
  60. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  61. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  62. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  63. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  64. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  65. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  66. data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
  67. data/lib/stripe/resources/forwarding/request.rb +0 -31
  68. data/lib/stripe/resources/funding_instructions.rb +0 -107
  69. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  70. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  71. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  72. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  73. data/lib/stripe/resources/invoice.rb +6 -1276
  74. data/lib/stripe/resources/invoice_item.rb +0 -91
  75. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  76. data/lib/stripe/resources/invoice_payment.rb +0 -16
  77. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  78. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  79. data/lib/stripe/resources/issuing/card.rb +0 -128
  80. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  81. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  82. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  83. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  84. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  85. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  86. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  87. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  88. data/lib/stripe/resources/issuing/token.rb +0 -46
  89. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  90. data/lib/stripe/resources/line_item.rb +0 -23
  91. data/lib/stripe/resources/login_link.rb +0 -2
  92. data/lib/stripe/resources/mandate.rb +0 -45
  93. data/lib/stripe/resources/margin.rb +0 -19
  94. data/lib/stripe/resources/order.rb +3 -391
  95. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  96. data/lib/stripe/resources/payment_intent.rb +2 -1768
  97. data/lib/stripe/resources/payment_link.rb +15 -213
  98. data/lib/stripe/resources/payment_method.rb +2 -345
  99. data/lib/stripe/resources/payment_method_configuration.rb +0 -293
  100. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  101. data/lib/stripe/resources/payment_record.rb +0 -109
  102. data/lib/stripe/resources/payout.rb +0 -49
  103. data/lib/stripe/resources/person.rb +2 -92
  104. data/lib/stripe/resources/plan.rb +0 -69
  105. data/lib/stripe/resources/price.rb +0 -133
  106. data/lib/stripe/resources/product.rb +0 -100
  107. data/lib/stripe/resources/product_feature.rb +0 -4
  108. data/lib/stripe/resources/promotion_code.rb +0 -40
  109. data/lib/stripe/resources/quote.rb +0 -458
  110. data/lib/stripe/resources/quote_line.rb +0 -66
  111. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  112. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  113. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  114. data/lib/stripe/resources/radar/value_list.rb +0 -26
  115. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  116. data/lib/stripe/resources/refund.rb +0 -92
  117. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  118. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  119. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  120. data/lib/stripe/resources/reversal.rb +0 -9
  121. data/lib/stripe/resources/review.rb +0 -27
  122. data/lib/stripe/resources/setup_attempt.rb +2 -103
  123. data/lib/stripe/resources/setup_intent.rb +2 -539
  124. data/lib/stripe/resources/shipping_rate.rb +0 -44
  125. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  126. data/lib/stripe/resources/source.rb +6 -338
  127. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  128. data/lib/stripe/resources/source_transaction.rb +0 -29
  129. data/lib/stripe/resources/subscription.rb +0 -338
  130. data/lib/stripe/resources/subscription_item.rb +0 -69
  131. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  132. data/lib/stripe/resources/tax/association.rb +0 -11
  133. data/lib/stripe/resources/tax/calculation.rb +2 -89
  134. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  135. data/lib/stripe/resources/tax/form.rb +2 -35
  136. data/lib/stripe/resources/tax/registration.rb +421 -213
  137. data/lib/stripe/resources/tax/settings.rb +0 -20
  138. data/lib/stripe/resources/tax/transaction.rb +1 -66
  139. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  140. data/lib/stripe/resources/tax_code.rb +0 -6
  141. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  142. data/lib/stripe/resources/tax_id.rb +2 -28
  143. data/lib/stripe/resources/tax_rate.rb +0 -45
  144. data/lib/stripe/resources/terminal/configuration.rb +0 -164
  145. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  146. data/lib/stripe/resources/terminal/location.rb +0 -33
  147. data/lib/stripe/resources/terminal/reader.rb +0 -129
  148. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  149. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  150. data/lib/stripe/resources/token.rb +4 -192
  151. data/lib/stripe/resources/topup.rb +0 -36
  152. data/lib/stripe/resources/transfer.rb +0 -35
  153. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  154. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  155. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  156. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  157. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  158. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  159. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  160. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  161. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  162. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  163. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  164. data/lib/stripe/resources/usage_record.rb +0 -5
  165. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  166. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  167. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  168. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  169. data/lib/stripe/resources/v2/event.rb +0 -8
  170. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  171. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  172. data/lib/stripe/services/account_capability_service.rb +0 -1
  173. data/lib/stripe/services/account_external_account_service.rb +0 -43
  174. data/lib/stripe/services/account_link_service.rb +0 -7
  175. data/lib/stripe/services/account_notice_service.rb +0 -9
  176. data/lib/stripe/services/account_person_service.rb +0 -139
  177. data/lib/stripe/services/account_service.rb +8 -519
  178. data/lib/stripe/services/account_session_service.rb +0 -76
  179. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  180. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  181. data/lib/stripe/services/application_fee_service.rb +0 -8
  182. data/lib/stripe/services/apps/secret_service.rb +0 -16
  183. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  184. data/lib/stripe/services/billing/alert_service.rb +0 -12
  185. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  186. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  187. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  188. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  189. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  190. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  191. data/lib/stripe/services/billing/meter_service.rb +0 -12
  192. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
  193. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  194. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  195. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  196. data/lib/stripe/services/charge_service.rb +0 -274
  197. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  198. data/lib/stripe/services/checkout/session_service.rb +2 -273
  199. data/lib/stripe/services/climate/order_service.rb +0 -11
  200. data/lib/stripe/services/climate/product_service.rb +0 -3
  201. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  202. data/lib/stripe/services/country_spec_service.rb +0 -3
  203. data/lib/stripe/services/coupon_service.rb +0 -22
  204. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  205. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  206. data/lib/stripe/services/credit_note_service.rb +0 -61
  207. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  208. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  209. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  210. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  211. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  212. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  213. data/lib/stripe/services/customer_service.rb +1 -92
  214. data/lib/stripe/services/customer_session_service.rb +0 -10
  215. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  216. data/lib/stripe/services/dispute_service.rb +2 -67
  217. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  218. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  219. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  220. data/lib/stripe/services/event_service.rb +0 -10
  221. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  222. data/lib/stripe/services/file_link_service.rb +0 -14
  223. data/lib/stripe/services/file_service.rb +0 -13
  224. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  225. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  226. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  227. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  228. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  229. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
  230. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  231. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  232. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  233. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  234. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  235. data/lib/stripe/services/invoice_item_service.rb +0 -66
  236. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  237. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  238. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  239. data/lib/stripe/services/invoice_service.rb +2 -810
  240. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  241. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  242. data/lib/stripe/services/issuing/card_service.rb +0 -70
  243. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  244. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  245. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  246. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  247. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  248. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  249. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  250. data/lib/stripe/services/issuing/token_service.rb +0 -10
  251. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  252. data/lib/stripe/services/margin_service.rb +0 -11
  253. data/lib/stripe/services/order_line_item_service.rb +0 -3
  254. data/lib/stripe/services/order_service.rb +2 -266
  255. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  256. data/lib/stripe/services/payment_intent_service.rb +0 -1309
  257. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  258. data/lib/stripe/services/payment_link_service.rb +15 -135
  259. data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
  260. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  261. data/lib/stripe/services/payment_method_service.rb +0 -113
  262. data/lib/stripe/services/payment_record_service.rb +0 -68
  263. data/lib/stripe/services/payout_service.rb +0 -23
  264. data/lib/stripe/services/plan_service.rb +0 -43
  265. data/lib/stripe/services/price_service.rb +0 -87
  266. data/lib/stripe/services/product_feature_service.rb +0 -4
  267. data/lib/stripe/services/product_service.rb +0 -74
  268. data/lib/stripe/services/promotion_code_service.rb +0 -25
  269. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  270. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  271. data/lib/stripe/services/quote_line_service.rb +0 -3
  272. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  273. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  274. data/lib/stripe/services/quote_service.rb +0 -309
  275. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  276. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  277. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  278. data/lib/stripe/services/refund_service.rb +0 -21
  279. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  280. data/lib/stripe/services/review_service.rb +0 -7
  281. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  282. data/lib/stripe/services/setup_intent_service.rb +0 -447
  283. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  284. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  285. data/lib/stripe/services/source_service.rb +0 -92
  286. data/lib/stripe/services/source_transaction_service.rb +0 -3
  287. data/lib/stripe/services/subscription_item_service.rb +0 -56
  288. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  289. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  290. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  291. data/lib/stripe/services/subscription_service.rb +0 -245
  292. data/lib/stripe/services/tax/association_service.rb +0 -1
  293. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  294. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  295. data/lib/stripe/services/tax/form_service.rb +0 -7
  296. data/lib/stripe/services/tax/registration_service.rb +274 -108
  297. data/lib/stripe/services/tax/settings_service.rb +0 -8
  298. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  299. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  300. data/lib/stripe/services/tax_code_service.rb +0 -3
  301. data/lib/stripe/services/tax_id_service.rb +1 -12
  302. data/lib/stripe/services/tax_rate_service.rb +0 -27
  303. data/lib/stripe/services/terminal/configuration_service.rb +0 -108
  304. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  305. data/lib/stripe/services/terminal/location_service.rb +0 -21
  306. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  307. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
  308. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  309. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  310. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  311. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  312. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  313. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  314. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  315. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  316. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  317. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  318. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  319. data/lib/stripe/services/token_service.rb +4 -184
  320. data/lib/stripe/services/topup_service.rb +0 -21
  321. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  322. data/lib/stripe/services/transfer_service.rb +0 -19
  323. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  324. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  325. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  326. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  327. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  328. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  329. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  330. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  331. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  332. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  333. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  334. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  335. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  336. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  337. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  338. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  339. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  340. data/lib/stripe/stripe_client.rb +1 -1
  341. data/lib/stripe/stripe_object.rb +3 -3
  342. data/lib/stripe/util.rb +1 -1
  343. data/lib/stripe/version.rb +1 -1
  344. data/rbi/stripe/resources/account.rbi +29 -1001
  345. data/rbi/stripe/resources/account_link.rbi +0 -13
  346. data/rbi/stripe/resources/account_notice.rbi +0 -27
  347. data/rbi/stripe/resources/account_session.rbi +0 -166
  348. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  349. data/rbi/stripe/resources/application.rbi +0 -3
  350. data/rbi/stripe/resources/application_fee.rbi +0 -28
  351. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  352. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  353. data/rbi/stripe/resources/balance.rbi +0 -33
  354. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  355. data/rbi/stripe/resources/bank_account.rbi +0 -29
  356. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  357. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  358. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  359. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  360. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  361. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  362. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  363. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  364. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  365. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  366. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
  367. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  368. data/rbi/stripe/resources/capability.rbi +2 -29
  369. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  370. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  371. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  372. data/rbi/stripe/resources/card.rbi +3 -34
  373. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  374. data/rbi/stripe/resources/charge.rbi +6 -738
  375. data/rbi/stripe/resources/checkout/session.rbi +4 -636
  376. data/rbi/stripe/resources/climate/order.rbi +0 -48
  377. data/rbi/stripe/resources/climate/product.rbi +0 -16
  378. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  379. data/rbi/stripe/resources/confirmation_token.rbi +3 -364
  380. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  381. data/rbi/stripe/resources/country_spec.rbi +0 -16
  382. data/rbi/stripe/resources/coupon.rbi +0 -48
  383. data/rbi/stripe/resources/credit_note.rbi +0 -159
  384. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  385. data/rbi/stripe/resources/customer.rbi +1 -188
  386. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  387. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  388. data/rbi/stripe/resources/customer_session.rbi +0 -31
  389. data/rbi/stripe/resources/discount.rbi +0 -12
  390. data/rbi/stripe/resources/dispute.rbi +4 -166
  391. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  392. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  393. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  394. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  395. data/rbi/stripe/resources/event.rbi +0 -31
  396. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  397. data/rbi/stripe/resources/file.rbi +0 -29
  398. data/rbi/stripe/resources/file_link.rbi +0 -28
  399. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  400. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  401. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  402. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  403. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  404. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  405. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
  406. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  407. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  408. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  409. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  410. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  411. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  412. data/rbi/stripe/resources/invoice.rbi +7 -1663
  413. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  414. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  415. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  416. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  417. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  418. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  419. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  420. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  421. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  422. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  423. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  424. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  425. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  426. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  427. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  428. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  429. data/rbi/stripe/resources/line_item.rbi +0 -23
  430. data/rbi/stripe/resources/login_link.rbi +0 -2
  431. data/rbi/stripe/resources/mandate.rbi +0 -47
  432. data/rbi/stripe/resources/margin.rbi +0 -24
  433. data/rbi/stripe/resources/order.rbi +3 -492
  434. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  435. data/rbi/stripe/resources/payment_intent.rbi +3 -2224
  436. data/rbi/stripe/resources/payment_link.rbi +14 -291
  437. data/rbi/stripe/resources/payment_method.rbi +3 -382
  438. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
  439. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  440. data/rbi/stripe/resources/payment_record.rbi +0 -134
  441. data/rbi/stripe/resources/payout.rbi +0 -58
  442. data/rbi/stripe/resources/person.rbi +2 -92
  443. data/rbi/stripe/resources/plan.rbi +0 -78
  444. data/rbi/stripe/resources/price.rbi +0 -153
  445. data/rbi/stripe/resources/product.rbi +0 -120
  446. data/rbi/stripe/resources/product_feature.rbi +0 -4
  447. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  448. data/rbi/stripe/resources/quote.rbi +0 -593
  449. data/rbi/stripe/resources/quote_line.rbi +0 -66
  450. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  451. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  452. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  453. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  454. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  455. data/rbi/stripe/resources/refund.rbi +0 -100
  456. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  457. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  458. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  459. data/rbi/stripe/resources/reversal.rbi +0 -9
  460. data/rbi/stripe/resources/review.rbi +0 -32
  461. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  462. data/rbi/stripe/resources/setup_intent.rbi +3 -688
  463. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  464. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  465. data/rbi/stripe/resources/source.rbi +9 -365
  466. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  467. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  468. data/rbi/stripe/resources/subscription.rbi +0 -431
  469. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  470. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  471. data/rbi/stripe/resources/tax/association.rbi +0 -13
  472. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  473. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  474. data/rbi/stripe/resources/tax/form.rbi +2 -40
  475. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  476. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  477. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  478. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  479. data/rbi/stripe/resources/tax_code.rbi +0 -9
  480. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  481. data/rbi/stripe/resources/tax_id.rbi +2 -34
  482. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  483. data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
  484. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  485. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  486. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  487. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  488. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  489. data/rbi/stripe/resources/token.rbi +5 -235
  490. data/rbi/stripe/resources/topup.rbi +0 -44
  491. data/rbi/stripe/resources/transfer.rbi +0 -41
  492. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  493. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  494. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  495. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  496. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  497. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  498. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  499. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  500. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  501. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  502. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  503. data/rbi/stripe/resources/usage_record.rbi +0 -5
  504. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  505. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  506. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  507. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  508. data/rbi/stripe/resources/v2/event.rbi +0 -8
  509. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  510. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  511. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  512. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  513. data/rbi/stripe/services/account_link_service.rbi +0 -9
  514. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  515. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  516. data/rbi/stripe/services/account_person_service.rbi +0 -174
  517. data/rbi/stripe/services/account_service.rbi +10 -773
  518. data/rbi/stripe/services/account_session_service.rbi +0 -116
  519. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  520. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  521. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  522. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  523. data/rbi/stripe/services/balance_service.rbi +0 -1
  524. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  525. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  526. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  527. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  528. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  529. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  530. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  531. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  532. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  533. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
  534. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  535. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  536. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  537. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  538. data/rbi/stripe/services/charge_service.rbi +0 -346
  539. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  540. data/rbi/stripe/services/checkout/session_service.rbi +2 -395
  541. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  542. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  543. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  544. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  545. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  546. data/rbi/stripe/services/coupon_service.rbi +0 -30
  547. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  548. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  549. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  550. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  551. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  552. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  553. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  554. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  555. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  556. data/rbi/stripe/services/customer_service.rbi +1 -117
  557. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  558. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  559. data/rbi/stripe/services/dispute_service.rbi +2 -80
  560. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  561. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  562. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  563. data/rbi/stripe/services/event_service.rbi +0 -13
  564. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  565. data/rbi/stripe/services/file_link_service.rbi +0 -19
  566. data/rbi/stripe/services/file_service.rbi +0 -18
  567. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  568. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  569. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  570. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  571. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  572. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
  573. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  574. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  575. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  576. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  577. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  578. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  579. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  580. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  581. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  582. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  583. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  584. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  585. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  586. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  587. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  588. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  589. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  590. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  591. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  592. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  593. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  594. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  595. data/rbi/stripe/services/mandate_service.rbi +0 -1
  596. data/rbi/stripe/services/margin_service.rbi +0 -15
  597. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  598. data/rbi/stripe/services/order_service.rbi +2 -365
  599. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  600. data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
  601. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  602. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  603. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
  604. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  605. data/rbi/stripe/services/payment_method_service.rbi +0 -149
  606. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  607. data/rbi/stripe/services/payout_service.rbi +0 -31
  608. data/rbi/stripe/services/plan_service.rbi +0 -51
  609. data/rbi/stripe/services/price_service.rbi +0 -106
  610. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  611. data/rbi/stripe/services/product_service.rbi +0 -93
  612. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  613. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  614. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  615. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  616. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  617. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  618. data/rbi/stripe/services/quote_service.rbi +0 -440
  619. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  620. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  621. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  622. data/rbi/stripe/services/refund_service.rbi +0 -27
  623. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  624. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  625. data/rbi/stripe/services/review_service.rbi +0 -11
  626. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  627. data/rbi/stripe/services/setup_intent_service.rbi +0 -595
  628. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  629. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  630. data/rbi/stripe/services/source_service.rbi +0 -119
  631. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  632. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  633. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  634. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  635. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  636. data/rbi/stripe/services/subscription_service.rbi +0 -337
  637. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  638. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  639. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  640. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  641. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  642. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  643. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  644. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  645. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  646. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  647. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  648. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
  649. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  650. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  651. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  652. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  653. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
  654. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  655. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  656. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  657. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  658. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  659. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  660. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  661. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  662. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  663. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  664. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  665. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  666. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  667. data/rbi/stripe/services/token_service.rbi +5 -226
  668. data/rbi/stripe/services/topup_service.rbi +0 -28
  669. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  670. data/rbi/stripe/services/transfer_service.rbi +0 -24
  671. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  672. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  673. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  674. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  675. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  676. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  677. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  678. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  679. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  680. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  681. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  682. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  683. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  684. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  685. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  686. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  687. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  688. metadata +2 -2
@@ -9,54 +9,42 @@ module Stripe
9
9
  # Minimum value to filter by (exclusive)
10
10
  sig { returns(Integer) }
11
11
  attr_accessor :gt
12
-
13
12
  # Minimum value to filter by (inclusive)
14
13
  sig { returns(Integer) }
15
14
  attr_accessor :gte
16
-
17
15
  # Maximum value to filter by (exclusive)
18
16
  sig { returns(Integer) }
19
17
  attr_accessor :lt
20
-
21
18
  # Maximum value to filter by (inclusive)
22
19
  sig { returns(Integer) }
23
20
  attr_accessor :lte
24
-
25
21
  sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
26
22
  def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
27
23
  end
28
24
  # Only return charges that were created during the given date interval.
29
25
  sig { returns(T.any(::Stripe::ChargeService::ListParams::Created, Integer)) }
30
26
  attr_accessor :created
31
-
32
27
  # Only return charges for the customer specified by this customer ID.
33
28
  sig { returns(String) }
34
29
  attr_accessor :customer
35
-
36
30
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
37
31
  sig { returns(String) }
38
32
  attr_accessor :ending_before
39
-
40
33
  # Specifies which fields in the response should be expanded.
41
34
  sig { returns(T::Array[String]) }
42
35
  attr_accessor :expand
43
-
44
36
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
45
37
  sig { returns(Integer) }
46
38
  attr_accessor :limit
47
-
48
39
  # Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
49
40
  sig { returns(String) }
50
41
  attr_accessor :payment_intent
51
-
52
42
  # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
53
43
  sig { returns(String) }
54
44
  attr_accessor :starting_after
55
-
56
45
  # Only return charges for this transfer group, limited to 100.
57
46
  sig { returns(String) }
58
47
  attr_accessor :transfer_group
59
-
60
48
  sig {
61
49
  params(created: T.any(::Stripe::ChargeService::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_intent: String, starting_after: String, transfer_group: String).void
62
50
  }
@@ -76,11 +64,9 @@ module Stripe
76
64
  # ID of an existing, connected Stripe account.
77
65
  sig { returns(String) }
78
66
  attr_accessor :account
79
-
80
67
  # The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.
81
68
  sig { returns(Integer) }
82
69
  attr_accessor :amount
83
-
84
70
  sig { params(account: String, amount: Integer).void }
85
71
  def initialize(account: nil, amount: nil); end
86
72
  end
@@ -88,7 +74,6 @@ module Stripe
88
74
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
89
75
  sig { returns(String) }
90
76
  attr_accessor :session
91
-
92
77
  sig { params(session: String).void }
93
78
  def initialize(session: nil); end
94
79
  end
@@ -97,27 +82,21 @@ module Stripe
97
82
  # City, district, suburb, town, or village.
98
83
  sig { returns(String) }
99
84
  attr_accessor :city
100
-
101
85
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
102
86
  sig { returns(String) }
103
87
  attr_accessor :country
104
-
105
88
  # Address line 1 (e.g., street, PO Box, or company name).
106
89
  sig { returns(String) }
107
90
  attr_accessor :line1
108
-
109
91
  # Address line 2 (e.g., apartment, suite, unit, or building).
110
92
  sig { returns(String) }
111
93
  attr_accessor :line2
112
-
113
94
  # ZIP or postal code.
114
95
  sig { returns(String) }
115
96
  attr_accessor :postal_code
116
-
117
97
  # State, county, province, or region.
118
98
  sig { returns(String) }
119
99
  attr_accessor :state
120
-
121
100
  sig {
122
101
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
123
102
  }
@@ -133,23 +112,18 @@ module Stripe
133
112
  # Shipping address.
134
113
  sig { returns(::Stripe::ChargeService::CreateParams::Shipping::Address) }
135
114
  attr_accessor :address
136
-
137
115
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
138
116
  sig { returns(String) }
139
117
  attr_accessor :carrier
140
-
141
118
  # Recipient name.
142
119
  sig { returns(String) }
143
120
  attr_accessor :name
144
-
145
121
  # Recipient phone (including extension).
146
122
  sig { returns(String) }
147
123
  attr_accessor :phone
148
-
149
124
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
150
125
  sig { returns(String) }
151
126
  attr_accessor :tracking_number
152
-
153
127
  sig {
154
128
  params(address: ::Stripe::ChargeService::CreateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
155
129
  }
@@ -159,92 +133,71 @@ module Stripe
159
133
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
160
134
  sig { returns(Integer) }
161
135
  attr_accessor :amount
162
-
163
136
  # ID of an existing, connected Stripe account.
164
137
  sig { returns(String) }
165
138
  attr_accessor :destination
166
-
167
139
  sig { params(amount: Integer, destination: String).void }
168
140
  def initialize(amount: nil, destination: nil); end
169
141
  end
170
142
  # Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
171
143
  sig { returns(Integer) }
172
144
  attr_accessor :amount
173
-
174
145
  # Attribute for param field application_fee
175
146
  sig { returns(Integer) }
176
147
  attr_accessor :application_fee
177
-
178
148
  # A fee in cents (or local equivalent) that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collect-fees).
179
149
  sig { returns(Integer) }
180
150
  attr_accessor :application_fee_amount
181
-
182
151
  # Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation.
183
152
  sig { returns(T::Boolean) }
184
153
  attr_accessor :capture
185
-
186
154
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
187
155
  sig { returns(String) }
188
156
  attr_accessor :currency
189
-
190
157
  # The ID of an existing customer that will be charged in this request.
191
158
  sig { returns(String) }
192
159
  attr_accessor :customer
193
-
194
160
  # An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
195
161
  sig { returns(String) }
196
162
  attr_accessor :description
197
-
198
163
  # Attribute for param field destination
199
164
  sig { returns(::Stripe::ChargeService::CreateParams::Destination) }
200
165
  attr_accessor :destination
201
-
202
166
  # Specifies which fields in the response should be expanded.
203
167
  sig { returns(T::Array[String]) }
204
168
  attr_accessor :expand
205
-
206
169
  # 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`.
207
170
  sig { returns(T.nilable(T::Hash[String, String])) }
208
171
  attr_accessor :metadata
209
-
210
172
  # The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant).
211
173
  sig { returns(String) }
212
174
  attr_accessor :on_behalf_of
213
-
214
175
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
215
176
  sig { returns(::Stripe::ChargeService::CreateParams::RadarOptions) }
216
177
  attr_accessor :radar_options
217
-
218
178
  # The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
219
179
  sig { returns(String) }
220
180
  attr_accessor :receipt_email
221
-
222
181
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
223
182
  sig { returns(::Stripe::ChargeService::CreateParams::Shipping) }
224
183
  attr_accessor :shipping
225
-
226
184
  # A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer.
227
185
  sig { returns(String) }
228
186
  attr_accessor :source
229
-
230
187
  # 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).
231
188
  #
232
189
  # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
233
190
  sig { returns(String) }
234
191
  attr_accessor :statement_descriptor
235
-
236
192
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
237
193
  sig { returns(String) }
238
194
  attr_accessor :statement_descriptor_suffix
239
-
240
195
  # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
241
196
  sig { returns(::Stripe::ChargeService::CreateParams::TransferData) }
242
197
  attr_accessor :transfer_data
243
-
244
198
  # A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options).
245
199
  sig { returns(String) }
246
200
  attr_accessor :transfer_group
247
-
248
201
  sig {
249
202
  params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, capture: T::Boolean, currency: String, customer: String, description: String, destination: ::Stripe::ChargeService::CreateParams::Destination, expand: T::Array[String], metadata: T.nilable(T::Hash[String, String]), on_behalf_of: String, radar_options: ::Stripe::ChargeService::CreateParams::RadarOptions, receipt_email: String, shipping: ::Stripe::ChargeService::CreateParams::Shipping, source: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::ChargeService::CreateParams::TransferData, transfer_group: String).void
250
203
  }
@@ -274,7 +227,6 @@ module Stripe
274
227
  # Specifies which fields in the response should be expanded.
275
228
  sig { returns(T::Array[String]) }
276
229
  attr_accessor :expand
277
-
278
230
  sig { params(expand: T::Array[String]).void }
279
231
  def initialize(expand: nil); end
280
232
  end
@@ -283,7 +235,6 @@ module Stripe
283
235
  # Either `safe` or `fraudulent`.
284
236
  sig { returns(T.nilable(String)) }
285
237
  attr_accessor :user_report
286
-
287
238
  sig { params(user_report: T.nilable(String)).void }
288
239
  def initialize(user_report: nil); end
289
240
  end
@@ -293,7 +244,6 @@ module Stripe
293
244
  # The name of the affiliate that originated the purchase.
294
245
  sig { returns(String) }
295
246
  attr_accessor :name
296
-
297
247
  sig { params(name: String).void }
298
248
  def initialize(name: nil); end
299
249
  end
@@ -302,28 +252,23 @@ module Stripe
302
252
  # The email of the recipient the ticket is delivered to.
303
253
  sig { returns(String) }
304
254
  attr_accessor :email
305
-
306
255
  # The name of the recipient the ticket is delivered to.
307
256
  sig { returns(String) }
308
257
  attr_accessor :name
309
-
310
258
  # The phone number of the recipient the ticket is delivered to.
311
259
  sig { returns(String) }
312
260
  attr_accessor :phone
313
-
314
261
  sig { params(email: String, name: String, phone: String).void }
315
262
  def initialize(email: nil, name: nil, phone: nil); end
316
263
  end
317
264
  # The delivery method for the payment
318
265
  sig { returns(String) }
319
266
  attr_accessor :mode
320
-
321
267
  # Details of the recipient.
322
268
  sig {
323
269
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient)
324
270
  }
325
271
  attr_accessor :recipient
326
-
327
272
  sig {
328
273
  params(mode: String, recipient: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient).void
329
274
  }
@@ -333,7 +278,6 @@ module Stripe
333
278
  # Full name of the person or entity on the car reservation.
334
279
  sig { returns(String) }
335
280
  attr_accessor :name
336
-
337
281
  sig { params(name: String).void }
338
282
  def initialize(name: nil); end
339
283
  end
@@ -341,27 +285,21 @@ module Stripe
341
285
  # City, district, suburb, town, or village.
342
286
  sig { returns(String) }
343
287
  attr_accessor :city
344
-
345
288
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
346
289
  sig { returns(String) }
347
290
  attr_accessor :country
348
-
349
291
  # Address line 1 (e.g., street, PO Box, or company name).
350
292
  sig { returns(String) }
351
293
  attr_accessor :line1
352
-
353
294
  # Address line 2 (e.g., apartment, suite, unit, or building).
354
295
  sig { returns(String) }
355
296
  attr_accessor :line2
356
-
357
297
  # ZIP or postal code.
358
298
  sig { returns(String) }
359
299
  attr_accessor :postal_code
360
-
361
300
  # State, county, province, or region.
362
301
  sig { returns(String) }
363
302
  attr_accessor :state
364
-
365
303
  sig {
366
304
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
367
305
  }
@@ -378,27 +316,21 @@ module Stripe
378
316
  # City, district, suburb, town, or village.
379
317
  sig { returns(String) }
380
318
  attr_accessor :city
381
-
382
319
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
383
320
  sig { returns(String) }
384
321
  attr_accessor :country
385
-
386
322
  # Address line 1 (e.g., street, PO Box, or company name).
387
323
  sig { returns(String) }
388
324
  attr_accessor :line1
389
-
390
325
  # Address line 2 (e.g., apartment, suite, unit, or building).
391
326
  sig { returns(String) }
392
327
  attr_accessor :line2
393
-
394
328
  # ZIP or postal code.
395
329
  sig { returns(String) }
396
330
  attr_accessor :postal_code
397
-
398
331
  # State, county, province, or region.
399
332
  sig { returns(String) }
400
333
  attr_accessor :state
401
-
402
334
  sig {
403
335
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
404
336
  }
@@ -416,91 +348,71 @@ module Stripe
416
348
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Affiliate)
417
349
  }
418
350
  attr_accessor :affiliate
419
-
420
351
  # The booking number associated with the car rental.
421
352
  sig { returns(String) }
422
353
  attr_accessor :booking_number
423
-
424
354
  # Class code of the car.
425
355
  sig { returns(String) }
426
356
  attr_accessor :car_class_code
427
-
428
357
  # Make of the car.
429
358
  sig { returns(String) }
430
359
  attr_accessor :car_make
431
-
432
360
  # Model of the car.
433
361
  sig { returns(String) }
434
362
  attr_accessor :car_model
435
-
436
363
  # The name of the rental car company.
437
364
  sig { returns(String) }
438
365
  attr_accessor :company
439
-
440
366
  # The customer service phone number of the car rental company.
441
367
  sig { returns(String) }
442
368
  attr_accessor :customer_service_phone_number
443
-
444
369
  # Number of days the car is being rented.
445
370
  sig { returns(Integer) }
446
371
  attr_accessor :days_rented
447
-
448
372
  # Delivery details for this purchase.
449
373
  sig {
450
374
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery)
451
375
  }
452
376
  attr_accessor :delivery
453
-
454
377
  # The details of the passengers in the travel reservation
455
378
  sig {
456
379
  returns(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Driver])
457
380
  }
458
381
  attr_accessor :drivers
459
-
460
382
  # List of additional charges being billed.
461
383
  sig { returns(T::Array[String]) }
462
384
  attr_accessor :extra_charges
463
-
464
385
  # Indicates if the customer did not keep nor cancel their booking.
465
386
  sig { returns(T::Boolean) }
466
387
  attr_accessor :no_show
467
-
468
388
  # Car pick-up address.
469
389
  sig {
470
390
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::PickupAddress)
471
391
  }
472
392
  attr_accessor :pickup_address
473
-
474
393
  # Car pick-up time. Measured in seconds since the Unix epoch.
475
394
  sig { returns(Integer) }
476
395
  attr_accessor :pickup_at
477
-
478
396
  # Rental rate.
479
397
  sig { returns(Integer) }
480
398
  attr_accessor :rate_amount
481
-
482
399
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
483
400
  sig { returns(String) }
484
401
  attr_accessor :rate_interval
485
-
486
402
  # The name of the person or entity renting the car.
487
403
  sig { returns(String) }
488
404
  attr_accessor :renter_name
489
-
490
405
  # Car return address.
491
406
  sig {
492
407
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::ReturnAddress)
493
408
  }
494
409
  attr_accessor :return_address
495
-
496
410
  # Car return time. Measured in seconds since the Unix epoch.
497
411
  sig { returns(Integer) }
498
412
  attr_accessor :return_at
499
-
500
413
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
501
414
  sig { returns(T::Boolean) }
502
415
  attr_accessor :tax_exempt
503
-
504
416
  sig {
505
417
  params(affiliate: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Affiliate, booking_number: String, car_class_code: String, car_make: String, car_model: String, company: String, customer_service_phone_number: String, days_rented: Integer, delivery: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
506
418
  }
@@ -532,27 +444,21 @@ module Stripe
532
444
  # City, district, suburb, town, or village.
533
445
  sig { returns(String) }
534
446
  attr_accessor :city
535
-
536
447
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
537
448
  sig { returns(String) }
538
449
  attr_accessor :country
539
-
540
450
  # Address line 1 (e.g., street, PO Box, or company name).
541
451
  sig { returns(String) }
542
452
  attr_accessor :line1
543
-
544
453
  # Address line 2 (e.g., apartment, suite, unit, or building).
545
454
  sig { returns(String) }
546
455
  attr_accessor :line2
547
-
548
456
  # ZIP or postal code.
549
457
  sig { returns(String) }
550
458
  attr_accessor :postal_code
551
-
552
459
  # State, county, province, or region.
553
460
  sig { returns(String) }
554
461
  attr_accessor :state
555
-
556
462
  sig {
557
463
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
558
464
  }
@@ -569,7 +475,6 @@ module Stripe
569
475
  # The name of the affiliate that originated the purchase.
570
476
  sig { returns(String) }
571
477
  attr_accessor :name
572
-
573
478
  sig { params(name: String).void }
574
479
  def initialize(name: nil); end
575
480
  end
@@ -578,28 +483,23 @@ module Stripe
578
483
  # The email of the recipient the ticket is delivered to.
579
484
  sig { returns(String) }
580
485
  attr_accessor :email
581
-
582
486
  # The name of the recipient the ticket is delivered to.
583
487
  sig { returns(String) }
584
488
  attr_accessor :name
585
-
586
489
  # The phone number of the recipient the ticket is delivered to.
587
490
  sig { returns(String) }
588
491
  attr_accessor :phone
589
-
590
492
  sig { params(email: String, name: String, phone: String).void }
591
493
  def initialize(email: nil, name: nil, phone: nil); end
592
494
  end
593
495
  # The delivery method for the payment
594
496
  sig { returns(String) }
595
497
  attr_accessor :mode
596
-
597
498
  # Details of the recipient.
598
499
  sig {
599
500
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient)
600
501
  }
601
502
  attr_accessor :recipient
602
-
603
503
  sig {
604
504
  params(mode: String, recipient: ::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient).void
605
505
  }
@@ -608,45 +508,36 @@ module Stripe
608
508
  # Indicates if the tickets are digitally checked when entering the venue.
609
509
  sig { returns(T::Boolean) }
610
510
  attr_accessor :access_controlled_venue
611
-
612
511
  # The event location's address.
613
512
  sig {
614
513
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Address)
615
514
  }
616
515
  attr_accessor :address
617
-
618
516
  # Affiliate details for this purchase.
619
517
  sig {
620
518
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Affiliate)
621
519
  }
622
520
  attr_accessor :affiliate
623
-
624
521
  # The name of the company
625
522
  sig { returns(String) }
626
523
  attr_accessor :company
627
-
628
524
  # Delivery details for this purchase.
629
525
  sig {
630
526
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Delivery)
631
527
  }
632
528
  attr_accessor :delivery
633
-
634
529
  # Event end time. Measured in seconds since the Unix epoch.
635
530
  sig { returns(Integer) }
636
531
  attr_accessor :ends_at
637
-
638
532
  # Type of the event entertainment (concert, sports event etc)
639
533
  sig { returns(String) }
640
534
  attr_accessor :genre
641
-
642
535
  # The name of the event.
643
536
  sig { returns(String) }
644
537
  attr_accessor :name
645
-
646
538
  # Event start time. Measured in seconds since the Unix epoch.
647
539
  sig { returns(Integer) }
648
540
  attr_accessor :starts_at
649
-
650
541
  sig {
651
542
  params(access_controlled_venue: T::Boolean, address: ::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
652
543
  }
@@ -667,7 +558,6 @@ module Stripe
667
558
  # The name of the affiliate that originated the purchase.
668
559
  sig { returns(String) }
669
560
  attr_accessor :name
670
-
671
561
  sig { params(name: String).void }
672
562
  def initialize(name: nil); end
673
563
  end
@@ -676,28 +566,23 @@ module Stripe
676
566
  # The email of the recipient the ticket is delivered to.
677
567
  sig { returns(String) }
678
568
  attr_accessor :email
679
-
680
569
  # The name of the recipient the ticket is delivered to.
681
570
  sig { returns(String) }
682
571
  attr_accessor :name
683
-
684
572
  # The phone number of the recipient the ticket is delivered to.
685
573
  sig { returns(String) }
686
574
  attr_accessor :phone
687
-
688
575
  sig { params(email: String, name: String, phone: String).void }
689
576
  def initialize(email: nil, name: nil, phone: nil); end
690
577
  end
691
578
  # The delivery method for the payment
692
579
  sig { returns(String) }
693
580
  attr_accessor :mode
694
-
695
581
  # Details of the recipient.
696
582
  sig {
697
583
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Delivery::Recipient)
698
584
  }
699
585
  attr_accessor :recipient
700
-
701
586
  sig {
702
587
  params(mode: String, recipient: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Delivery::Recipient).void
703
588
  }
@@ -707,7 +592,6 @@ module Stripe
707
592
  # Full name of the person or entity on the flight reservation.
708
593
  sig { returns(String) }
709
594
  attr_accessor :name
710
-
711
595
  sig { params(name: String).void }
712
596
  def initialize(name: nil); end
713
597
  end
@@ -715,35 +599,27 @@ module Stripe
715
599
  # The flight segment amount.
716
600
  sig { returns(Integer) }
717
601
  attr_accessor :amount
718
-
719
602
  # The International Air Transport Association (IATA) airport code for the arrival airport.
720
603
  sig { returns(String) }
721
604
  attr_accessor :arrival_airport
722
-
723
605
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
724
606
  sig { returns(Integer) }
725
607
  attr_accessor :arrives_at
726
-
727
608
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
728
609
  sig { returns(String) }
729
610
  attr_accessor :carrier
730
-
731
611
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
732
612
  sig { returns(Integer) }
733
613
  attr_accessor :departs_at
734
-
735
614
  # The International Air Transport Association (IATA) airport code for the departure airport.
736
615
  sig { returns(String) }
737
616
  attr_accessor :departure_airport
738
-
739
617
  # The flight number associated with the segment
740
618
  sig { returns(String) }
741
619
  attr_accessor :flight_number
742
-
743
620
  # The fare class for the segment.
744
621
  sig { returns(String) }
745
622
  attr_accessor :service_class
746
-
747
623
  sig {
748
624
  params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
749
625
  }
@@ -761,39 +637,31 @@ module Stripe
761
637
  # Affiliate details for this purchase.
762
638
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Affiliate) }
763
639
  attr_accessor :affiliate
764
-
765
640
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
766
641
  sig { returns(String) }
767
642
  attr_accessor :agency_number
768
-
769
643
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
770
644
  sig { returns(String) }
771
645
  attr_accessor :carrier
772
-
773
646
  # Delivery details for this purchase.
774
647
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Delivery) }
775
648
  attr_accessor :delivery
776
-
777
649
  # The name of the person or entity on the reservation.
778
650
  sig { returns(String) }
779
651
  attr_accessor :passenger_name
780
-
781
652
  # The details of the passengers in the travel reservation.
782
653
  sig {
783
654
  returns(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Passenger])
784
655
  }
785
656
  attr_accessor :passengers
786
-
787
657
  # The individual flight segments associated with the trip.
788
658
  sig {
789
659
  returns(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Segment])
790
660
  }
791
661
  attr_accessor :segments
792
-
793
662
  # The ticket number associated with the travel reservation.
794
663
  sig { returns(String) }
795
664
  attr_accessor :ticket_number
796
-
797
665
  sig {
798
666
  params(affiliate: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight::Segment], ticket_number: String).void
799
667
  }
@@ -813,27 +681,21 @@ module Stripe
813
681
  # City, district, suburb, town, or village.
814
682
  sig { returns(String) }
815
683
  attr_accessor :city
816
-
817
684
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
818
685
  sig { returns(String) }
819
686
  attr_accessor :country
820
-
821
687
  # Address line 1 (e.g., street, PO Box, or company name).
822
688
  sig { returns(String) }
823
689
  attr_accessor :line1
824
-
825
690
  # Address line 2 (e.g., apartment, suite, unit, or building).
826
691
  sig { returns(String) }
827
692
  attr_accessor :line2
828
-
829
693
  # ZIP or postal code.
830
694
  sig { returns(String) }
831
695
  attr_accessor :postal_code
832
-
833
696
  # State, county, province, or region.
834
697
  sig { returns(String) }
835
698
  attr_accessor :state
836
-
837
699
  sig {
838
700
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
839
701
  }
@@ -850,7 +712,6 @@ module Stripe
850
712
  # The name of the affiliate that originated the purchase.
851
713
  sig { returns(String) }
852
714
  attr_accessor :name
853
-
854
715
  sig { params(name: String).void }
855
716
  def initialize(name: nil); end
856
717
  end
@@ -859,28 +720,23 @@ module Stripe
859
720
  # The email of the recipient the ticket is delivered to.
860
721
  sig { returns(String) }
861
722
  attr_accessor :email
862
-
863
723
  # The name of the recipient the ticket is delivered to.
864
724
  sig { returns(String) }
865
725
  attr_accessor :name
866
-
867
726
  # The phone number of the recipient the ticket is delivered to.
868
727
  sig { returns(String) }
869
728
  attr_accessor :phone
870
-
871
729
  sig { params(email: String, name: String, phone: String).void }
872
730
  def initialize(email: nil, name: nil, phone: nil); end
873
731
  end
874
732
  # The delivery method for the payment
875
733
  sig { returns(String) }
876
734
  attr_accessor :mode
877
-
878
735
  # Details of the recipient.
879
736
  sig {
880
737
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient)
881
738
  }
882
739
  attr_accessor :recipient
883
-
884
740
  sig {
885
741
  params(mode: String, recipient: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient).void
886
742
  }
@@ -890,96 +746,74 @@ module Stripe
890
746
  # Full name of the person or entity on the lodging reservation.
891
747
  sig { returns(String) }
892
748
  attr_accessor :name
893
-
894
749
  sig { params(name: String).void }
895
750
  def initialize(name: nil); end
896
751
  end
897
752
  # The lodging location's address.
898
753
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Address) }
899
754
  attr_accessor :address
900
-
901
755
  # The number of adults on the booking
902
756
  sig { returns(Integer) }
903
757
  attr_accessor :adults
904
-
905
758
  # Affiliate details for this purchase.
906
759
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Affiliate) }
907
760
  attr_accessor :affiliate
908
-
909
761
  # The booking number associated with the lodging reservation.
910
762
  sig { returns(String) }
911
763
  attr_accessor :booking_number
912
-
913
764
  # The lodging category
914
765
  sig { returns(String) }
915
766
  attr_accessor :category
916
-
917
767
  # Loding check-in time. Measured in seconds since the Unix epoch.
918
768
  sig { returns(Integer) }
919
769
  attr_accessor :checkin_at
920
-
921
770
  # Lodging check-out time. Measured in seconds since the Unix epoch.
922
771
  sig { returns(Integer) }
923
772
  attr_accessor :checkout_at
924
-
925
773
  # The customer service phone number of the lodging company.
926
774
  sig { returns(String) }
927
775
  attr_accessor :customer_service_phone_number
928
-
929
776
  # The daily lodging room rate.
930
777
  sig { returns(Integer) }
931
778
  attr_accessor :daily_room_rate_amount
932
-
933
779
  # Delivery details for this purchase.
934
780
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Delivery) }
935
781
  attr_accessor :delivery
936
-
937
782
  # List of additional charges being billed.
938
783
  sig { returns(T::Array[String]) }
939
784
  attr_accessor :extra_charges
940
-
941
785
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
942
786
  sig { returns(T::Boolean) }
943
787
  attr_accessor :fire_safety_act_compliance
944
-
945
788
  # The name of the lodging location.
946
789
  sig { returns(String) }
947
790
  attr_accessor :name
948
-
949
791
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
950
792
  sig { returns(T::Boolean) }
951
793
  attr_accessor :no_show
952
-
953
794
  # The number of rooms on the booking
954
795
  sig { returns(Integer) }
955
796
  attr_accessor :number_of_rooms
956
-
957
797
  # The details of the passengers in the travel reservation
958
798
  sig {
959
799
  returns(T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Passenger])
960
800
  }
961
801
  attr_accessor :passengers
962
-
963
802
  # The phone number of the lodging location.
964
803
  sig { returns(String) }
965
804
  attr_accessor :property_phone_number
966
-
967
805
  # The room class for this purchase.
968
806
  sig { returns(String) }
969
807
  attr_accessor :room_class
970
-
971
808
  # The number of room nights
972
809
  sig { returns(Integer) }
973
810
  attr_accessor :room_nights
974
-
975
811
  # The total tax amount associating with the room reservation.
976
812
  sig { returns(Integer) }
977
813
  attr_accessor :total_room_tax_amount
978
-
979
814
  # The total tax amount
980
815
  sig { returns(Integer) }
981
816
  attr_accessor :total_tax_amount
982
-
983
817
  sig {
984
818
  params(address: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Affiliate, booking_number: String, category: String, checkin_at: Integer, checkout_at: Integer, customer_service_phone_number: String, daily_room_rate_amount: Integer, delivery: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Delivery, extra_charges: T::Array[String], fire_safety_act_compliance: T::Boolean, name: String, no_show: T::Boolean, number_of_rooms: Integer, passengers: T::Array[::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
985
819
  }
@@ -1012,7 +846,6 @@ module Stripe
1012
846
  # The name of the affiliate that originated the purchase.
1013
847
  sig { returns(String) }
1014
848
  attr_accessor :name
1015
-
1016
849
  sig { params(name: String).void }
1017
850
  def initialize(name: nil); end
1018
851
  end
@@ -1020,11 +853,9 @@ module Stripe
1020
853
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1021
854
  sig { returns(Integer) }
1022
855
  attr_accessor :count
1023
-
1024
856
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1025
857
  sig { returns(String) }
1026
858
  attr_accessor :interval
1027
-
1028
859
  sig { params(count: Integer, interval: String).void }
1029
860
  def initialize(count: nil, interval: nil); end
1030
861
  end
@@ -1033,29 +864,23 @@ module Stripe
1033
864
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription::Affiliate)
1034
865
  }
1035
866
  attr_accessor :affiliate
1036
-
1037
867
  # Info whether the subscription will be auto renewed upon expiry.
1038
868
  sig { returns(T::Boolean) }
1039
869
  attr_accessor :auto_renewal
1040
-
1041
870
  # Subscription billing details for this purchase.
1042
871
  sig {
1043
872
  returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription::BillingInterval)
1044
873
  }
1045
874
  attr_accessor :billing_interval
1046
-
1047
875
  # Subscription end time. Measured in seconds since the Unix epoch.
1048
876
  sig { returns(Integer) }
1049
877
  attr_accessor :ends_at
1050
-
1051
878
  # Name of the product on subscription. e.g. Apple Music Subscription
1052
879
  sig { returns(String) }
1053
880
  attr_accessor :name
1054
-
1055
881
  # Subscription start time. Measured in seconds since the Unix epoch.
1056
882
  sig { returns(Integer) }
1057
883
  attr_accessor :starts_at
1058
-
1059
884
  sig {
1060
885
  params(affiliate: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
1061
886
  }
@@ -1071,23 +896,18 @@ module Stripe
1071
896
  # Car rental details for this PaymentIntent.
1072
897
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental) }
1073
898
  attr_accessor :car_rental
1074
-
1075
899
  # Event details for this PaymentIntent
1076
900
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails) }
1077
901
  attr_accessor :event_details
1078
-
1079
902
  # Flight reservation details for this PaymentIntent
1080
903
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight) }
1081
904
  attr_accessor :flight
1082
-
1083
905
  # Lodging reservation details for this PaymentIntent
1084
906
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging) }
1085
907
  attr_accessor :lodging
1086
-
1087
908
  # Subscription details for this PaymentIntent
1088
909
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription) }
1089
910
  attr_accessor :subscription
1090
-
1091
911
  sig {
1092
912
  params(car_rental: ::Stripe::ChargeService::UpdateParams::PaymentDetails::CarRental, event_details: ::Stripe::ChargeService::UpdateParams::PaymentDetails::EventDetails, flight: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Flight, lodging: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Lodging, subscription: ::Stripe::ChargeService::UpdateParams::PaymentDetails::Subscription).void
1093
913
  }
@@ -1104,27 +924,21 @@ module Stripe
1104
924
  # City, district, suburb, town, or village.
1105
925
  sig { returns(String) }
1106
926
  attr_accessor :city
1107
-
1108
927
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1109
928
  sig { returns(String) }
1110
929
  attr_accessor :country
1111
-
1112
930
  # Address line 1 (e.g., street, PO Box, or company name).
1113
931
  sig { returns(String) }
1114
932
  attr_accessor :line1
1115
-
1116
933
  # Address line 2 (e.g., apartment, suite, unit, or building).
1117
934
  sig { returns(String) }
1118
935
  attr_accessor :line2
1119
-
1120
936
  # ZIP or postal code.
1121
937
  sig { returns(String) }
1122
938
  attr_accessor :postal_code
1123
-
1124
939
  # State, county, province, or region.
1125
940
  sig { returns(String) }
1126
941
  attr_accessor :state
1127
-
1128
942
  sig {
1129
943
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1130
944
  }
@@ -1140,23 +954,18 @@ module Stripe
1140
954
  # Shipping address.
1141
955
  sig { returns(::Stripe::ChargeService::UpdateParams::Shipping::Address) }
1142
956
  attr_accessor :address
1143
-
1144
957
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1145
958
  sig { returns(String) }
1146
959
  attr_accessor :carrier
1147
-
1148
960
  # Recipient name.
1149
961
  sig { returns(String) }
1150
962
  attr_accessor :name
1151
-
1152
963
  # Recipient phone (including extension).
1153
964
  sig { returns(String) }
1154
965
  attr_accessor :phone
1155
-
1156
966
  # The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
1157
967
  sig { returns(String) }
1158
968
  attr_accessor :tracking_number
1159
-
1160
969
  sig {
1161
970
  params(address: ::Stripe::ChargeService::UpdateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
1162
971
  }
@@ -1165,39 +974,30 @@ module Stripe
1165
974
  # The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge.
1166
975
  sig { returns(String) }
1167
976
  attr_accessor :customer
1168
-
1169
977
  # An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
1170
978
  sig { returns(String) }
1171
979
  attr_accessor :description
1172
-
1173
980
  # Specifies which fields in the response should be expanded.
1174
981
  sig { returns(T::Array[String]) }
1175
982
  attr_accessor :expand
1176
-
1177
983
  # A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.
1178
984
  sig { returns(::Stripe::ChargeService::UpdateParams::FraudDetails) }
1179
985
  attr_accessor :fraud_details
1180
-
1181
986
  # 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`.
1182
987
  sig { returns(T.nilable(T::Hash[String, String])) }
1183
988
  attr_accessor :metadata
1184
-
1185
989
  # Provides industry-specific information about the charge.
1186
990
  sig { returns(::Stripe::ChargeService::UpdateParams::PaymentDetails) }
1187
991
  attr_accessor :payment_details
1188
-
1189
992
  # 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.
1190
993
  sig { returns(String) }
1191
994
  attr_accessor :receipt_email
1192
-
1193
995
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
1194
996
  sig { returns(::Stripe::ChargeService::UpdateParams::Shipping) }
1195
997
  attr_accessor :shipping
1196
-
1197
998
  # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
1198
999
  sig { returns(String) }
1199
1000
  attr_accessor :transfer_group
1200
-
1201
1001
  sig {
1202
1002
  params(customer: String, description: String, expand: T::Array[String], fraud_details: ::Stripe::ChargeService::UpdateParams::FraudDetails, metadata: T.nilable(T::Hash[String, String]), payment_details: ::Stripe::ChargeService::UpdateParams::PaymentDetails, receipt_email: String, shipping: ::Stripe::ChargeService::UpdateParams::Shipping, transfer_group: String).void
1203
1003
  }
@@ -1217,19 +1017,15 @@ module Stripe
1217
1017
  # Specifies which fields in the response should be expanded.
1218
1018
  sig { returns(T::Array[String]) }
1219
1019
  attr_accessor :expand
1220
-
1221
1020
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
1222
1021
  sig { returns(Integer) }
1223
1022
  attr_accessor :limit
1224
-
1225
1023
  # A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
1226
1024
  sig { returns(String) }
1227
1025
  attr_accessor :page
1228
-
1229
1026
  # The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for charges](https://stripe.com/docs/search#query-fields-for-charges).
1230
1027
  sig { returns(String) }
1231
1028
  attr_accessor :query
1232
-
1233
1029
  sig { params(expand: T::Array[String], limit: Integer, page: String, query: String).void }
1234
1030
  def initialize(expand: nil, limit: nil, page: nil, query: nil); end
1235
1031
  end
@@ -1240,7 +1036,6 @@ module Stripe
1240
1036
  # The name of the affiliate that originated the purchase.
1241
1037
  sig { returns(String) }
1242
1038
  attr_accessor :name
1243
-
1244
1039
  sig { params(name: String).void }
1245
1040
  def initialize(name: nil); end
1246
1041
  end
@@ -1249,28 +1044,23 @@ module Stripe
1249
1044
  # The email of the recipient the ticket is delivered to.
1250
1045
  sig { returns(String) }
1251
1046
  attr_accessor :email
1252
-
1253
1047
  # The name of the recipient the ticket is delivered to.
1254
1048
  sig { returns(String) }
1255
1049
  attr_accessor :name
1256
-
1257
1050
  # The phone number of the recipient the ticket is delivered to.
1258
1051
  sig { returns(String) }
1259
1052
  attr_accessor :phone
1260
-
1261
1053
  sig { params(email: String, name: String, phone: String).void }
1262
1054
  def initialize(email: nil, name: nil, phone: nil); end
1263
1055
  end
1264
1056
  # The delivery method for the payment
1265
1057
  sig { returns(String) }
1266
1058
  attr_accessor :mode
1267
-
1268
1059
  # Details of the recipient.
1269
1060
  sig {
1270
1061
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient)
1271
1062
  }
1272
1063
  attr_accessor :recipient
1273
-
1274
1064
  sig {
1275
1065
  params(mode: String, recipient: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient).void
1276
1066
  }
@@ -1280,7 +1070,6 @@ module Stripe
1280
1070
  # Full name of the person or entity on the car reservation.
1281
1071
  sig { returns(String) }
1282
1072
  attr_accessor :name
1283
-
1284
1073
  sig { params(name: String).void }
1285
1074
  def initialize(name: nil); end
1286
1075
  end
@@ -1288,27 +1077,21 @@ module Stripe
1288
1077
  # City, district, suburb, town, or village.
1289
1078
  sig { returns(String) }
1290
1079
  attr_accessor :city
1291
-
1292
1080
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1293
1081
  sig { returns(String) }
1294
1082
  attr_accessor :country
1295
-
1296
1083
  # Address line 1 (e.g., street, PO Box, or company name).
1297
1084
  sig { returns(String) }
1298
1085
  attr_accessor :line1
1299
-
1300
1086
  # Address line 2 (e.g., apartment, suite, unit, or building).
1301
1087
  sig { returns(String) }
1302
1088
  attr_accessor :line2
1303
-
1304
1089
  # ZIP or postal code.
1305
1090
  sig { returns(String) }
1306
1091
  attr_accessor :postal_code
1307
-
1308
1092
  # State, county, province, or region.
1309
1093
  sig { returns(String) }
1310
1094
  attr_accessor :state
1311
-
1312
1095
  sig {
1313
1096
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1314
1097
  }
@@ -1325,27 +1108,21 @@ module Stripe
1325
1108
  # City, district, suburb, town, or village.
1326
1109
  sig { returns(String) }
1327
1110
  attr_accessor :city
1328
-
1329
1111
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1330
1112
  sig { returns(String) }
1331
1113
  attr_accessor :country
1332
-
1333
1114
  # Address line 1 (e.g., street, PO Box, or company name).
1334
1115
  sig { returns(String) }
1335
1116
  attr_accessor :line1
1336
-
1337
1117
  # Address line 2 (e.g., apartment, suite, unit, or building).
1338
1118
  sig { returns(String) }
1339
1119
  attr_accessor :line2
1340
-
1341
1120
  # ZIP or postal code.
1342
1121
  sig { returns(String) }
1343
1122
  attr_accessor :postal_code
1344
-
1345
1123
  # State, county, province, or region.
1346
1124
  sig { returns(String) }
1347
1125
  attr_accessor :state
1348
-
1349
1126
  sig {
1350
1127
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1351
1128
  }
@@ -1363,91 +1140,71 @@ module Stripe
1363
1140
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Affiliate)
1364
1141
  }
1365
1142
  attr_accessor :affiliate
1366
-
1367
1143
  # The booking number associated with the car rental.
1368
1144
  sig { returns(String) }
1369
1145
  attr_accessor :booking_number
1370
-
1371
1146
  # Class code of the car.
1372
1147
  sig { returns(String) }
1373
1148
  attr_accessor :car_class_code
1374
-
1375
1149
  # Make of the car.
1376
1150
  sig { returns(String) }
1377
1151
  attr_accessor :car_make
1378
-
1379
1152
  # Model of the car.
1380
1153
  sig { returns(String) }
1381
1154
  attr_accessor :car_model
1382
-
1383
1155
  # The name of the rental car company.
1384
1156
  sig { returns(String) }
1385
1157
  attr_accessor :company
1386
-
1387
1158
  # The customer service phone number of the car rental company.
1388
1159
  sig { returns(String) }
1389
1160
  attr_accessor :customer_service_phone_number
1390
-
1391
1161
  # Number of days the car is being rented.
1392
1162
  sig { returns(Integer) }
1393
1163
  attr_accessor :days_rented
1394
-
1395
1164
  # Delivery details for this purchase.
1396
1165
  sig {
1397
1166
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery)
1398
1167
  }
1399
1168
  attr_accessor :delivery
1400
-
1401
1169
  # The details of the passengers in the travel reservation
1402
1170
  sig {
1403
1171
  returns(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Driver])
1404
1172
  }
1405
1173
  attr_accessor :drivers
1406
-
1407
1174
  # List of additional charges being billed.
1408
1175
  sig { returns(T::Array[String]) }
1409
1176
  attr_accessor :extra_charges
1410
-
1411
1177
  # Indicates if the customer did not keep nor cancel their booking.
1412
1178
  sig { returns(T::Boolean) }
1413
1179
  attr_accessor :no_show
1414
-
1415
1180
  # Car pick-up address.
1416
1181
  sig {
1417
1182
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::PickupAddress)
1418
1183
  }
1419
1184
  attr_accessor :pickup_address
1420
-
1421
1185
  # Car pick-up time. Measured in seconds since the Unix epoch.
1422
1186
  sig { returns(Integer) }
1423
1187
  attr_accessor :pickup_at
1424
-
1425
1188
  # Rental rate.
1426
1189
  sig { returns(Integer) }
1427
1190
  attr_accessor :rate_amount
1428
-
1429
1191
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
1430
1192
  sig { returns(String) }
1431
1193
  attr_accessor :rate_interval
1432
-
1433
1194
  # The name of the person or entity renting the car.
1434
1195
  sig { returns(String) }
1435
1196
  attr_accessor :renter_name
1436
-
1437
1197
  # Car return address.
1438
1198
  sig {
1439
1199
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::ReturnAddress)
1440
1200
  }
1441
1201
  attr_accessor :return_address
1442
-
1443
1202
  # Car return time. Measured in seconds since the Unix epoch.
1444
1203
  sig { returns(Integer) }
1445
1204
  attr_accessor :return_at
1446
-
1447
1205
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
1448
1206
  sig { returns(T::Boolean) }
1449
1207
  attr_accessor :tax_exempt
1450
-
1451
1208
  sig {
1452
1209
  params(affiliate: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Affiliate, booking_number: String, car_class_code: String, car_make: String, car_model: String, company: String, customer_service_phone_number: String, days_rented: Integer, delivery: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
1453
1210
  }
@@ -1479,27 +1236,21 @@ module Stripe
1479
1236
  # City, district, suburb, town, or village.
1480
1237
  sig { returns(String) }
1481
1238
  attr_accessor :city
1482
-
1483
1239
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1484
1240
  sig { returns(String) }
1485
1241
  attr_accessor :country
1486
-
1487
1242
  # Address line 1 (e.g., street, PO Box, or company name).
1488
1243
  sig { returns(String) }
1489
1244
  attr_accessor :line1
1490
-
1491
1245
  # Address line 2 (e.g., apartment, suite, unit, or building).
1492
1246
  sig { returns(String) }
1493
1247
  attr_accessor :line2
1494
-
1495
1248
  # ZIP or postal code.
1496
1249
  sig { returns(String) }
1497
1250
  attr_accessor :postal_code
1498
-
1499
1251
  # State, county, province, or region.
1500
1252
  sig { returns(String) }
1501
1253
  attr_accessor :state
1502
-
1503
1254
  sig {
1504
1255
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1505
1256
  }
@@ -1516,7 +1267,6 @@ module Stripe
1516
1267
  # The name of the affiliate that originated the purchase.
1517
1268
  sig { returns(String) }
1518
1269
  attr_accessor :name
1519
-
1520
1270
  sig { params(name: String).void }
1521
1271
  def initialize(name: nil); end
1522
1272
  end
@@ -1525,28 +1275,23 @@ module Stripe
1525
1275
  # The email of the recipient the ticket is delivered to.
1526
1276
  sig { returns(String) }
1527
1277
  attr_accessor :email
1528
-
1529
1278
  # The name of the recipient the ticket is delivered to.
1530
1279
  sig { returns(String) }
1531
1280
  attr_accessor :name
1532
-
1533
1281
  # The phone number of the recipient the ticket is delivered to.
1534
1282
  sig { returns(String) }
1535
1283
  attr_accessor :phone
1536
-
1537
1284
  sig { params(email: String, name: String, phone: String).void }
1538
1285
  def initialize(email: nil, name: nil, phone: nil); end
1539
1286
  end
1540
1287
  # The delivery method for the payment
1541
1288
  sig { returns(String) }
1542
1289
  attr_accessor :mode
1543
-
1544
1290
  # Details of the recipient.
1545
1291
  sig {
1546
1292
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient)
1547
1293
  }
1548
1294
  attr_accessor :recipient
1549
-
1550
1295
  sig {
1551
1296
  params(mode: String, recipient: ::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient).void
1552
1297
  }
@@ -1555,45 +1300,36 @@ module Stripe
1555
1300
  # Indicates if the tickets are digitally checked when entering the venue.
1556
1301
  sig { returns(T::Boolean) }
1557
1302
  attr_accessor :access_controlled_venue
1558
-
1559
1303
  # The event location's address.
1560
1304
  sig {
1561
1305
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Address)
1562
1306
  }
1563
1307
  attr_accessor :address
1564
-
1565
1308
  # Affiliate details for this purchase.
1566
1309
  sig {
1567
1310
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Affiliate)
1568
1311
  }
1569
1312
  attr_accessor :affiliate
1570
-
1571
1313
  # The name of the company
1572
1314
  sig { returns(String) }
1573
1315
  attr_accessor :company
1574
-
1575
1316
  # Delivery details for this purchase.
1576
1317
  sig {
1577
1318
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Delivery)
1578
1319
  }
1579
1320
  attr_accessor :delivery
1580
-
1581
1321
  # Event end time. Measured in seconds since the Unix epoch.
1582
1322
  sig { returns(Integer) }
1583
1323
  attr_accessor :ends_at
1584
-
1585
1324
  # Type of the event entertainment (concert, sports event etc)
1586
1325
  sig { returns(String) }
1587
1326
  attr_accessor :genre
1588
-
1589
1327
  # The name of the event.
1590
1328
  sig { returns(String) }
1591
1329
  attr_accessor :name
1592
-
1593
1330
  # Event start time. Measured in seconds since the Unix epoch.
1594
1331
  sig { returns(Integer) }
1595
1332
  attr_accessor :starts_at
1596
-
1597
1333
  sig {
1598
1334
  params(access_controlled_venue: T::Boolean, address: ::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
1599
1335
  }
@@ -1614,7 +1350,6 @@ module Stripe
1614
1350
  # The name of the affiliate that originated the purchase.
1615
1351
  sig { returns(String) }
1616
1352
  attr_accessor :name
1617
-
1618
1353
  sig { params(name: String).void }
1619
1354
  def initialize(name: nil); end
1620
1355
  end
@@ -1623,28 +1358,23 @@ module Stripe
1623
1358
  # The email of the recipient the ticket is delivered to.
1624
1359
  sig { returns(String) }
1625
1360
  attr_accessor :email
1626
-
1627
1361
  # The name of the recipient the ticket is delivered to.
1628
1362
  sig { returns(String) }
1629
1363
  attr_accessor :name
1630
-
1631
1364
  # The phone number of the recipient the ticket is delivered to.
1632
1365
  sig { returns(String) }
1633
1366
  attr_accessor :phone
1634
-
1635
1367
  sig { params(email: String, name: String, phone: String).void }
1636
1368
  def initialize(email: nil, name: nil, phone: nil); end
1637
1369
  end
1638
1370
  # The delivery method for the payment
1639
1371
  sig { returns(String) }
1640
1372
  attr_accessor :mode
1641
-
1642
1373
  # Details of the recipient.
1643
1374
  sig {
1644
1375
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Delivery::Recipient)
1645
1376
  }
1646
1377
  attr_accessor :recipient
1647
-
1648
1378
  sig {
1649
1379
  params(mode: String, recipient: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Delivery::Recipient).void
1650
1380
  }
@@ -1654,7 +1384,6 @@ module Stripe
1654
1384
  # Full name of the person or entity on the flight reservation.
1655
1385
  sig { returns(String) }
1656
1386
  attr_accessor :name
1657
-
1658
1387
  sig { params(name: String).void }
1659
1388
  def initialize(name: nil); end
1660
1389
  end
@@ -1662,35 +1391,27 @@ module Stripe
1662
1391
  # The flight segment amount.
1663
1392
  sig { returns(Integer) }
1664
1393
  attr_accessor :amount
1665
-
1666
1394
  # The International Air Transport Association (IATA) airport code for the arrival airport.
1667
1395
  sig { returns(String) }
1668
1396
  attr_accessor :arrival_airport
1669
-
1670
1397
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
1671
1398
  sig { returns(Integer) }
1672
1399
  attr_accessor :arrives_at
1673
-
1674
1400
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
1675
1401
  sig { returns(String) }
1676
1402
  attr_accessor :carrier
1677
-
1678
1403
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
1679
1404
  sig { returns(Integer) }
1680
1405
  attr_accessor :departs_at
1681
-
1682
1406
  # The International Air Transport Association (IATA) airport code for the departure airport.
1683
1407
  sig { returns(String) }
1684
1408
  attr_accessor :departure_airport
1685
-
1686
1409
  # The flight number associated with the segment
1687
1410
  sig { returns(String) }
1688
1411
  attr_accessor :flight_number
1689
-
1690
1412
  # The fare class for the segment.
1691
1413
  sig { returns(String) }
1692
1414
  attr_accessor :service_class
1693
-
1694
1415
  sig {
1695
1416
  params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
1696
1417
  }
@@ -1708,39 +1429,31 @@ module Stripe
1708
1429
  # Affiliate details for this purchase.
1709
1430
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Affiliate) }
1710
1431
  attr_accessor :affiliate
1711
-
1712
1432
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
1713
1433
  sig { returns(String) }
1714
1434
  attr_accessor :agency_number
1715
-
1716
1435
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
1717
1436
  sig { returns(String) }
1718
1437
  attr_accessor :carrier
1719
-
1720
1438
  # Delivery details for this purchase.
1721
1439
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Delivery) }
1722
1440
  attr_accessor :delivery
1723
-
1724
1441
  # The name of the person or entity on the reservation.
1725
1442
  sig { returns(String) }
1726
1443
  attr_accessor :passenger_name
1727
-
1728
1444
  # The details of the passengers in the travel reservation.
1729
1445
  sig {
1730
1446
  returns(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Passenger])
1731
1447
  }
1732
1448
  attr_accessor :passengers
1733
-
1734
1449
  # The individual flight segments associated with the trip.
1735
1450
  sig {
1736
1451
  returns(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Segment])
1737
1452
  }
1738
1453
  attr_accessor :segments
1739
-
1740
1454
  # The ticket number associated with the travel reservation.
1741
1455
  sig { returns(String) }
1742
1456
  attr_accessor :ticket_number
1743
-
1744
1457
  sig {
1745
1458
  params(affiliate: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight::Segment], ticket_number: String).void
1746
1459
  }
@@ -1760,27 +1473,21 @@ module Stripe
1760
1473
  # City, district, suburb, town, or village.
1761
1474
  sig { returns(String) }
1762
1475
  attr_accessor :city
1763
-
1764
1476
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1765
1477
  sig { returns(String) }
1766
1478
  attr_accessor :country
1767
-
1768
1479
  # Address line 1 (e.g., street, PO Box, or company name).
1769
1480
  sig { returns(String) }
1770
1481
  attr_accessor :line1
1771
-
1772
1482
  # Address line 2 (e.g., apartment, suite, unit, or building).
1773
1483
  sig { returns(String) }
1774
1484
  attr_accessor :line2
1775
-
1776
1485
  # ZIP or postal code.
1777
1486
  sig { returns(String) }
1778
1487
  attr_accessor :postal_code
1779
-
1780
1488
  # State, county, province, or region.
1781
1489
  sig { returns(String) }
1782
1490
  attr_accessor :state
1783
-
1784
1491
  sig {
1785
1492
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
1786
1493
  }
@@ -1797,7 +1504,6 @@ module Stripe
1797
1504
  # The name of the affiliate that originated the purchase.
1798
1505
  sig { returns(String) }
1799
1506
  attr_accessor :name
1800
-
1801
1507
  sig { params(name: String).void }
1802
1508
  def initialize(name: nil); end
1803
1509
  end
@@ -1806,28 +1512,23 @@ module Stripe
1806
1512
  # The email of the recipient the ticket is delivered to.
1807
1513
  sig { returns(String) }
1808
1514
  attr_accessor :email
1809
-
1810
1515
  # The name of the recipient the ticket is delivered to.
1811
1516
  sig { returns(String) }
1812
1517
  attr_accessor :name
1813
-
1814
1518
  # The phone number of the recipient the ticket is delivered to.
1815
1519
  sig { returns(String) }
1816
1520
  attr_accessor :phone
1817
-
1818
1521
  sig { params(email: String, name: String, phone: String).void }
1819
1522
  def initialize(email: nil, name: nil, phone: nil); end
1820
1523
  end
1821
1524
  # The delivery method for the payment
1822
1525
  sig { returns(String) }
1823
1526
  attr_accessor :mode
1824
-
1825
1527
  # Details of the recipient.
1826
1528
  sig {
1827
1529
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient)
1828
1530
  }
1829
1531
  attr_accessor :recipient
1830
-
1831
1532
  sig {
1832
1533
  params(mode: String, recipient: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient).void
1833
1534
  }
@@ -1837,98 +1538,76 @@ module Stripe
1837
1538
  # Full name of the person or entity on the lodging reservation.
1838
1539
  sig { returns(String) }
1839
1540
  attr_accessor :name
1840
-
1841
1541
  sig { params(name: String).void }
1842
1542
  def initialize(name: nil); end
1843
1543
  end
1844
1544
  # The lodging location's address.
1845
1545
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Address) }
1846
1546
  attr_accessor :address
1847
-
1848
1547
  # The number of adults on the booking
1849
1548
  sig { returns(Integer) }
1850
1549
  attr_accessor :adults
1851
-
1852
1550
  # Affiliate details for this purchase.
1853
1551
  sig {
1854
1552
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Affiliate)
1855
1553
  }
1856
1554
  attr_accessor :affiliate
1857
-
1858
1555
  # The booking number associated with the lodging reservation.
1859
1556
  sig { returns(String) }
1860
1557
  attr_accessor :booking_number
1861
-
1862
1558
  # The lodging category
1863
1559
  sig { returns(String) }
1864
1560
  attr_accessor :category
1865
-
1866
1561
  # Loding check-in time. Measured in seconds since the Unix epoch.
1867
1562
  sig { returns(Integer) }
1868
1563
  attr_accessor :checkin_at
1869
-
1870
1564
  # Lodging check-out time. Measured in seconds since the Unix epoch.
1871
1565
  sig { returns(Integer) }
1872
1566
  attr_accessor :checkout_at
1873
-
1874
1567
  # The customer service phone number of the lodging company.
1875
1568
  sig { returns(String) }
1876
1569
  attr_accessor :customer_service_phone_number
1877
-
1878
1570
  # The daily lodging room rate.
1879
1571
  sig { returns(Integer) }
1880
1572
  attr_accessor :daily_room_rate_amount
1881
-
1882
1573
  # Delivery details for this purchase.
1883
1574
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Delivery) }
1884
1575
  attr_accessor :delivery
1885
-
1886
1576
  # List of additional charges being billed.
1887
1577
  sig { returns(T::Array[String]) }
1888
1578
  attr_accessor :extra_charges
1889
-
1890
1579
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
1891
1580
  sig { returns(T::Boolean) }
1892
1581
  attr_accessor :fire_safety_act_compliance
1893
-
1894
1582
  # The name of the lodging location.
1895
1583
  sig { returns(String) }
1896
1584
  attr_accessor :name
1897
-
1898
1585
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
1899
1586
  sig { returns(T::Boolean) }
1900
1587
  attr_accessor :no_show
1901
-
1902
1588
  # The number of rooms on the booking
1903
1589
  sig { returns(Integer) }
1904
1590
  attr_accessor :number_of_rooms
1905
-
1906
1591
  # The details of the passengers in the travel reservation
1907
1592
  sig {
1908
1593
  returns(T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Passenger])
1909
1594
  }
1910
1595
  attr_accessor :passengers
1911
-
1912
1596
  # The phone number of the lodging location.
1913
1597
  sig { returns(String) }
1914
1598
  attr_accessor :property_phone_number
1915
-
1916
1599
  # The room class for this purchase.
1917
1600
  sig { returns(String) }
1918
1601
  attr_accessor :room_class
1919
-
1920
1602
  # The number of room nights
1921
1603
  sig { returns(Integer) }
1922
1604
  attr_accessor :room_nights
1923
-
1924
1605
  # The total tax amount associating with the room reservation.
1925
1606
  sig { returns(Integer) }
1926
1607
  attr_accessor :total_room_tax_amount
1927
-
1928
1608
  # The total tax amount
1929
1609
  sig { returns(Integer) }
1930
1610
  attr_accessor :total_tax_amount
1931
-
1932
1611
  sig {
1933
1612
  params(address: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Affiliate, booking_number: String, category: String, checkin_at: Integer, checkout_at: Integer, customer_service_phone_number: String, daily_room_rate_amount: Integer, delivery: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Delivery, extra_charges: T::Array[String], fire_safety_act_compliance: T::Boolean, name: String, no_show: T::Boolean, number_of_rooms: Integer, passengers: T::Array[::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
1934
1613
  }
@@ -1961,7 +1640,6 @@ module Stripe
1961
1640
  # The name of the affiliate that originated the purchase.
1962
1641
  sig { returns(String) }
1963
1642
  attr_accessor :name
1964
-
1965
1643
  sig { params(name: String).void }
1966
1644
  def initialize(name: nil); end
1967
1645
  end
@@ -1969,11 +1647,9 @@ module Stripe
1969
1647
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1970
1648
  sig { returns(Integer) }
1971
1649
  attr_accessor :count
1972
-
1973
1650
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1974
1651
  sig { returns(String) }
1975
1652
  attr_accessor :interval
1976
-
1977
1653
  sig { params(count: Integer, interval: String).void }
1978
1654
  def initialize(count: nil, interval: nil); end
1979
1655
  end
@@ -1982,29 +1658,23 @@ module Stripe
1982
1658
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription::Affiliate)
1983
1659
  }
1984
1660
  attr_accessor :affiliate
1985
-
1986
1661
  # Info whether the subscription will be auto renewed upon expiry.
1987
1662
  sig { returns(T::Boolean) }
1988
1663
  attr_accessor :auto_renewal
1989
-
1990
1664
  # Subscription billing details for this purchase.
1991
1665
  sig {
1992
1666
  returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription::BillingInterval)
1993
1667
  }
1994
1668
  attr_accessor :billing_interval
1995
-
1996
1669
  # Subscription end time. Measured in seconds since the Unix epoch.
1997
1670
  sig { returns(Integer) }
1998
1671
  attr_accessor :ends_at
1999
-
2000
1672
  # Name of the product on subscription. e.g. Apple Music Subscription
2001
1673
  sig { returns(String) }
2002
1674
  attr_accessor :name
2003
-
2004
1675
  # Subscription start time. Measured in seconds since the Unix epoch.
2005
1676
  sig { returns(Integer) }
2006
1677
  attr_accessor :starts_at
2007
-
2008
1678
  sig {
2009
1679
  params(affiliate: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
2010
1680
  }
@@ -2020,23 +1690,18 @@ module Stripe
2020
1690
  # Car rental details for this PaymentIntent.
2021
1691
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental) }
2022
1692
  attr_accessor :car_rental
2023
-
2024
1693
  # Event details for this PaymentIntent
2025
1694
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails) }
2026
1695
  attr_accessor :event_details
2027
-
2028
1696
  # Flight reservation details for this PaymentIntent
2029
1697
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight) }
2030
1698
  attr_accessor :flight
2031
-
2032
1699
  # Lodging reservation details for this PaymentIntent
2033
1700
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging) }
2034
1701
  attr_accessor :lodging
2035
-
2036
1702
  # Subscription details for this PaymentIntent
2037
1703
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription) }
2038
1704
  attr_accessor :subscription
2039
-
2040
1705
  sig {
2041
1706
  params(car_rental: ::Stripe::ChargeService::CaptureParams::PaymentDetails::CarRental, event_details: ::Stripe::ChargeService::CaptureParams::PaymentDetails::EventDetails, flight: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Flight, lodging: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Lodging, subscription: ::Stripe::ChargeService::CaptureParams::PaymentDetails::Subscription).void
2042
1707
  }
@@ -2052,52 +1717,41 @@ module Stripe
2052
1717
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2053
1718
  sig { returns(Integer) }
2054
1719
  attr_accessor :amount
2055
-
2056
1720
  sig { params(amount: Integer).void }
2057
1721
  def initialize(amount: nil); end
2058
1722
  end
2059
1723
  # The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
2060
1724
  sig { returns(Integer) }
2061
1725
  attr_accessor :amount
2062
-
2063
1726
  # An application fee to add on to this charge.
2064
1727
  sig { returns(Integer) }
2065
1728
  attr_accessor :application_fee
2066
-
2067
1729
  # An application fee amount to add on to this charge, which must be less than or equal to the original amount.
2068
1730
  sig { returns(Integer) }
2069
1731
  attr_accessor :application_fee_amount
2070
-
2071
1732
  # Specifies which fields in the response should be expanded.
2072
1733
  sig { returns(T::Array[String]) }
2073
1734
  attr_accessor :expand
2074
-
2075
1735
  # Provides industry-specific information about the charge.
2076
1736
  sig { returns(::Stripe::ChargeService::CaptureParams::PaymentDetails) }
2077
1737
  attr_accessor :payment_details
2078
-
2079
1738
  # 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.
2080
1739
  sig { returns(String) }
2081
1740
  attr_accessor :receipt_email
2082
-
2083
1741
  # 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).
2084
1742
  #
2085
1743
  # For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
2086
1744
  sig { returns(String) }
2087
1745
  attr_accessor :statement_descriptor
2088
-
2089
1746
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
2090
1747
  sig { returns(String) }
2091
1748
  attr_accessor :statement_descriptor_suffix
2092
-
2093
1749
  # An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
2094
1750
  sig { returns(::Stripe::ChargeService::CaptureParams::TransferData) }
2095
1751
  attr_accessor :transfer_data
2096
-
2097
1752
  # A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
2098
1753
  sig { returns(String) }
2099
1754
  attr_accessor :transfer_group
2100
-
2101
1755
  sig {
2102
1756
  params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, expand: T::Array[String], payment_details: ::Stripe::ChargeService::CaptureParams::PaymentDetails, receipt_email: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::ChargeService::CaptureParams::TransferData, transfer_group: String).void
2103
1757
  }