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
@@ -18,25 +18,18 @@ module Stripe
18
18
  class ListParams < Stripe::RequestParams
19
19
  # The ID of the customer whose quotes will be retrieved.
20
20
  attr_accessor :customer
21
-
22
21
  # 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.
23
22
  attr_accessor :ending_before
24
-
25
23
  # Specifies which fields in the response should be expanded.
26
24
  attr_accessor :expand
27
-
28
25
  # The subscription which the quote updates.
29
26
  attr_accessor :from_subscription
30
-
31
27
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
32
28
  attr_accessor :limit
33
-
34
29
  # 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.
35
30
  attr_accessor :starting_after
36
-
37
31
  # The status of the quote.
38
32
  attr_accessor :status
39
-
40
33
  # Provides a list of quotes that are associated with the specified test clock. The response will not include quotes with test clocks if this and the customer parameter is not set.
41
34
  attr_accessor :test_clock
42
35
 
@@ -66,7 +59,6 @@ module Stripe
66
59
  class Liability < Stripe::RequestParams
67
60
  # The connected account being referenced when `type` is `account`.
68
61
  attr_accessor :account
69
-
70
62
  # Type of the account referenced in the request.
71
63
  attr_accessor :type
72
64
 
@@ -77,7 +69,6 @@ module Stripe
77
69
  end
78
70
  # Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself.
79
71
  attr_accessor :enabled
80
-
81
72
  # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
82
73
  attr_accessor :liability
83
74
 
@@ -92,7 +83,6 @@ module Stripe
92
83
  class Duration < Stripe::RequestParams
93
84
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
94
85
  attr_accessor :interval
95
-
96
86
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
97
87
  attr_accessor :interval_count
98
88
 
@@ -103,10 +93,8 @@ module Stripe
103
93
  end
104
94
  # Time span for the redeemed discount.
105
95
  attr_accessor :duration
106
-
107
96
  # A precise Unix timestamp for the discount to end. Must be in the future.
108
97
  attr_accessor :timestamp
109
-
110
98
  # The type of calculation made to determine when the discount ends.
111
99
  attr_accessor :type
112
100
 
@@ -118,13 +106,10 @@ module Stripe
118
106
  end
119
107
  # ID of the coupon to create a new discount for.
120
108
  attr_accessor :coupon
121
-
122
109
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
123
110
  attr_accessor :discount
124
-
125
111
  # Details to determine how long the discount should be applied for.
126
112
  attr_accessor :discount_end
127
-
128
113
  # ID of the promotion code to create a new discount for.
129
114
  attr_accessor :promotion_code
130
115
 
@@ -139,7 +124,6 @@ module Stripe
139
124
  class FromQuote < Stripe::RequestParams
140
125
  # Whether this quote is a revision of the previous quote.
141
126
  attr_accessor :is_revision
142
-
143
127
  # The `id` of the quote that will be cloned.
144
128
  attr_accessor :quote
145
129
 
@@ -153,7 +137,6 @@ module Stripe
153
137
  class Issuer < Stripe::RequestParams
154
138
  # The connected account being referenced when `type` is `account`.
155
139
  attr_accessor :account
156
-
157
140
  # Type of the account referenced in the request.
158
141
  attr_accessor :type
159
142
 
@@ -164,7 +147,6 @@ module Stripe
164
147
  end
165
148
  # Number of days within which a customer must pay the invoice generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.
166
149
  attr_accessor :days_until_due
167
-
168
150
  # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
169
151
  attr_accessor :issuer
170
152
 
@@ -187,16 +169,12 @@ module Stripe
187
169
  end
188
170
  # The coupon code to redeem.
189
171
  attr_accessor :coupon
190
-
191
172
  # An ID of an existing discount for a coupon that was already redeemed.
192
173
  attr_accessor :discount
193
-
194
174
  # Details to determine how long the discount should be applied for.
195
175
  attr_accessor :discount_end
196
-
197
176
  # The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
198
177
  attr_accessor :index
199
-
200
178
  # The promotion code to redeem.
201
179
  attr_accessor :promotion_code
202
180
 
@@ -221,7 +199,6 @@ module Stripe
221
199
  class Duration < Stripe::RequestParams
222
200
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
223
201
  attr_accessor :interval
224
-
225
202
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
226
203
  attr_accessor :interval_count
227
204
 
@@ -232,10 +209,8 @@ module Stripe
232
209
  end
233
210
  # Time span for the redeemed discount.
234
211
  attr_accessor :duration
235
-
236
212
  # A precise Unix timestamp for the discount to end. Must be in the future.
237
213
  attr_accessor :timestamp
238
-
239
214
  # The type of calculation made to determine when the discount ends.
240
215
  attr_accessor :type
241
216
 
@@ -247,13 +222,10 @@ module Stripe
247
222
  end
248
223
  # ID of the coupon to create a new discount for.
249
224
  attr_accessor :coupon
250
-
251
225
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
252
226
  attr_accessor :discount
253
-
254
227
  # Details to determine how long the discount should be applied for.
255
228
  attr_accessor :discount_end
256
-
257
229
  # ID of the promotion code to create a new discount for.
258
230
  attr_accessor :promotion_code
259
231
 
@@ -268,7 +240,6 @@ module Stripe
268
240
  class Trial < Stripe::RequestParams
269
241
  # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
270
242
  attr_accessor :converts_to
271
-
272
243
  # Determines the type of trial for this item.
273
244
  attr_accessor :type
274
245
 
@@ -279,19 +250,14 @@ module Stripe
279
250
  end
280
251
  # The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
281
252
  attr_accessor :discounts
282
-
283
253
  # 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`.
284
254
  attr_accessor :metadata
285
-
286
255
  # The ID of the price object.
287
256
  attr_accessor :price
288
-
289
257
  # Quantity for this item.
290
258
  attr_accessor :quantity
291
-
292
259
  # The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
293
260
  attr_accessor :tax_rates
294
-
295
261
  # Options that configure the trial on the subscription item.
296
262
  attr_accessor :trial
297
263
 
@@ -315,10 +281,8 @@ module Stripe
315
281
  class RemoveDiscount < Stripe::RequestParams
316
282
  # The coupon code to remove from the `discounts` array.
317
283
  attr_accessor :coupon
318
-
319
284
  # The ID of a discount to remove from the `discounts` array.
320
285
  attr_accessor :discount
321
-
322
286
  # The ID of a promotion code to remove from the `discounts` array.
323
287
  attr_accessor :promotion_code
324
288
 
@@ -341,10 +305,8 @@ module Stripe
341
305
  class SetDiscount < Stripe::RequestParams
342
306
  # The coupon code to replace the `discounts` array with.
343
307
  attr_accessor :coupon
344
-
345
308
  # An ID of an existing discount to replace the `discounts` array with.
346
309
  attr_accessor :discount
347
-
348
310
  # An ID of an existing promotion code to replace the `discounts` array with.
349
311
  attr_accessor :promotion_code
350
312
 
@@ -361,7 +323,6 @@ module Stripe
361
323
  class Duration < Stripe::RequestParams
362
324
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
363
325
  attr_accessor :interval
364
-
365
326
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
366
327
  attr_accessor :interval_count
367
328
 
@@ -372,10 +333,8 @@ module Stripe
372
333
  end
373
334
  # Time span for the redeemed discount.
374
335
  attr_accessor :duration
375
-
376
336
  # A precise Unix timestamp for the discount to end. Must be in the future.
377
337
  attr_accessor :timestamp
378
-
379
338
  # The type of calculation made to determine when the discount ends.
380
339
  attr_accessor :type
381
340
 
@@ -387,13 +346,10 @@ module Stripe
387
346
  end
388
347
  # ID of the coupon to create a new discount for.
389
348
  attr_accessor :coupon
390
-
391
349
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
392
350
  attr_accessor :discount
393
-
394
351
  # Details to determine how long the discount should be applied for.
395
352
  attr_accessor :discount_end
396
-
397
353
  # ID of the promotion code to create a new discount for.
398
354
  attr_accessor :promotion_code
399
355
 
@@ -408,7 +364,6 @@ module Stripe
408
364
  class Trial < Stripe::RequestParams
409
365
  # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
410
366
  attr_accessor :converts_to
411
-
412
367
  # Determines the type of trial for this item.
413
368
  attr_accessor :type
414
369
 
@@ -419,19 +374,14 @@ module Stripe
419
374
  end
420
375
  # If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
421
376
  attr_accessor :discounts
422
-
423
377
  # If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
424
378
  attr_accessor :metadata
425
-
426
379
  # The ID of the price object.
427
380
  attr_accessor :price
428
-
429
381
  # If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
430
382
  attr_accessor :quantity
431
-
432
383
  # If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
433
384
  attr_accessor :tax_rates
434
-
435
385
  # If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
436
386
  attr_accessor :trial
437
387
 
@@ -453,31 +403,22 @@ module Stripe
453
403
  end
454
404
  # Details for the `add_discount` type.
455
405
  attr_accessor :add_discount
456
-
457
406
  # Details for the `add_item` type.
458
407
  attr_accessor :add_item
459
-
460
408
  # Details for the `add_metadata` type: specify a hash of key-value pairs.
461
409
  attr_accessor :add_metadata
462
-
463
410
  # Details for the `remove_discount` type.
464
411
  attr_accessor :remove_discount
465
-
466
412
  # Details for the `remove_item` type.
467
413
  attr_accessor :remove_item
468
-
469
414
  # Details for the `remove_metadata` type: specify an array of metadata keys.
470
415
  attr_accessor :remove_metadata
471
-
472
416
  # Details for the `set_discounts` type.
473
417
  attr_accessor :set_discounts
474
-
475
418
  # Details for the `set_items` type.
476
419
  attr_accessor :set_items
477
-
478
420
  # Details for the `set_metadata` type: specify an array of key-value pairs.
479
421
  attr_accessor :set_metadata
480
-
481
422
  # The type of action the quote line performs.
482
423
  attr_accessor :type
483
424
 
@@ -509,10 +450,8 @@ module Stripe
509
450
  class AppliesTo < Stripe::RequestParams
510
451
  # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
511
452
  attr_accessor :new_reference
512
-
513
453
  # The ID of the schedule the line applies to.
514
454
  attr_accessor :subscription_schedule
515
-
516
455
  # Describes whether the quote line is affecting a new schedule or an existing schedule.
517
456
  attr_accessor :type
518
457
 
@@ -526,10 +465,8 @@ module Stripe
526
465
  class CancelSubscriptionSchedule < Stripe::RequestParams
527
466
  # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.
528
467
  attr_accessor :cancel_at
529
-
530
468
  # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.
531
469
  attr_accessor :invoice_now
532
-
533
470
  # If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.
534
471
  attr_accessor :prorate
535
472
 
@@ -553,7 +490,6 @@ module Stripe
553
490
  class Duration < Stripe::RequestParams
554
491
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
555
492
  attr_accessor :interval
556
-
557
493
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
558
494
  attr_accessor :interval_count
559
495
 
@@ -564,13 +500,10 @@ module Stripe
564
500
  end
565
501
  # Use the `end` time of a given discount.
566
502
  attr_accessor :discount_end
567
-
568
503
  # Time span for the quote line starting from the `starts_at` date.
569
504
  attr_accessor :duration
570
-
571
505
  # A precise Unix timestamp.
572
506
  attr_accessor :timestamp
573
-
574
507
  # Select a way to pass in `ends_at`.
575
508
  attr_accessor :type
576
509
 
@@ -593,7 +526,6 @@ module Stripe
593
526
  end
594
527
  # Details of the pause_collection behavior to apply to the amendment.
595
528
  attr_accessor :set
596
-
597
529
  # Determines the type of the pause_collection amendment.
598
530
  attr_accessor :type
599
531
 
@@ -623,13 +555,10 @@ module Stripe
623
555
  end
624
556
  # Use the `end` time of a given discount.
625
557
  attr_accessor :discount_end
626
-
627
558
  # The timestamp the given line ends at.
628
559
  attr_accessor :line_ends_at
629
-
630
560
  # A precise Unix timestamp.
631
561
  attr_accessor :timestamp
632
-
633
562
  # Select a way to pass in `starts_at`.
634
563
  attr_accessor :type
635
564
 
@@ -659,31 +588,22 @@ module Stripe
659
588
  end
660
589
  # An array of operations the quote line performs.
661
590
  attr_accessor :actions
662
-
663
591
  # Details to identify the subscription schedule the quote line applies to.
664
592
  attr_accessor :applies_to
665
-
666
593
  # For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
667
594
  attr_accessor :billing_cycle_anchor
668
-
669
595
  # A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.
670
596
  attr_accessor :cancel_subscription_schedule
671
-
672
597
  # Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.
673
598
  attr_accessor :ends_at
674
-
675
599
  # Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.
676
600
  attr_accessor :proration_behavior
677
-
678
601
  # Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
679
602
  attr_accessor :set_pause_collection
680
-
681
603
  # Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
682
604
  attr_accessor :set_schedule_end
683
-
684
605
  # Details to identify the earliest timestamp where the proposed change should take effect.
685
606
  attr_accessor :starts_at
686
-
687
607
  # Settings related to subscription trials.
688
608
  attr_accessor :trial_settings
689
609
 
@@ -718,7 +638,6 @@ module Stripe
718
638
  class Duration < Stripe::RequestParams
719
639
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
720
640
  attr_accessor :interval
721
-
722
641
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
723
642
  attr_accessor :interval_count
724
643
 
@@ -729,10 +648,8 @@ module Stripe
729
648
  end
730
649
  # Time span for the redeemed discount.
731
650
  attr_accessor :duration
732
-
733
651
  # A precise Unix timestamp for the discount to end. Must be in the future.
734
652
  attr_accessor :timestamp
735
-
736
653
  # The type of calculation made to determine when the discount ends.
737
654
  attr_accessor :type
738
655
 
@@ -744,13 +661,10 @@ module Stripe
744
661
  end
745
662
  # ID of the coupon to create a new discount for.
746
663
  attr_accessor :coupon
747
-
748
664
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
749
665
  attr_accessor :discount
750
-
751
666
  # Details to determine how long the discount should be applied for.
752
667
  attr_accessor :discount_end
753
-
754
668
  # ID of the promotion code to create a new discount for.
755
669
  attr_accessor :promotion_code
756
670
 
@@ -766,7 +680,6 @@ module Stripe
766
680
  class Recurring < Stripe::RequestParams
767
681
  # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
768
682
  attr_accessor :interval
769
-
770
683
  # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
771
684
  attr_accessor :interval_count
772
685
 
@@ -777,19 +690,14 @@ module Stripe
777
690
  end
778
691
  # 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).
779
692
  attr_accessor :currency
780
-
781
693
  # The ID of the product that this price will belong to.
782
694
  attr_accessor :product
783
-
784
695
  # The recurring components of a price such as `interval` and `interval_count`.
785
696
  attr_accessor :recurring
786
-
787
697
  # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
788
698
  attr_accessor :tax_behavior
789
-
790
699
  # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
791
700
  attr_accessor :unit_amount
792
-
793
701
  # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
794
702
  attr_accessor :unit_amount_decimal
795
703
 
@@ -811,16 +719,12 @@ module Stripe
811
719
  end
812
720
  # The discounts applied to this line item.
813
721
  attr_accessor :discounts
814
-
815
722
  # The ID of the price object. One of `price` or `price_data` is required.
816
723
  attr_accessor :price
817
-
818
724
  # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
819
725
  attr_accessor :price_data
820
-
821
726
  # The quantity of the line item.
822
727
  attr_accessor :quantity
823
-
824
728
  # The tax rates which apply to the line item. When set, the `default_tax_rates` on the quote do not apply to this line item.
825
729
  attr_accessor :tax_rates
826
730
 
@@ -839,7 +743,6 @@ module Stripe
839
743
  class LineStartsAt < Stripe::RequestParams
840
744
  # The ID of a quote line.
841
745
  attr_accessor :id
842
-
843
746
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
844
747
  attr_accessor :index
845
748
 
@@ -850,10 +753,8 @@ module Stripe
850
753
  end
851
754
  # Details of a Quote line to start the bill period from.
852
755
  attr_accessor :line_starts_at
853
-
854
756
  # A precise Unix timestamp.
855
757
  attr_accessor :timestamp
856
-
857
758
  # The type of method to specify the `bill_from` time.
858
759
  attr_accessor :type
859
760
 
@@ -868,7 +769,6 @@ module Stripe
868
769
  class Duration < Stripe::RequestParams
869
770
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
870
771
  attr_accessor :interval
871
-
872
772
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
873
773
  attr_accessor :interval_count
874
774
 
@@ -881,7 +781,6 @@ module Stripe
881
781
  class LineEndsAt < Stripe::RequestParams
882
782
  # The ID of a quote line.
883
783
  attr_accessor :id
884
-
885
784
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
886
785
  attr_accessor :index
887
786
 
@@ -892,13 +791,10 @@ module Stripe
892
791
  end
893
792
  # Details of the duration over which to bill.
894
793
  attr_accessor :duration
895
-
896
794
  # Details of a Quote line item from which to bill until.
897
795
  attr_accessor :line_ends_at
898
-
899
796
  # A precise Unix timestamp.
900
797
  attr_accessor :timestamp
901
-
902
798
  # The type of method to specify the `bill_until` time.
903
799
  attr_accessor :type
904
800
 
@@ -911,7 +807,6 @@ module Stripe
911
807
  end
912
808
  # The start of the period to bill from when the Quote is accepted.
913
809
  attr_accessor :bill_from
914
-
915
810
  # The end of the period to bill until when the Quote is accepted.
916
811
  attr_accessor :bill_until
917
812
 
@@ -931,31 +826,22 @@ module Stripe
931
826
  end
932
827
  # Describes the period to bill for upon accepting the quote.
933
828
  attr_accessor :bill_on_acceptance
934
-
935
829
  # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
936
830
  attr_accessor :billing_behavior
937
-
938
831
  # When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.
939
832
  attr_accessor :billing_cycle_anchor
940
-
941
833
  # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
942
834
  attr_accessor :description
943
-
944
835
  # When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted.
945
836
  attr_accessor :effective_date
946
-
947
837
  # Behavior of the subscription schedule and underlying subscription when it ends.
948
838
  attr_accessor :end_behavior
949
-
950
839
  # The id of a subscription that the quote will update. By default, the quote will contain the state of the subscription (such as line items, collection method and billing thresholds) unless overridden.
951
840
  attr_accessor :from_subscription
952
-
953
841
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
954
842
  attr_accessor :metadata
955
-
956
843
  # If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
957
844
  attr_accessor :prebilling
958
-
959
845
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
960
846
  #
961
847
  # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
@@ -964,7 +850,6 @@ module Stripe
964
850
  #
965
851
  # Prorations can be disabled by passing `none`.
966
852
  attr_accessor :proration_behavior
967
-
968
853
  # Integer representing the number of trial period days before the customer is charged for the first time.
969
854
  attr_accessor :trial_period_days
970
855
 
@@ -999,10 +884,8 @@ module Stripe
999
884
  class AppliesTo < Stripe::RequestParams
1000
885
  # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
1001
886
  attr_accessor :new_reference
1002
-
1003
887
  # The ID of the schedule the line applies to.
1004
888
  attr_accessor :subscription_schedule
1005
-
1006
889
  # Describes whether the quote line is affecting a new schedule or an existing schedule.
1007
890
  attr_accessor :type
1008
891
 
@@ -1018,7 +901,6 @@ module Stripe
1018
901
  class LineStartsAt < Stripe::RequestParams
1019
902
  # The ID of a quote line.
1020
903
  attr_accessor :id
1021
-
1022
904
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
1023
905
  attr_accessor :index
1024
906
 
@@ -1029,10 +911,8 @@ module Stripe
1029
911
  end
1030
912
  # Details of a Quote line to start the bill period from.
1031
913
  attr_accessor :line_starts_at
1032
-
1033
914
  # A precise Unix timestamp.
1034
915
  attr_accessor :timestamp
1035
-
1036
916
  # The type of method to specify the `bill_from` time.
1037
917
  attr_accessor :type
1038
918
 
@@ -1047,7 +927,6 @@ module Stripe
1047
927
  class Duration < Stripe::RequestParams
1048
928
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1049
929
  attr_accessor :interval
1050
-
1051
930
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1052
931
  attr_accessor :interval_count
1053
932
 
@@ -1060,7 +939,6 @@ module Stripe
1060
939
  class LineEndsAt < Stripe::RequestParams
1061
940
  # The ID of a quote line.
1062
941
  attr_accessor :id
1063
-
1064
942
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
1065
943
  attr_accessor :index
1066
944
 
@@ -1071,13 +949,10 @@ module Stripe
1071
949
  end
1072
950
  # Details of the duration over which to bill.
1073
951
  attr_accessor :duration
1074
-
1075
952
  # Details of a Quote line item from which to bill until.
1076
953
  attr_accessor :line_ends_at
1077
-
1078
954
  # A precise Unix timestamp.
1079
955
  attr_accessor :timestamp
1080
-
1081
956
  # The type of method to specify the `bill_until` time.
1082
957
  attr_accessor :type
1083
958
 
@@ -1090,7 +965,6 @@ module Stripe
1090
965
  end
1091
966
  # The start of the period to bill from when the Quote is accepted.
1092
967
  attr_accessor :bill_from
1093
-
1094
968
  # The end of the period to bill until when the Quote is accepted.
1095
969
  attr_accessor :bill_until
1096
970
 
@@ -1101,22 +975,16 @@ module Stripe
1101
975
  end
1102
976
  # Whether the override applies to an existing Subscription Schedule or a new Subscription Schedule.
1103
977
  attr_accessor :applies_to
1104
-
1105
978
  # Describes the period to bill for upon accepting the quote.
1106
979
  attr_accessor :bill_on_acceptance
1107
-
1108
980
  # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
1109
981
  attr_accessor :billing_behavior
1110
-
1111
982
  # The customer the Subscription Data override applies to. This is only relevant when `applies_to.type=new_reference`.
1112
983
  attr_accessor :customer
1113
-
1114
984
  # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
1115
985
  attr_accessor :description
1116
-
1117
986
  # Behavior of the subscription schedule and underlying subscription when it ends.
1118
987
  attr_accessor :end_behavior
1119
-
1120
988
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
1121
989
  #
1122
990
  # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
@@ -1148,10 +1016,8 @@ module Stripe
1148
1016
  class TransferData < Stripe::RequestParams
1149
1017
  # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
1150
1018
  attr_accessor :amount
1151
-
1152
1019
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field.
1153
1020
  attr_accessor :amount_percent
1154
-
1155
1021
  # ID of an existing, connected Stripe account.
1156
1022
  attr_accessor :destination
1157
1023
 
@@ -1163,70 +1029,48 @@ module Stripe
1163
1029
  end
1164
1030
  # Set to true to allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.
1165
1031
  attr_accessor :allow_backdated_lines
1166
-
1167
1032
  # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field.
1168
1033
  attr_accessor :application_fee_amount
1169
-
1170
1034
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field.
1171
1035
  attr_accessor :application_fee_percent
1172
-
1173
1036
  # Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.
1174
1037
  attr_accessor :automatic_tax
1175
-
1176
1038
  # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.
1177
1039
  attr_accessor :collection_method
1178
-
1179
1040
  # The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
1180
1041
  attr_accessor :customer
1181
-
1182
1042
  # The tax rates that will apply to any line item that does not have `tax_rates` set.
1183
1043
  attr_accessor :default_tax_rates
1184
-
1185
1044
  # A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.
1186
1045
  attr_accessor :description
1187
-
1188
1046
  # The discounts applied to the quote.
1189
1047
  attr_accessor :discounts
1190
-
1191
1048
  # Specifies which fields in the response should be expanded.
1192
1049
  attr_accessor :expand
1193
-
1194
1050
  # A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. If no value is passed, the default expiration date configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.
1195
1051
  attr_accessor :expires_at
1196
-
1197
1052
  # A footer that will be displayed on the quote PDF. If no value is passed, the default footer configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.
1198
1053
  attr_accessor :footer
1199
-
1200
1054
  # Clone an existing quote. The new quote will be created in `status=draft`. When using this parameter, you cannot specify any other parameters except for `expires_at`.
1201
1055
  attr_accessor :from_quote
1202
-
1203
1056
  # A header that will be displayed on the quote PDF. If no value is passed, the default header configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.
1204
1057
  attr_accessor :header
1205
-
1206
1058
  # All invoices will be billed using the specified settings.
1207
1059
  attr_accessor :invoice_settings
1208
-
1209
1060
  # A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.
1210
1061
  attr_accessor :line_items
1211
-
1212
1062
  # A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
1213
1063
  attr_accessor :lines
1214
-
1215
1064
  # 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`.
1216
1065
  attr_accessor :metadata
1217
-
1218
1066
  # The account on behalf of which to charge.
1219
1067
  attr_accessor :on_behalf_of
1220
-
1221
1068
  # When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.
1222
1069
  attr_accessor :subscription_data
1223
-
1224
1070
  # List representing overrides for `subscription_data` configurations for specific subscription schedules.
1225
1071
  attr_accessor :subscription_data_overrides
1226
-
1227
1072
  # ID of the test clock to attach to the quote.
1228
1073
  attr_accessor :test_clock
1229
-
1230
1074
  # The data with which to automatically create a Transfer for each of the invoices.
1231
1075
  attr_accessor :transfer_data
1232
1076
 
@@ -1295,7 +1139,6 @@ module Stripe
1295
1139
  class Liability < Stripe::RequestParams
1296
1140
  # The connected account being referenced when `type` is `account`.
1297
1141
  attr_accessor :account
1298
-
1299
1142
  # Type of the account referenced in the request.
1300
1143
  attr_accessor :type
1301
1144
 
@@ -1306,7 +1149,6 @@ module Stripe
1306
1149
  end
1307
1150
  # Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself.
1308
1151
  attr_accessor :enabled
1309
-
1310
1152
  # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
1311
1153
  attr_accessor :liability
1312
1154
 
@@ -1321,7 +1163,6 @@ module Stripe
1321
1163
  class Duration < Stripe::RequestParams
1322
1164
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1323
1165
  attr_accessor :interval
1324
-
1325
1166
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1326
1167
  attr_accessor :interval_count
1327
1168
 
@@ -1332,10 +1173,8 @@ module Stripe
1332
1173
  end
1333
1174
  # Time span for the redeemed discount.
1334
1175
  attr_accessor :duration
1335
-
1336
1176
  # A precise Unix timestamp for the discount to end. Must be in the future.
1337
1177
  attr_accessor :timestamp
1338
-
1339
1178
  # The type of calculation made to determine when the discount ends.
1340
1179
  attr_accessor :type
1341
1180
 
@@ -1347,13 +1186,10 @@ module Stripe
1347
1186
  end
1348
1187
  # ID of the coupon to create a new discount for.
1349
1188
  attr_accessor :coupon
1350
-
1351
1189
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1352
1190
  attr_accessor :discount
1353
-
1354
1191
  # Details to determine how long the discount should be applied for.
1355
1192
  attr_accessor :discount_end
1356
-
1357
1193
  # ID of the promotion code to create a new discount for.
1358
1194
  attr_accessor :promotion_code
1359
1195
 
@@ -1369,7 +1205,6 @@ module Stripe
1369
1205
  class Issuer < Stripe::RequestParams
1370
1206
  # The connected account being referenced when `type` is `account`.
1371
1207
  attr_accessor :account
1372
-
1373
1208
  # Type of the account referenced in the request.
1374
1209
  attr_accessor :type
1375
1210
 
@@ -1380,7 +1215,6 @@ module Stripe
1380
1215
  end
1381
1216
  # Number of days within which a customer must pay the invoice generated by this quote. This value will be `null` for quotes where `collection_method=charge_automatically`.
1382
1217
  attr_accessor :days_until_due
1383
-
1384
1218
  # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
1385
1219
  attr_accessor :issuer
1386
1220
 
@@ -1403,16 +1237,12 @@ module Stripe
1403
1237
  end
1404
1238
  # The coupon code to redeem.
1405
1239
  attr_accessor :coupon
1406
-
1407
1240
  # An ID of an existing discount for a coupon that was already redeemed.
1408
1241
  attr_accessor :discount
1409
-
1410
1242
  # Details to determine how long the discount should be applied for.
1411
1243
  attr_accessor :discount_end
1412
-
1413
1244
  # The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
1414
1245
  attr_accessor :index
1415
-
1416
1246
  # The promotion code to redeem.
1417
1247
  attr_accessor :promotion_code
1418
1248
 
@@ -1437,7 +1267,6 @@ module Stripe
1437
1267
  class Duration < Stripe::RequestParams
1438
1268
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1439
1269
  attr_accessor :interval
1440
-
1441
1270
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1442
1271
  attr_accessor :interval_count
1443
1272
 
@@ -1448,10 +1277,8 @@ module Stripe
1448
1277
  end
1449
1278
  # Time span for the redeemed discount.
1450
1279
  attr_accessor :duration
1451
-
1452
1280
  # A precise Unix timestamp for the discount to end. Must be in the future.
1453
1281
  attr_accessor :timestamp
1454
-
1455
1282
  # The type of calculation made to determine when the discount ends.
1456
1283
  attr_accessor :type
1457
1284
 
@@ -1463,13 +1290,10 @@ module Stripe
1463
1290
  end
1464
1291
  # ID of the coupon to create a new discount for.
1465
1292
  attr_accessor :coupon
1466
-
1467
1293
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1468
1294
  attr_accessor :discount
1469
-
1470
1295
  # Details to determine how long the discount should be applied for.
1471
1296
  attr_accessor :discount_end
1472
-
1473
1297
  # ID of the promotion code to create a new discount for.
1474
1298
  attr_accessor :promotion_code
1475
1299
 
@@ -1484,7 +1308,6 @@ module Stripe
1484
1308
  class Trial < Stripe::RequestParams
1485
1309
  # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
1486
1310
  attr_accessor :converts_to
1487
-
1488
1311
  # Determines the type of trial for this item.
1489
1312
  attr_accessor :type
1490
1313
 
@@ -1495,19 +1318,14 @@ module Stripe
1495
1318
  end
1496
1319
  # The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
1497
1320
  attr_accessor :discounts
1498
-
1499
1321
  # 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`.
1500
1322
  attr_accessor :metadata
1501
-
1502
1323
  # The ID of the price object.
1503
1324
  attr_accessor :price
1504
-
1505
1325
  # Quantity for this item.
1506
1326
  attr_accessor :quantity
1507
-
1508
1327
  # The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
1509
1328
  attr_accessor :tax_rates
1510
-
1511
1329
  # Options that configure the trial on the subscription item.
1512
1330
  attr_accessor :trial
1513
1331
 
@@ -1531,10 +1349,8 @@ module Stripe
1531
1349
  class RemoveDiscount < Stripe::RequestParams
1532
1350
  # The coupon code to remove from the `discounts` array.
1533
1351
  attr_accessor :coupon
1534
-
1535
1352
  # The ID of a discount to remove from the `discounts` array.
1536
1353
  attr_accessor :discount
1537
-
1538
1354
  # The ID of a promotion code to remove from the `discounts` array.
1539
1355
  attr_accessor :promotion_code
1540
1356
 
@@ -1557,10 +1373,8 @@ module Stripe
1557
1373
  class SetDiscount < Stripe::RequestParams
1558
1374
  # The coupon code to replace the `discounts` array with.
1559
1375
  attr_accessor :coupon
1560
-
1561
1376
  # An ID of an existing discount to replace the `discounts` array with.
1562
1377
  attr_accessor :discount
1563
-
1564
1378
  # An ID of an existing promotion code to replace the `discounts` array with.
1565
1379
  attr_accessor :promotion_code
1566
1380
 
@@ -1577,7 +1391,6 @@ module Stripe
1577
1391
  class Duration < Stripe::RequestParams
1578
1392
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1579
1393
  attr_accessor :interval
1580
-
1581
1394
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1582
1395
  attr_accessor :interval_count
1583
1396
 
@@ -1588,10 +1401,8 @@ module Stripe
1588
1401
  end
1589
1402
  # Time span for the redeemed discount.
1590
1403
  attr_accessor :duration
1591
-
1592
1404
  # A precise Unix timestamp for the discount to end. Must be in the future.
1593
1405
  attr_accessor :timestamp
1594
-
1595
1406
  # The type of calculation made to determine when the discount ends.
1596
1407
  attr_accessor :type
1597
1408
 
@@ -1603,13 +1414,10 @@ module Stripe
1603
1414
  end
1604
1415
  # ID of the coupon to create a new discount for.
1605
1416
  attr_accessor :coupon
1606
-
1607
1417
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1608
1418
  attr_accessor :discount
1609
-
1610
1419
  # Details to determine how long the discount should be applied for.
1611
1420
  attr_accessor :discount_end
1612
-
1613
1421
  # ID of the promotion code to create a new discount for.
1614
1422
  attr_accessor :promotion_code
1615
1423
 
@@ -1624,7 +1432,6 @@ module Stripe
1624
1432
  class Trial < Stripe::RequestParams
1625
1433
  # List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
1626
1434
  attr_accessor :converts_to
1627
-
1628
1435
  # Determines the type of trial for this item.
1629
1436
  attr_accessor :type
1630
1437
 
@@ -1635,19 +1442,14 @@ module Stripe
1635
1442
  end
1636
1443
  # If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
1637
1444
  attr_accessor :discounts
1638
-
1639
1445
  # If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
1640
1446
  attr_accessor :metadata
1641
-
1642
1447
  # The ID of the price object.
1643
1448
  attr_accessor :price
1644
-
1645
1449
  # If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
1646
1450
  attr_accessor :quantity
1647
-
1648
1451
  # If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
1649
1452
  attr_accessor :tax_rates
1650
-
1651
1453
  # If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
1652
1454
  attr_accessor :trial
1653
1455
 
@@ -1669,31 +1471,22 @@ module Stripe
1669
1471
  end
1670
1472
  # Details for the `add_discount` type.
1671
1473
  attr_accessor :add_discount
1672
-
1673
1474
  # Details for the `add_item` type.
1674
1475
  attr_accessor :add_item
1675
-
1676
1476
  # Details for the `add_metadata` type: specify a hash of key-value pairs.
1677
1477
  attr_accessor :add_metadata
1678
-
1679
1478
  # Details for the `remove_discount` type.
1680
1479
  attr_accessor :remove_discount
1681
-
1682
1480
  # Details for the `remove_item` type.
1683
1481
  attr_accessor :remove_item
1684
-
1685
1482
  # Details for the `remove_metadata` type: specify an array of metadata keys.
1686
1483
  attr_accessor :remove_metadata
1687
-
1688
1484
  # Details for the `set_discounts` type.
1689
1485
  attr_accessor :set_discounts
1690
-
1691
1486
  # Details for the `set_items` type.
1692
1487
  attr_accessor :set_items
1693
-
1694
1488
  # Details for the `set_metadata` type: specify an array of key-value pairs.
1695
1489
  attr_accessor :set_metadata
1696
-
1697
1490
  # The type of action the quote line performs.
1698
1491
  attr_accessor :type
1699
1492
 
@@ -1725,10 +1518,8 @@ module Stripe
1725
1518
  class AppliesTo < Stripe::RequestParams
1726
1519
  # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
1727
1520
  attr_accessor :new_reference
1728
-
1729
1521
  # The ID of the schedule the line applies to.
1730
1522
  attr_accessor :subscription_schedule
1731
-
1732
1523
  # Describes whether the quote line is affecting a new schedule or an existing schedule.
1733
1524
  attr_accessor :type
1734
1525
 
@@ -1742,10 +1533,8 @@ module Stripe
1742
1533
  class CancelSubscriptionSchedule < Stripe::RequestParams
1743
1534
  # Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set to `line_starts_at`.
1744
1535
  attr_accessor :cancel_at
1745
-
1746
1536
  # If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults to `true`.
1747
1537
  attr_accessor :invoice_now
1748
-
1749
1538
  # If the subscription schedule is `active`, indicates if the cancellation should be prorated. Boolean that defaults to `true`.
1750
1539
  attr_accessor :prorate
1751
1540
 
@@ -1769,7 +1558,6 @@ module Stripe
1769
1558
  class Duration < Stripe::RequestParams
1770
1559
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1771
1560
  attr_accessor :interval
1772
-
1773
1561
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1774
1562
  attr_accessor :interval_count
1775
1563
 
@@ -1780,13 +1568,10 @@ module Stripe
1780
1568
  end
1781
1569
  # Use the `end` time of a given discount.
1782
1570
  attr_accessor :discount_end
1783
-
1784
1571
  # Time span for the quote line starting from the `starts_at` date.
1785
1572
  attr_accessor :duration
1786
-
1787
1573
  # A precise Unix timestamp.
1788
1574
  attr_accessor :timestamp
1789
-
1790
1575
  # Select a way to pass in `ends_at`.
1791
1576
  attr_accessor :type
1792
1577
 
@@ -1809,7 +1594,6 @@ module Stripe
1809
1594
  end
1810
1595
  # Details of the pause_collection behavior to apply to the amendment.
1811
1596
  attr_accessor :set
1812
-
1813
1597
  # Determines the type of the pause_collection amendment.
1814
1598
  attr_accessor :type
1815
1599
 
@@ -1832,7 +1616,6 @@ module Stripe
1832
1616
  class LineEndsAt < Stripe::RequestParams
1833
1617
  # The ID of a quote line.
1834
1618
  attr_accessor :id
1835
-
1836
1619
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
1837
1620
  attr_accessor :index
1838
1621
 
@@ -1843,13 +1626,10 @@ module Stripe
1843
1626
  end
1844
1627
  # Use the `end` time of a given discount.
1845
1628
  attr_accessor :discount_end
1846
-
1847
1629
  # The timestamp the given line ends at.
1848
1630
  attr_accessor :line_ends_at
1849
-
1850
1631
  # A precise Unix timestamp.
1851
1632
  attr_accessor :timestamp
1852
-
1853
1633
  # Select a way to pass in `starts_at`.
1854
1634
  attr_accessor :type
1855
1635
 
@@ -1879,34 +1659,24 @@ module Stripe
1879
1659
  end
1880
1660
  # An array of operations the quote line performs.
1881
1661
  attr_accessor :actions
1882
-
1883
1662
  # Details to identify the subscription schedule the quote line applies to.
1884
1663
  attr_accessor :applies_to
1885
-
1886
1664
  # For point-in-time quote lines (having no `ends_at` timestamp), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the Quote Line `starts_at` timestamp.For time-span based quote lines (having both `starts_at` and `ends_at`), the only valid value is `automatic`, which removes any previously configured billing cycle anchor resets during the window of time spanning the quote line.
1887
1665
  attr_accessor :billing_cycle_anchor
1888
-
1889
1666
  # A point-in-time operation that cancels an existing subscription schedule at the line's starts_at timestamp. Currently only compatible with `quote_acceptance_date` for `starts_at`. When using cancel_subscription_schedule, the subscription schedule on the quote remains unalterable, except for modifications to the metadata, collection_method or invoice_settings.
1890
1667
  attr_accessor :cancel_subscription_schedule
1891
-
1892
1668
  # Details to identify the end of the time range modified by the proposed change. If not supplied, the quote line is considered a point-in-time operation that only affects the exact timestamp at `starts_at`, and a restricted set of attributes is supported on the quote line.
1893
1669
  attr_accessor :ends_at
1894
-
1895
1670
  # The ID of an existing line on the quote.
1896
1671
  attr_accessor :id
1897
-
1898
1672
  # Changes to how Stripe handles prorations during the quote line's time span. Affects if and how prorations are created when a future phase starts.
1899
1673
  attr_accessor :proration_behavior
1900
-
1901
1674
  # Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
1902
1675
  attr_accessor :set_pause_collection
1903
-
1904
1676
  # Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
1905
1677
  attr_accessor :set_schedule_end
1906
-
1907
1678
  # Details to identify the earliest timestamp where the proposed change should take effect.
1908
1679
  attr_accessor :starts_at
1909
-
1910
1680
  # Settings related to subscription trials.
1911
1681
  attr_accessor :trial_settings
1912
1682
 
@@ -1943,7 +1713,6 @@ module Stripe
1943
1713
  class Duration < Stripe::RequestParams
1944
1714
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
1945
1715
  attr_accessor :interval
1946
-
1947
1716
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
1948
1717
  attr_accessor :interval_count
1949
1718
 
@@ -1954,10 +1723,8 @@ module Stripe
1954
1723
  end
1955
1724
  # Time span for the redeemed discount.
1956
1725
  attr_accessor :duration
1957
-
1958
1726
  # A precise Unix timestamp for the discount to end. Must be in the future.
1959
1727
  attr_accessor :timestamp
1960
-
1961
1728
  # The type of calculation made to determine when the discount ends.
1962
1729
  attr_accessor :type
1963
1730
 
@@ -1969,13 +1736,10 @@ module Stripe
1969
1736
  end
1970
1737
  # ID of the coupon to create a new discount for.
1971
1738
  attr_accessor :coupon
1972
-
1973
1739
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1974
1740
  attr_accessor :discount
1975
-
1976
1741
  # Details to determine how long the discount should be applied for.
1977
1742
  attr_accessor :discount_end
1978
-
1979
1743
  # ID of the promotion code to create a new discount for.
1980
1744
  attr_accessor :promotion_code
1981
1745
 
@@ -1991,7 +1755,6 @@ module Stripe
1991
1755
  class Recurring < Stripe::RequestParams
1992
1756
  # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
1993
1757
  attr_accessor :interval
1994
-
1995
1758
  # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
1996
1759
  attr_accessor :interval_count
1997
1760
 
@@ -2002,19 +1765,14 @@ module Stripe
2002
1765
  end
2003
1766
  # 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).
2004
1767
  attr_accessor :currency
2005
-
2006
1768
  # The ID of the product that this price will belong to.
2007
1769
  attr_accessor :product
2008
-
2009
1770
  # The recurring components of a price such as `interval` and `interval_count`.
2010
1771
  attr_accessor :recurring
2011
-
2012
1772
  # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
2013
1773
  attr_accessor :tax_behavior
2014
-
2015
1774
  # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
2016
1775
  attr_accessor :unit_amount
2017
-
2018
1776
  # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
2019
1777
  attr_accessor :unit_amount_decimal
2020
1778
 
@@ -2036,19 +1794,14 @@ module Stripe
2036
1794
  end
2037
1795
  # The discounts applied to this line item.
2038
1796
  attr_accessor :discounts
2039
-
2040
1797
  # The ID of an existing line item on the quote.
2041
1798
  attr_accessor :id
2042
-
2043
1799
  # The ID of the price object. One of `price` or `price_data` is required.
2044
1800
  attr_accessor :price
2045
-
2046
1801
  # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
2047
1802
  attr_accessor :price_data
2048
-
2049
1803
  # The quantity of the line item.
2050
1804
  attr_accessor :quantity
2051
-
2052
1805
  # The tax rates which apply to the line item. When set, the `default_tax_rates` on the quote do not apply to this line item.
2053
1806
  attr_accessor :tax_rates
2054
1807
 
@@ -2075,7 +1828,6 @@ module Stripe
2075
1828
  class LineStartsAt < Stripe::RequestParams
2076
1829
  # The ID of a quote line.
2077
1830
  attr_accessor :id
2078
-
2079
1831
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
2080
1832
  attr_accessor :index
2081
1833
 
@@ -2086,10 +1838,8 @@ module Stripe
2086
1838
  end
2087
1839
  # Details of a Quote line to start the bill period from.
2088
1840
  attr_accessor :line_starts_at
2089
-
2090
1841
  # A precise Unix timestamp.
2091
1842
  attr_accessor :timestamp
2092
-
2093
1843
  # The type of method to specify the `bill_from` time.
2094
1844
  attr_accessor :type
2095
1845
 
@@ -2104,7 +1854,6 @@ module Stripe
2104
1854
  class Duration < Stripe::RequestParams
2105
1855
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2106
1856
  attr_accessor :interval
2107
-
2108
1857
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2109
1858
  attr_accessor :interval_count
2110
1859
 
@@ -2117,7 +1866,6 @@ module Stripe
2117
1866
  class LineEndsAt < Stripe::RequestParams
2118
1867
  # The ID of a quote line.
2119
1868
  attr_accessor :id
2120
-
2121
1869
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
2122
1870
  attr_accessor :index
2123
1871
 
@@ -2128,13 +1876,10 @@ module Stripe
2128
1876
  end
2129
1877
  # Details of the duration over which to bill.
2130
1878
  attr_accessor :duration
2131
-
2132
1879
  # Details of a Quote line item from which to bill until.
2133
1880
  attr_accessor :line_ends_at
2134
-
2135
1881
  # A precise Unix timestamp.
2136
1882
  attr_accessor :timestamp
2137
-
2138
1883
  # The type of method to specify the `bill_until` time.
2139
1884
  attr_accessor :type
2140
1885
 
@@ -2147,7 +1892,6 @@ module Stripe
2147
1892
  end
2148
1893
  # The start of the period to bill from when the Quote is accepted.
2149
1894
  attr_accessor :bill_from
2150
-
2151
1895
  # The end of the period to bill until when the Quote is accepted.
2152
1896
  attr_accessor :bill_until
2153
1897
 
@@ -2167,28 +1911,20 @@ module Stripe
2167
1911
  end
2168
1912
  # Describes the period to bill for upon accepting the quote.
2169
1913
  attr_accessor :bill_on_acceptance
2170
-
2171
1914
  # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
2172
1915
  attr_accessor :billing_behavior
2173
-
2174
1916
  # When specified as `reset`, the subscription will always start a new billing period when the quote is accepted.
2175
1917
  attr_accessor :billing_cycle_anchor
2176
-
2177
1918
  # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
2178
1919
  attr_accessor :description
2179
-
2180
1920
  # When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. When updating a subscription, the date of which the subscription will be updated using a subscription schedule. The special value `current_period_end` can be provided to update a subscription at the end of its current period. The `effective_date` is ignored if it is in the past when the quote is accepted.
2181
1921
  attr_accessor :effective_date
2182
-
2183
1922
  # Behavior of the subscription schedule and underlying subscription when it ends.
2184
1923
  attr_accessor :end_behavior
2185
-
2186
1924
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
2187
1925
  attr_accessor :metadata
2188
-
2189
1926
  # If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
2190
1927
  attr_accessor :prebilling
2191
-
2192
1928
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
2193
1929
  #
2194
1930
  # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
@@ -2197,7 +1933,6 @@ module Stripe
2197
1933
  #
2198
1934
  # Prorations can be disabled by passing `none`.
2199
1935
  attr_accessor :proration_behavior
2200
-
2201
1936
  # Integer representing the number of trial period days before the customer is charged for the first time.
2202
1937
  attr_accessor :trial_period_days
2203
1938
 
@@ -2230,10 +1965,8 @@ module Stripe
2230
1965
  class AppliesTo < Stripe::RequestParams
2231
1966
  # A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
2232
1967
  attr_accessor :new_reference
2233
-
2234
1968
  # The ID of the schedule the line applies to.
2235
1969
  attr_accessor :subscription_schedule
2236
-
2237
1970
  # Describes whether the quote line is affecting a new schedule or an existing schedule.
2238
1971
  attr_accessor :type
2239
1972
 
@@ -2249,7 +1982,6 @@ module Stripe
2249
1982
  class LineStartsAt < Stripe::RequestParams
2250
1983
  # The ID of a quote line.
2251
1984
  attr_accessor :id
2252
-
2253
1985
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
2254
1986
  attr_accessor :index
2255
1987
 
@@ -2260,10 +1992,8 @@ module Stripe
2260
1992
  end
2261
1993
  # Details of a Quote line to start the bill period from.
2262
1994
  attr_accessor :line_starts_at
2263
-
2264
1995
  # A precise Unix timestamp.
2265
1996
  attr_accessor :timestamp
2266
-
2267
1997
  # The type of method to specify the `bill_from` time.
2268
1998
  attr_accessor :type
2269
1999
 
@@ -2278,7 +2008,6 @@ module Stripe
2278
2008
  class Duration < Stripe::RequestParams
2279
2009
  # Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
2280
2010
  attr_accessor :interval
2281
-
2282
2011
  # The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
2283
2012
  attr_accessor :interval_count
2284
2013
 
@@ -2291,7 +2020,6 @@ module Stripe
2291
2020
  class LineEndsAt < Stripe::RequestParams
2292
2021
  # The ID of a quote line.
2293
2022
  attr_accessor :id
2294
-
2295
2023
  # The position of the previous quote line in the `lines` array after which this line should begin. Indexes start from 0 and must be less than the index of the current line in the array.
2296
2024
  attr_accessor :index
2297
2025
 
@@ -2302,13 +2030,10 @@ module Stripe
2302
2030
  end
2303
2031
  # Details of the duration over which to bill.
2304
2032
  attr_accessor :duration
2305
-
2306
2033
  # Details of a Quote line item from which to bill until.
2307
2034
  attr_accessor :line_ends_at
2308
-
2309
2035
  # A precise Unix timestamp.
2310
2036
  attr_accessor :timestamp
2311
-
2312
2037
  # The type of method to specify the `bill_until` time.
2313
2038
  attr_accessor :type
2314
2039
 
@@ -2321,7 +2046,6 @@ module Stripe
2321
2046
  end
2322
2047
  # The start of the period to bill from when the Quote is accepted.
2323
2048
  attr_accessor :bill_from
2324
-
2325
2049
  # The end of the period to bill until when the Quote is accepted.
2326
2050
  attr_accessor :bill_until
2327
2051
 
@@ -2332,22 +2056,16 @@ module Stripe
2332
2056
  end
2333
2057
  # Whether the override applies to an existing Subscription Schedule or a new Subscription Schedule.
2334
2058
  attr_accessor :applies_to
2335
-
2336
2059
  # Describes the period to bill for upon accepting the quote.
2337
2060
  attr_accessor :bill_on_acceptance
2338
-
2339
2061
  # Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
2340
2062
  attr_accessor :billing_behavior
2341
-
2342
2063
  # The customer the Subscription Data override applies to.
2343
2064
  attr_accessor :customer
2344
-
2345
2065
  # The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
2346
2066
  attr_accessor :description
2347
-
2348
2067
  # Behavior of the subscription schedule and underlying subscription when it ends.
2349
2068
  attr_accessor :end_behavior
2350
-
2351
2069
  # Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations). When creating a subscription, valid values are `create_prorations` or `none`.
2352
2070
  #
2353
2071
  # When updating a subscription, valid values are `create_prorations`, `none`, or `always_invoice`.
@@ -2379,10 +2097,8 @@ module Stripe
2379
2097
  class TransferData < Stripe::RequestParams
2380
2098
  # The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
2381
2099
  attr_accessor :amount
2382
-
2383
2100
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field.
2384
2101
  attr_accessor :amount_percent
2385
-
2386
2102
  # ID of an existing, connected Stripe account.
2387
2103
  attr_accessor :destination
2388
2104
 
@@ -2394,64 +2110,44 @@ module Stripe
2394
2110
  end
2395
2111
  # Set to true to allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.
2396
2112
  attr_accessor :allow_backdated_lines
2397
-
2398
2113
  # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field.
2399
2114
  attr_accessor :application_fee_amount
2400
-
2401
2115
  # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field.
2402
2116
  attr_accessor :application_fee_percent
2403
-
2404
2117
  # Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.
2405
2118
  attr_accessor :automatic_tax
2406
-
2407
2119
  # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.
2408
2120
  attr_accessor :collection_method
2409
-
2410
2121
  # The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
2411
2122
  attr_accessor :customer
2412
-
2413
2123
  # The tax rates that will apply to any line item that does not have `tax_rates` set.
2414
2124
  attr_accessor :default_tax_rates
2415
-
2416
2125
  # A description that will be displayed on the quote PDF.
2417
2126
  attr_accessor :description
2418
-
2419
2127
  # The discounts applied to the quote.
2420
2128
  attr_accessor :discounts
2421
-
2422
2129
  # Specifies which fields in the response should be expanded.
2423
2130
  attr_accessor :expand
2424
-
2425
2131
  # A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.
2426
2132
  attr_accessor :expires_at
2427
-
2428
2133
  # A footer that will be displayed on the quote PDF.
2429
2134
  attr_accessor :footer
2430
-
2431
2135
  # A header that will be displayed on the quote PDF.
2432
2136
  attr_accessor :header
2433
-
2434
2137
  # All invoices will be billed using the specified settings.
2435
2138
  attr_accessor :invoice_settings
2436
-
2437
2139
  # A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.
2438
2140
  attr_accessor :line_items
2439
-
2440
2141
  # A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
2441
2142
  attr_accessor :lines
2442
-
2443
2143
  # 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`.
2444
2144
  attr_accessor :metadata
2445
-
2446
2145
  # The account on behalf of which to charge.
2447
2146
  attr_accessor :on_behalf_of
2448
-
2449
2147
  # When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.
2450
2148
  attr_accessor :subscription_data
2451
-
2452
2149
  # List representing overrides for `subscription_data` configurations for specific subscription schedules.
2453
2150
  attr_accessor :subscription_data_overrides
2454
-
2455
2151
  # The data with which to automatically create a Transfer for each of the invoices.
2456
2152
  attr_accessor :transfer_data
2457
2153
 
@@ -2523,7 +2219,6 @@ module Stripe
2523
2219
  class FinalizeQuoteParams < Stripe::RequestParams
2524
2220
  # Specifies which fields in the response should be expanded.
2525
2221
  attr_accessor :expand
2526
-
2527
2222
  # A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch.
2528
2223
  attr_accessor :expires_at
2529
2224
 
@@ -2545,7 +2240,6 @@ module Stripe
2545
2240
  class MarkStaleParams < Stripe::RequestParams
2546
2241
  # Specifies which fields in the response should be expanded.
2547
2242
  attr_accessor :expand
2548
-
2549
2243
  # Reason the Quote is being marked stale.
2550
2244
  attr_accessor :reason
2551
2245
 
@@ -2576,13 +2270,10 @@ module Stripe
2576
2270
  class ListPreviewInvoiceLinesParams < Stripe::RequestParams
2577
2271
  # 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.
2578
2272
  attr_accessor :ending_before
2579
-
2580
2273
  # Specifies which fields in the response should be expanded.
2581
2274
  attr_accessor :expand
2582
-
2583
2275
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2584
2276
  attr_accessor :limit
2585
-
2586
2277
  # 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.
2587
2278
  attr_accessor :starting_after
2588
2279