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
@@ -13,23 +13,18 @@ module Stripe
13
13
  # City, district, suburb, town, or village.
14
14
  sig { returns(T.nilable(String)) }
15
15
  attr_reader :city
16
-
17
16
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
18
17
  sig { returns(T.nilable(String)) }
19
18
  attr_reader :country
20
-
21
19
  # Address line 1 (e.g., street, PO Box, or company name).
22
20
  sig { returns(T.nilable(String)) }
23
21
  attr_reader :line1
24
-
25
22
  # Address line 2 (e.g., apartment, suite, unit, or building).
26
23
  sig { returns(T.nilable(String)) }
27
24
  attr_reader :line2
28
-
29
25
  # ZIP or postal code.
30
26
  sig { returns(T.nilable(String)) }
31
27
  attr_reader :postal_code
32
-
33
28
  # State, county, province, or region.
34
29
  sig { returns(T.nilable(String)) }
35
30
  attr_reader :state
@@ -37,15 +32,12 @@ module Stripe
37
32
  # Billing address.
38
33
  sig { returns(T.nilable(Address)) }
39
34
  attr_reader :address
40
-
41
35
  # Email address.
42
36
  sig { returns(T.nilable(String)) }
43
37
  attr_reader :email
44
-
45
38
  # Full name.
46
39
  sig { returns(T.nilable(String)) }
47
40
  attr_reader :name
48
-
49
41
  # Billing phone number (including extension).
50
42
  sig { returns(T.nilable(String)) }
51
43
  attr_reader :phone
@@ -54,7 +46,6 @@ module Stripe
54
46
  # Assessments from Stripe. If set, the value is `fraudulent`.
55
47
  sig { returns(String) }
56
48
  attr_reader :stripe_report
57
-
58
49
  # Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
59
50
  sig { returns(String) }
60
51
  attr_reader :user_report
@@ -64,23 +55,18 @@ module Stripe
64
55
  # Attribute for field discount_amount
65
56
  sig { returns(T.nilable(Integer)) }
66
57
  attr_reader :discount_amount
67
-
68
58
  # Attribute for field product_code
69
59
  sig { returns(String) }
70
60
  attr_reader :product_code
71
-
72
61
  # Attribute for field product_description
73
62
  sig { returns(String) }
74
63
  attr_reader :product_description
75
-
76
64
  # Attribute for field quantity
77
65
  sig { returns(T.nilable(Integer)) }
78
66
  attr_reader :quantity
79
-
80
67
  # Attribute for field tax_amount
81
68
  sig { returns(T.nilable(Integer)) }
82
69
  attr_reader :tax_amount
83
-
84
70
  # Attribute for field unit_cost
85
71
  sig { returns(T.nilable(Integer)) }
86
72
  attr_reader :unit_cost
@@ -88,23 +74,18 @@ module Stripe
88
74
  # Attribute for field customer_reference
89
75
  sig { returns(String) }
90
76
  attr_reader :customer_reference
91
-
92
77
  # Attribute for field line_items
93
78
  sig { returns(T::Array[LineItem]) }
94
79
  attr_reader :line_items
95
-
96
80
  # Attribute for field merchant_reference
97
81
  sig { returns(String) }
98
82
  attr_reader :merchant_reference
99
-
100
83
  # Attribute for field shipping_address_zip
101
84
  sig { returns(String) }
102
85
  attr_reader :shipping_address_zip
103
-
104
86
  # Attribute for field shipping_amount
105
87
  sig { returns(Integer) }
106
88
  attr_reader :shipping_amount
107
-
108
89
  # Attribute for field shipping_from_zip
109
90
  sig { returns(String) }
110
91
  attr_reader :shipping_from_zip
@@ -114,47 +95,40 @@ module Stripe
114
95
  # The action taken on the payment.
115
96
  sig { returns(String) }
116
97
  attr_reader :action
117
-
118
98
  # Unique identifier for the object.
119
99
  sig { returns(String) }
120
100
  attr_reader :id
121
-
122
101
  # The predicate to evaluate the payment against.
123
102
  sig { returns(String) }
124
103
  attr_reader :predicate
125
104
  end
105
+ # An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
106
+ sig { returns(T.nilable(String)) }
107
+ attr_reader :advice_code
126
108
  # For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
127
109
  sig { returns(T.nilable(String)) }
128
110
  attr_reader :network_advice_code
129
-
130
111
  # For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
131
112
  sig { returns(T.nilable(String)) }
132
113
  attr_reader :network_decline_code
133
-
134
114
  # Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
135
115
  sig { returns(T.nilable(String)) }
136
116
  attr_reader :network_status
137
-
138
117
  # An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
139
118
  sig { returns(T.nilable(String)) }
140
119
  attr_reader :reason
141
-
142
120
  # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
143
121
  sig { returns(String) }
144
122
  attr_reader :risk_level
145
-
146
123
  # Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.
147
124
  sig { returns(Integer) }
148
125
  attr_reader :risk_score
149
-
150
126
  # The ID of the Radar rule that matched the payment, if applicable.
151
127
  sig { returns(T.any(String, Rule)) }
152
128
  attr_reader :rule
153
-
154
129
  # A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
155
130
  sig { returns(T.nilable(String)) }
156
131
  attr_reader :seller_message
157
-
158
132
  # Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
159
133
  sig { returns(String) }
160
134
  attr_reader :type
@@ -164,15 +138,12 @@ module Stripe
164
138
  # Account number to transfer funds to.
165
139
  sig { returns(T.nilable(String)) }
166
140
  attr_reader :account_number
167
-
168
141
  # Name of the bank associated with the routing number.
169
142
  sig { returns(T.nilable(String)) }
170
143
  attr_reader :bank_name
171
-
172
144
  # Routing transit number for the bank account to transfer funds to.
173
145
  sig { returns(T.nilable(String)) }
174
146
  attr_reader :routing_number
175
-
176
147
  # SWIFT code of the bank associated with the routing number.
177
148
  sig { returns(T.nilable(String)) }
178
149
  attr_reader :swift_code
@@ -181,23 +152,18 @@ module Stripe
181
152
  # Type of entity that holds the account. This can be either `individual` or `company`.
182
153
  sig { returns(T.nilable(String)) }
183
154
  attr_reader :account_holder_type
184
-
185
155
  # Name of the bank associated with the bank account.
186
156
  sig { returns(T.nilable(String)) }
187
157
  attr_reader :bank_name
188
-
189
158
  # Two-letter ISO code representing the country the bank account is located in.
190
159
  sig { returns(T.nilable(String)) }
191
160
  attr_reader :country
192
-
193
161
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
194
162
  sig { returns(T.nilable(String)) }
195
163
  attr_reader :fingerprint
196
-
197
164
  # Last four digits of the bank account number.
198
165
  sig { returns(T.nilable(String)) }
199
166
  attr_reader :last4
200
-
201
167
  # Routing transit number of the bank account.
202
168
  sig { returns(T.nilable(String)) }
203
169
  attr_reader :routing_number
@@ -206,23 +172,18 @@ module Stripe
206
172
  # Name of the bank associated with the bank account.
207
173
  sig { returns(T.nilable(String)) }
208
174
  attr_reader :bank_name
209
-
210
175
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
211
176
  sig { returns(T.nilable(String)) }
212
177
  attr_reader :fingerprint
213
-
214
178
  # Institution number of the bank account
215
179
  sig { returns(T.nilable(String)) }
216
180
  attr_reader :institution_number
217
-
218
181
  # Last four digits of the bank account number.
219
182
  sig { returns(T.nilable(String)) }
220
183
  attr_reader :last4
221
-
222
184
  # ID of the mandate used to make this payment.
223
185
  sig { returns(String) }
224
186
  attr_reader :mandate
225
-
226
187
  # Transit number of the bank account.
227
188
  sig { returns(T.nilable(String)) }
228
189
  attr_reader :transit_number
@@ -236,7 +197,6 @@ module Stripe
236
197
  # The Afterpay order ID associated with this payment intent.
237
198
  sig { returns(T.nilable(String)) }
238
199
  attr_reader :order_id
239
-
240
200
  # Order identifier shown to the merchant in Afterpay’s online portal.
241
201
  sig { returns(T.nilable(String)) }
242
202
  attr_reader :reference
@@ -245,11 +205,9 @@ module Stripe
245
205
  # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
246
206
  sig { returns(String) }
247
207
  attr_reader :buyer_id
248
-
249
208
  # Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
250
209
  sig { returns(T.nilable(String)) }
251
210
  attr_reader :fingerprint
252
-
253
211
  # Transaction ID of this particular Alipay transaction.
254
212
  sig { returns(T.nilable(String)) }
255
213
  attr_reader :transaction_id
@@ -261,23 +219,18 @@ module Stripe
261
219
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
262
220
  sig { returns(T.nilable(String)) }
263
221
  attr_reader :brand
264
-
265
222
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
266
223
  sig { returns(T.nilable(String)) }
267
224
  attr_reader :country
268
-
269
225
  # Two-digit number representing the card's expiration month.
270
226
  sig { returns(T.nilable(Integer)) }
271
227
  attr_reader :exp_month
272
-
273
228
  # Four-digit number representing the card's expiration year.
274
229
  sig { returns(T.nilable(Integer)) }
275
230
  attr_reader :exp_year
276
-
277
231
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
278
232
  sig { returns(T.nilable(String)) }
279
233
  attr_reader :funding
280
-
281
234
  # The last four digits of the card.
282
235
  sig { returns(T.nilable(String)) }
283
236
  attr_reader :last4
@@ -285,7 +238,6 @@ module Stripe
285
238
  # Attribute for field card
286
239
  sig { returns(Card) }
287
240
  attr_reader :card
288
-
289
241
  # funding type of the underlying payment method.
290
242
  sig { returns(T.nilable(String)) }
291
243
  attr_reader :type
@@ -298,15 +250,12 @@ module Stripe
298
250
  # Bank-State-Branch number of the bank account.
299
251
  sig { returns(T.nilable(String)) }
300
252
  attr_reader :bsb_number
301
-
302
253
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
303
254
  sig { returns(T.nilable(String)) }
304
255
  attr_reader :fingerprint
305
-
306
256
  # Last four digits of the bank account number.
307
257
  sig { returns(T.nilable(String)) }
308
258
  attr_reader :last4
309
-
310
259
  # ID of the mandate used to make this payment.
311
260
  sig { returns(String) }
312
261
  attr_reader :mandate
@@ -315,15 +264,12 @@ module Stripe
315
264
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
316
265
  sig { returns(T.nilable(String)) }
317
266
  attr_reader :fingerprint
318
-
319
267
  # Last four digits of the bank account number.
320
268
  sig { returns(T.nilable(String)) }
321
269
  attr_reader :last4
322
-
323
270
  # ID of the mandate used to make this payment.
324
271
  sig { returns(T.nilable(String)) }
325
272
  attr_reader :mandate
326
-
327
273
  # Sort code of the bank account. (e.g., `10-20-30`)
328
274
  sig { returns(T.nilable(String)) }
329
275
  attr_reader :sort_code
@@ -332,32 +278,25 @@ module Stripe
332
278
  # Bank code of bank associated with the bank account.
333
279
  sig { returns(T.nilable(String)) }
334
280
  attr_reader :bank_code
335
-
336
281
  # Name of the bank associated with the bank account.
337
282
  sig { returns(T.nilable(String)) }
338
283
  attr_reader :bank_name
339
-
340
284
  # Bank Identifier Code of the bank associated with the bank account.
341
285
  sig { returns(T.nilable(String)) }
342
286
  attr_reader :bic
343
-
344
287
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
345
288
  sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
346
289
  attr_reader :generated_sepa_debit
347
-
348
290
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
349
291
  sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
350
292
  attr_reader :generated_sepa_debit_mandate
351
-
352
293
  # Last four characters of the IBAN.
353
294
  sig { returns(T.nilable(String)) }
354
295
  attr_reader :iban_last4
355
-
356
296
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
357
297
  # Can be one of `en`, `de`, `fr`, or `nl`
358
298
  sig { returns(T.nilable(String)) }
359
299
  attr_reader :preferred_language
360
-
361
300
  # Owner's verified full name. Values are verified or provided by Bancontact directly
362
301
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
363
302
  sig { returns(T.nilable(String)) }
@@ -378,11 +317,9 @@ module Stripe
378
317
  # If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
379
318
  sig { returns(T.nilable(String)) }
380
319
  attr_reader :address_line1_check
381
-
382
320
  # If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
383
321
  sig { returns(T.nilable(String)) }
384
322
  attr_reader :address_postal_code_check
385
-
386
323
  # If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
387
324
  sig { returns(T.nilable(String)) }
388
325
  attr_reader :cvc_check
@@ -407,12 +344,10 @@ module Stripe
407
344
  # For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
408
345
  sig { returns(T.nilable(Integer)) }
409
346
  attr_reader :count
410
-
411
347
  # For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
412
348
  # One of `month`.
413
349
  sig { returns(T.nilable(String)) }
414
350
  attr_reader :interval
415
-
416
351
  # Type of installment plan, one of `fixed_count`.
417
352
  sig { returns(String) }
418
353
  attr_reader :type
@@ -435,7 +370,6 @@ module Stripe
435
370
  # The maximum amount that can be captured.
436
371
  sig { returns(Integer) }
437
372
  attr_reader :maximum_amount_capturable
438
-
439
373
  # Indicates whether or not the authorized amount can be over-captured.
440
374
  sig { returns(String) }
441
375
  attr_reader :status
@@ -450,35 +384,28 @@ module Stripe
450
384
  # the issuing bank.
451
385
  sig { returns(T.nilable(String)) }
452
386
  attr_reader :authentication_flow
453
-
454
387
  # The Electronic Commerce Indicator (ECI). A protocol-level field
455
388
  # indicating what degree of authentication was performed.
456
389
  sig { returns(T.nilable(String)) }
457
390
  attr_reader :electronic_commerce_indicator
458
-
459
391
  # The exemption requested via 3DS and accepted by the issuer at authentication time.
460
392
  sig { returns(T.nilable(String)) }
461
393
  attr_reader :exemption_indicator
462
-
463
394
  # Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
464
395
  # the outcome of Stripe's internal risk assessment.
465
396
  sig { returns(T::Boolean) }
466
397
  attr_reader :exemption_indicator_applied
467
-
468
398
  # Indicates the outcome of 3D Secure authentication.
469
399
  sig { returns(T.nilable(String)) }
470
400
  attr_reader :result
471
-
472
401
  # Additional information about why 3D Secure succeeded or failed based
473
402
  # on the `result`.
474
403
  sig { returns(T.nilable(String)) }
475
404
  attr_reader :result_reason
476
-
477
405
  # The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
478
406
  # (dsTransId) for this payment.
479
407
  sig { returns(T.nilable(String)) }
480
408
  attr_reader :transaction_id
481
-
482
409
  # The version of 3D Secure that was used.
483
410
  sig { returns(T.nilable(String)) }
484
411
  attr_reader :version
@@ -493,23 +420,18 @@ module Stripe
493
420
  # City, district, suburb, town, or village.
494
421
  sig { returns(T.nilable(String)) }
495
422
  attr_reader :city
496
-
497
423
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
498
424
  sig { returns(T.nilable(String)) }
499
425
  attr_reader :country
500
-
501
426
  # Address line 1 (e.g., street, PO Box, or company name).
502
427
  sig { returns(T.nilable(String)) }
503
428
  attr_reader :line1
504
-
505
429
  # Address line 2 (e.g., apartment, suite, unit, or building).
506
430
  sig { returns(T.nilable(String)) }
507
431
  attr_reader :line2
508
-
509
432
  # ZIP or postal code.
510
433
  sig { returns(T.nilable(String)) }
511
434
  attr_reader :postal_code
512
-
513
435
  # State, county, province, or region.
514
436
  sig { returns(T.nilable(String)) }
515
437
  attr_reader :state
@@ -518,23 +440,18 @@ module Stripe
518
440
  # City, district, suburb, town, or village.
519
441
  sig { returns(T.nilable(String)) }
520
442
  attr_reader :city
521
-
522
443
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
523
444
  sig { returns(T.nilable(String)) }
524
445
  attr_reader :country
525
-
526
446
  # Address line 1 (e.g., street, PO Box, or company name).
527
447
  sig { returns(T.nilable(String)) }
528
448
  attr_reader :line1
529
-
530
449
  # Address line 2 (e.g., apartment, suite, unit, or building).
531
450
  sig { returns(T.nilable(String)) }
532
451
  attr_reader :line2
533
-
534
452
  # ZIP or postal code.
535
453
  sig { returns(T.nilable(String)) }
536
454
  attr_reader :postal_code
537
-
538
455
  # State, county, province, or region.
539
456
  sig { returns(T.nilable(String)) }
540
457
  attr_reader :state
@@ -542,15 +459,12 @@ module Stripe
542
459
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
543
460
  sig { returns(T.nilable(BillingAddress)) }
544
461
  attr_reader :billing_address
545
-
546
462
  # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
547
463
  sig { returns(T.nilable(String)) }
548
464
  attr_reader :email
549
-
550
465
  # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
551
466
  sig { returns(T.nilable(String)) }
552
467
  attr_reader :name
553
-
554
468
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
555
469
  sig { returns(T.nilable(ShippingAddress)) }
556
470
  attr_reader :shipping_address
@@ -561,23 +475,18 @@ module Stripe
561
475
  # City, district, suburb, town, or village.
562
476
  sig { returns(T.nilable(String)) }
563
477
  attr_reader :city
564
-
565
478
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
566
479
  sig { returns(T.nilable(String)) }
567
480
  attr_reader :country
568
-
569
481
  # Address line 1 (e.g., street, PO Box, or company name).
570
482
  sig { returns(T.nilable(String)) }
571
483
  attr_reader :line1
572
-
573
484
  # Address line 2 (e.g., apartment, suite, unit, or building).
574
485
  sig { returns(T.nilable(String)) }
575
486
  attr_reader :line2
576
-
577
487
  # ZIP or postal code.
578
488
  sig { returns(T.nilable(String)) }
579
489
  attr_reader :postal_code
580
-
581
490
  # State, county, province, or region.
582
491
  sig { returns(T.nilable(String)) }
583
492
  attr_reader :state
@@ -586,23 +495,18 @@ module Stripe
586
495
  # City, district, suburb, town, or village.
587
496
  sig { returns(T.nilable(String)) }
588
497
  attr_reader :city
589
-
590
498
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
591
499
  sig { returns(T.nilable(String)) }
592
500
  attr_reader :country
593
-
594
501
  # Address line 1 (e.g., street, PO Box, or company name).
595
502
  sig { returns(T.nilable(String)) }
596
503
  attr_reader :line1
597
-
598
504
  # Address line 2 (e.g., apartment, suite, unit, or building).
599
505
  sig { returns(T.nilable(String)) }
600
506
  attr_reader :line2
601
-
602
507
  # ZIP or postal code.
603
508
  sig { returns(T.nilable(String)) }
604
509
  attr_reader :postal_code
605
-
606
510
  # State, county, province, or region.
607
511
  sig { returns(T.nilable(String)) }
608
512
  attr_reader :state
@@ -610,15 +514,12 @@ module Stripe
610
514
  # Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
611
515
  sig { returns(T.nilable(BillingAddress)) }
612
516
  attr_reader :billing_address
613
-
614
517
  # Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
615
518
  sig { returns(T.nilable(String)) }
616
519
  attr_reader :email
617
-
618
520
  # Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
619
521
  sig { returns(T.nilable(String)) }
620
522
  attr_reader :name
621
-
622
523
  # Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
623
524
  sig { returns(T.nilable(ShippingAddress)) }
624
525
  attr_reader :shipping_address
@@ -626,35 +527,27 @@ module Stripe
626
527
  # Attribute for field amex_express_checkout
627
528
  sig { returns(AmexExpressCheckout) }
628
529
  attr_reader :amex_express_checkout
629
-
630
530
  # Attribute for field apple_pay
631
531
  sig { returns(ApplePay) }
632
532
  attr_reader :apple_pay
633
-
634
533
  # (For tokenized numbers only.) The last four digits of the device account number.
635
534
  sig { returns(T.nilable(String)) }
636
535
  attr_reader :dynamic_last4
637
-
638
536
  # Attribute for field google_pay
639
537
  sig { returns(GooglePay) }
640
538
  attr_reader :google_pay
641
-
642
539
  # Attribute for field link
643
540
  sig { returns(Link) }
644
541
  attr_reader :link
645
-
646
542
  # Attribute for field masterpass
647
543
  sig { returns(Masterpass) }
648
544
  attr_reader :masterpass
649
-
650
545
  # Attribute for field samsung_pay
651
546
  sig { returns(SamsungPay) }
652
547
  attr_reader :samsung_pay
653
-
654
548
  # The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
655
549
  sig { returns(String) }
656
550
  attr_reader :type
657
-
658
551
  # Attribute for field visa_checkout
659
552
  sig { returns(VisaCheckout) }
660
553
  attr_reader :visa_checkout
@@ -662,123 +555,94 @@ module Stripe
662
555
  # The authorized amount.
663
556
  sig { returns(T.nilable(Integer)) }
664
557
  attr_reader :amount_authorized
665
-
666
558
  # The latest amount intended to be authorized by this charge.
667
559
  sig { returns(T.nilable(Integer)) }
668
560
  attr_reader :amount_requested
669
-
670
561
  # Authorization code on the charge.
671
562
  sig { returns(T.nilable(String)) }
672
563
  attr_reader :authorization_code
673
-
674
564
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
675
565
  sig { returns(T.nilable(String)) }
676
566
  attr_reader :brand
677
-
678
567
  # When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
679
568
  sig { returns(Integer) }
680
569
  attr_reader :capture_before
681
-
682
570
  # Check results by Card networks on Card address and CVC at time of payment.
683
571
  sig { returns(T.nilable(Checks)) }
684
572
  attr_reader :checks
685
-
686
573
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
687
574
  sig { returns(T.nilable(String)) }
688
575
  attr_reader :country
689
-
690
576
  # Attribute for field decremental_authorization
691
577
  sig { returns(DecrementalAuthorization) }
692
578
  attr_reader :decremental_authorization
693
-
694
579
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
695
580
  sig { returns(T.nilable(String)) }
696
581
  attr_reader :description
697
-
698
582
  # Two-digit number representing the card's expiration month.
699
583
  sig { returns(Integer) }
700
584
  attr_reader :exp_month
701
-
702
585
  # Four-digit number representing the card's expiration year.
703
586
  sig { returns(Integer) }
704
587
  attr_reader :exp_year
705
-
706
588
  # Attribute for field extended_authorization
707
589
  sig { returns(ExtendedAuthorization) }
708
590
  attr_reader :extended_authorization
709
-
710
591
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
711
592
  #
712
593
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
713
594
  sig { returns(T.nilable(String)) }
714
595
  attr_reader :fingerprint
715
-
716
596
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
717
597
  sig { returns(T.nilable(String)) }
718
598
  attr_reader :funding
719
-
720
599
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
721
600
  sig { returns(T.nilable(String)) }
722
601
  attr_reader :iin
723
-
724
602
  # Attribute for field incremental_authorization
725
603
  sig { returns(IncrementalAuthorization) }
726
604
  attr_reader :incremental_authorization
727
-
728
605
  # Installment details for this payment (Mexico only).
729
606
  #
730
607
  # For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
731
608
  sig { returns(T.nilable(Installments)) }
732
609
  attr_reader :installments
733
-
734
610
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
735
611
  sig { returns(T.nilable(String)) }
736
612
  attr_reader :issuer
737
-
738
613
  # The last four digits of the card.
739
614
  sig { returns(T.nilable(String)) }
740
615
  attr_reader :last4
741
-
742
616
  # ID of the mandate used to make this payment or created by it.
743
617
  sig { returns(T.nilable(String)) }
744
618
  attr_reader :mandate
745
-
746
619
  # True if this payment was marked as MOTO and out of scope for SCA.
747
620
  sig { returns(T.nilable(T::Boolean)) }
748
621
  attr_reader :moto
749
-
750
622
  # Attribute for field multicapture
751
623
  sig { returns(Multicapture) }
752
624
  attr_reader :multicapture
753
-
754
625
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
755
626
  sig { returns(T.nilable(String)) }
756
627
  attr_reader :network
757
-
758
628
  # If this card has network token credentials, this contains the details of the network token credentials.
759
629
  sig { returns(T.nilable(NetworkToken)) }
760
630
  attr_reader :network_token
761
-
762
631
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
763
632
  sig { returns(T.nilable(String)) }
764
633
  attr_reader :network_transaction_id
765
-
766
634
  # Attribute for field overcapture
767
635
  sig { returns(Overcapture) }
768
636
  attr_reader :overcapture
769
-
770
637
  # Attribute for field partial_authorization
771
638
  sig { returns(PartialAuthorization) }
772
639
  attr_reader :partial_authorization
773
-
774
640
  # Status of a card based on the card issuer.
775
641
  sig { returns(T.nilable(String)) }
776
642
  attr_reader :regulated_status
777
-
778
643
  # Populated if this transaction used 3D Secure authentication.
779
644
  sig { returns(T.nilable(ThreeDSecure)) }
780
645
  attr_reader :three_d_secure
781
-
782
646
  # If this Card is part of a card wallet, this contains the details of the card wallet.
783
647
  sig { returns(T.nilable(Wallet)) }
784
648
  attr_reader :wallet
@@ -788,7 +652,6 @@ module Stripe
788
652
  # Time at which the payment was collected while offline
789
653
  sig { returns(T.nilable(Integer)) }
790
654
  attr_reader :stored_at
791
-
792
655
  # The method used to process this payment method offline. Only deferred is allowed.
793
656
  sig { returns(T.nilable(String)) }
794
657
  attr_reader :type
@@ -797,35 +660,27 @@ module Stripe
797
660
  # The type of account being debited or credited
798
661
  sig { returns(String) }
799
662
  attr_reader :account_type
800
-
801
663
  # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
802
664
  sig { returns(T.nilable(String)) }
803
665
  attr_reader :application_cryptogram
804
-
805
666
  # Mnenomic of the Application Identifier.
806
667
  sig { returns(T.nilable(String)) }
807
668
  attr_reader :application_preferred_name
808
-
809
669
  # Identifier for this transaction.
810
670
  sig { returns(T.nilable(String)) }
811
671
  attr_reader :authorization_code
812
-
813
672
  # EMV tag 8A. A code returned by the card issuer.
814
673
  sig { returns(T.nilable(String)) }
815
674
  attr_reader :authorization_response_code
816
-
817
675
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
818
676
  sig { returns(T.nilable(String)) }
819
677
  attr_reader :cardholder_verification_method
820
-
821
678
  # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
822
679
  sig { returns(T.nilable(String)) }
823
680
  attr_reader :dedicated_file_name
824
-
825
681
  # The outcome of a series of EMV functions performed by the card reader.
826
682
  sig { returns(T.nilable(String)) }
827
683
  attr_reader :terminal_verification_results
828
-
829
684
  # An indication of various EMV functions performed during the transaction.
830
685
  sig { returns(T.nilable(String)) }
831
686
  attr_reader :transaction_status_information
@@ -838,101 +693,77 @@ module Stripe
838
693
  # The authorized amount
839
694
  sig { returns(T.nilable(Integer)) }
840
695
  attr_reader :amount_authorized
841
-
842
696
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
843
697
  sig { returns(T.nilable(String)) }
844
698
  attr_reader :brand
845
-
846
699
  # The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
847
700
  sig { returns(T.nilable(String)) }
848
701
  attr_reader :brand_product
849
-
850
702
  # When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
851
703
  sig { returns(Integer) }
852
704
  attr_reader :capture_before
853
-
854
705
  # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
855
706
  sig { returns(T.nilable(String)) }
856
707
  attr_reader :cardholder_name
857
-
858
708
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
859
709
  sig { returns(T.nilable(String)) }
860
710
  attr_reader :country
861
-
862
711
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
863
712
  sig { returns(T.nilable(String)) }
864
713
  attr_reader :description
865
-
866
714
  # Authorization response cryptogram.
867
715
  sig { returns(T.nilable(String)) }
868
716
  attr_reader :emv_auth_data
869
-
870
717
  # Two-digit number representing the card's expiration month.
871
718
  sig { returns(Integer) }
872
719
  attr_reader :exp_month
873
-
874
720
  # Four-digit number representing the card's expiration year.
875
721
  sig { returns(Integer) }
876
722
  attr_reader :exp_year
877
-
878
723
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
879
724
  #
880
725
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
881
726
  sig { returns(T.nilable(String)) }
882
727
  attr_reader :fingerprint
883
-
884
728
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
885
729
  sig { returns(T.nilable(String)) }
886
730
  attr_reader :funding
887
-
888
731
  # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
889
732
  sig { returns(T.nilable(String)) }
890
733
  attr_reader :generated_card
891
-
892
734
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
893
735
  sig { returns(T.nilable(String)) }
894
736
  attr_reader :iin
895
-
896
737
  # Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
897
738
  sig { returns(T::Boolean) }
898
739
  attr_reader :incremental_authorization_supported
899
-
900
740
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
901
741
  sig { returns(T.nilable(String)) }
902
742
  attr_reader :issuer
903
-
904
743
  # The last four digits of the card.
905
744
  sig { returns(T.nilable(String)) }
906
745
  attr_reader :last4
907
-
908
746
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
909
747
  sig { returns(T.nilable(String)) }
910
748
  attr_reader :network
911
-
912
749
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
913
750
  sig { returns(T.nilable(String)) }
914
751
  attr_reader :network_transaction_id
915
-
916
752
  # Details about payments collected offline.
917
753
  sig { returns(T.nilable(Offline)) }
918
754
  attr_reader :offline
919
-
920
755
  # Defines whether the authorized amount can be over-captured or not
921
756
  sig { returns(T::Boolean) }
922
757
  attr_reader :overcapture_supported
923
-
924
758
  # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
925
759
  sig { returns(T.nilable(T::Array[String])) }
926
760
  attr_reader :preferred_locales
927
-
928
761
  # How card details were read in this transaction.
929
762
  sig { returns(T.nilable(String)) }
930
763
  attr_reader :read_method
931
-
932
764
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
933
765
  sig { returns(T.nilable(Receipt)) }
934
766
  attr_reader :receipt
935
-
936
767
  # Attribute for field wallet
937
768
  sig { returns(Wallet) }
938
769
  attr_reader :wallet
@@ -941,7 +772,6 @@ module Stripe
941
772
  # A unique and immutable identifier assigned by Cash App to every buyer.
942
773
  sig { returns(T.nilable(String)) }
943
774
  attr_reader :buyer_id
944
-
945
775
  # A public identifier for buyers using Cash App.
946
776
  sig { returns(T.nilable(String)) }
947
777
  attr_reader :cashtag
@@ -951,7 +781,6 @@ module Stripe
951
781
  # The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
952
782
  sig { returns(T.nilable(String)) }
953
783
  attr_reader :bank
954
-
955
784
  # Owner's verified full name. Values are verified or provided by EPS directly
956
785
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
957
786
  # EPS rarely provides this information so the attribute is usually empty.
@@ -962,11 +791,9 @@ module Stripe
962
791
  # Account holder type, if provided. Can be one of `individual` or `company`.
963
792
  sig { returns(T.nilable(String)) }
964
793
  attr_reader :account_holder_type
965
-
966
794
  # The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
967
795
  sig { returns(String) }
968
796
  attr_reader :bank
969
-
970
797
  # Unique transaction id generated by FPX for every request from the merchant
971
798
  sig { returns(T.nilable(String)) }
972
799
  attr_reader :transaction_id
@@ -975,15 +802,12 @@ module Stripe
975
802
  # Bank code of bank associated with the bank account.
976
803
  sig { returns(T.nilable(String)) }
977
804
  attr_reader :bank_code
978
-
979
805
  # Name of the bank associated with the bank account.
980
806
  sig { returns(T.nilable(String)) }
981
807
  attr_reader :bank_name
982
-
983
808
  # Bank Identifier Code of the bank associated with the bank account.
984
809
  sig { returns(T.nilable(String)) }
985
810
  attr_reader :bic
986
-
987
811
  # Owner's verified full name. Values are verified or provided by Giropay directly
988
812
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
989
813
  # Giropay rarely provides this information so the attribute is usually empty.
@@ -1000,19 +824,15 @@ module Stripe
1000
824
  # Account number of the bank account to transfer funds to.
1001
825
  sig { returns(String) }
1002
826
  attr_reader :account_number
1003
-
1004
827
  # Bank where the account is located.
1005
828
  sig { returns(String) }
1006
829
  attr_reader :bank
1007
-
1008
830
  # Local bank code of the bank.
1009
831
  sig { returns(String) }
1010
832
  attr_reader :bank_code
1011
-
1012
833
  # Name of the bank associated with the bank account.
1013
834
  sig { returns(String) }
1014
835
  attr_reader :bank_name
1015
-
1016
836
  # Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
1017
837
  sig { returns(String) }
1018
838
  attr_reader :display_name
@@ -1021,23 +841,18 @@ module Stripe
1021
841
  # The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
1022
842
  sig { returns(T.nilable(String)) }
1023
843
  attr_reader :bank
1024
-
1025
844
  # The Bank Identifier Code of the customer's bank.
1026
845
  sig { returns(T.nilable(String)) }
1027
846
  attr_reader :bic
1028
-
1029
847
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1030
848
  sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
1031
849
  attr_reader :generated_sepa_debit
1032
-
1033
850
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1034
851
  sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
1035
852
  attr_reader :generated_sepa_debit_mandate
1036
-
1037
853
  # Last four characters of the IBAN.
1038
854
  sig { returns(T.nilable(String)) }
1039
855
  attr_reader :iban_last4
1040
-
1041
856
  # Owner's verified full name. Values are verified or provided by iDEAL directly
1042
857
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1043
858
  sig { returns(T.nilable(String)) }
@@ -1048,35 +863,27 @@ module Stripe
1048
863
  # The type of account being debited or credited
1049
864
  sig { returns(String) }
1050
865
  attr_reader :account_type
1051
-
1052
866
  # EMV tag 9F26, cryptogram generated by the integrated circuit chip.
1053
867
  sig { returns(T.nilable(String)) }
1054
868
  attr_reader :application_cryptogram
1055
-
1056
869
  # Mnenomic of the Application Identifier.
1057
870
  sig { returns(T.nilable(String)) }
1058
871
  attr_reader :application_preferred_name
1059
-
1060
872
  # Identifier for this transaction.
1061
873
  sig { returns(T.nilable(String)) }
1062
874
  attr_reader :authorization_code
1063
-
1064
875
  # EMV tag 8A. A code returned by the card issuer.
1065
876
  sig { returns(T.nilable(String)) }
1066
877
  attr_reader :authorization_response_code
1067
-
1068
878
  # Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
1069
879
  sig { returns(T.nilable(String)) }
1070
880
  attr_reader :cardholder_verification_method
1071
-
1072
881
  # EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
1073
882
  sig { returns(T.nilable(String)) }
1074
883
  attr_reader :dedicated_file_name
1075
-
1076
884
  # The outcome of a series of EMV functions performed by the card reader.
1077
885
  sig { returns(T.nilable(String)) }
1078
886
  attr_reader :terminal_verification_results
1079
-
1080
887
  # An indication of various EMV functions performed during the transaction.
1081
888
  sig { returns(T.nilable(String)) }
1082
889
  attr_reader :transaction_status_information
@@ -1084,73 +891,56 @@ module Stripe
1084
891
  # Card brand. Can be `interac`, `mastercard` or `visa`.
1085
892
  sig { returns(T.nilable(String)) }
1086
893
  attr_reader :brand
1087
-
1088
894
  # The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
1089
895
  sig { returns(T.nilable(String)) }
1090
896
  attr_reader :cardholder_name
1091
-
1092
897
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1093
898
  sig { returns(T.nilable(String)) }
1094
899
  attr_reader :country
1095
-
1096
900
  # A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
1097
901
  sig { returns(T.nilable(String)) }
1098
902
  attr_reader :description
1099
-
1100
903
  # Authorization response cryptogram.
1101
904
  sig { returns(T.nilable(String)) }
1102
905
  attr_reader :emv_auth_data
1103
-
1104
906
  # Two-digit number representing the card's expiration month.
1105
907
  sig { returns(Integer) }
1106
908
  attr_reader :exp_month
1107
-
1108
909
  # Four-digit number representing the card's expiration year.
1109
910
  sig { returns(Integer) }
1110
911
  attr_reader :exp_year
1111
-
1112
912
  # Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
1113
913
  #
1114
914
  # *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1115
915
  sig { returns(T.nilable(String)) }
1116
916
  attr_reader :fingerprint
1117
-
1118
917
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1119
918
  sig { returns(T.nilable(String)) }
1120
919
  attr_reader :funding
1121
-
1122
920
  # ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
1123
921
  sig { returns(T.nilable(String)) }
1124
922
  attr_reader :generated_card
1125
-
1126
923
  # Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
1127
924
  sig { returns(T.nilable(String)) }
1128
925
  attr_reader :iin
1129
-
1130
926
  # The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
1131
927
  sig { returns(T.nilable(String)) }
1132
928
  attr_reader :issuer
1133
-
1134
929
  # The last four digits of the card.
1135
930
  sig { returns(T.nilable(String)) }
1136
931
  attr_reader :last4
1137
-
1138
932
  # Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1139
933
  sig { returns(T.nilable(String)) }
1140
934
  attr_reader :network
1141
-
1142
935
  # This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1143
936
  sig { returns(T.nilable(String)) }
1144
937
  attr_reader :network_transaction_id
1145
-
1146
938
  # EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
1147
939
  sig { returns(T.nilable(T::Array[String])) }
1148
940
  attr_reader :preferred_locales
1149
-
1150
941
  # How card details were read in this transaction.
1151
942
  sig { returns(T.nilable(String)) }
1152
943
  attr_reader :read_method
1153
-
1154
944
  # A collection of fields required to be displayed on receipts. Only required for EMV transactions.
1155
945
  sig { returns(T.nilable(Receipt)) }
1156
946
  attr_reader :receipt
@@ -1174,12 +964,10 @@ module Stripe
1174
964
  # The payer details for this transaction.
1175
965
  sig { returns(T.nilable(PayerDetails)) }
1176
966
  attr_reader :payer_details
1177
-
1178
967
  # The Klarna payment method used for this transaction.
1179
968
  # Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
1180
969
  sig { returns(T.nilable(String)) }
1181
970
  attr_reader :payment_method_category
1182
-
1183
971
  # Preferred language of the Klarna authorization page that the customer is redirected to.
1184
972
  # Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
1185
973
  sig { returns(T.nilable(String)) }
@@ -1199,11 +987,9 @@ module Stripe
1199
987
  # The local credit or debit card brand.
1200
988
  sig { returns(T.nilable(String)) }
1201
989
  attr_reader :brand
1202
-
1203
990
  # A unique identifier for the buyer as determined by the local payment processor.
1204
991
  sig { returns(T.nilable(String)) }
1205
992
  attr_reader :buyer_id
1206
-
1207
993
  # The last four digits of the card. This may not be present for American Express cards.
1208
994
  sig { returns(T.nilable(String)) }
1209
995
  attr_reader :last4
@@ -1220,19 +1006,15 @@ module Stripe
1220
1006
  # Brand of the card used in the transaction
1221
1007
  sig { returns(T.nilable(String)) }
1222
1008
  attr_reader :brand
1223
-
1224
1009
  # Two-letter ISO code representing the country of the card
1225
1010
  sig { returns(T.nilable(String)) }
1226
1011
  attr_reader :country
1227
-
1228
1012
  # Two digit number representing the card's expiration month
1229
1013
  sig { returns(T.nilable(Integer)) }
1230
1014
  attr_reader :exp_month
1231
-
1232
1015
  # Two digit number representing the card's expiration year
1233
1016
  sig { returns(T.nilable(Integer)) }
1234
1017
  attr_reader :exp_year
1235
-
1236
1018
  # The last 4 digits of the card
1237
1019
  sig { returns(T.nilable(String)) }
1238
1020
  attr_reader :last4
@@ -1245,7 +1027,6 @@ module Stripe
1245
1027
  # Entity number associated with this Multibanco payment.
1246
1028
  sig { returns(T.nilable(String)) }
1247
1029
  attr_reader :entity
1248
-
1249
1030
  # Reference number associated with this Multibanco payment.
1250
1031
  sig { returns(T.nilable(String)) }
1251
1032
  attr_reader :reference
@@ -1264,11 +1045,9 @@ module Stripe
1264
1045
  # The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
1265
1046
  sig { returns(T.nilable(String)) }
1266
1047
  attr_reader :bank
1267
-
1268
1048
  # Unique reference for this Przelewy24 payment.
1269
1049
  sig { returns(T.nilable(String)) }
1270
1050
  attr_reader :reference
1271
-
1272
1051
  # Owner's verified full name. Values are verified or provided by Przelewy24 directly
1273
1052
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1274
1053
  # Przelewy24 rarely provides this information so the attribute is usually empty.
@@ -1290,7 +1069,6 @@ module Stripe
1290
1069
  # An array of conditions that are covered for the transaction, if applicable.
1291
1070
  sig { returns(T.nilable(T::Array[String])) }
1292
1071
  attr_reader :dispute_categories
1293
-
1294
1072
  # Indicates whether the transaction is eligible for PayPal's seller protection.
1295
1073
  sig { returns(String) }
1296
1074
  attr_reader :status
@@ -1299,23 +1077,18 @@ module Stripe
1299
1077
  # City, district, suburb, town, or village.
1300
1078
  sig { returns(T.nilable(String)) }
1301
1079
  attr_reader :city
1302
-
1303
1080
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1304
1081
  sig { returns(T.nilable(String)) }
1305
1082
  attr_reader :country
1306
-
1307
1083
  # Address line 1 (e.g., street, PO Box, or company name).
1308
1084
  sig { returns(T.nilable(String)) }
1309
1085
  attr_reader :line1
1310
-
1311
1086
  # Address line 2 (e.g., apartment, suite, unit, or building).
1312
1087
  sig { returns(T.nilable(String)) }
1313
1088
  attr_reader :line2
1314
-
1315
1089
  # ZIP or postal code.
1316
1090
  sig { returns(T.nilable(String)) }
1317
1091
  attr_reader :postal_code
1318
-
1319
1092
  # State, county, province, or region.
1320
1093
  sig { returns(T.nilable(String)) }
1321
1094
  attr_reader :state
@@ -1324,66 +1097,56 @@ module Stripe
1324
1097
  # City, district, suburb, town, or village.
1325
1098
  sig { returns(T.nilable(String)) }
1326
1099
  attr_reader :city
1327
-
1328
1100
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1329
1101
  sig { returns(T.nilable(String)) }
1330
1102
  attr_reader :country
1331
-
1332
1103
  # Address line 1 (e.g., street, PO Box, or company name).
1333
1104
  sig { returns(T.nilable(String)) }
1334
1105
  attr_reader :line1
1335
-
1336
1106
  # Address line 2 (e.g., apartment, suite, unit, or building).
1337
1107
  sig { returns(T.nilable(String)) }
1338
1108
  attr_reader :line2
1339
-
1340
1109
  # ZIP or postal code.
1341
1110
  sig { returns(T.nilable(String)) }
1342
1111
  attr_reader :postal_code
1343
-
1344
1112
  # State, county, province, or region.
1345
1113
  sig { returns(T.nilable(String)) }
1346
1114
  attr_reader :state
1347
1115
  end
1116
+ # Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1117
+ sig { returns(T.nilable(String)) }
1118
+ attr_reader :country
1348
1119
  # Owner's email. Values are provided by PayPal directly
1349
1120
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1350
1121
  sig { returns(T.nilable(String)) }
1351
1122
  attr_reader :payer_email
1352
-
1353
1123
  # PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1354
1124
  sig { returns(T.nilable(String)) }
1355
1125
  attr_reader :payer_id
1356
-
1357
1126
  # Owner's full name. Values provided by PayPal directly
1358
1127
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1359
1128
  sig { returns(T.nilable(String)) }
1360
1129
  attr_reader :payer_name
1361
-
1362
1130
  # The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
1363
1131
  sig { returns(T.nilable(SellerProtection)) }
1364
1132
  attr_reader :seller_protection
1365
-
1366
1133
  # The shipping address for the customer, as supplied by the merchant at the point of payment
1367
1134
  # execution. This shipping address will not be updated if the merchant updates the shipping
1368
1135
  # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1369
1136
  sig { returns(T.nilable(Shipping)) }
1370
1137
  attr_reader :shipping
1371
-
1372
1138
  # A unique ID generated by PayPal for this transaction.
1373
1139
  sig { returns(T.nilable(String)) }
1374
1140
  attr_reader :transaction_id
1375
-
1376
1141
  # The shipping address for the customer, as supplied by the merchant at the point of payment
1377
1142
  # execution. This shipping address will not be updated if the merchant updates the shipping
1378
1143
  # address on the PaymentIntent after the PaymentIntent was successfully confirmed.
1379
1144
  sig { returns(T.nilable(VerifiedAddress)) }
1380
1145
  attr_reader :verified_address
1381
-
1382
1146
  # Owner's verified email. Values are verified or provided by PayPal directly
1383
1147
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1384
1148
  sig { returns(T.nilable(String)) }
1385
1149
  attr_reader :verified_email
1386
-
1387
1150
  # Owner's verified full name. Values are verified or provided by PayPal directly
1388
1151
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1389
1152
  sig { returns(T.nilable(String)) }
@@ -1393,15 +1156,12 @@ module Stripe
1393
1156
  # Bank-State-Branch number of the bank account.
1394
1157
  sig { returns(T.nilable(String)) }
1395
1158
  attr_reader :bsb_number
1396
-
1397
1159
  # Last four digits of the bank account number.
1398
1160
  sig { returns(T.nilable(String)) }
1399
1161
  attr_reader :last4
1400
-
1401
1162
  # ID of the mandate used to make this payment.
1402
1163
  sig { returns(String) }
1403
1164
  attr_reader :mandate
1404
-
1405
1165
  # The PayID alias for the bank account.
1406
1166
  sig { returns(T.nilable(String)) }
1407
1167
  attr_reader :pay_id
@@ -1424,23 +1184,18 @@ module Stripe
1424
1184
  # Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1425
1185
  sig { returns(T.nilable(String)) }
1426
1186
  attr_reader :brand
1427
-
1428
1187
  # Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
1429
1188
  sig { returns(T.nilable(String)) }
1430
1189
  attr_reader :country
1431
-
1432
1190
  # Two-digit number representing the card's expiration month.
1433
1191
  sig { returns(T.nilable(Integer)) }
1434
1192
  attr_reader :exp_month
1435
-
1436
1193
  # Four-digit number representing the card's expiration year.
1437
1194
  sig { returns(T.nilable(Integer)) }
1438
1195
  attr_reader :exp_year
1439
-
1440
1196
  # Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1441
1197
  sig { returns(T.nilable(String)) }
1442
1198
  attr_reader :funding
1443
-
1444
1199
  # The last four digits of the card.
1445
1200
  sig { returns(T.nilable(String)) }
1446
1201
  attr_reader :last4
@@ -1448,7 +1203,6 @@ module Stripe
1448
1203
  # Attribute for field card
1449
1204
  sig { returns(Card) }
1450
1205
  attr_reader :card
1451
-
1452
1206
  # funding type of the underlying payment method.
1453
1207
  sig { returns(T.nilable(String)) }
1454
1208
  attr_reader :type
@@ -1466,11 +1220,9 @@ module Stripe
1466
1220
  # Name of the bank associated with the bank account.
1467
1221
  sig { returns(T.nilable(String)) }
1468
1222
  attr_reader :bank_name
1469
-
1470
1223
  # Bank Identifier Code of the bank associated with the bank account.
1471
1224
  sig { returns(T.nilable(String)) }
1472
1225
  attr_reader :bic
1473
-
1474
1226
  # IBAN of the bank account to transfer funds to.
1475
1227
  sig { returns(T.nilable(String)) }
1476
1228
  attr_reader :iban
@@ -1479,23 +1231,18 @@ module Stripe
1479
1231
  # Bank code of bank associated with the bank account.
1480
1232
  sig { returns(T.nilable(String)) }
1481
1233
  attr_reader :bank_code
1482
-
1483
1234
  # Branch code of bank associated with the bank account.
1484
1235
  sig { returns(T.nilable(String)) }
1485
1236
  attr_reader :branch_code
1486
-
1487
1237
  # Two-letter ISO code representing the country the bank account is located in.
1488
1238
  sig { returns(T.nilable(String)) }
1489
1239
  attr_reader :country
1490
-
1491
1240
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1492
1241
  sig { returns(T.nilable(String)) }
1493
1242
  attr_reader :fingerprint
1494
-
1495
1243
  # Last four characters of the IBAN.
1496
1244
  sig { returns(T.nilable(String)) }
1497
1245
  attr_reader :last4
1498
-
1499
1246
  # Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
1500
1247
  sig { returns(T.nilable(String)) }
1501
1248
  attr_reader :mandate
@@ -1505,36 +1252,28 @@ module Stripe
1505
1252
  # Bank code of bank associated with the bank account.
1506
1253
  sig { returns(T.nilable(String)) }
1507
1254
  attr_reader :bank_code
1508
-
1509
1255
  # Name of the bank associated with the bank account.
1510
1256
  sig { returns(T.nilable(String)) }
1511
1257
  attr_reader :bank_name
1512
-
1513
1258
  # Bank Identifier Code of the bank associated with the bank account.
1514
1259
  sig { returns(T.nilable(String)) }
1515
1260
  attr_reader :bic
1516
-
1517
1261
  # Two-letter ISO code representing the country the bank account is located in.
1518
1262
  sig { returns(T.nilable(String)) }
1519
1263
  attr_reader :country
1520
-
1521
1264
  # The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1522
1265
  sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
1523
1266
  attr_reader :generated_sepa_debit
1524
-
1525
1267
  # The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
1526
1268
  sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
1527
1269
  attr_reader :generated_sepa_debit_mandate
1528
-
1529
1270
  # Last four characters of the IBAN.
1530
1271
  sig { returns(T.nilable(String)) }
1531
1272
  attr_reader :iban_last4
1532
-
1533
1273
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
1534
1274
  # Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
1535
1275
  sig { returns(T.nilable(String)) }
1536
1276
  attr_reader :preferred_language
1537
-
1538
1277
  # Owner's verified full name. Values are verified or provided by SOFORT directly
1539
1278
  # (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1540
1279
  sig { returns(T.nilable(String)) }
@@ -1545,11 +1284,9 @@ module Stripe
1545
1284
  # Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
1546
1285
  sig { returns(T.nilable(String)) }
1547
1286
  attr_reader :fingerprint
1548
-
1549
1287
  # Payer bank reference number for the payment
1550
1288
  sig { returns(T.nilable(String)) }
1551
1289
  attr_reader :payment_reference
1552
-
1553
1290
  # The last four digits of the Swish account phone number
1554
1291
  sig { returns(T.nilable(String)) }
1555
1292
  attr_reader :verified_phone_last4
@@ -1559,31 +1296,24 @@ module Stripe
1559
1296
  # Account holder type: individual or company.
1560
1297
  sig { returns(T.nilable(String)) }
1561
1298
  attr_reader :account_holder_type
1562
-
1563
1299
  # Account type: checkings or savings. Defaults to checking if omitted.
1564
1300
  sig { returns(T.nilable(String)) }
1565
1301
  attr_reader :account_type
1566
-
1567
1302
  # Name of the bank associated with the bank account.
1568
1303
  sig { returns(T.nilable(String)) }
1569
1304
  attr_reader :bank_name
1570
-
1571
1305
  # Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
1572
1306
  sig { returns(T.nilable(String)) }
1573
1307
  attr_reader :fingerprint
1574
-
1575
1308
  # Last four digits of the bank account number.
1576
1309
  sig { returns(T.nilable(String)) }
1577
1310
  attr_reader :last4
1578
-
1579
1311
  # ID of the mandate used to make this payment.
1580
1312
  sig { returns(T.any(String, Stripe::Mandate)) }
1581
1313
  attr_reader :mandate
1582
-
1583
1314
  # Reference number to locate ACH payments with customer's bank.
1584
1315
  sig { returns(T.nilable(String)) }
1585
1316
  attr_reader :payment_reference
1586
-
1587
1317
  # Routing number of the bank account.
1588
1318
  sig { returns(T.nilable(String)) }
1589
1319
  attr_reader :routing_number
@@ -1593,7 +1323,6 @@ module Stripe
1593
1323
  # Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
1594
1324
  sig { returns(T.nilable(String)) }
1595
1325
  attr_reader :fingerprint
1596
-
1597
1326
  # Transaction ID of this particular WeChat Pay transaction.
1598
1327
  sig { returns(T.nilable(String)) }
1599
1328
  attr_reader :transaction_id
@@ -1602,233 +1331,176 @@ module Stripe
1602
1331
  # Attribute for field ach_credit_transfer
1603
1332
  sig { returns(AchCreditTransfer) }
1604
1333
  attr_reader :ach_credit_transfer
1605
-
1606
1334
  # Attribute for field ach_debit
1607
1335
  sig { returns(AchDebit) }
1608
1336
  attr_reader :ach_debit
1609
-
1610
1337
  # Attribute for field acss_debit
1611
1338
  sig { returns(AcssDebit) }
1612
1339
  attr_reader :acss_debit
1613
-
1614
1340
  # Attribute for field affirm
1615
1341
  sig { returns(Affirm) }
1616
1342
  attr_reader :affirm
1617
-
1618
1343
  # Attribute for field afterpay_clearpay
1619
1344
  sig { returns(AfterpayClearpay) }
1620
1345
  attr_reader :afterpay_clearpay
1621
-
1622
1346
  # Attribute for field alipay
1623
1347
  sig { returns(Alipay) }
1624
1348
  attr_reader :alipay
1625
-
1626
1349
  # Attribute for field alma
1627
1350
  sig { returns(Alma) }
1628
1351
  attr_reader :alma
1629
-
1630
1352
  # Attribute for field amazon_pay
1631
1353
  sig { returns(AmazonPay) }
1632
1354
  attr_reader :amazon_pay
1633
-
1634
1355
  # Attribute for field au_becs_debit
1635
1356
  sig { returns(AuBecsDebit) }
1636
1357
  attr_reader :au_becs_debit
1637
-
1638
1358
  # Attribute for field bacs_debit
1639
1359
  sig { returns(BacsDebit) }
1640
1360
  attr_reader :bacs_debit
1641
-
1642
1361
  # Attribute for field bancontact
1643
1362
  sig { returns(Bancontact) }
1644
1363
  attr_reader :bancontact
1645
-
1646
1364
  # Attribute for field blik
1647
1365
  sig { returns(Blik) }
1648
1366
  attr_reader :blik
1649
-
1650
1367
  # Attribute for field boleto
1651
1368
  sig { returns(Boleto) }
1652
1369
  attr_reader :boleto
1653
-
1654
1370
  # Attribute for field card
1655
1371
  sig { returns(Card) }
1656
1372
  attr_reader :card
1657
-
1658
1373
  # Attribute for field card_present
1659
1374
  sig { returns(CardPresent) }
1660
1375
  attr_reader :card_present
1661
-
1662
1376
  # Attribute for field cashapp
1663
1377
  sig { returns(Cashapp) }
1664
1378
  attr_reader :cashapp
1665
-
1666
1379
  # Attribute for field customer_balance
1667
1380
  sig { returns(CustomerBalance) }
1668
1381
  attr_reader :customer_balance
1669
-
1670
1382
  # Attribute for field eps
1671
1383
  sig { returns(Eps) }
1672
1384
  attr_reader :eps
1673
-
1674
1385
  # Attribute for field fpx
1675
1386
  sig { returns(Fpx) }
1676
1387
  attr_reader :fpx
1677
-
1678
1388
  # Attribute for field giropay
1679
1389
  sig { returns(Giropay) }
1680
1390
  attr_reader :giropay
1681
-
1682
1391
  # Attribute for field gopay
1683
1392
  sig { returns(Gopay) }
1684
1393
  attr_reader :gopay
1685
-
1686
1394
  # Attribute for field grabpay
1687
1395
  sig { returns(Grabpay) }
1688
1396
  attr_reader :grabpay
1689
-
1690
1397
  # Attribute for field id_bank_transfer
1691
1398
  sig { returns(IdBankTransfer) }
1692
1399
  attr_reader :id_bank_transfer
1693
-
1694
1400
  # Attribute for field ideal
1695
1401
  sig { returns(Ideal) }
1696
1402
  attr_reader :ideal
1697
-
1698
1403
  # Attribute for field interac_present
1699
1404
  sig { returns(InteracPresent) }
1700
1405
  attr_reader :interac_present
1701
-
1702
1406
  # Attribute for field kakao_pay
1703
1407
  sig { returns(KakaoPay) }
1704
1408
  attr_reader :kakao_pay
1705
-
1706
1409
  # Attribute for field klarna
1707
1410
  sig { returns(Klarna) }
1708
1411
  attr_reader :klarna
1709
-
1710
1412
  # Attribute for field konbini
1711
1413
  sig { returns(Konbini) }
1712
1414
  attr_reader :konbini
1713
-
1714
1415
  # Attribute for field kr_card
1715
1416
  sig { returns(KrCard) }
1716
1417
  attr_reader :kr_card
1717
-
1718
1418
  # Attribute for field link
1719
1419
  sig { returns(Link) }
1720
1420
  attr_reader :link
1721
-
1722
1421
  # Attribute for field mb_way
1723
1422
  sig { returns(MbWay) }
1724
1423
  attr_reader :mb_way
1725
-
1726
1424
  # Attribute for field mobilepay
1727
1425
  sig { returns(Mobilepay) }
1728
1426
  attr_reader :mobilepay
1729
-
1730
1427
  # Attribute for field multibanco
1731
1428
  sig { returns(Multibanco) }
1732
1429
  attr_reader :multibanco
1733
-
1734
1430
  # Attribute for field naver_pay
1735
1431
  sig { returns(NaverPay) }
1736
1432
  attr_reader :naver_pay
1737
-
1738
1433
  # Attribute for field oxxo
1739
1434
  sig { returns(Oxxo) }
1740
1435
  attr_reader :oxxo
1741
-
1742
1436
  # Attribute for field p24
1743
1437
  sig { returns(P24) }
1744
1438
  attr_reader :p24
1745
-
1746
1439
  # Attribute for field payco
1747
1440
  sig { returns(Payco) }
1748
1441
  attr_reader :payco
1749
-
1750
1442
  # Attribute for field paynow
1751
1443
  sig { returns(Paynow) }
1752
1444
  attr_reader :paynow
1753
-
1754
1445
  # Attribute for field paypal
1755
1446
  sig { returns(Paypal) }
1756
1447
  attr_reader :paypal
1757
-
1758
1448
  # Attribute for field payto
1759
1449
  sig { returns(Payto) }
1760
1450
  attr_reader :payto
1761
-
1762
1451
  # Attribute for field pix
1763
1452
  sig { returns(Pix) }
1764
1453
  attr_reader :pix
1765
-
1766
1454
  # Attribute for field promptpay
1767
1455
  sig { returns(Promptpay) }
1768
1456
  attr_reader :promptpay
1769
-
1770
1457
  # Attribute for field qris
1771
1458
  sig { returns(Qris) }
1772
1459
  attr_reader :qris
1773
-
1774
1460
  # Attribute for field rechnung
1775
1461
  sig { returns(Rechnung) }
1776
1462
  attr_reader :rechnung
1777
-
1778
1463
  # Attribute for field revolut_pay
1779
1464
  sig { returns(RevolutPay) }
1780
1465
  attr_reader :revolut_pay
1781
-
1782
1466
  # Attribute for field samsung_pay
1783
1467
  sig { returns(SamsungPay) }
1784
1468
  attr_reader :samsung_pay
1785
-
1786
1469
  # Attribute for field sepa_credit_transfer
1787
1470
  sig { returns(SepaCreditTransfer) }
1788
1471
  attr_reader :sepa_credit_transfer
1789
-
1790
1472
  # Attribute for field sepa_debit
1791
1473
  sig { returns(SepaDebit) }
1792
1474
  attr_reader :sepa_debit
1793
-
1794
1475
  # Attribute for field shopeepay
1795
1476
  sig { returns(Shopeepay) }
1796
1477
  attr_reader :shopeepay
1797
-
1798
1478
  # Attribute for field sofort
1799
1479
  sig { returns(Sofort) }
1800
1480
  attr_reader :sofort
1801
-
1802
1481
  # Attribute for field stripe_account
1803
1482
  sig { returns(StripeAccount) }
1804
1483
  attr_reader :stripe_account
1805
-
1806
1484
  # Attribute for field swish
1807
1485
  sig { returns(Swish) }
1808
1486
  attr_reader :swish
1809
-
1810
1487
  # Attribute for field twint
1811
1488
  sig { returns(Twint) }
1812
1489
  attr_reader :twint
1813
-
1814
1490
  # The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
1815
1491
  # An additional hash is included on `payment_method_details` with a name matching this value.
1816
1492
  # It contains information specific to the payment method.
1817
1493
  sig { returns(String) }
1818
1494
  attr_reader :type
1819
-
1820
1495
  # Attribute for field us_bank_account
1821
1496
  sig { returns(UsBankAccount) }
1822
1497
  attr_reader :us_bank_account
1823
-
1824
1498
  # Attribute for field wechat
1825
1499
  sig { returns(Wechat) }
1826
1500
  attr_reader :wechat
1827
-
1828
1501
  # Attribute for field wechat_pay
1829
1502
  sig { returns(WechatPay) }
1830
1503
  attr_reader :wechat_pay
1831
-
1832
1504
  # Attribute for field zip
1833
1505
  sig { returns(Zip) }
1834
1506
  attr_reader :zip
@@ -1843,23 +1515,18 @@ module Stripe
1843
1515
  # City, district, suburb, town, or village.
1844
1516
  sig { returns(T.nilable(String)) }
1845
1517
  attr_reader :city
1846
-
1847
1518
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1848
1519
  sig { returns(T.nilable(String)) }
1849
1520
  attr_reader :country
1850
-
1851
1521
  # Address line 1 (e.g., street, PO Box, or company name).
1852
1522
  sig { returns(T.nilable(String)) }
1853
1523
  attr_reader :line1
1854
-
1855
1524
  # Address line 2 (e.g., apartment, suite, unit, or building).
1856
1525
  sig { returns(T.nilable(String)) }
1857
1526
  attr_reader :line2
1858
-
1859
1527
  # ZIP or postal code.
1860
1528
  sig { returns(T.nilable(String)) }
1861
1529
  attr_reader :postal_code
1862
-
1863
1530
  # State, county, province, or region.
1864
1531
  sig { returns(T.nilable(String)) }
1865
1532
  attr_reader :state
@@ -1867,19 +1534,15 @@ module Stripe
1867
1534
  # Attribute for field address
1868
1535
  sig { returns(Address) }
1869
1536
  attr_reader :address
1870
-
1871
1537
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
1872
1538
  sig { returns(T.nilable(String)) }
1873
1539
  attr_reader :carrier
1874
-
1875
1540
  # Recipient name.
1876
1541
  sig { returns(String) }
1877
1542
  attr_reader :name
1878
-
1879
1543
  # Recipient phone (including extension).
1880
1544
  sig { returns(T.nilable(String)) }
1881
1545
  attr_reader :phone
1882
-
1883
1546
  # 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.
1884
1547
  sig { returns(T.nilable(String)) }
1885
1548
  attr_reader :tracking_number
@@ -1888,7 +1551,6 @@ module Stripe
1888
1551
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
1889
1552
  sig { returns(T.nilable(Integer)) }
1890
1553
  attr_reader :amount
1891
-
1892
1554
  # ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
1893
1555
  sig { returns(T.any(String, Stripe::Account)) }
1894
1556
  attr_reader :destination
@@ -1896,252 +1558,192 @@ module Stripe
1896
1558
  # 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).
1897
1559
  sig { returns(Integer) }
1898
1560
  attr_reader :amount
1899
-
1900
1561
  # Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
1901
1562
  sig { returns(Integer) }
1902
1563
  attr_reader :amount_captured
1903
-
1904
1564
  # Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
1905
1565
  sig { returns(Integer) }
1906
1566
  attr_reader :amount_refunded
1907
-
1908
1567
  # ID of the Connect application that created the charge.
1909
1568
  sig { returns(T.nilable(T.any(String, Stripe::Application))) }
1910
1569
  attr_reader :application
1911
-
1912
1570
  # The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
1913
1571
  sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) }
1914
1572
  attr_reader :application_fee
1915
-
1916
1573
  # The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
1917
1574
  sig { returns(T.nilable(Integer)) }
1918
1575
  attr_reader :application_fee_amount
1919
-
1920
1576
  # Authorization code on the charge.
1921
1577
  sig { returns(String) }
1922
1578
  attr_reader :authorization_code
1923
-
1924
1579
  # ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
1925
1580
  sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) }
1926
1581
  attr_reader :balance_transaction
1927
-
1928
1582
  # Attribute for field billing_details
1929
1583
  sig { returns(BillingDetails) }
1930
1584
  attr_reader :billing_details
1931
-
1932
1585
  # The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
1933
1586
  sig { returns(T.nilable(String)) }
1934
1587
  attr_reader :calculated_statement_descriptor
1935
-
1936
1588
  # If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
1937
1589
  sig { returns(T::Boolean) }
1938
1590
  attr_reader :captured
1939
-
1940
1591
  # Time at which the object was created. Measured in seconds since the Unix epoch.
1941
1592
  sig { returns(Integer) }
1942
1593
  attr_reader :created
1943
-
1944
1594
  # 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).
1945
1595
  sig { returns(String) }
1946
1596
  attr_reader :currency
1947
-
1948
1597
  # ID of the customer this charge is for if one exists.
1949
1598
  sig { returns(T.nilable(T.any(String, Stripe::Customer))) }
1950
1599
  attr_reader :customer
1951
-
1952
1600
  # An arbitrary string attached to the object. Often useful for displaying to users.
1953
1601
  sig { returns(T.nilable(String)) }
1954
1602
  attr_reader :description
1955
-
1956
1603
  # Whether the charge has been disputed.
1957
1604
  sig { returns(T::Boolean) }
1958
1605
  attr_reader :disputed
1959
-
1960
1606
  # ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
1961
1607
  sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) }
1962
1608
  attr_reader :failure_balance_transaction
1963
-
1964
1609
  # Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
1965
1610
  sig { returns(T.nilable(String)) }
1966
1611
  attr_reader :failure_code
1967
-
1968
1612
  # Message to user further explaining reason for charge failure if available.
1969
1613
  sig { returns(T.nilable(String)) }
1970
1614
  attr_reader :failure_message
1971
-
1972
1615
  # Information on fraud assessments for the charge.
1973
1616
  sig { returns(T.nilable(FraudDetails)) }
1974
1617
  attr_reader :fraud_details
1975
-
1976
1618
  # Unique identifier for the object.
1977
1619
  sig { returns(String) }
1978
1620
  attr_reader :id
1979
-
1980
1621
  # ID of the invoice this charge is for if one exists.
1981
1622
  sig { returns(T.nilable(T.any(String, Stripe::Invoice))) }
1982
1623
  attr_reader :invoice
1983
-
1984
1624
  # Attribute for field level3
1985
1625
  sig { returns(Level3) }
1986
1626
  attr_reader :level3
1987
-
1988
1627
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1989
1628
  sig { returns(T::Boolean) }
1990
1629
  attr_reader :livemode
1991
-
1992
1630
  # 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.
1993
1631
  sig { returns(T::Hash[String, String]) }
1994
1632
  attr_reader :metadata
1995
-
1996
1633
  # String representing the object's type. Objects of the same type share the same value.
1997
1634
  sig { returns(String) }
1998
1635
  attr_reader :object
1999
-
2000
1636
  # The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
2001
1637
  sig { returns(T.nilable(T.any(String, Stripe::Account))) }
2002
1638
  attr_reader :on_behalf_of
2003
-
2004
1639
  # Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
2005
1640
  sig { returns(T.nilable(Outcome)) }
2006
1641
  attr_reader :outcome
2007
-
2008
1642
  # `true` if the charge succeeded, or was successfully authorized for later capture.
2009
1643
  sig { returns(T::Boolean) }
2010
1644
  attr_reader :paid
2011
-
2012
1645
  # ID of the PaymentIntent associated with this charge, if one exists.
2013
1646
  sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) }
2014
1647
  attr_reader :payment_intent
2015
-
2016
1648
  # ID of the payment method used in this charge.
2017
1649
  sig { returns(T.nilable(String)) }
2018
1650
  attr_reader :payment_method
2019
-
2020
1651
  # Details about the payment method at the time of the transaction.
2021
1652
  sig { returns(T.nilable(PaymentMethodDetails)) }
2022
1653
  attr_reader :payment_method_details
2023
-
2024
1654
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2025
1655
  sig { returns(RadarOptions) }
2026
1656
  attr_reader :radar_options
2027
-
2028
1657
  # This is the email address that the receipt for this charge was sent to.
2029
1658
  sig { returns(T.nilable(String)) }
2030
1659
  attr_reader :receipt_email
2031
-
2032
1660
  # This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
2033
1661
  sig { returns(T.nilable(String)) }
2034
1662
  attr_reader :receipt_number
2035
-
2036
1663
  # This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
2037
1664
  sig { returns(T.nilable(String)) }
2038
1665
  attr_reader :receipt_url
2039
-
2040
1666
  # Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
2041
1667
  sig { returns(T::Boolean) }
2042
1668
  attr_reader :refunded
2043
-
2044
1669
  # A list of refunds that have been applied to the charge.
2045
1670
  sig { returns(T.nilable(Stripe::ListObject)) }
2046
1671
  attr_reader :refunds
2047
-
2048
1672
  # ID of the review associated with this charge if one exists.
2049
1673
  sig { returns(T.nilable(T.any(String, Stripe::Review))) }
2050
1674
  attr_reader :review
2051
-
2052
1675
  # Shipping information for the charge.
2053
1676
  sig { returns(T.nilable(Shipping)) }
2054
1677
  attr_reader :shipping
2055
-
2056
1678
  # This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
2057
1679
  sig {
2058
1680
  returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))
2059
1681
  }
2060
1682
  attr_reader :source
2061
-
2062
1683
  # The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
2063
1684
  sig { returns(T.nilable(T.any(String, Stripe::Transfer))) }
2064
1685
  attr_reader :source_transfer
2065
-
2066
1686
  # 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).
2067
1687
  #
2068
1688
  # 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.
2069
1689
  sig { returns(T.nilable(String)) }
2070
1690
  attr_reader :statement_descriptor
2071
-
2072
1691
  # 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.
2073
1692
  sig { returns(T.nilable(String)) }
2074
1693
  attr_reader :statement_descriptor_suffix
2075
-
2076
1694
  # The status of the payment is either `succeeded`, `pending`, or `failed`.
2077
1695
  sig { returns(String) }
2078
1696
  attr_reader :status
2079
-
2080
1697
  # ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
2081
1698
  sig { returns(T.any(String, Stripe::Transfer)) }
2082
1699
  attr_reader :transfer
2083
-
2084
1700
  # 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.
2085
1701
  sig { returns(T.nilable(TransferData)) }
2086
1702
  attr_reader :transfer_data
2087
-
2088
1703
  # A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
2089
1704
  sig { returns(T.nilable(String)) }
2090
1705
  attr_reader :transfer_group
2091
-
2092
1706
  class ListParams < Stripe::RequestParams
2093
1707
  class Created < Stripe::RequestParams
2094
1708
  # Minimum value to filter by (exclusive)
2095
1709
  sig { returns(Integer) }
2096
1710
  attr_accessor :gt
2097
-
2098
1711
  # Minimum value to filter by (inclusive)
2099
1712
  sig { returns(Integer) }
2100
1713
  attr_accessor :gte
2101
-
2102
1714
  # Maximum value to filter by (exclusive)
2103
1715
  sig { returns(Integer) }
2104
1716
  attr_accessor :lt
2105
-
2106
1717
  # Maximum value to filter by (inclusive)
2107
1718
  sig { returns(Integer) }
2108
1719
  attr_accessor :lte
2109
-
2110
1720
  sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
2111
1721
  def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
2112
1722
  end
2113
1723
  # Only return charges that were created during the given date interval.
2114
1724
  sig { returns(T.any(::Stripe::Charge::ListParams::Created, Integer)) }
2115
1725
  attr_accessor :created
2116
-
2117
1726
  # Only return charges for the customer specified by this customer ID.
2118
1727
  sig { returns(String) }
2119
1728
  attr_accessor :customer
2120
-
2121
1729
  # 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.
2122
1730
  sig { returns(String) }
2123
1731
  attr_accessor :ending_before
2124
-
2125
1732
  # Specifies which fields in the response should be expanded.
2126
1733
  sig { returns(T::Array[String]) }
2127
1734
  attr_accessor :expand
2128
-
2129
1735
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2130
1736
  sig { returns(Integer) }
2131
1737
  attr_accessor :limit
2132
-
2133
1738
  # Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
2134
1739
  sig { returns(String) }
2135
1740
  attr_accessor :payment_intent
2136
-
2137
1741
  # 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.
2138
1742
  sig { returns(String) }
2139
1743
  attr_accessor :starting_after
2140
-
2141
1744
  # Only return charges for this transfer group, limited to 100.
2142
1745
  sig { returns(String) }
2143
1746
  attr_accessor :transfer_group
2144
-
2145
1747
  sig {
2146
1748
  params(created: T.any(::Stripe::Charge::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_intent: String, starting_after: String, transfer_group: String).void
2147
1749
  }
@@ -2161,11 +1763,9 @@ module Stripe
2161
1763
  # ID of an existing, connected Stripe account.
2162
1764
  sig { returns(String) }
2163
1765
  attr_accessor :account
2164
-
2165
1766
  # 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.
2166
1767
  sig { returns(Integer) }
2167
1768
  attr_accessor :amount
2168
-
2169
1769
  sig { params(account: String, amount: Integer).void }
2170
1770
  def initialize(account: nil, amount: nil); end
2171
1771
  end
@@ -2173,7 +1773,6 @@ module Stripe
2173
1773
  # 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.
2174
1774
  sig { returns(String) }
2175
1775
  attr_accessor :session
2176
-
2177
1776
  sig { params(session: String).void }
2178
1777
  def initialize(session: nil); end
2179
1778
  end
@@ -2182,27 +1781,21 @@ module Stripe
2182
1781
  # City, district, suburb, town, or village.
2183
1782
  sig { returns(String) }
2184
1783
  attr_accessor :city
2185
-
2186
1784
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2187
1785
  sig { returns(String) }
2188
1786
  attr_accessor :country
2189
-
2190
1787
  # Address line 1 (e.g., street, PO Box, or company name).
2191
1788
  sig { returns(String) }
2192
1789
  attr_accessor :line1
2193
-
2194
1790
  # Address line 2 (e.g., apartment, suite, unit, or building).
2195
1791
  sig { returns(String) }
2196
1792
  attr_accessor :line2
2197
-
2198
1793
  # ZIP or postal code.
2199
1794
  sig { returns(String) }
2200
1795
  attr_accessor :postal_code
2201
-
2202
1796
  # State, county, province, or region.
2203
1797
  sig { returns(String) }
2204
1798
  attr_accessor :state
2205
-
2206
1799
  sig {
2207
1800
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2208
1801
  }
@@ -2218,23 +1811,18 @@ module Stripe
2218
1811
  # Shipping address.
2219
1812
  sig { returns(::Stripe::Charge::CreateParams::Shipping::Address) }
2220
1813
  attr_accessor :address
2221
-
2222
1814
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
2223
1815
  sig { returns(String) }
2224
1816
  attr_accessor :carrier
2225
-
2226
1817
  # Recipient name.
2227
1818
  sig { returns(String) }
2228
1819
  attr_accessor :name
2229
-
2230
1820
  # Recipient phone (including extension).
2231
1821
  sig { returns(String) }
2232
1822
  attr_accessor :phone
2233
-
2234
1823
  # 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.
2235
1824
  sig { returns(String) }
2236
1825
  attr_accessor :tracking_number
2237
-
2238
1826
  sig {
2239
1827
  params(address: ::Stripe::Charge::CreateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
2240
1828
  }
@@ -2244,92 +1832,71 @@ module Stripe
2244
1832
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
2245
1833
  sig { returns(Integer) }
2246
1834
  attr_accessor :amount
2247
-
2248
1835
  # ID of an existing, connected Stripe account.
2249
1836
  sig { returns(String) }
2250
1837
  attr_accessor :destination
2251
-
2252
1838
  sig { params(amount: Integer, destination: String).void }
2253
1839
  def initialize(amount: nil, destination: nil); end
2254
1840
  end
2255
1841
  # 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).
2256
1842
  sig { returns(Integer) }
2257
1843
  attr_accessor :amount
2258
-
2259
1844
  # Attribute for param field application_fee
2260
1845
  sig { returns(Integer) }
2261
1846
  attr_accessor :application_fee
2262
-
2263
1847
  # 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).
2264
1848
  sig { returns(Integer) }
2265
1849
  attr_accessor :application_fee_amount
2266
-
2267
1850
  # 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.
2268
1851
  sig { returns(T::Boolean) }
2269
1852
  attr_accessor :capture
2270
-
2271
1853
  # 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).
2272
1854
  sig { returns(String) }
2273
1855
  attr_accessor :currency
2274
-
2275
1856
  # The ID of an existing customer that will be charged in this request.
2276
1857
  sig { returns(String) }
2277
1858
  attr_accessor :customer
2278
-
2279
1859
  # 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.
2280
1860
  sig { returns(String) }
2281
1861
  attr_accessor :description
2282
-
2283
1862
  # Attribute for param field destination
2284
1863
  sig { returns(::Stripe::Charge::CreateParams::Destination) }
2285
1864
  attr_accessor :destination
2286
-
2287
1865
  # Specifies which fields in the response should be expanded.
2288
1866
  sig { returns(T::Array[String]) }
2289
1867
  attr_accessor :expand
2290
-
2291
1868
  # 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`.
2292
1869
  sig { returns(T.nilable(T::Hash[String, String])) }
2293
1870
  attr_accessor :metadata
2294
-
2295
1871
  # 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).
2296
1872
  sig { returns(String) }
2297
1873
  attr_accessor :on_behalf_of
2298
-
2299
1874
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
2300
1875
  sig { returns(::Stripe::Charge::CreateParams::RadarOptions) }
2301
1876
  attr_accessor :radar_options
2302
-
2303
1877
  # 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).
2304
1878
  sig { returns(String) }
2305
1879
  attr_accessor :receipt_email
2306
-
2307
1880
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
2308
1881
  sig { returns(::Stripe::Charge::CreateParams::Shipping) }
2309
1882
  attr_accessor :shipping
2310
-
2311
1883
  # 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.
2312
1884
  sig { returns(String) }
2313
1885
  attr_accessor :source
2314
-
2315
1886
  # 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).
2316
1887
  #
2317
1888
  # 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.
2318
1889
  sig { returns(String) }
2319
1890
  attr_accessor :statement_descriptor
2320
-
2321
1891
  # 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.
2322
1892
  sig { returns(String) }
2323
1893
  attr_accessor :statement_descriptor_suffix
2324
-
2325
1894
  # 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.
2326
1895
  sig { returns(::Stripe::Charge::CreateParams::TransferData) }
2327
1896
  attr_accessor :transfer_data
2328
-
2329
1897
  # 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).
2330
1898
  sig { returns(String) }
2331
1899
  attr_accessor :transfer_group
2332
-
2333
1900
  sig {
2334
1901
  params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, capture: T::Boolean, currency: String, customer: String, description: String, destination: ::Stripe::Charge::CreateParams::Destination, expand: T::Array[String], metadata: T.nilable(T::Hash[String, String]), on_behalf_of: String, radar_options: ::Stripe::Charge::CreateParams::RadarOptions, receipt_email: String, shipping: ::Stripe::Charge::CreateParams::Shipping, source: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::Charge::CreateParams::TransferData, transfer_group: String).void
2335
1902
  }
@@ -2359,7 +1926,6 @@ module Stripe
2359
1926
  # Specifies which fields in the response should be expanded.
2360
1927
  sig { returns(T::Array[String]) }
2361
1928
  attr_accessor :expand
2362
-
2363
1929
  sig { params(expand: T::Array[String]).void }
2364
1930
  def initialize(expand: nil); end
2365
1931
  end
@@ -2368,7 +1934,6 @@ module Stripe
2368
1934
  # Either `safe` or `fraudulent`.
2369
1935
  sig { returns(T.nilable(String)) }
2370
1936
  attr_accessor :user_report
2371
-
2372
1937
  sig { params(user_report: T.nilable(String)).void }
2373
1938
  def initialize(user_report: nil); end
2374
1939
  end
@@ -2378,7 +1943,6 @@ module Stripe
2378
1943
  # The name of the affiliate that originated the purchase.
2379
1944
  sig { returns(String) }
2380
1945
  attr_accessor :name
2381
-
2382
1946
  sig { params(name: String).void }
2383
1947
  def initialize(name: nil); end
2384
1948
  end
@@ -2387,28 +1951,23 @@ module Stripe
2387
1951
  # The email of the recipient the ticket is delivered to.
2388
1952
  sig { returns(String) }
2389
1953
  attr_accessor :email
2390
-
2391
1954
  # The name of the recipient the ticket is delivered to.
2392
1955
  sig { returns(String) }
2393
1956
  attr_accessor :name
2394
-
2395
1957
  # The phone number of the recipient the ticket is delivered to.
2396
1958
  sig { returns(String) }
2397
1959
  attr_accessor :phone
2398
-
2399
1960
  sig { params(email: String, name: String, phone: String).void }
2400
1961
  def initialize(email: nil, name: nil, phone: nil); end
2401
1962
  end
2402
1963
  # The delivery method for the payment
2403
1964
  sig { returns(String) }
2404
1965
  attr_accessor :mode
2405
-
2406
1966
  # Details of the recipient.
2407
1967
  sig {
2408
1968
  returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient)
2409
1969
  }
2410
1970
  attr_accessor :recipient
2411
-
2412
1971
  sig {
2413
1972
  params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient).void
2414
1973
  }
@@ -2418,7 +1977,6 @@ module Stripe
2418
1977
  # Full name of the person or entity on the car reservation.
2419
1978
  sig { returns(String) }
2420
1979
  attr_accessor :name
2421
-
2422
1980
  sig { params(name: String).void }
2423
1981
  def initialize(name: nil); end
2424
1982
  end
@@ -2426,27 +1984,21 @@ module Stripe
2426
1984
  # City, district, suburb, town, or village.
2427
1985
  sig { returns(String) }
2428
1986
  attr_accessor :city
2429
-
2430
1987
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2431
1988
  sig { returns(String) }
2432
1989
  attr_accessor :country
2433
-
2434
1990
  # Address line 1 (e.g., street, PO Box, or company name).
2435
1991
  sig { returns(String) }
2436
1992
  attr_accessor :line1
2437
-
2438
1993
  # Address line 2 (e.g., apartment, suite, unit, or building).
2439
1994
  sig { returns(String) }
2440
1995
  attr_accessor :line2
2441
-
2442
1996
  # ZIP or postal code.
2443
1997
  sig { returns(String) }
2444
1998
  attr_accessor :postal_code
2445
-
2446
1999
  # State, county, province, or region.
2447
2000
  sig { returns(String) }
2448
2001
  attr_accessor :state
2449
-
2450
2002
  sig {
2451
2003
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2452
2004
  }
@@ -2463,27 +2015,21 @@ module Stripe
2463
2015
  # City, district, suburb, town, or village.
2464
2016
  sig { returns(String) }
2465
2017
  attr_accessor :city
2466
-
2467
2018
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2468
2019
  sig { returns(String) }
2469
2020
  attr_accessor :country
2470
-
2471
2021
  # Address line 1 (e.g., street, PO Box, or company name).
2472
2022
  sig { returns(String) }
2473
2023
  attr_accessor :line1
2474
-
2475
2024
  # Address line 2 (e.g., apartment, suite, unit, or building).
2476
2025
  sig { returns(String) }
2477
2026
  attr_accessor :line2
2478
-
2479
2027
  # ZIP or postal code.
2480
2028
  sig { returns(String) }
2481
2029
  attr_accessor :postal_code
2482
-
2483
2030
  # State, county, province, or region.
2484
2031
  sig { returns(String) }
2485
2032
  attr_accessor :state
2486
-
2487
2033
  sig {
2488
2034
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2489
2035
  }
@@ -2499,85 +2045,65 @@ module Stripe
2499
2045
  # Affiliate details for this purchase.
2500
2046
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Affiliate) }
2501
2047
  attr_accessor :affiliate
2502
-
2503
2048
  # The booking number associated with the car rental.
2504
2049
  sig { returns(String) }
2505
2050
  attr_accessor :booking_number
2506
-
2507
2051
  # Class code of the car.
2508
2052
  sig { returns(String) }
2509
2053
  attr_accessor :car_class_code
2510
-
2511
2054
  # Make of the car.
2512
2055
  sig { returns(String) }
2513
2056
  attr_accessor :car_make
2514
-
2515
2057
  # Model of the car.
2516
2058
  sig { returns(String) }
2517
2059
  attr_accessor :car_model
2518
-
2519
2060
  # The name of the rental car company.
2520
2061
  sig { returns(String) }
2521
2062
  attr_accessor :company
2522
-
2523
2063
  # The customer service phone number of the car rental company.
2524
2064
  sig { returns(String) }
2525
2065
  attr_accessor :customer_service_phone_number
2526
-
2527
2066
  # Number of days the car is being rented.
2528
2067
  sig { returns(Integer) }
2529
2068
  attr_accessor :days_rented
2530
-
2531
2069
  # Delivery details for this purchase.
2532
2070
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery) }
2533
2071
  attr_accessor :delivery
2534
-
2535
2072
  # The details of the passengers in the travel reservation
2536
2073
  sig {
2537
2074
  returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver])
2538
2075
  }
2539
2076
  attr_accessor :drivers
2540
-
2541
2077
  # List of additional charges being billed.
2542
2078
  sig { returns(T::Array[String]) }
2543
2079
  attr_accessor :extra_charges
2544
-
2545
2080
  # Indicates if the customer did not keep nor cancel their booking.
2546
2081
  sig { returns(T::Boolean) }
2547
2082
  attr_accessor :no_show
2548
-
2549
2083
  # Car pick-up address.
2550
2084
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress) }
2551
2085
  attr_accessor :pickup_address
2552
-
2553
2086
  # Car pick-up time. Measured in seconds since the Unix epoch.
2554
2087
  sig { returns(Integer) }
2555
2088
  attr_accessor :pickup_at
2556
-
2557
2089
  # Rental rate.
2558
2090
  sig { returns(Integer) }
2559
2091
  attr_accessor :rate_amount
2560
-
2561
2092
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
2562
2093
  sig { returns(String) }
2563
2094
  attr_accessor :rate_interval
2564
-
2565
2095
  # The name of the person or entity renting the car.
2566
2096
  sig { returns(String) }
2567
2097
  attr_accessor :renter_name
2568
-
2569
2098
  # Car return address.
2570
2099
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress) }
2571
2100
  attr_accessor :return_address
2572
-
2573
2101
  # Car return time. Measured in seconds since the Unix epoch.
2574
2102
  sig { returns(Integer) }
2575
2103
  attr_accessor :return_at
2576
-
2577
2104
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
2578
2105
  sig { returns(T::Boolean) }
2579
2106
  attr_accessor :tax_exempt
2580
-
2581
2107
  sig {
2582
2108
  params(affiliate: ::Stripe::Charge::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::Charge::UpdateParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
2583
2109
  }
@@ -2609,27 +2135,21 @@ module Stripe
2609
2135
  # City, district, suburb, town, or village.
2610
2136
  sig { returns(String) }
2611
2137
  attr_accessor :city
2612
-
2613
2138
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2614
2139
  sig { returns(String) }
2615
2140
  attr_accessor :country
2616
-
2617
2141
  # Address line 1 (e.g., street, PO Box, or company name).
2618
2142
  sig { returns(String) }
2619
2143
  attr_accessor :line1
2620
-
2621
2144
  # Address line 2 (e.g., apartment, suite, unit, or building).
2622
2145
  sig { returns(String) }
2623
2146
  attr_accessor :line2
2624
-
2625
2147
  # ZIP or postal code.
2626
2148
  sig { returns(String) }
2627
2149
  attr_accessor :postal_code
2628
-
2629
2150
  # State, county, province, or region.
2630
2151
  sig { returns(String) }
2631
2152
  attr_accessor :state
2632
-
2633
2153
  sig {
2634
2154
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2635
2155
  }
@@ -2646,7 +2166,6 @@ module Stripe
2646
2166
  # The name of the affiliate that originated the purchase.
2647
2167
  sig { returns(String) }
2648
2168
  attr_accessor :name
2649
-
2650
2169
  sig { params(name: String).void }
2651
2170
  def initialize(name: nil); end
2652
2171
  end
@@ -2655,28 +2174,23 @@ module Stripe
2655
2174
  # The email of the recipient the ticket is delivered to.
2656
2175
  sig { returns(String) }
2657
2176
  attr_accessor :email
2658
-
2659
2177
  # The name of the recipient the ticket is delivered to.
2660
2178
  sig { returns(String) }
2661
2179
  attr_accessor :name
2662
-
2663
2180
  # The phone number of the recipient the ticket is delivered to.
2664
2181
  sig { returns(String) }
2665
2182
  attr_accessor :phone
2666
-
2667
2183
  sig { params(email: String, name: String, phone: String).void }
2668
2184
  def initialize(email: nil, name: nil, phone: nil); end
2669
2185
  end
2670
2186
  # The delivery method for the payment
2671
2187
  sig { returns(String) }
2672
2188
  attr_accessor :mode
2673
-
2674
2189
  # Details of the recipient.
2675
2190
  sig {
2676
2191
  returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient)
2677
2192
  }
2678
2193
  attr_accessor :recipient
2679
-
2680
2194
  sig {
2681
2195
  params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient).void
2682
2196
  }
@@ -2685,39 +2199,30 @@ module Stripe
2685
2199
  # Indicates if the tickets are digitally checked when entering the venue.
2686
2200
  sig { returns(T::Boolean) }
2687
2201
  attr_accessor :access_controlled_venue
2688
-
2689
2202
  # The event location's address.
2690
2203
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Address) }
2691
2204
  attr_accessor :address
2692
-
2693
2205
  # Affiliate details for this purchase.
2694
2206
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Affiliate) }
2695
2207
  attr_accessor :affiliate
2696
-
2697
2208
  # The name of the company
2698
2209
  sig { returns(String) }
2699
2210
  attr_accessor :company
2700
-
2701
2211
  # Delivery details for this purchase.
2702
2212
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery) }
2703
2213
  attr_accessor :delivery
2704
-
2705
2214
  # Event end time. Measured in seconds since the Unix epoch.
2706
2215
  sig { returns(Integer) }
2707
2216
  attr_accessor :ends_at
2708
-
2709
2217
  # Type of the event entertainment (concert, sports event etc)
2710
2218
  sig { returns(String) }
2711
2219
  attr_accessor :genre
2712
-
2713
2220
  # The name of the event.
2714
2221
  sig { returns(String) }
2715
2222
  attr_accessor :name
2716
-
2717
2223
  # Event start time. Measured in seconds since the Unix epoch.
2718
2224
  sig { returns(Integer) }
2719
2225
  attr_accessor :starts_at
2720
-
2721
2226
  sig {
2722
2227
  params(access_controlled_venue: T::Boolean, address: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
2723
2228
  }
@@ -2738,7 +2243,6 @@ module Stripe
2738
2243
  # The name of the affiliate that originated the purchase.
2739
2244
  sig { returns(String) }
2740
2245
  attr_accessor :name
2741
-
2742
2246
  sig { params(name: String).void }
2743
2247
  def initialize(name: nil); end
2744
2248
  end
@@ -2747,28 +2251,23 @@ module Stripe
2747
2251
  # The email of the recipient the ticket is delivered to.
2748
2252
  sig { returns(String) }
2749
2253
  attr_accessor :email
2750
-
2751
2254
  # The name of the recipient the ticket is delivered to.
2752
2255
  sig { returns(String) }
2753
2256
  attr_accessor :name
2754
-
2755
2257
  # The phone number of the recipient the ticket is delivered to.
2756
2258
  sig { returns(String) }
2757
2259
  attr_accessor :phone
2758
-
2759
2260
  sig { params(email: String, name: String, phone: String).void }
2760
2261
  def initialize(email: nil, name: nil, phone: nil); end
2761
2262
  end
2762
2263
  # The delivery method for the payment
2763
2264
  sig { returns(String) }
2764
2265
  attr_accessor :mode
2765
-
2766
2266
  # Details of the recipient.
2767
2267
  sig {
2768
2268
  returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery::Recipient)
2769
2269
  }
2770
2270
  attr_accessor :recipient
2771
-
2772
2271
  sig {
2773
2272
  params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery::Recipient).void
2774
2273
  }
@@ -2778,7 +2277,6 @@ module Stripe
2778
2277
  # Full name of the person or entity on the flight reservation.
2779
2278
  sig { returns(String) }
2780
2279
  attr_accessor :name
2781
-
2782
2280
  sig { params(name: String).void }
2783
2281
  def initialize(name: nil); end
2784
2282
  end
@@ -2786,35 +2284,27 @@ module Stripe
2786
2284
  # The flight segment amount.
2787
2285
  sig { returns(Integer) }
2788
2286
  attr_accessor :amount
2789
-
2790
2287
  # The International Air Transport Association (IATA) airport code for the arrival airport.
2791
2288
  sig { returns(String) }
2792
2289
  attr_accessor :arrival_airport
2793
-
2794
2290
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
2795
2291
  sig { returns(Integer) }
2796
2292
  attr_accessor :arrives_at
2797
-
2798
2293
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
2799
2294
  sig { returns(String) }
2800
2295
  attr_accessor :carrier
2801
-
2802
2296
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
2803
2297
  sig { returns(Integer) }
2804
2298
  attr_accessor :departs_at
2805
-
2806
2299
  # The International Air Transport Association (IATA) airport code for the departure airport.
2807
2300
  sig { returns(String) }
2808
2301
  attr_accessor :departure_airport
2809
-
2810
2302
  # The flight number associated with the segment
2811
2303
  sig { returns(String) }
2812
2304
  attr_accessor :flight_number
2813
-
2814
2305
  # The fare class for the segment.
2815
2306
  sig { returns(String) }
2816
2307
  attr_accessor :service_class
2817
-
2818
2308
  sig {
2819
2309
  params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
2820
2310
  }
@@ -2832,37 +2322,29 @@ module Stripe
2832
2322
  # Affiliate details for this purchase.
2833
2323
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Affiliate) }
2834
2324
  attr_accessor :affiliate
2835
-
2836
2325
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
2837
2326
  sig { returns(String) }
2838
2327
  attr_accessor :agency_number
2839
-
2840
2328
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
2841
2329
  sig { returns(String) }
2842
2330
  attr_accessor :carrier
2843
-
2844
2331
  # Delivery details for this purchase.
2845
2332
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery) }
2846
2333
  attr_accessor :delivery
2847
-
2848
2334
  # The name of the person or entity on the reservation.
2849
2335
  sig { returns(String) }
2850
2336
  attr_accessor :passenger_name
2851
-
2852
2337
  # The details of the passengers in the travel reservation.
2853
2338
  sig {
2854
2339
  returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Passenger])
2855
2340
  }
2856
2341
  attr_accessor :passengers
2857
-
2858
2342
  # The individual flight segments associated with the trip.
2859
2343
  sig { returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Segment]) }
2860
2344
  attr_accessor :segments
2861
-
2862
2345
  # The ticket number associated with the travel reservation.
2863
2346
  sig { returns(String) }
2864
2347
  attr_accessor :ticket_number
2865
-
2866
2348
  sig {
2867
2349
  params(affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Segment], ticket_number: String).void
2868
2350
  }
@@ -2882,27 +2364,21 @@ module Stripe
2882
2364
  # City, district, suburb, town, or village.
2883
2365
  sig { returns(String) }
2884
2366
  attr_accessor :city
2885
-
2886
2367
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2887
2368
  sig { returns(String) }
2888
2369
  attr_accessor :country
2889
-
2890
2370
  # Address line 1 (e.g., street, PO Box, or company name).
2891
2371
  sig { returns(String) }
2892
2372
  attr_accessor :line1
2893
-
2894
2373
  # Address line 2 (e.g., apartment, suite, unit, or building).
2895
2374
  sig { returns(String) }
2896
2375
  attr_accessor :line2
2897
-
2898
2376
  # ZIP or postal code.
2899
2377
  sig { returns(String) }
2900
2378
  attr_accessor :postal_code
2901
-
2902
2379
  # State, county, province, or region.
2903
2380
  sig { returns(String) }
2904
2381
  attr_accessor :state
2905
-
2906
2382
  sig {
2907
2383
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
2908
2384
  }
@@ -2919,7 +2395,6 @@ module Stripe
2919
2395
  # The name of the affiliate that originated the purchase.
2920
2396
  sig { returns(String) }
2921
2397
  attr_accessor :name
2922
-
2923
2398
  sig { params(name: String).void }
2924
2399
  def initialize(name: nil); end
2925
2400
  end
@@ -2928,28 +2403,23 @@ module Stripe
2928
2403
  # The email of the recipient the ticket is delivered to.
2929
2404
  sig { returns(String) }
2930
2405
  attr_accessor :email
2931
-
2932
2406
  # The name of the recipient the ticket is delivered to.
2933
2407
  sig { returns(String) }
2934
2408
  attr_accessor :name
2935
-
2936
2409
  # The phone number of the recipient the ticket is delivered to.
2937
2410
  sig { returns(String) }
2938
2411
  attr_accessor :phone
2939
-
2940
2412
  sig { params(email: String, name: String, phone: String).void }
2941
2413
  def initialize(email: nil, name: nil, phone: nil); end
2942
2414
  end
2943
2415
  # The delivery method for the payment
2944
2416
  sig { returns(String) }
2945
2417
  attr_accessor :mode
2946
-
2947
2418
  # Details of the recipient.
2948
2419
  sig {
2949
2420
  returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient)
2950
2421
  }
2951
2422
  attr_accessor :recipient
2952
-
2953
2423
  sig {
2954
2424
  params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient).void
2955
2425
  }
@@ -2959,96 +2429,74 @@ module Stripe
2959
2429
  # Full name of the person or entity on the lodging reservation.
2960
2430
  sig { returns(String) }
2961
2431
  attr_accessor :name
2962
-
2963
2432
  sig { params(name: String).void }
2964
2433
  def initialize(name: nil); end
2965
2434
  end
2966
2435
  # The lodging location's address.
2967
2436
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Address) }
2968
2437
  attr_accessor :address
2969
-
2970
2438
  # The number of adults on the booking
2971
2439
  sig { returns(Integer) }
2972
2440
  attr_accessor :adults
2973
-
2974
2441
  # Affiliate details for this purchase.
2975
2442
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Affiliate) }
2976
2443
  attr_accessor :affiliate
2977
-
2978
2444
  # The booking number associated with the lodging reservation.
2979
2445
  sig { returns(String) }
2980
2446
  attr_accessor :booking_number
2981
-
2982
2447
  # The lodging category
2983
2448
  sig { returns(String) }
2984
2449
  attr_accessor :category
2985
-
2986
2450
  # Loding check-in time. Measured in seconds since the Unix epoch.
2987
2451
  sig { returns(Integer) }
2988
2452
  attr_accessor :checkin_at
2989
-
2990
2453
  # Lodging check-out time. Measured in seconds since the Unix epoch.
2991
2454
  sig { returns(Integer) }
2992
2455
  attr_accessor :checkout_at
2993
-
2994
2456
  # The customer service phone number of the lodging company.
2995
2457
  sig { returns(String) }
2996
2458
  attr_accessor :customer_service_phone_number
2997
-
2998
2459
  # The daily lodging room rate.
2999
2460
  sig { returns(Integer) }
3000
2461
  attr_accessor :daily_room_rate_amount
3001
-
3002
2462
  # Delivery details for this purchase.
3003
2463
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery) }
3004
2464
  attr_accessor :delivery
3005
-
3006
2465
  # List of additional charges being billed.
3007
2466
  sig { returns(T::Array[String]) }
3008
2467
  attr_accessor :extra_charges
3009
-
3010
2468
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
3011
2469
  sig { returns(T::Boolean) }
3012
2470
  attr_accessor :fire_safety_act_compliance
3013
-
3014
2471
  # The name of the lodging location.
3015
2472
  sig { returns(String) }
3016
2473
  attr_accessor :name
3017
-
3018
2474
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
3019
2475
  sig { returns(T::Boolean) }
3020
2476
  attr_accessor :no_show
3021
-
3022
2477
  # The number of rooms on the booking
3023
2478
  sig { returns(Integer) }
3024
2479
  attr_accessor :number_of_rooms
3025
-
3026
2480
  # The details of the passengers in the travel reservation
3027
2481
  sig {
3028
2482
  returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Passenger])
3029
2483
  }
3030
2484
  attr_accessor :passengers
3031
-
3032
2485
  # The phone number of the lodging location.
3033
2486
  sig { returns(String) }
3034
2487
  attr_accessor :property_phone_number
3035
-
3036
2488
  # The room class for this purchase.
3037
2489
  sig { returns(String) }
3038
2490
  attr_accessor :room_class
3039
-
3040
2491
  # The number of room nights
3041
2492
  sig { returns(Integer) }
3042
2493
  attr_accessor :room_nights
3043
-
3044
2494
  # The total tax amount associating with the room reservation.
3045
2495
  sig { returns(Integer) }
3046
2496
  attr_accessor :total_room_tax_amount
3047
-
3048
2497
  # The total tax amount
3049
2498
  sig { returns(Integer) }
3050
2499
  attr_accessor :total_tax_amount
3051
-
3052
2500
  sig {
3053
2501
  params(address: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::Charge::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::Charge::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::Charge::UpdateParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
3054
2502
  }
@@ -3081,7 +2529,6 @@ module Stripe
3081
2529
  # The name of the affiliate that originated the purchase.
3082
2530
  sig { returns(String) }
3083
2531
  attr_accessor :name
3084
-
3085
2532
  sig { params(name: String).void }
3086
2533
  def initialize(name: nil); end
3087
2534
  end
@@ -3089,40 +2536,32 @@ module Stripe
3089
2536
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
3090
2537
  sig { returns(Integer) }
3091
2538
  attr_accessor :count
3092
-
3093
2539
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
3094
2540
  sig { returns(String) }
3095
2541
  attr_accessor :interval
3096
-
3097
2542
  sig { params(count: Integer, interval: String).void }
3098
2543
  def initialize(count: nil, interval: nil); end
3099
2544
  end
3100
2545
  # Affiliate details for this purchase.
3101
2546
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::Affiliate) }
3102
2547
  attr_accessor :affiliate
3103
-
3104
2548
  # Info whether the subscription will be auto renewed upon expiry.
3105
2549
  sig { returns(T::Boolean) }
3106
2550
  attr_accessor :auto_renewal
3107
-
3108
2551
  # Subscription billing details for this purchase.
3109
2552
  sig {
3110
2553
  returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::BillingInterval)
3111
2554
  }
3112
2555
  attr_accessor :billing_interval
3113
-
3114
2556
  # Subscription end time. Measured in seconds since the Unix epoch.
3115
2557
  sig { returns(Integer) }
3116
2558
  attr_accessor :ends_at
3117
-
3118
2559
  # Name of the product on subscription. e.g. Apple Music Subscription
3119
2560
  sig { returns(String) }
3120
2561
  attr_accessor :name
3121
-
3122
2562
  # Subscription start time. Measured in seconds since the Unix epoch.
3123
2563
  sig { returns(Integer) }
3124
2564
  attr_accessor :starts_at
3125
-
3126
2565
  sig {
3127
2566
  params(affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
3128
2567
  }
@@ -3138,23 +2577,18 @@ module Stripe
3138
2577
  # Car rental details for this PaymentIntent.
3139
2578
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental) }
3140
2579
  attr_accessor :car_rental
3141
-
3142
2580
  # Event details for this PaymentIntent
3143
2581
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails) }
3144
2582
  attr_accessor :event_details
3145
-
3146
2583
  # Flight reservation details for this PaymentIntent
3147
2584
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight) }
3148
2585
  attr_accessor :flight
3149
-
3150
2586
  # Lodging reservation details for this PaymentIntent
3151
2587
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging) }
3152
2588
  attr_accessor :lodging
3153
-
3154
2589
  # Subscription details for this PaymentIntent
3155
2590
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription) }
3156
2591
  attr_accessor :subscription
3157
-
3158
2592
  sig {
3159
2593
  params(car_rental: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental, event_details: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails, flight: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight, lodging: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging, subscription: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription).void
3160
2594
  }
@@ -3171,27 +2605,21 @@ module Stripe
3171
2605
  # City, district, suburb, town, or village.
3172
2606
  sig { returns(String) }
3173
2607
  attr_accessor :city
3174
-
3175
2608
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3176
2609
  sig { returns(String) }
3177
2610
  attr_accessor :country
3178
-
3179
2611
  # Address line 1 (e.g., street, PO Box, or company name).
3180
2612
  sig { returns(String) }
3181
2613
  attr_accessor :line1
3182
-
3183
2614
  # Address line 2 (e.g., apartment, suite, unit, or building).
3184
2615
  sig { returns(String) }
3185
2616
  attr_accessor :line2
3186
-
3187
2617
  # ZIP or postal code.
3188
2618
  sig { returns(String) }
3189
2619
  attr_accessor :postal_code
3190
-
3191
2620
  # State, county, province, or region.
3192
2621
  sig { returns(String) }
3193
2622
  attr_accessor :state
3194
-
3195
2623
  sig {
3196
2624
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
3197
2625
  }
@@ -3207,23 +2635,18 @@ module Stripe
3207
2635
  # Shipping address.
3208
2636
  sig { returns(::Stripe::Charge::UpdateParams::Shipping::Address) }
3209
2637
  attr_accessor :address
3210
-
3211
2638
  # The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
3212
2639
  sig { returns(String) }
3213
2640
  attr_accessor :carrier
3214
-
3215
2641
  # Recipient name.
3216
2642
  sig { returns(String) }
3217
2643
  attr_accessor :name
3218
-
3219
2644
  # Recipient phone (including extension).
3220
2645
  sig { returns(String) }
3221
2646
  attr_accessor :phone
3222
-
3223
2647
  # 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.
3224
2648
  sig { returns(String) }
3225
2649
  attr_accessor :tracking_number
3226
-
3227
2650
  sig {
3228
2651
  params(address: ::Stripe::Charge::UpdateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
3229
2652
  }
@@ -3232,39 +2655,30 @@ module Stripe
3232
2655
  # 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.
3233
2656
  sig { returns(String) }
3234
2657
  attr_accessor :customer
3235
-
3236
2658
  # 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.
3237
2659
  sig { returns(String) }
3238
2660
  attr_accessor :description
3239
-
3240
2661
  # Specifies which fields in the response should be expanded.
3241
2662
  sig { returns(T::Array[String]) }
3242
2663
  attr_accessor :expand
3243
-
3244
2664
  # 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.
3245
2665
  sig { returns(::Stripe::Charge::UpdateParams::FraudDetails) }
3246
2666
  attr_accessor :fraud_details
3247
-
3248
2667
  # 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`.
3249
2668
  sig { returns(T.nilable(T::Hash[String, String])) }
3250
2669
  attr_accessor :metadata
3251
-
3252
2670
  # Provides industry-specific information about the charge.
3253
2671
  sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails) }
3254
2672
  attr_accessor :payment_details
3255
-
3256
2673
  # 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.
3257
2674
  sig { returns(String) }
3258
2675
  attr_accessor :receipt_email
3259
-
3260
2676
  # Shipping information for the charge. Helps prevent fraud on charges for physical goods.
3261
2677
  sig { returns(::Stripe::Charge::UpdateParams::Shipping) }
3262
2678
  attr_accessor :shipping
3263
-
3264
2679
  # 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.
3265
2680
  sig { returns(String) }
3266
2681
  attr_accessor :transfer_group
3267
-
3268
2682
  sig {
3269
2683
  params(customer: String, description: String, expand: T::Array[String], fraud_details: ::Stripe::Charge::UpdateParams::FraudDetails, metadata: T.nilable(T::Hash[String, String]), payment_details: ::Stripe::Charge::UpdateParams::PaymentDetails, receipt_email: String, shipping: ::Stripe::Charge::UpdateParams::Shipping, transfer_group: String).void
3270
2684
  }
@@ -3284,19 +2698,15 @@ module Stripe
3284
2698
  # Specifies which fields in the response should be expanded.
3285
2699
  sig { returns(T::Array[String]) }
3286
2700
  attr_accessor :expand
3287
-
3288
2701
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
3289
2702
  sig { returns(Integer) }
3290
2703
  attr_accessor :limit
3291
-
3292
2704
  # 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.
3293
2705
  sig { returns(String) }
3294
2706
  attr_accessor :page
3295
-
3296
2707
  # 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).
3297
2708
  sig { returns(String) }
3298
2709
  attr_accessor :query
3299
-
3300
2710
  sig { params(expand: T::Array[String], limit: Integer, page: String, query: String).void }
3301
2711
  def initialize(expand: nil, limit: nil, page: nil, query: nil); end
3302
2712
  end
@@ -3307,7 +2717,6 @@ module Stripe
3307
2717
  # The name of the affiliate that originated the purchase.
3308
2718
  sig { returns(String) }
3309
2719
  attr_accessor :name
3310
-
3311
2720
  sig { params(name: String).void }
3312
2721
  def initialize(name: nil); end
3313
2722
  end
@@ -3316,28 +2725,23 @@ module Stripe
3316
2725
  # The email of the recipient the ticket is delivered to.
3317
2726
  sig { returns(String) }
3318
2727
  attr_accessor :email
3319
-
3320
2728
  # The name of the recipient the ticket is delivered to.
3321
2729
  sig { returns(String) }
3322
2730
  attr_accessor :name
3323
-
3324
2731
  # The phone number of the recipient the ticket is delivered to.
3325
2732
  sig { returns(String) }
3326
2733
  attr_accessor :phone
3327
-
3328
2734
  sig { params(email: String, name: String, phone: String).void }
3329
2735
  def initialize(email: nil, name: nil, phone: nil); end
3330
2736
  end
3331
2737
  # The delivery method for the payment
3332
2738
  sig { returns(String) }
3333
2739
  attr_accessor :mode
3334
-
3335
2740
  # Details of the recipient.
3336
2741
  sig {
3337
2742
  returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient)
3338
2743
  }
3339
2744
  attr_accessor :recipient
3340
-
3341
2745
  sig {
3342
2746
  params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient).void
3343
2747
  }
@@ -3347,7 +2751,6 @@ module Stripe
3347
2751
  # Full name of the person or entity on the car reservation.
3348
2752
  sig { returns(String) }
3349
2753
  attr_accessor :name
3350
-
3351
2754
  sig { params(name: String).void }
3352
2755
  def initialize(name: nil); end
3353
2756
  end
@@ -3355,27 +2758,21 @@ module Stripe
3355
2758
  # City, district, suburb, town, or village.
3356
2759
  sig { returns(String) }
3357
2760
  attr_accessor :city
3358
-
3359
2761
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3360
2762
  sig { returns(String) }
3361
2763
  attr_accessor :country
3362
-
3363
2764
  # Address line 1 (e.g., street, PO Box, or company name).
3364
2765
  sig { returns(String) }
3365
2766
  attr_accessor :line1
3366
-
3367
2767
  # Address line 2 (e.g., apartment, suite, unit, or building).
3368
2768
  sig { returns(String) }
3369
2769
  attr_accessor :line2
3370
-
3371
2770
  # ZIP or postal code.
3372
2771
  sig { returns(String) }
3373
2772
  attr_accessor :postal_code
3374
-
3375
2773
  # State, county, province, or region.
3376
2774
  sig { returns(String) }
3377
2775
  attr_accessor :state
3378
-
3379
2776
  sig {
3380
2777
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
3381
2778
  }
@@ -3392,27 +2789,21 @@ module Stripe
3392
2789
  # City, district, suburb, town, or village.
3393
2790
  sig { returns(String) }
3394
2791
  attr_accessor :city
3395
-
3396
2792
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3397
2793
  sig { returns(String) }
3398
2794
  attr_accessor :country
3399
-
3400
2795
  # Address line 1 (e.g., street, PO Box, or company name).
3401
2796
  sig { returns(String) }
3402
2797
  attr_accessor :line1
3403
-
3404
2798
  # Address line 2 (e.g., apartment, suite, unit, or building).
3405
2799
  sig { returns(String) }
3406
2800
  attr_accessor :line2
3407
-
3408
2801
  # ZIP or postal code.
3409
2802
  sig { returns(String) }
3410
2803
  attr_accessor :postal_code
3411
-
3412
2804
  # State, county, province, or region.
3413
2805
  sig { returns(String) }
3414
2806
  attr_accessor :state
3415
-
3416
2807
  sig {
3417
2808
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
3418
2809
  }
@@ -3428,85 +2819,65 @@ module Stripe
3428
2819
  # Affiliate details for this purchase.
3429
2820
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Affiliate) }
3430
2821
  attr_accessor :affiliate
3431
-
3432
2822
  # The booking number associated with the car rental.
3433
2823
  sig { returns(String) }
3434
2824
  attr_accessor :booking_number
3435
-
3436
2825
  # Class code of the car.
3437
2826
  sig { returns(String) }
3438
2827
  attr_accessor :car_class_code
3439
-
3440
2828
  # Make of the car.
3441
2829
  sig { returns(String) }
3442
2830
  attr_accessor :car_make
3443
-
3444
2831
  # Model of the car.
3445
2832
  sig { returns(String) }
3446
2833
  attr_accessor :car_model
3447
-
3448
2834
  # The name of the rental car company.
3449
2835
  sig { returns(String) }
3450
2836
  attr_accessor :company
3451
-
3452
2837
  # The customer service phone number of the car rental company.
3453
2838
  sig { returns(String) }
3454
2839
  attr_accessor :customer_service_phone_number
3455
-
3456
2840
  # Number of days the car is being rented.
3457
2841
  sig { returns(Integer) }
3458
2842
  attr_accessor :days_rented
3459
-
3460
2843
  # Delivery details for this purchase.
3461
2844
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery) }
3462
2845
  attr_accessor :delivery
3463
-
3464
2846
  # The details of the passengers in the travel reservation
3465
2847
  sig {
3466
2848
  returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver])
3467
2849
  }
3468
2850
  attr_accessor :drivers
3469
-
3470
2851
  # List of additional charges being billed.
3471
2852
  sig { returns(T::Array[String]) }
3472
2853
  attr_accessor :extra_charges
3473
-
3474
2854
  # Indicates if the customer did not keep nor cancel their booking.
3475
2855
  sig { returns(T::Boolean) }
3476
2856
  attr_accessor :no_show
3477
-
3478
2857
  # Car pick-up address.
3479
2858
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress) }
3480
2859
  attr_accessor :pickup_address
3481
-
3482
2860
  # Car pick-up time. Measured in seconds since the Unix epoch.
3483
2861
  sig { returns(Integer) }
3484
2862
  attr_accessor :pickup_at
3485
-
3486
2863
  # Rental rate.
3487
2864
  sig { returns(Integer) }
3488
2865
  attr_accessor :rate_amount
3489
-
3490
2866
  # The frequency at which the rate amount is applied. One of `day`, `week` or `month`
3491
2867
  sig { returns(String) }
3492
2868
  attr_accessor :rate_interval
3493
-
3494
2869
  # The name of the person or entity renting the car.
3495
2870
  sig { returns(String) }
3496
2871
  attr_accessor :renter_name
3497
-
3498
2872
  # Car return address.
3499
2873
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress) }
3500
2874
  attr_accessor :return_address
3501
-
3502
2875
  # Car return time. Measured in seconds since the Unix epoch.
3503
2876
  sig { returns(Integer) }
3504
2877
  attr_accessor :return_at
3505
-
3506
2878
  # Indicates whether the goods or services are tax-exempt or tax is not collected.
3507
2879
  sig { returns(T::Boolean) }
3508
2880
  attr_accessor :tax_exempt
3509
-
3510
2881
  sig {
3511
2882
  params(affiliate: ::Stripe::Charge::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::Charge::CaptureParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
3512
2883
  }
@@ -3538,27 +2909,21 @@ module Stripe
3538
2909
  # City, district, suburb, town, or village.
3539
2910
  sig { returns(String) }
3540
2911
  attr_accessor :city
3541
-
3542
2912
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3543
2913
  sig { returns(String) }
3544
2914
  attr_accessor :country
3545
-
3546
2915
  # Address line 1 (e.g., street, PO Box, or company name).
3547
2916
  sig { returns(String) }
3548
2917
  attr_accessor :line1
3549
-
3550
2918
  # Address line 2 (e.g., apartment, suite, unit, or building).
3551
2919
  sig { returns(String) }
3552
2920
  attr_accessor :line2
3553
-
3554
2921
  # ZIP or postal code.
3555
2922
  sig { returns(String) }
3556
2923
  attr_accessor :postal_code
3557
-
3558
2924
  # State, county, province, or region.
3559
2925
  sig { returns(String) }
3560
2926
  attr_accessor :state
3561
-
3562
2927
  sig {
3563
2928
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
3564
2929
  }
@@ -3575,7 +2940,6 @@ module Stripe
3575
2940
  # The name of the affiliate that originated the purchase.
3576
2941
  sig { returns(String) }
3577
2942
  attr_accessor :name
3578
-
3579
2943
  sig { params(name: String).void }
3580
2944
  def initialize(name: nil); end
3581
2945
  end
@@ -3584,28 +2948,23 @@ module Stripe
3584
2948
  # The email of the recipient the ticket is delivered to.
3585
2949
  sig { returns(String) }
3586
2950
  attr_accessor :email
3587
-
3588
2951
  # The name of the recipient the ticket is delivered to.
3589
2952
  sig { returns(String) }
3590
2953
  attr_accessor :name
3591
-
3592
2954
  # The phone number of the recipient the ticket is delivered to.
3593
2955
  sig { returns(String) }
3594
2956
  attr_accessor :phone
3595
-
3596
2957
  sig { params(email: String, name: String, phone: String).void }
3597
2958
  def initialize(email: nil, name: nil, phone: nil); end
3598
2959
  end
3599
2960
  # The delivery method for the payment
3600
2961
  sig { returns(String) }
3601
2962
  attr_accessor :mode
3602
-
3603
2963
  # Details of the recipient.
3604
2964
  sig {
3605
2965
  returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient)
3606
2966
  }
3607
2967
  attr_accessor :recipient
3608
-
3609
2968
  sig {
3610
2969
  params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient).void
3611
2970
  }
@@ -3614,39 +2973,30 @@ module Stripe
3614
2973
  # Indicates if the tickets are digitally checked when entering the venue.
3615
2974
  sig { returns(T::Boolean) }
3616
2975
  attr_accessor :access_controlled_venue
3617
-
3618
2976
  # The event location's address.
3619
2977
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Address) }
3620
2978
  attr_accessor :address
3621
-
3622
2979
  # Affiliate details for this purchase.
3623
2980
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Affiliate) }
3624
2981
  attr_accessor :affiliate
3625
-
3626
2982
  # The name of the company
3627
2983
  sig { returns(String) }
3628
2984
  attr_accessor :company
3629
-
3630
2985
  # Delivery details for this purchase.
3631
2986
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery) }
3632
2987
  attr_accessor :delivery
3633
-
3634
2988
  # Event end time. Measured in seconds since the Unix epoch.
3635
2989
  sig { returns(Integer) }
3636
2990
  attr_accessor :ends_at
3637
-
3638
2991
  # Type of the event entertainment (concert, sports event etc)
3639
2992
  sig { returns(String) }
3640
2993
  attr_accessor :genre
3641
-
3642
2994
  # The name of the event.
3643
2995
  sig { returns(String) }
3644
2996
  attr_accessor :name
3645
-
3646
2997
  # Event start time. Measured in seconds since the Unix epoch.
3647
2998
  sig { returns(Integer) }
3648
2999
  attr_accessor :starts_at
3649
-
3650
3000
  sig {
3651
3001
  params(access_controlled_venue: T::Boolean, address: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
3652
3002
  }
@@ -3667,7 +3017,6 @@ module Stripe
3667
3017
  # The name of the affiliate that originated the purchase.
3668
3018
  sig { returns(String) }
3669
3019
  attr_accessor :name
3670
-
3671
3020
  sig { params(name: String).void }
3672
3021
  def initialize(name: nil); end
3673
3022
  end
@@ -3676,28 +3025,23 @@ module Stripe
3676
3025
  # The email of the recipient the ticket is delivered to.
3677
3026
  sig { returns(String) }
3678
3027
  attr_accessor :email
3679
-
3680
3028
  # The name of the recipient the ticket is delivered to.
3681
3029
  sig { returns(String) }
3682
3030
  attr_accessor :name
3683
-
3684
3031
  # The phone number of the recipient the ticket is delivered to.
3685
3032
  sig { returns(String) }
3686
3033
  attr_accessor :phone
3687
-
3688
3034
  sig { params(email: String, name: String, phone: String).void }
3689
3035
  def initialize(email: nil, name: nil, phone: nil); end
3690
3036
  end
3691
3037
  # The delivery method for the payment
3692
3038
  sig { returns(String) }
3693
3039
  attr_accessor :mode
3694
-
3695
3040
  # Details of the recipient.
3696
3041
  sig {
3697
3042
  returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery::Recipient)
3698
3043
  }
3699
3044
  attr_accessor :recipient
3700
-
3701
3045
  sig {
3702
3046
  params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery::Recipient).void
3703
3047
  }
@@ -3707,7 +3051,6 @@ module Stripe
3707
3051
  # Full name of the person or entity on the flight reservation.
3708
3052
  sig { returns(String) }
3709
3053
  attr_accessor :name
3710
-
3711
3054
  sig { params(name: String).void }
3712
3055
  def initialize(name: nil); end
3713
3056
  end
@@ -3715,35 +3058,27 @@ module Stripe
3715
3058
  # The flight segment amount.
3716
3059
  sig { returns(Integer) }
3717
3060
  attr_accessor :amount
3718
-
3719
3061
  # The International Air Transport Association (IATA) airport code for the arrival airport.
3720
3062
  sig { returns(String) }
3721
3063
  attr_accessor :arrival_airport
3722
-
3723
3064
  # The arrival time for the flight segment. Measured in seconds since the Unix epoch.
3724
3065
  sig { returns(Integer) }
3725
3066
  attr_accessor :arrives_at
3726
-
3727
3067
  # The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
3728
3068
  sig { returns(String) }
3729
3069
  attr_accessor :carrier
3730
-
3731
3070
  # The departure time for the flight segment. Measured in seconds since the Unix epoch.
3732
3071
  sig { returns(Integer) }
3733
3072
  attr_accessor :departs_at
3734
-
3735
3073
  # The International Air Transport Association (IATA) airport code for the departure airport.
3736
3074
  sig { returns(String) }
3737
3075
  attr_accessor :departure_airport
3738
-
3739
3076
  # The flight number associated with the segment
3740
3077
  sig { returns(String) }
3741
3078
  attr_accessor :flight_number
3742
-
3743
3079
  # The fare class for the segment.
3744
3080
  sig { returns(String) }
3745
3081
  attr_accessor :service_class
3746
-
3747
3082
  sig {
3748
3083
  params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
3749
3084
  }
@@ -3761,39 +3096,31 @@ module Stripe
3761
3096
  # Affiliate details for this purchase.
3762
3097
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Affiliate) }
3763
3098
  attr_accessor :affiliate
3764
-
3765
3099
  # The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
3766
3100
  sig { returns(String) }
3767
3101
  attr_accessor :agency_number
3768
-
3769
3102
  # The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
3770
3103
  sig { returns(String) }
3771
3104
  attr_accessor :carrier
3772
-
3773
3105
  # Delivery details for this purchase.
3774
3106
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery) }
3775
3107
  attr_accessor :delivery
3776
-
3777
3108
  # The name of the person or entity on the reservation.
3778
3109
  sig { returns(String) }
3779
3110
  attr_accessor :passenger_name
3780
-
3781
3111
  # The details of the passengers in the travel reservation.
3782
3112
  sig {
3783
3113
  returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Passenger])
3784
3114
  }
3785
3115
  attr_accessor :passengers
3786
-
3787
3116
  # The individual flight segments associated with the trip.
3788
3117
  sig {
3789
3118
  returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Segment])
3790
3119
  }
3791
3120
  attr_accessor :segments
3792
-
3793
3121
  # The ticket number associated with the travel reservation.
3794
3122
  sig { returns(String) }
3795
3123
  attr_accessor :ticket_number
3796
-
3797
3124
  sig {
3798
3125
  params(affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Segment], ticket_number: String).void
3799
3126
  }
@@ -3813,27 +3140,21 @@ module Stripe
3813
3140
  # City, district, suburb, town, or village.
3814
3141
  sig { returns(String) }
3815
3142
  attr_accessor :city
3816
-
3817
3143
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3818
3144
  sig { returns(String) }
3819
3145
  attr_accessor :country
3820
-
3821
3146
  # Address line 1 (e.g., street, PO Box, or company name).
3822
3147
  sig { returns(String) }
3823
3148
  attr_accessor :line1
3824
-
3825
3149
  # Address line 2 (e.g., apartment, suite, unit, or building).
3826
3150
  sig { returns(String) }
3827
3151
  attr_accessor :line2
3828
-
3829
3152
  # ZIP or postal code.
3830
3153
  sig { returns(String) }
3831
3154
  attr_accessor :postal_code
3832
-
3833
3155
  # State, county, province, or region.
3834
3156
  sig { returns(String) }
3835
3157
  attr_accessor :state
3836
-
3837
3158
  sig {
3838
3159
  params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
3839
3160
  }
@@ -3850,7 +3171,6 @@ module Stripe
3850
3171
  # The name of the affiliate that originated the purchase.
3851
3172
  sig { returns(String) }
3852
3173
  attr_accessor :name
3853
-
3854
3174
  sig { params(name: String).void }
3855
3175
  def initialize(name: nil); end
3856
3176
  end
@@ -3859,28 +3179,23 @@ module Stripe
3859
3179
  # The email of the recipient the ticket is delivered to.
3860
3180
  sig { returns(String) }
3861
3181
  attr_accessor :email
3862
-
3863
3182
  # The name of the recipient the ticket is delivered to.
3864
3183
  sig { returns(String) }
3865
3184
  attr_accessor :name
3866
-
3867
3185
  # The phone number of the recipient the ticket is delivered to.
3868
3186
  sig { returns(String) }
3869
3187
  attr_accessor :phone
3870
-
3871
3188
  sig { params(email: String, name: String, phone: String).void }
3872
3189
  def initialize(email: nil, name: nil, phone: nil); end
3873
3190
  end
3874
3191
  # The delivery method for the payment
3875
3192
  sig { returns(String) }
3876
3193
  attr_accessor :mode
3877
-
3878
3194
  # Details of the recipient.
3879
3195
  sig {
3880
3196
  returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient)
3881
3197
  }
3882
3198
  attr_accessor :recipient
3883
-
3884
3199
  sig {
3885
3200
  params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient).void
3886
3201
  }
@@ -3890,96 +3205,74 @@ module Stripe
3890
3205
  # Full name of the person or entity on the lodging reservation.
3891
3206
  sig { returns(String) }
3892
3207
  attr_accessor :name
3893
-
3894
3208
  sig { params(name: String).void }
3895
3209
  def initialize(name: nil); end
3896
3210
  end
3897
3211
  # The lodging location's address.
3898
3212
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Address) }
3899
3213
  attr_accessor :address
3900
-
3901
3214
  # The number of adults on the booking
3902
3215
  sig { returns(Integer) }
3903
3216
  attr_accessor :adults
3904
-
3905
3217
  # Affiliate details for this purchase.
3906
3218
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Affiliate) }
3907
3219
  attr_accessor :affiliate
3908
-
3909
3220
  # The booking number associated with the lodging reservation.
3910
3221
  sig { returns(String) }
3911
3222
  attr_accessor :booking_number
3912
-
3913
3223
  # The lodging category
3914
3224
  sig { returns(String) }
3915
3225
  attr_accessor :category
3916
-
3917
3226
  # Loding check-in time. Measured in seconds since the Unix epoch.
3918
3227
  sig { returns(Integer) }
3919
3228
  attr_accessor :checkin_at
3920
-
3921
3229
  # Lodging check-out time. Measured in seconds since the Unix epoch.
3922
3230
  sig { returns(Integer) }
3923
3231
  attr_accessor :checkout_at
3924
-
3925
3232
  # The customer service phone number of the lodging company.
3926
3233
  sig { returns(String) }
3927
3234
  attr_accessor :customer_service_phone_number
3928
-
3929
3235
  # The daily lodging room rate.
3930
3236
  sig { returns(Integer) }
3931
3237
  attr_accessor :daily_room_rate_amount
3932
-
3933
3238
  # Delivery details for this purchase.
3934
3239
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery) }
3935
3240
  attr_accessor :delivery
3936
-
3937
3241
  # List of additional charges being billed.
3938
3242
  sig { returns(T::Array[String]) }
3939
3243
  attr_accessor :extra_charges
3940
-
3941
3244
  # Indicates whether the lodging location is compliant with the Fire Safety Act.
3942
3245
  sig { returns(T::Boolean) }
3943
3246
  attr_accessor :fire_safety_act_compliance
3944
-
3945
3247
  # The name of the lodging location.
3946
3248
  sig { returns(String) }
3947
3249
  attr_accessor :name
3948
-
3949
3250
  # Indicates if the customer did not keep their booking while failing to cancel the reservation.
3950
3251
  sig { returns(T::Boolean) }
3951
3252
  attr_accessor :no_show
3952
-
3953
3253
  # The number of rooms on the booking
3954
3254
  sig { returns(Integer) }
3955
3255
  attr_accessor :number_of_rooms
3956
-
3957
3256
  # The details of the passengers in the travel reservation
3958
3257
  sig {
3959
3258
  returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Passenger])
3960
3259
  }
3961
3260
  attr_accessor :passengers
3962
-
3963
3261
  # The phone number of the lodging location.
3964
3262
  sig { returns(String) }
3965
3263
  attr_accessor :property_phone_number
3966
-
3967
3264
  # The room class for this purchase.
3968
3265
  sig { returns(String) }
3969
3266
  attr_accessor :room_class
3970
-
3971
3267
  # The number of room nights
3972
3268
  sig { returns(Integer) }
3973
3269
  attr_accessor :room_nights
3974
-
3975
3270
  # The total tax amount associating with the room reservation.
3976
3271
  sig { returns(Integer) }
3977
3272
  attr_accessor :total_room_tax_amount
3978
-
3979
3273
  # The total tax amount
3980
3274
  sig { returns(Integer) }
3981
3275
  attr_accessor :total_tax_amount
3982
-
3983
3276
  sig {
3984
3277
  params(address: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::Charge::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::Charge::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::Charge::CaptureParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
3985
3278
  }
@@ -4012,7 +3305,6 @@ module Stripe
4012
3305
  # The name of the affiliate that originated the purchase.
4013
3306
  sig { returns(String) }
4014
3307
  attr_accessor :name
4015
-
4016
3308
  sig { params(name: String).void }
4017
3309
  def initialize(name: nil); end
4018
3310
  end
@@ -4020,40 +3312,32 @@ module Stripe
4020
3312
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
4021
3313
  sig { returns(Integer) }
4022
3314
  attr_accessor :count
4023
-
4024
3315
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
4025
3316
  sig { returns(String) }
4026
3317
  attr_accessor :interval
4027
-
4028
3318
  sig { params(count: Integer, interval: String).void }
4029
3319
  def initialize(count: nil, interval: nil); end
4030
3320
  end
4031
3321
  # Affiliate details for this purchase.
4032
3322
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::Affiliate) }
4033
3323
  attr_accessor :affiliate
4034
-
4035
3324
  # Info whether the subscription will be auto renewed upon expiry.
4036
3325
  sig { returns(T::Boolean) }
4037
3326
  attr_accessor :auto_renewal
4038
-
4039
3327
  # Subscription billing details for this purchase.
4040
3328
  sig {
4041
3329
  returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::BillingInterval)
4042
3330
  }
4043
3331
  attr_accessor :billing_interval
4044
-
4045
3332
  # Subscription end time. Measured in seconds since the Unix epoch.
4046
3333
  sig { returns(Integer) }
4047
3334
  attr_accessor :ends_at
4048
-
4049
3335
  # Name of the product on subscription. e.g. Apple Music Subscription
4050
3336
  sig { returns(String) }
4051
3337
  attr_accessor :name
4052
-
4053
3338
  # Subscription start time. Measured in seconds since the Unix epoch.
4054
3339
  sig { returns(Integer) }
4055
3340
  attr_accessor :starts_at
4056
-
4057
3341
  sig {
4058
3342
  params(affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
4059
3343
  }
@@ -4069,23 +3353,18 @@ module Stripe
4069
3353
  # Car rental details for this PaymentIntent.
4070
3354
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental) }
4071
3355
  attr_accessor :car_rental
4072
-
4073
3356
  # Event details for this PaymentIntent
4074
3357
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails) }
4075
3358
  attr_accessor :event_details
4076
-
4077
3359
  # Flight reservation details for this PaymentIntent
4078
3360
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight) }
4079
3361
  attr_accessor :flight
4080
-
4081
3362
  # Lodging reservation details for this PaymentIntent
4082
3363
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging) }
4083
3364
  attr_accessor :lodging
4084
-
4085
3365
  # Subscription details for this PaymentIntent
4086
3366
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription) }
4087
3367
  attr_accessor :subscription
4088
-
4089
3368
  sig {
4090
3369
  params(car_rental: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental, event_details: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails, flight: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight, lodging: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging, subscription: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription).void
4091
3370
  }
@@ -4101,52 +3380,41 @@ module Stripe
4101
3380
  # The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
4102
3381
  sig { returns(Integer) }
4103
3382
  attr_accessor :amount
4104
-
4105
3383
  sig { params(amount: Integer).void }
4106
3384
  def initialize(amount: nil); end
4107
3385
  end
4108
3386
  # The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
4109
3387
  sig { returns(Integer) }
4110
3388
  attr_accessor :amount
4111
-
4112
3389
  # An application fee to add on to this charge.
4113
3390
  sig { returns(Integer) }
4114
3391
  attr_accessor :application_fee
4115
-
4116
3392
  # An application fee amount to add on to this charge, which must be less than or equal to the original amount.
4117
3393
  sig { returns(Integer) }
4118
3394
  attr_accessor :application_fee_amount
4119
-
4120
3395
  # Specifies which fields in the response should be expanded.
4121
3396
  sig { returns(T::Array[String]) }
4122
3397
  attr_accessor :expand
4123
-
4124
3398
  # Provides industry-specific information about the charge.
4125
3399
  sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails) }
4126
3400
  attr_accessor :payment_details
4127
-
4128
3401
  # 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.
4129
3402
  sig { returns(String) }
4130
3403
  attr_accessor :receipt_email
4131
-
4132
3404
  # 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).
4133
3405
  #
4134
3406
  # 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.
4135
3407
  sig { returns(String) }
4136
3408
  attr_accessor :statement_descriptor
4137
-
4138
3409
  # 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.
4139
3410
  sig { returns(String) }
4140
3411
  attr_accessor :statement_descriptor_suffix
4141
-
4142
3412
  # 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.
4143
3413
  sig { returns(::Stripe::Charge::CaptureParams::TransferData) }
4144
3414
  attr_accessor :transfer_data
4145
-
4146
3415
  # 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.
4147
3416
  sig { returns(String) }
4148
3417
  attr_accessor :transfer_group
4149
-
4150
3418
  sig {
4151
3419
  params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, expand: T::Array[String], payment_details: ::Stripe::Charge::CaptureParams::PaymentDetails, receipt_email: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::Charge::CaptureParams::TransferData, transfer_group: String).void
4152
3420
  }