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
@@ -20,7 +20,6 @@ module Stripe
20
20
  class AutomaticTax < Stripe::StripeObject
21
21
  # Whether Stripe automatically computes tax on this Order.
22
22
  attr_reader :enabled
23
-
24
23
  # The status of the most recent automated tax calculation for this Order.
25
24
  attr_reader :status
26
25
  end
@@ -29,31 +28,23 @@ module Stripe
29
28
  class Address < Stripe::StripeObject
30
29
  # City, district, suburb, town, or village.
31
30
  attr_reader :city
32
-
33
31
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
34
32
  attr_reader :country
35
-
36
33
  # Address line 1 (e.g., street, PO Box, or company name).
37
34
  attr_reader :line1
38
-
39
35
  # Address line 2 (e.g., apartment, suite, unit, or building).
40
36
  attr_reader :line2
41
-
42
37
  # ZIP or postal code.
43
38
  attr_reader :postal_code
44
-
45
39
  # State, county, province, or region.
46
40
  attr_reader :state
47
41
  end
48
42
  # Billing address for the order.
49
43
  attr_reader :address
50
-
51
44
  # Email address for the order.
52
45
  attr_reader :email
53
-
54
46
  # Full name for the order.
55
47
  attr_reader :name
56
-
57
48
  # Billing phone number for the order (including extension).
58
49
  attr_reader :phone
59
50
  end
@@ -65,13 +56,10 @@ module Stripe
65
56
  end
66
57
  # The amount of this credit to apply to the order.
67
58
  attr_reader :amount
68
-
69
59
  # Details for a gift card.
70
60
  attr_reader :gift_card
71
-
72
61
  # Line items on this order that are ineligible for this credit
73
62
  attr_reader :ineligible_line_items
74
-
75
63
  # The type of credit to apply to the order, only `gift_card` currently supported.
76
64
  attr_reader :type
77
65
  end
@@ -88,19 +76,15 @@ module Stripe
88
76
  class MandateOptions < Stripe::StripeObject
89
77
  # A URL for custom mandate text
90
78
  attr_reader :custom_mandate_url
91
-
92
79
  # Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
93
80
  attr_reader :interval_description
94
-
95
81
  # Payment schedule for the mandate.
96
82
  attr_reader :payment_schedule
97
-
98
83
  # Transaction type of the mandate.
99
84
  attr_reader :transaction_type
100
85
  end
101
86
  # Attribute for field mandate_options
102
87
  attr_reader :mandate_options
103
-
104
88
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
105
89
  #
106
90
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -109,7 +93,6 @@ module Stripe
109
93
  #
110
94
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
111
95
  attr_reader :setup_future_usage
112
-
113
96
  # Bank account verification method.
114
97
  attr_reader :verification_method
115
98
  end
@@ -117,10 +100,8 @@ module Stripe
117
100
  class AfterpayClearpay < Stripe::StripeObject
118
101
  # Controls when the funds will be captured from the customer's account.
119
102
  attr_reader :capture_method
120
-
121
103
  # Order identifier shown to the user in Afterpay's online portal. We recommend using a value that helps you answer any questions a customer might have about the payment. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
122
104
  attr_reader :reference
123
-
124
105
  # Indicates that you intend to make future payments with the payment method.
125
106
  #
126
107
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -145,7 +126,6 @@ module Stripe
145
126
  class Bancontact < Stripe::StripeObject
146
127
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
147
128
  attr_reader :preferred_language
148
-
149
129
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
150
130
  #
151
131
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -159,7 +139,6 @@ module Stripe
159
139
  class Card < Stripe::StripeObject
160
140
  # Controls when the funds will be captured from the customer's account.
161
141
  attr_reader :capture_method
162
-
163
142
  # Indicates that you intend to make future payments with the payment method.
164
143
  #
165
144
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -178,21 +157,17 @@ module Stripe
178
157
  end
179
158
  # Attribute for field eu_bank_transfer
180
159
  attr_reader :eu_bank_transfer
181
-
182
160
  # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
183
161
  #
184
162
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
185
163
  attr_reader :requested_address_types
186
-
187
164
  # The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
188
165
  attr_reader :type
189
166
  end
190
167
  # Attribute for field bank_transfer
191
168
  attr_reader :bank_transfer
192
-
193
169
  # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
194
170
  attr_reader :funding_type
195
-
196
171
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
197
172
  #
198
173
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -217,10 +192,8 @@ module Stripe
217
192
  class Klarna < Stripe::StripeObject
218
193
  # Controls when the funds will be captured from the customer's account.
219
194
  attr_reader :capture_method
220
-
221
195
  # Preferred locale of the Klarna checkout page that the customer is redirected to.
222
196
  attr_reader :preferred_locale
223
-
224
197
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
225
198
  #
226
199
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -234,10 +207,8 @@ module Stripe
234
207
  class Link < Stripe::StripeObject
235
208
  # Controls when the funds will be captured from the customer's account.
236
209
  attr_reader :capture_method
237
-
238
210
  # [Deprecated] This is a legacy parameter that no longer has any function.
239
211
  attr_reader :persistent_token
240
-
241
212
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
242
213
  #
243
214
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -251,7 +222,6 @@ module Stripe
251
222
  class Oxxo < Stripe::StripeObject
252
223
  # The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
253
224
  attr_reader :expires_after_days
254
-
255
225
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
256
226
  #
257
227
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -278,49 +248,36 @@ module Stripe
278
248
  class Tax < Stripe::StripeObject
279
249
  # The tax for a single unit of the line item in minor units. Cannot be a negative number.
280
250
  attr_reader :amount
281
-
282
251
  # The tax behavior for the line item.
283
252
  attr_reader :behavior
284
253
  end
285
254
  # Type of the line item.
286
255
  attr_reader :category
287
-
288
256
  # Description of the line item.
289
257
  attr_reader :description
290
-
291
258
  # Descriptive name of the line item.
292
259
  attr_reader :name
293
-
294
260
  # Quantity of the line item. Cannot be a negative number.
295
261
  attr_reader :quantity
296
-
297
262
  # Client facing stock keeping unit, article number or similar.
298
263
  attr_reader :sku
299
-
300
264
  # The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
301
265
  attr_reader :sold_by
302
-
303
266
  # Attribute for field tax
304
267
  attr_reader :tax
305
-
306
268
  # Price for a single unit of the line item in minor units. Cannot be a negative number.
307
269
  attr_reader :unit_amount
308
270
  end
309
271
  # Controls when the funds will be captured from the customer's account.
310
272
  attr_reader :capture_method
311
-
312
273
  # The line items purchased by the customer.
313
274
  attr_reader :line_items
314
-
315
275
  # Preferred locale of the PayPal checkout page that the customer is redirected to.
316
276
  attr_reader :preferred_locale
317
-
318
277
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
319
278
  attr_reader :reference
320
-
321
279
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
322
280
  attr_reader :reference_id
323
-
324
281
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
325
282
  #
326
283
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -329,7 +286,6 @@ module Stripe
329
286
  #
330
287
  # When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
331
288
  attr_reader :setup_future_usage
332
-
333
289
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
334
290
  attr_reader :subsellers
335
291
  end
@@ -341,7 +297,6 @@ module Stripe
341
297
  end
342
298
  # Attribute for field mandate_options
343
299
  attr_reader :mandate_options
344
-
345
300
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
346
301
  #
347
302
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -355,7 +310,6 @@ module Stripe
355
310
  class Sofort < Stripe::StripeObject
356
311
  # Preferred language of the SOFORT authorization page that the customer is redirected to.
357
312
  attr_reader :preferred_language
358
-
359
313
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
360
314
  #
361
315
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -369,10 +323,8 @@ module Stripe
369
323
  class WechatPay < Stripe::StripeObject
370
324
  # The app ID registered with WeChat Pay. Only required when client is ios or android.
371
325
  attr_reader :app_id
372
-
373
326
  # The client type that the end customer will pay from
374
327
  attr_reader :client
375
-
376
328
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
377
329
  #
378
330
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -384,46 +336,32 @@ module Stripe
384
336
  end
385
337
  # Attribute for field acss_debit
386
338
  attr_reader :acss_debit
387
-
388
339
  # Attribute for field afterpay_clearpay
389
340
  attr_reader :afterpay_clearpay
390
-
391
341
  # Attribute for field alipay
392
342
  attr_reader :alipay
393
-
394
343
  # Attribute for field bancontact
395
344
  attr_reader :bancontact
396
-
397
345
  # Attribute for field card
398
346
  attr_reader :card
399
-
400
347
  # Attribute for field customer_balance
401
348
  attr_reader :customer_balance
402
-
403
349
  # Attribute for field ideal
404
350
  attr_reader :ideal
405
-
406
351
  # Attribute for field klarna
407
352
  attr_reader :klarna
408
-
409
353
  # Attribute for field link
410
354
  attr_reader :link
411
-
412
355
  # Attribute for field oxxo
413
356
  attr_reader :oxxo
414
-
415
357
  # Attribute for field p24
416
358
  attr_reader :p24
417
-
418
359
  # Attribute for field paypal
419
360
  attr_reader :paypal
420
-
421
361
  # Attribute for field sepa_debit
422
362
  attr_reader :sepa_debit
423
-
424
363
  # Attribute for field sofort
425
364
  attr_reader :sofort
426
-
427
365
  # Attribute for field wechat_pay
428
366
  attr_reader :wechat_pay
429
367
  end
@@ -431,40 +369,30 @@ module Stripe
431
369
  class TransferData < Stripe::StripeObject
432
370
  # The amount that will be transferred automatically when the order 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.
433
371
  attr_reader :amount
434
-
435
372
  # ID of the Connected account receiving the transfer.
436
373
  attr_reader :destination
437
374
  end
438
375
  # 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.
439
376
  attr_reader :application_fee_amount
440
-
441
377
  # Indicates whether order has been opted into using [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods) to manage payment method types.
442
378
  attr_reader :automatic_payment_methods
443
-
444
379
  # PaymentMethod-specific configuration to provide to the order's PaymentIntent.
445
380
  attr_reader :payment_method_options
446
-
447
381
  # The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
448
382
  attr_reader :payment_method_types
449
-
450
383
  # The URL to redirect the customer to after they authenticate their payment.
451
384
  attr_reader :return_url
452
-
453
385
  # For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
454
386
  attr_reader :statement_descriptor
455
-
456
387
  # Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
457
388
  attr_reader :statement_descriptor_suffix
458
-
459
389
  # Provides configuration for completing a transfer for the order after it is paid.
460
390
  attr_reader :transfer_data
461
391
  end
462
392
  # ID of the payment intent associated with this order. Null when the order is `open`.
463
393
  attr_reader :payment_intent
464
-
465
394
  # Settings describing how the order should configure generated PaymentIntents.
466
395
  attr_reader :settings
467
-
468
396
  # The status of the underlying payment associated with this order, if any. Null when the order is `open`.
469
397
  attr_reader :status
470
398
  end
@@ -473,30 +401,23 @@ module Stripe
473
401
  class Tax < Stripe::StripeObject
474
402
  # Amount of tax applied for this rate.
475
403
  attr_reader :amount
476
-
477
404
  # Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.
478
405
  #
479
406
  # Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
480
407
  attr_reader :rate
481
-
482
408
  # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
483
409
  attr_reader :taxability_reason
484
-
485
410
  # The amount on which tax is calculated, in cents (or local equivalent).
486
411
  attr_reader :taxable_amount
487
412
  end
488
413
  # Total shipping cost before any discounts or taxes are applied.
489
414
  attr_reader :amount_subtotal
490
-
491
415
  # Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
492
416
  attr_reader :amount_tax
493
-
494
417
  # Total shipping cost after discounts and taxes are applied.
495
418
  attr_reader :amount_total
496
-
497
419
  # The ID of the ShippingRate for this order.
498
420
  attr_reader :shipping_rate
499
-
500
421
  # The taxes applied to the shipping rate.
501
422
  attr_reader :taxes
502
423
  end
@@ -505,43 +426,34 @@ module Stripe
505
426
  class Address < Stripe::StripeObject
506
427
  # City, district, suburb, town, or village.
507
428
  attr_reader :city
508
-
509
429
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
510
430
  attr_reader :country
511
-
512
431
  # Address line 1 (e.g., street, PO Box, or company name).
513
432
  attr_reader :line1
514
-
515
433
  # Address line 2 (e.g., apartment, suite, unit, or building).
516
434
  attr_reader :line2
517
-
518
435
  # ZIP or postal code.
519
436
  attr_reader :postal_code
520
-
521
437
  # State, county, province, or region.
522
438
  attr_reader :state
523
439
  end
524
440
  # Recipient shipping address. Required if the order includes products that are shippable.
525
441
  attr_reader :address
526
-
527
442
  # Recipient name.
528
443
  attr_reader :name
529
-
530
444
  # Recipient phone (including extension).
531
445
  attr_reader :phone
532
446
  end
533
447
 
534
448
  class TaxDetails < Stripe::StripeObject
535
449
  class TaxId < Stripe::StripeObject
536
- # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
450
+ # The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, or `unknown`
537
451
  attr_reader :type
538
-
539
452
  # The value of the tax ID.
540
453
  attr_reader :value
541
454
  end
542
455
  # Describes the purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
543
456
  attr_reader :tax_exempt
544
-
545
457
  # The purchaser's tax IDs to be used in calculation of tax for this Order.
546
458
  attr_reader :tax_ids
547
459
  end
@@ -551,7 +463,6 @@ module Stripe
551
463
  class Discount < Stripe::StripeObject
552
464
  # The amount discounted.
553
465
  attr_reader :amount
554
-
555
466
  # A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).
556
467
  # It contains information about when the discount began, when it will end, and what it is applied to.
557
468
  #
@@ -562,36 +473,28 @@ module Stripe
562
473
  class Tax < Stripe::StripeObject
563
474
  # Amount of tax applied for this rate.
564
475
  attr_reader :amount
565
-
566
476
  # Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax.
567
477
  #
568
478
  # Related guide: [Tax rates](https://stripe.com/docs/billing/taxes/tax-rates)
569
479
  attr_reader :rate
570
-
571
480
  # The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
572
481
  attr_reader :taxability_reason
573
-
574
482
  # The amount on which tax is calculated, in cents (or local equivalent).
575
483
  attr_reader :taxable_amount
576
484
  end
577
485
  # The aggregated discounts.
578
486
  attr_reader :discounts
579
-
580
487
  # The aggregated tax amounts by rate.
581
488
  attr_reader :taxes
582
489
  end
583
490
  # Attribute for field amount_credit
584
491
  attr_reader :amount_credit
585
-
586
492
  # This is the sum of all the discounts.
587
493
  attr_reader :amount_discount
588
-
589
494
  # This is the sum of all the shipping amounts.
590
495
  attr_reader :amount_shipping
591
-
592
496
  # This is the sum of all the tax amounts.
593
497
  attr_reader :amount_tax
594
-
595
498
  # Attribute for field breakdown
596
499
  attr_reader :breakdown
597
500
  end
@@ -599,16 +502,12 @@ module Stripe
599
502
  class ListParams < Stripe::RequestParams
600
503
  # Only return orders for the given customer.
601
504
  attr_accessor :customer
602
-
603
505
  # 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.
604
506
  attr_accessor :ending_before
605
-
606
507
  # Specifies which fields in the response should be expanded.
607
508
  attr_accessor :expand
608
-
609
509
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
610
510
  attr_accessor :limit
611
-
612
511
  # 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.
613
512
  attr_accessor :starting_after
614
513
 
@@ -641,19 +540,14 @@ module Stripe
641
540
  class Address < Stripe::RequestParams
642
541
  # City, district, suburb, town, or village.
643
542
  attr_accessor :city
644
-
645
543
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
646
544
  attr_accessor :country
647
-
648
545
  # Address line 1 (e.g., street, PO Box, or company name).
649
546
  attr_accessor :line1
650
-
651
547
  # Address line 2 (e.g., apartment, suite, unit, or building).
652
548
  attr_accessor :line2
653
-
654
549
  # ZIP or postal code.
655
550
  attr_accessor :postal_code
656
-
657
551
  # State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
658
552
  attr_accessor :state
659
553
 
@@ -675,13 +569,10 @@ module Stripe
675
569
  end
676
570
  # The billing address provided by the customer.
677
571
  attr_accessor :address
678
-
679
572
  # The billing email provided by the customer.
680
573
  attr_accessor :email
681
-
682
574
  # The billing name provided by the customer.
683
575
  attr_accessor :name
684
-
685
576
  # The billing phone number provided by the customer.
686
577
  attr_accessor :phone
687
578
 
@@ -696,7 +587,6 @@ module Stripe
696
587
  class Credit < Stripe::RequestParams
697
588
  # The gift card to apply to the order.
698
589
  attr_accessor :gift_card
699
-
700
590
  # The type of credit to apply to the order, only `gift_card` currently supported.
701
591
  attr_accessor :type
702
592
 
@@ -709,10 +599,8 @@ module Stripe
709
599
  class Discount < Stripe::RequestParams
710
600
  # ID of the coupon to create a new discount for.
711
601
  attr_accessor :coupon
712
-
713
602
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
714
603
  attr_accessor :discount
715
-
716
604
  # ID of the promotion code to create a new discount for.
717
605
  attr_accessor :promotion_code
718
606
 
@@ -727,7 +615,6 @@ module Stripe
727
615
  class Discount < Stripe::RequestParams
728
616
  # ID of the coupon to create a new discount for.
729
617
  attr_accessor :coupon
730
-
731
618
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
732
619
  attr_accessor :discount
733
620
 
@@ -740,18 +627,14 @@ module Stripe
740
627
  class PriceData < Stripe::RequestParams
741
628
  # 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).
742
629
  attr_accessor :currency
743
-
744
630
  # ID of the product this price belongs to.
745
631
  #
746
632
  # Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
747
633
  attr_accessor :product
748
-
749
634
  # 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.
750
635
  attr_accessor :tax_behavior
751
-
752
636
  # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
753
637
  attr_accessor :unit_amount
754
-
755
638
  # 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.
756
639
  attr_accessor :unit_amount_decimal
757
640
 
@@ -774,13 +657,10 @@ module Stripe
774
657
  class PackageDimensions < Stripe::RequestParams
775
658
  # Height, in inches. Maximum precision is 2 decimal places.
776
659
  attr_accessor :height
777
-
778
660
  # Length, in inches. Maximum precision is 2 decimal places.
779
661
  attr_accessor :length
780
-
781
662
  # Weight, in ounces. Maximum precision is 2 decimal places.
782
663
  attr_accessor :weight
783
-
784
664
  # Width, in inches. Maximum precision is 2 decimal places.
785
665
  attr_accessor :width
786
666
 
@@ -793,30 +673,22 @@ module Stripe
793
673
  end
794
674
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
795
675
  attr_accessor :description
796
-
797
676
  # A unique identifier for this product.
798
677
  #
799
678
  # `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
800
679
  attr_accessor :id
801
-
802
680
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
803
681
  attr_accessor :images
804
-
805
682
  # 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`.
806
683
  attr_accessor :metadata
807
-
808
684
  # The product's name, meant to be displayable to the customer.
809
685
  attr_accessor :name
810
-
811
686
  # The dimensions of this product for shipping purposes.
812
687
  attr_accessor :package_dimensions
813
-
814
688
  # Whether this product is shipped (i.e., physical goods).
815
689
  attr_accessor :shippable
816
-
817
690
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
818
691
  attr_accessor :tax_code
819
-
820
692
  # A URL of a publicly-accessible webpage for this product.
821
693
  attr_accessor :url
822
694
 
@@ -844,37 +716,30 @@ module Stripe
844
716
  end
845
717
  # The description for the line item. Will default to the name of the associated product.
846
718
  attr_accessor :description
847
-
848
719
  # The discounts applied to this line item.
849
720
  attr_accessor :discounts
850
-
851
721
  # The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
852
722
  #
853
723
  # The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
854
724
  attr_accessor :price
855
-
856
725
  # Data used to generate a new Price object inline.
857
726
  #
858
727
  # The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
859
728
  #
860
729
  # Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
861
730
  attr_accessor :price_data
862
-
863
731
  # The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
864
732
  #
865
733
  # The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
866
734
  attr_accessor :product
867
-
868
735
  # Defines a Product inline and adds it to the Order.
869
736
  #
870
737
  # `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
871
738
  #
872
739
  # `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
873
740
  attr_accessor :product_data
874
-
875
741
  # The quantity of the line item.
876
742
  attr_accessor :quantity
877
-
878
743
  # The tax rates applied to this line item.
879
744
  attr_accessor :tax_rates
880
745
 
@@ -908,13 +773,10 @@ module Stripe
908
773
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
909
774
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
910
775
  attr_accessor :custom_mandate_url
911
-
912
776
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
913
777
  attr_accessor :interval_description
914
-
915
778
  # Payment schedule for the mandate.
916
779
  attr_accessor :payment_schedule
917
-
918
780
  # Transaction type of the mandate.
919
781
  attr_accessor :transaction_type
920
782
 
@@ -932,7 +794,6 @@ module Stripe
932
794
  end
933
795
  # Additional fields for Mandate creation
934
796
  attr_accessor :mandate_options
935
-
936
797
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
937
798
  #
938
799
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -943,7 +804,6 @@ module Stripe
943
804
  #
944
805
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
945
806
  attr_accessor :setup_future_usage
946
-
947
807
  # Bank account verification method.
948
808
  attr_accessor :verification_method
949
809
 
@@ -965,10 +825,8 @@ module Stripe
965
825
  #
966
826
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
967
827
  attr_accessor :capture_method
968
-
969
828
  # An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
970
829
  attr_accessor :reference
971
-
972
830
  # Indicates that you intend to make future payments with the payment method.
973
831
  #
974
832
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -1005,7 +863,6 @@ module Stripe
1005
863
  class Bancontact < Stripe::RequestParams
1006
864
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
1007
865
  attr_accessor :preferred_language
1008
-
1009
866
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1010
867
  #
1011
868
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1026,7 +883,6 @@ module Stripe
1026
883
  class Card < Stripe::RequestParams
1027
884
  # Controls when the funds will be captured from the customer's account.
1028
885
  attr_accessor :capture_method
1029
-
1030
886
  # Indicates that you intend to make future payments with the payment method.
1031
887
  #
1032
888
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -1054,12 +910,10 @@ module Stripe
1054
910
  end
1055
911
  # Configuration for the eu_bank_transfer funding type.
1056
912
  attr_accessor :eu_bank_transfer
1057
-
1058
913
  # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
1059
914
  #
1060
915
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
1061
916
  attr_accessor :requested_address_types
1062
-
1063
917
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
1064
918
  attr_accessor :type
1065
919
 
@@ -1071,10 +925,8 @@ module Stripe
1071
925
  end
1072
926
  # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
1073
927
  attr_accessor :bank_transfer
1074
-
1075
928
  # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
1076
929
  attr_accessor :funding_type
1077
-
1078
930
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1079
931
  #
1080
932
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1117,10 +969,8 @@ module Stripe
1117
969
  #
1118
970
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1119
971
  attr_accessor :capture_method
1120
-
1121
972
  # Preferred language of the Klarna authorization page that the customer is redirected to
1122
973
  attr_accessor :preferred_locale
1123
-
1124
974
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1125
975
  #
1126
976
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1146,10 +996,8 @@ module Stripe
1146
996
  #
1147
997
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
1148
998
  attr_accessor :capture_method
1149
-
1150
999
  # [Deprecated] This is a legacy parameter that no longer has any function.
1151
1000
  attr_accessor :persistent_token
1152
-
1153
1001
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1154
1002
  #
1155
1003
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1171,7 +1019,6 @@ module Stripe
1171
1019
  class Oxxo < Stripe::RequestParams
1172
1020
  # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
1173
1021
  attr_accessor :expires_after_days
1174
-
1175
1022
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1176
1023
  #
1177
1024
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1200,7 +1047,6 @@ module Stripe
1200
1047
  #
1201
1048
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1202
1049
  attr_accessor :setup_future_usage
1203
-
1204
1050
  # Confirm that the payer has accepted the P24 terms and conditions.
1205
1051
  attr_accessor :tos_shown_and_accepted
1206
1052
 
@@ -1215,7 +1061,6 @@ module Stripe
1215
1061
  class Tax < Stripe::RequestParams
1216
1062
  # The tax for a single unit of the line item in minor units. Cannot be a negative number.
1217
1063
  attr_accessor :amount
1218
-
1219
1064
  # The tax behavior for the line item.
1220
1065
  attr_accessor :behavior
1221
1066
 
@@ -1226,25 +1071,18 @@ module Stripe
1226
1071
  end
1227
1072
  # Type of the line item.
1228
1073
  attr_accessor :category
1229
-
1230
1074
  # Description of the line item.
1231
1075
  attr_accessor :description
1232
-
1233
1076
  # Descriptive name of the line item.
1234
1077
  attr_accessor :name
1235
-
1236
1078
  # Quantity of the line item. Must be a positive number.
1237
1079
  attr_accessor :quantity
1238
-
1239
1080
  # Client facing stock keeping unit, article number or similar.
1240
1081
  attr_accessor :sku
1241
-
1242
1082
  # The Stripe account ID of the connected account that sells the item.
1243
1083
  attr_accessor :sold_by
1244
-
1245
1084
  # The tax information for the line item.
1246
1085
  attr_accessor :tax
1247
-
1248
1086
  # Price for a single unit of the line item in minor units. Cannot be a negative number.
1249
1087
  attr_accessor :unit_amount
1250
1088
 
@@ -1270,22 +1108,16 @@ module Stripe
1270
1108
  end
1271
1109
  # Controls when the funds will be captured from the customer's account.
1272
1110
  attr_accessor :capture_method
1273
-
1274
1111
  # The line items purchased by the customer.
1275
1112
  attr_accessor :line_items
1276
-
1277
1113
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1278
1114
  attr_accessor :preferred_locale
1279
-
1280
1115
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1281
1116
  attr_accessor :reference
1282
-
1283
1117
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1284
1118
  attr_accessor :reference_id
1285
-
1286
1119
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1287
1120
  attr_accessor :risk_correlation_id
1288
-
1289
1121
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1290
1122
  #
1291
1123
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1296,7 +1128,6 @@ module Stripe
1296
1128
  #
1297
1129
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1298
1130
  attr_accessor :setup_future_usage
1299
-
1300
1131
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1301
1132
  attr_accessor :subsellers
1302
1133
 
@@ -1332,7 +1163,6 @@ module Stripe
1332
1163
  end
1333
1164
  # Additional fields for Mandate creation
1334
1165
  attr_accessor :mandate_options
1335
-
1336
1166
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1337
1167
  #
1338
1168
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1353,7 +1183,6 @@ module Stripe
1353
1183
  class Sofort < Stripe::RequestParams
1354
1184
  # Language shown to the payer on redirect.
1355
1185
  attr_accessor :preferred_language
1356
-
1357
1186
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1358
1187
  #
1359
1188
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1374,10 +1203,8 @@ module Stripe
1374
1203
  class WechatPay < Stripe::RequestParams
1375
1204
  # The app ID registered with WeChat Pay. Only required when client is ios or android.
1376
1205
  attr_accessor :app_id
1377
-
1378
1206
  # The client type that the end customer will pay from
1379
1207
  attr_accessor :client
1380
-
1381
1208
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1382
1209
  #
1383
1210
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1397,46 +1224,32 @@ module Stripe
1397
1224
  end
1398
1225
  # If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.
1399
1226
  attr_accessor :acss_debit
1400
-
1401
1227
  # If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
1402
1228
  attr_accessor :afterpay_clearpay
1403
-
1404
1229
  # If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
1405
1230
  attr_accessor :alipay
1406
-
1407
1231
  # If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
1408
1232
  attr_accessor :bancontact
1409
-
1410
1233
  # If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
1411
1234
  attr_accessor :card
1412
-
1413
1235
  # If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
1414
1236
  attr_accessor :customer_balance
1415
-
1416
1237
  # If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
1417
1238
  attr_accessor :ideal
1418
-
1419
1239
  # If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
1420
1240
  attr_accessor :klarna
1421
-
1422
1241
  # If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
1423
1242
  attr_accessor :link
1424
-
1425
1243
  # If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
1426
1244
  attr_accessor :oxxo
1427
-
1428
1245
  # If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
1429
1246
  attr_accessor :p24
1430
-
1431
1247
  # If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
1432
1248
  attr_accessor :paypal
1433
-
1434
1249
  # If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
1435
1250
  attr_accessor :sepa_debit
1436
-
1437
1251
  # If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
1438
1252
  attr_accessor :sofort
1439
-
1440
1253
  # If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
1441
1254
  attr_accessor :wechat_pay
1442
1255
 
@@ -1478,7 +1291,6 @@ module Stripe
1478
1291
  class TransferData < Stripe::RequestParams
1479
1292
  # The amount that will be transferred automatically when the order 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.
1480
1293
  attr_accessor :amount
1481
-
1482
1294
  # ID of the Connected account receiving the transfer.
1483
1295
  attr_accessor :destination
1484
1296
 
@@ -1489,22 +1301,16 @@ module Stripe
1489
1301
  end
1490
1302
  # 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.
1491
1303
  attr_accessor :application_fee_amount
1492
-
1493
1304
  # PaymentMethod-specific configuration to provide to the order's PaymentIntent.
1494
1305
  attr_accessor :payment_method_options
1495
-
1496
1306
  # The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
1497
1307
  attr_accessor :payment_method_types
1498
-
1499
1308
  # The URL to redirect the customer to after they authenticate their payment.
1500
1309
  attr_accessor :return_url
1501
-
1502
1310
  # For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
1503
1311
  attr_accessor :statement_descriptor
1504
-
1505
1312
  # Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
1506
1313
  attr_accessor :statement_descriptor_suffix
1507
-
1508
1314
  # Provides configuration for completing a transfer for the order after it is paid.
1509
1315
  attr_accessor :transfer_data
1510
1316
 
@@ -1540,7 +1346,6 @@ module Stripe
1540
1346
  class Maximum < Stripe::RequestParams
1541
1347
  # A unit of time.
1542
1348
  attr_accessor :unit
1543
-
1544
1349
  # Must be greater than 0.
1545
1350
  attr_accessor :value
1546
1351
 
@@ -1553,7 +1358,6 @@ module Stripe
1553
1358
  class Minimum < Stripe::RequestParams
1554
1359
  # A unit of time.
1555
1360
  attr_accessor :unit
1556
-
1557
1361
  # Must be greater than 0.
1558
1362
  attr_accessor :value
1559
1363
 
@@ -1564,7 +1368,6 @@ module Stripe
1564
1368
  end
1565
1369
  # The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
1566
1370
  attr_accessor :maximum
1567
-
1568
1371
  # The lower bound of the estimated range. If empty, represents no lower bound.
1569
1372
  attr_accessor :minimum
1570
1373
 
@@ -1578,7 +1381,6 @@ module Stripe
1578
1381
  class CurrencyOptions < Stripe::RequestParams
1579
1382
  # A non-negative integer in cents representing how much to charge.
1580
1383
  attr_accessor :amount
1581
-
1582
1384
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
1583
1385
  attr_accessor :tax_behavior
1584
1386
 
@@ -1589,10 +1391,8 @@ module Stripe
1589
1391
  end
1590
1392
  # A non-negative integer in cents representing how much to charge.
1591
1393
  attr_accessor :amount
1592
-
1593
1394
  # 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).
1594
1395
  attr_accessor :currency
1595
-
1596
1396
  # Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
1597
1397
  attr_accessor :currency_options
1598
1398
 
@@ -1604,22 +1404,16 @@ module Stripe
1604
1404
  end
1605
1405
  # The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
1606
1406
  attr_accessor :delivery_estimate
1607
-
1608
1407
  # The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
1609
1408
  attr_accessor :display_name
1610
-
1611
1409
  # Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
1612
1410
  attr_accessor :fixed_amount
1613
-
1614
1411
  # 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`.
1615
1412
  attr_accessor :metadata
1616
-
1617
1413
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
1618
1414
  attr_accessor :tax_behavior
1619
-
1620
1415
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
1621
1416
  attr_accessor :tax_code
1622
-
1623
1417
  # The type of calculation to use on the shipping rate.
1624
1418
  attr_accessor :type
1625
1419
 
@@ -1643,7 +1437,6 @@ module Stripe
1643
1437
  end
1644
1438
  # The ID of the shipping rate to use for this order.
1645
1439
  attr_accessor :shipping_rate
1646
-
1647
1440
  # Parameters to create a new ad-hoc shipping rate for this order.
1648
1441
  attr_accessor :shipping_rate_data
1649
1442
 
@@ -1657,19 +1450,14 @@ module Stripe
1657
1450
  class Address < Stripe::RequestParams
1658
1451
  # City, district, suburb, town, or village.
1659
1452
  attr_accessor :city
1660
-
1661
1453
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1662
1454
  attr_accessor :country
1663
-
1664
1455
  # Address line 1 (e.g., street, PO Box, or company name).
1665
1456
  attr_accessor :line1
1666
-
1667
1457
  # Address line 2 (e.g., apartment, suite, unit, or building).
1668
1458
  attr_accessor :line2
1669
-
1670
1459
  # ZIP or postal code.
1671
1460
  attr_accessor :postal_code
1672
-
1673
1461
  # State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
1674
1462
  attr_accessor :state
1675
1463
 
@@ -1691,10 +1479,8 @@ module Stripe
1691
1479
  end
1692
1480
  # The shipping address for the order.
1693
1481
  attr_accessor :address
1694
-
1695
1482
  # The name of the recipient of the order.
1696
1483
  attr_accessor :name
1697
-
1698
1484
  # The phone number (including extension) for the recipient of the order.
1699
1485
  attr_accessor :phone
1700
1486
 
@@ -1707,9 +1493,8 @@ module Stripe
1707
1493
 
1708
1494
  class TaxDetails < Stripe::RequestParams
1709
1495
  class TaxId < Stripe::RequestParams
1710
- # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
1496
+ # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
1711
1497
  attr_accessor :type
1712
-
1713
1498
  # Value of the tax ID.
1714
1499
  attr_accessor :value
1715
1500
 
@@ -1720,7 +1505,6 @@ module Stripe
1720
1505
  end
1721
1506
  # The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
1722
1507
  attr_accessor :tax_exempt
1723
-
1724
1508
  # The purchaser's tax IDs to be used for this order.
1725
1509
  attr_accessor :tax_ids
1726
1510
 
@@ -1731,46 +1515,32 @@ module Stripe
1731
1515
  end
1732
1516
  # Settings for automatic tax calculation for this order.
1733
1517
  attr_accessor :automatic_tax
1734
-
1735
1518
  # Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
1736
1519
  attr_accessor :billing_details
1737
-
1738
1520
  # The credits to apply to the order, only `gift_card` currently supported.
1739
1521
  attr_accessor :credits
1740
-
1741
1522
  # 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).
1742
1523
  attr_accessor :currency
1743
-
1744
1524
  # The customer associated with this order.
1745
1525
  attr_accessor :customer
1746
-
1747
1526
  # An arbitrary string attached to the object. Often useful for displaying to users.
1748
1527
  attr_accessor :description
1749
-
1750
1528
  # The coupons, promotion codes, and/or discounts to apply to the order.
1751
1529
  attr_accessor :discounts
1752
-
1753
1530
  # Specifies which fields in the response should be expanded.
1754
1531
  attr_accessor :expand
1755
-
1756
1532
  # The IP address of the purchaser for this order.
1757
1533
  attr_accessor :ip_address
1758
-
1759
1534
  # A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
1760
1535
  attr_accessor :line_items
1761
-
1762
1536
  # 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`.
1763
1537
  attr_accessor :metadata
1764
-
1765
1538
  # Payment information associated with the order, including payment settings.
1766
1539
  attr_accessor :payment
1767
-
1768
1540
  # Settings for the customer cost of shipping for this order.
1769
1541
  attr_accessor :shipping_cost
1770
-
1771
1542
  # Shipping details for the order.
1772
1543
  attr_accessor :shipping_details
1773
-
1774
1544
  # Additional tax details about the purchaser to be used for this order.
1775
1545
  attr_accessor :tax_details
1776
1546
 
@@ -1832,19 +1602,14 @@ module Stripe
1832
1602
  class Address < Stripe::RequestParams
1833
1603
  # City, district, suburb, town, or village.
1834
1604
  attr_accessor :city
1835
-
1836
1605
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1837
1606
  attr_accessor :country
1838
-
1839
1607
  # Address line 1 (e.g., street, PO Box, or company name).
1840
1608
  attr_accessor :line1
1841
-
1842
1609
  # Address line 2 (e.g., apartment, suite, unit, or building).
1843
1610
  attr_accessor :line2
1844
-
1845
1611
  # ZIP or postal code.
1846
1612
  attr_accessor :postal_code
1847
-
1848
1613
  # State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
1849
1614
  attr_accessor :state
1850
1615
 
@@ -1866,13 +1631,10 @@ module Stripe
1866
1631
  end
1867
1632
  # The billing address provided by the customer.
1868
1633
  attr_accessor :address
1869
-
1870
1634
  # The billing email provided by the customer.
1871
1635
  attr_accessor :email
1872
-
1873
1636
  # The billing name provided by the customer.
1874
1637
  attr_accessor :name
1875
-
1876
1638
  # The billing phone number provided by the customer.
1877
1639
  attr_accessor :phone
1878
1640
 
@@ -1887,7 +1649,6 @@ module Stripe
1887
1649
  class Credit < Stripe::RequestParams
1888
1650
  # The gift card to apply to the order.
1889
1651
  attr_accessor :gift_card
1890
-
1891
1652
  # The type of credit to apply to the order, only `gift_card` currently supported.
1892
1653
  attr_accessor :type
1893
1654
 
@@ -1900,10 +1661,8 @@ module Stripe
1900
1661
  class Discount < Stripe::RequestParams
1901
1662
  # ID of the coupon to create a new discount for.
1902
1663
  attr_accessor :coupon
1903
-
1904
1664
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1905
1665
  attr_accessor :discount
1906
-
1907
1666
  # ID of the promotion code to create a new discount for.
1908
1667
  attr_accessor :promotion_code
1909
1668
 
@@ -1918,7 +1677,6 @@ module Stripe
1918
1677
  class Discount < Stripe::RequestParams
1919
1678
  # ID of the coupon to create a new discount for.
1920
1679
  attr_accessor :coupon
1921
-
1922
1680
  # ID of an existing discount on the object (or one of its ancestors) to reuse.
1923
1681
  attr_accessor :discount
1924
1682
 
@@ -1931,18 +1689,14 @@ module Stripe
1931
1689
  class PriceData < Stripe::RequestParams
1932
1690
  # 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).
1933
1691
  attr_accessor :currency
1934
-
1935
1692
  # ID of the product this price belongs to.
1936
1693
  #
1937
1694
  # Use this to implement a variable-pricing model in your integration. This is required if `product_data` is not specified.
1938
1695
  attr_accessor :product
1939
-
1940
1696
  # 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.
1941
1697
  attr_accessor :tax_behavior
1942
-
1943
1698
  # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
1944
1699
  attr_accessor :unit_amount
1945
-
1946
1700
  # 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.
1947
1701
  attr_accessor :unit_amount_decimal
1948
1702
 
@@ -1965,13 +1719,10 @@ module Stripe
1965
1719
  class PackageDimensions < Stripe::RequestParams
1966
1720
  # Height, in inches. Maximum precision is 2 decimal places.
1967
1721
  attr_accessor :height
1968
-
1969
1722
  # Length, in inches. Maximum precision is 2 decimal places.
1970
1723
  attr_accessor :length
1971
-
1972
1724
  # Weight, in ounces. Maximum precision is 2 decimal places.
1973
1725
  attr_accessor :weight
1974
-
1975
1726
  # Width, in inches. Maximum precision is 2 decimal places.
1976
1727
  attr_accessor :width
1977
1728
 
@@ -1984,30 +1735,22 @@ module Stripe
1984
1735
  end
1985
1736
  # The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.
1986
1737
  attr_accessor :description
1987
-
1988
1738
  # A unique identifier for this product.
1989
1739
  #
1990
1740
  # `product_data` automatically creates a Product with this ID. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates. If any of the fields in the existing Product are different from the values in `product_data`, `product_data` updates the existing Product with the new information. So set `product_data[id]` to the same string every time you sell the same product, but don't re-use the same string for different products.
1991
1741
  attr_accessor :id
1992
-
1993
1742
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
1994
1743
  attr_accessor :images
1995
-
1996
1744
  # 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`.
1997
1745
  attr_accessor :metadata
1998
-
1999
1746
  # The product's name, meant to be displayable to the customer.
2000
1747
  attr_accessor :name
2001
-
2002
1748
  # The dimensions of this product for shipping purposes.
2003
1749
  attr_accessor :package_dimensions
2004
-
2005
1750
  # Whether this product is shipped (i.e., physical goods).
2006
1751
  attr_accessor :shippable
2007
-
2008
1752
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
2009
1753
  attr_accessor :tax_code
2010
-
2011
1754
  # A URL of a publicly-accessible webpage for this product.
2012
1755
  attr_accessor :url
2013
1756
 
@@ -2035,40 +1778,32 @@ module Stripe
2035
1778
  end
2036
1779
  # The description for the line item. Will default to the name of the associated product.
2037
1780
  attr_accessor :description
2038
-
2039
1781
  # The discounts applied to this line item.
2040
1782
  attr_accessor :discounts
2041
-
2042
1783
  # The ID of an existing line item on the order.
2043
1784
  attr_accessor :id
2044
-
2045
1785
  # The ID of a [Price](https://stripe.com/docs/api/prices) to add to the Order.
2046
1786
  #
2047
1787
  # The `price` parameter is an alternative to using the `product` parameter. If each of your products are sold at a single price, you can set `Product.default_price` and then pass the `product` parameter when creating a line item. If your products are sold at several possible prices, use the `price` parameter to explicitly specify which one to use.
2048
1788
  attr_accessor :price
2049
-
2050
1789
  # Data used to generate a new Price object inline.
2051
1790
  #
2052
1791
  # The `price_data` parameter is an alternative to using the `product` or `price` parameters. If you create products upfront and configure a `Product.default_price`, pass the `product` parameter when creating a line item. If you prefer not to define products upfront, or if you charge variable prices, pass the `price_data` parameter to describe the price for this line item.
2053
1792
  #
2054
1793
  # Each time you pass `price_data` we create a Price for the product. This Price is hidden in both the Dashboard and API lists and cannot be reused.
2055
1794
  attr_accessor :price_data
2056
-
2057
1795
  # The ID of a [Product](https://stripe.com/docs/api/products) to add to the Order.
2058
1796
  #
2059
1797
  # The product must have a `default_price` specified. Otherwise, specify the price by passing the `price` or `price_data` parameter.
2060
1798
  attr_accessor :product
2061
-
2062
1799
  # Defines a Product inline and adds it to the Order.
2063
1800
  #
2064
1801
  # `product_data` is an alternative to the `product` parameter. If you created a Product upfront, use the `product` parameter to refer to the existing Product. But if you prefer not to create Products upfront, pass the `product_data` parameter to define a Product inline as part of configuring the Order.
2065
1802
  #
2066
1803
  # `product_data` automatically creates a Product, just as if you had manually created the Product. If a Product with the same ID already exists, then `product_data` re-uses it to avoid duplicates.
2067
1804
  attr_accessor :product_data
2068
-
2069
1805
  # The quantity of the line item.
2070
1806
  attr_accessor :quantity
2071
-
2072
1807
  # The tax rates applied to this line item.
2073
1808
  attr_accessor :tax_rates
2074
1809
 
@@ -2104,13 +1839,10 @@ module Stripe
2104
1839
  # The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
2105
1840
  # or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
2106
1841
  attr_accessor :custom_mandate_url
2107
-
2108
1842
  # Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
2109
1843
  attr_accessor :interval_description
2110
-
2111
1844
  # Payment schedule for the mandate.
2112
1845
  attr_accessor :payment_schedule
2113
-
2114
1846
  # Transaction type of the mandate.
2115
1847
  attr_accessor :transaction_type
2116
1848
 
@@ -2128,7 +1860,6 @@ module Stripe
2128
1860
  end
2129
1861
  # Additional fields for Mandate creation
2130
1862
  attr_accessor :mandate_options
2131
-
2132
1863
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2133
1864
  #
2134
1865
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2139,7 +1870,6 @@ module Stripe
2139
1870
  #
2140
1871
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2141
1872
  attr_accessor :setup_future_usage
2142
-
2143
1873
  # Bank account verification method.
2144
1874
  attr_accessor :verification_method
2145
1875
 
@@ -2161,10 +1891,8 @@ module Stripe
2161
1891
  #
2162
1892
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2163
1893
  attr_accessor :capture_method
2164
-
2165
1894
  # An internal identifier or reference this payment corresponds to. The identifier is limited to 128 characters and may contain only letters, digits, underscores, backslashes and dashes.
2166
1895
  attr_accessor :reference
2167
-
2168
1896
  # Indicates that you intend to make future payments with the payment method.
2169
1897
  #
2170
1898
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -2201,7 +1929,6 @@ module Stripe
2201
1929
  class Bancontact < Stripe::RequestParams
2202
1930
  # Preferred language of the Bancontact authorization page that the customer is redirected to.
2203
1931
  attr_accessor :preferred_language
2204
-
2205
1932
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2206
1933
  #
2207
1934
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2222,7 +1949,6 @@ module Stripe
2222
1949
  class Card < Stripe::RequestParams
2223
1950
  # Controls when the funds will be captured from the customer's account.
2224
1951
  attr_accessor :capture_method
2225
-
2226
1952
  # Indicates that you intend to make future payments with the payment method.
2227
1953
  #
2228
1954
  # Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the order's Customer, if present, after the order's PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.
@@ -2250,12 +1976,10 @@ module Stripe
2250
1976
  end
2251
1977
  # Configuration for the eu_bank_transfer funding type.
2252
1978
  attr_accessor :eu_bank_transfer
2253
-
2254
1979
  # List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
2255
1980
  #
2256
1981
  # Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
2257
1982
  attr_accessor :requested_address_types
2258
-
2259
1983
  # The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
2260
1984
  attr_accessor :type
2261
1985
 
@@ -2267,10 +1991,8 @@ module Stripe
2267
1991
  end
2268
1992
  # Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.
2269
1993
  attr_accessor :bank_transfer
2270
-
2271
1994
  # The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.
2272
1995
  attr_accessor :funding_type
2273
-
2274
1996
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2275
1997
  #
2276
1998
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2313,10 +2035,8 @@ module Stripe
2313
2035
  #
2314
2036
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2315
2037
  attr_accessor :capture_method
2316
-
2317
2038
  # Preferred language of the Klarna authorization page that the customer is redirected to
2318
2039
  attr_accessor :preferred_locale
2319
-
2320
2040
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2321
2041
  #
2322
2042
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2342,10 +2062,8 @@ module Stripe
2342
2062
  #
2343
2063
  # If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
2344
2064
  attr_accessor :capture_method
2345
-
2346
2065
  # [Deprecated] This is a legacy parameter that no longer has any function.
2347
2066
  attr_accessor :persistent_token
2348
-
2349
2067
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2350
2068
  #
2351
2069
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2367,7 +2085,6 @@ module Stripe
2367
2085
  class Oxxo < Stripe::RequestParams
2368
2086
  # The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
2369
2087
  attr_accessor :expires_after_days
2370
-
2371
2088
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2372
2089
  #
2373
2090
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2396,7 +2113,6 @@ module Stripe
2396
2113
  #
2397
2114
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2398
2115
  attr_accessor :setup_future_usage
2399
-
2400
2116
  # Confirm that the payer has accepted the P24 terms and conditions.
2401
2117
  attr_accessor :tos_shown_and_accepted
2402
2118
 
@@ -2411,7 +2127,6 @@ module Stripe
2411
2127
  class Tax < Stripe::RequestParams
2412
2128
  # The tax for a single unit of the line item in minor units. Cannot be a negative number.
2413
2129
  attr_accessor :amount
2414
-
2415
2130
  # The tax behavior for the line item.
2416
2131
  attr_accessor :behavior
2417
2132
 
@@ -2422,25 +2137,18 @@ module Stripe
2422
2137
  end
2423
2138
  # Type of the line item.
2424
2139
  attr_accessor :category
2425
-
2426
2140
  # Description of the line item.
2427
2141
  attr_accessor :description
2428
-
2429
2142
  # Descriptive name of the line item.
2430
2143
  attr_accessor :name
2431
-
2432
2144
  # Quantity of the line item. Must be a positive number.
2433
2145
  attr_accessor :quantity
2434
-
2435
2146
  # Client facing stock keeping unit, article number or similar.
2436
2147
  attr_accessor :sku
2437
-
2438
2148
  # The Stripe account ID of the connected account that sells the item.
2439
2149
  attr_accessor :sold_by
2440
-
2441
2150
  # The tax information for the line item.
2442
2151
  attr_accessor :tax
2443
-
2444
2152
  # Price for a single unit of the line item in minor units. Cannot be a negative number.
2445
2153
  attr_accessor :unit_amount
2446
2154
 
@@ -2466,22 +2174,16 @@ module Stripe
2466
2174
  end
2467
2175
  # Controls when the funds will be captured from the customer's account.
2468
2176
  attr_accessor :capture_method
2469
-
2470
2177
  # The line items purchased by the customer.
2471
2178
  attr_accessor :line_items
2472
-
2473
2179
  # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
2474
2180
  attr_accessor :preferred_locale
2475
-
2476
2181
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2477
2182
  attr_accessor :reference
2478
-
2479
2183
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
2480
2184
  attr_accessor :reference_id
2481
-
2482
2185
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
2483
2186
  attr_accessor :risk_correlation_id
2484
-
2485
2187
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2486
2188
  #
2487
2189
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2492,7 +2194,6 @@ module Stripe
2492
2194
  #
2493
2195
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
2494
2196
  attr_accessor :setup_future_usage
2495
-
2496
2197
  # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2497
2198
  attr_accessor :subsellers
2498
2199
 
@@ -2528,7 +2229,6 @@ module Stripe
2528
2229
  end
2529
2230
  # Additional fields for Mandate creation
2530
2231
  attr_accessor :mandate_options
2531
-
2532
2232
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2533
2233
  #
2534
2234
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2549,7 +2249,6 @@ module Stripe
2549
2249
  class Sofort < Stripe::RequestParams
2550
2250
  # Language shown to the payer on redirect.
2551
2251
  attr_accessor :preferred_language
2552
-
2553
2252
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2554
2253
  #
2555
2254
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2570,10 +2269,8 @@ module Stripe
2570
2269
  class WechatPay < Stripe::RequestParams
2571
2270
  # The app ID registered with WeChat Pay. Only required when client is ios or android.
2572
2271
  attr_accessor :app_id
2573
-
2574
2272
  # The client type that the end customer will pay from
2575
2273
  attr_accessor :client
2576
-
2577
2274
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
2578
2275
  #
2579
2276
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -2593,46 +2290,32 @@ module Stripe
2593
2290
  end
2594
2291
  # If paying by `acss_debit`, this sub-hash contains details about the ACSS Debit payment method options to pass to the order's PaymentIntent.
2595
2292
  attr_accessor :acss_debit
2596
-
2597
2293
  # If paying by `afterpay_clearpay`, this sub-hash contains details about the AfterpayClearpay payment method options to pass to the order's PaymentIntent.
2598
2294
  attr_accessor :afterpay_clearpay
2599
-
2600
2295
  # If paying by `alipay`, this sub-hash contains details about the Alipay payment method options to pass to the order's PaymentIntent.
2601
2296
  attr_accessor :alipay
2602
-
2603
2297
  # If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the order's PaymentIntent.
2604
2298
  attr_accessor :bancontact
2605
-
2606
2299
  # If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the order's PaymentIntent.
2607
2300
  attr_accessor :card
2608
-
2609
2301
  # If paying by `customer_balance`, this sub-hash contains details about the Customer Balance payment method options to pass to the order's PaymentIntent.
2610
2302
  attr_accessor :customer_balance
2611
-
2612
2303
  # If paying by `ideal`, this sub-hash contains details about the iDEAL payment method options to pass to the order's PaymentIntent.
2613
2304
  attr_accessor :ideal
2614
-
2615
2305
  # If paying by `klarna`, this sub-hash contains details about the Klarna payment method options to pass to the order's PaymentIntent.
2616
2306
  attr_accessor :klarna
2617
-
2618
2307
  # If paying by `link`, this sub-hash contains details about the Link payment method options to pass to the order's PaymentIntent.
2619
2308
  attr_accessor :link
2620
-
2621
2309
  # If paying by `oxxo`, this sub-hash contains details about the OXXO payment method options to pass to the order's PaymentIntent.
2622
2310
  attr_accessor :oxxo
2623
-
2624
2311
  # If paying by `p24`, this sub-hash contains details about the P24 payment method options to pass to the order's PaymentIntent.
2625
2312
  attr_accessor :p24
2626
-
2627
2313
  # If paying by `paypal`, this sub-hash contains details about the PayPal payment method options to pass to the order's PaymentIntent.
2628
2314
  attr_accessor :paypal
2629
-
2630
2315
  # If paying by `sepa_debit`, this sub-hash contains details about the SEPA Debit payment method options to pass to the order's PaymentIntent.
2631
2316
  attr_accessor :sepa_debit
2632
-
2633
2317
  # If paying by `sofort`, this sub-hash contains details about the Sofort payment method options to pass to the order's PaymentIntent.
2634
2318
  attr_accessor :sofort
2635
-
2636
2319
  # If paying by `wechat_pay`, this sub-hash contains details about the WeChat Pay payment method options to pass to the order's PaymentIntent.
2637
2320
  attr_accessor :wechat_pay
2638
2321
 
@@ -2674,7 +2357,6 @@ module Stripe
2674
2357
  class TransferData < Stripe::RequestParams
2675
2358
  # The amount that will be transferred automatically when the order 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.
2676
2359
  attr_accessor :amount
2677
-
2678
2360
  # ID of the Connected account receiving the transfer.
2679
2361
  attr_accessor :destination
2680
2362
 
@@ -2685,22 +2367,16 @@ module Stripe
2685
2367
  end
2686
2368
  # 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.
2687
2369
  attr_accessor :application_fee_amount
2688
-
2689
2370
  # PaymentMethod-specific configuration to provide to the order's PaymentIntent.
2690
2371
  attr_accessor :payment_method_options
2691
-
2692
2372
  # The list of [payment method types](https://stripe.com/docs/payments/payment-methods/overview) to provide to the order's PaymentIntent. Do not include this attribute if you prefer to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
2693
2373
  attr_accessor :payment_method_types
2694
-
2695
2374
  # The URL to redirect the customer to after they authenticate their payment.
2696
2375
  attr_accessor :return_url
2697
-
2698
2376
  # For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters.
2699
2377
  attr_accessor :statement_descriptor
2700
-
2701
2378
  # Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.
2702
2379
  attr_accessor :statement_descriptor_suffix
2703
-
2704
2380
  # Provides configuration for completing a transfer for the order after it is paid.
2705
2381
  attr_accessor :transfer_data
2706
2382
 
@@ -2736,7 +2412,6 @@ module Stripe
2736
2412
  class Maximum < Stripe::RequestParams
2737
2413
  # A unit of time.
2738
2414
  attr_accessor :unit
2739
-
2740
2415
  # Must be greater than 0.
2741
2416
  attr_accessor :value
2742
2417
 
@@ -2749,7 +2424,6 @@ module Stripe
2749
2424
  class Minimum < Stripe::RequestParams
2750
2425
  # A unit of time.
2751
2426
  attr_accessor :unit
2752
-
2753
2427
  # Must be greater than 0.
2754
2428
  attr_accessor :value
2755
2429
 
@@ -2760,7 +2434,6 @@ module Stripe
2760
2434
  end
2761
2435
  # The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.
2762
2436
  attr_accessor :maximum
2763
-
2764
2437
  # The lower bound of the estimated range. If empty, represents no lower bound.
2765
2438
  attr_accessor :minimum
2766
2439
 
@@ -2774,7 +2447,6 @@ module Stripe
2774
2447
  class CurrencyOptions < Stripe::RequestParams
2775
2448
  # A non-negative integer in cents representing how much to charge.
2776
2449
  attr_accessor :amount
2777
-
2778
2450
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2779
2451
  attr_accessor :tax_behavior
2780
2452
 
@@ -2785,10 +2457,8 @@ module Stripe
2785
2457
  end
2786
2458
  # A non-negative integer in cents representing how much to charge.
2787
2459
  attr_accessor :amount
2788
-
2789
2460
  # 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).
2790
2461
  attr_accessor :currency
2791
-
2792
2462
  # Shipping rates defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
2793
2463
  attr_accessor :currency_options
2794
2464
 
@@ -2800,22 +2470,16 @@ module Stripe
2800
2470
  end
2801
2471
  # The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
2802
2472
  attr_accessor :delivery_estimate
2803
-
2804
2473
  # The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
2805
2474
  attr_accessor :display_name
2806
-
2807
2475
  # Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
2808
2476
  attr_accessor :fixed_amount
2809
-
2810
2477
  # 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`.
2811
2478
  attr_accessor :metadata
2812
-
2813
2479
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2814
2480
  attr_accessor :tax_behavior
2815
-
2816
2481
  # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
2817
2482
  attr_accessor :tax_code
2818
-
2819
2483
  # The type of calculation to use on the shipping rate.
2820
2484
  attr_accessor :type
2821
2485
 
@@ -2839,7 +2503,6 @@ module Stripe
2839
2503
  end
2840
2504
  # The ID of the shipping rate to use for this order.
2841
2505
  attr_accessor :shipping_rate
2842
-
2843
2506
  # Parameters to create a new ad-hoc shipping rate for this order.
2844
2507
  attr_accessor :shipping_rate_data
2845
2508
 
@@ -2853,19 +2516,14 @@ module Stripe
2853
2516
  class Address < Stripe::RequestParams
2854
2517
  # City, district, suburb, town, or village.
2855
2518
  attr_accessor :city
2856
-
2857
2519
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2858
2520
  attr_accessor :country
2859
-
2860
2521
  # Address line 1 (e.g., street, PO Box, or company name).
2861
2522
  attr_accessor :line1
2862
-
2863
2523
  # Address line 2 (e.g., apartment, suite, unit, or building).
2864
2524
  attr_accessor :line2
2865
-
2866
2525
  # ZIP or postal code.
2867
2526
  attr_accessor :postal_code
2868
-
2869
2527
  # State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix. Example: "NY" or "TX".
2870
2528
  attr_accessor :state
2871
2529
 
@@ -2887,10 +2545,8 @@ module Stripe
2887
2545
  end
2888
2546
  # The shipping address for the order.
2889
2547
  attr_accessor :address
2890
-
2891
2548
  # The name of the recipient of the order.
2892
2549
  attr_accessor :name
2893
-
2894
2550
  # The phone number (including extension) for the recipient of the order.
2895
2551
  attr_accessor :phone
2896
2552
 
@@ -2903,9 +2559,8 @@ module Stripe
2903
2559
 
2904
2560
  class TaxDetails < Stripe::RequestParams
2905
2561
  class TaxId < Stripe::RequestParams
2906
- # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
2562
+ # Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
2907
2563
  attr_accessor :type
2908
-
2909
2564
  # Value of the tax ID.
2910
2565
  attr_accessor :value
2911
2566
 
@@ -2916,7 +2571,6 @@ module Stripe
2916
2571
  end
2917
2572
  # The purchaser's tax exemption status. One of `none`, `exempt`, or `reverse`.
2918
2573
  attr_accessor :tax_exempt
2919
-
2920
2574
  # The purchaser's tax IDs to be used for this order.
2921
2575
  attr_accessor :tax_ids
2922
2576
 
@@ -2927,46 +2581,32 @@ module Stripe
2927
2581
  end
2928
2582
  # Settings for automatic tax calculation for this order.
2929
2583
  attr_accessor :automatic_tax
2930
-
2931
2584
  # Billing details for the customer. If a customer is provided, this will be automatically populated with values from that customer if override values are not provided.
2932
2585
  attr_accessor :billing_details
2933
-
2934
2586
  # The credits to apply to the order, only `gift_card` currently supported. Pass the empty string `""` to unset this field.
2935
2587
  attr_accessor :credits
2936
-
2937
2588
  # 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).
2938
2589
  attr_accessor :currency
2939
-
2940
2590
  # The customer associated with this order.
2941
2591
  attr_accessor :customer
2942
-
2943
2592
  # An arbitrary string attached to the object. Often useful for displaying to users.
2944
2593
  attr_accessor :description
2945
-
2946
2594
  # The coupons, promotion codes, and/or discounts to apply to the order. Pass the empty string `""` to unset this field.
2947
2595
  attr_accessor :discounts
2948
-
2949
2596
  # Specifies which fields in the response should be expanded.
2950
2597
  attr_accessor :expand
2951
-
2952
2598
  # The IP address of the purchaser for this order.
2953
2599
  attr_accessor :ip_address
2954
-
2955
2600
  # A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost.
2956
2601
  attr_accessor :line_items
2957
-
2958
2602
  # 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`.
2959
2603
  attr_accessor :metadata
2960
-
2961
2604
  # Payment information associated with the order, including payment settings.
2962
2605
  attr_accessor :payment
2963
-
2964
2606
  # Settings for the customer cost of shipping for this order.
2965
2607
  attr_accessor :shipping_cost
2966
-
2967
2608
  # Shipping details for the order.
2968
2609
  attr_accessor :shipping_details
2969
-
2970
2610
  # Additional tax details about the purchaser to be used for this order.
2971
2611
  attr_accessor :tax_details
2972
2612
 
@@ -3008,13 +2648,10 @@ module Stripe
3008
2648
  class ListLineItemsParams < Stripe::RequestParams
3009
2649
  # 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.
3010
2650
  attr_accessor :ending_before
3011
-
3012
2651
  # Specifies which fields in the response should be expanded.
3013
2652
  attr_accessor :expand
3014
-
3015
2653
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
3016
2654
  attr_accessor :limit
3017
-
3018
2655
  # 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.
3019
2656
  attr_accessor :starting_after
3020
2657
 
@@ -3047,7 +2684,6 @@ module Stripe
3047
2684
  class SubmitParams < Stripe::RequestParams
3048
2685
  # Specifies which fields in the response should be expanded.
3049
2686
  attr_accessor :expand
3050
-
3051
2687
  # `expected_total` should always be set to the order's `amount_total` field. If they don't match, submitting the order will fail. This helps detect race conditions where something else concurrently modifies the order.
3052
2688
  attr_accessor :expected_total
3053
2689
 
@@ -3058,80 +2694,56 @@ module Stripe
3058
2694
  end
3059
2695
  # Attribute for field amount_remaining
3060
2696
  attr_reader :amount_remaining
3061
-
3062
2697
  # Order cost before any discounts or taxes are applied. A positive integer representing the subtotal of the order in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency).
3063
2698
  attr_reader :amount_subtotal
3064
-
3065
2699
  # Total order cost after discounts and taxes are applied. A positive integer representing the cost of the order in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). To submit an order, the total must be either 0 or at least $0.50 USD or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts).
3066
2700
  attr_reader :amount_total
3067
-
3068
2701
  # ID of the Connect application that created the Order, if any.
3069
2702
  attr_reader :application
3070
-
3071
2703
  # Attribute for field automatic_tax
3072
2704
  attr_reader :automatic_tax
3073
-
3074
2705
  # Customer billing details associated with the order.
3075
2706
  attr_reader :billing_details
3076
-
3077
2707
  # The client secret of this Order. Used for client-side retrieval using a publishable key.
3078
2708
  #
3079
2709
  # The client secret can be used to complete a payment for an Order from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
3080
2710
  #
3081
2711
  # Refer to our docs for [creating and processing an order](https://stripe.com/docs/orders-beta/create-and-process) to learn about how client_secret should be handled.
3082
2712
  attr_reader :client_secret
3083
-
3084
2713
  # Time at which the object was created. Measured in seconds since the Unix epoch.
3085
2714
  attr_reader :created
3086
-
3087
2715
  # The credits applied to the Order. At most 10 credits can be applied to an Order.
3088
2716
  attr_reader :credits
3089
-
3090
2717
  # 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).
3091
2718
  attr_reader :currency
3092
-
3093
2719
  # The customer which this orders belongs to.
3094
2720
  attr_reader :customer
3095
-
3096
2721
  # An arbitrary string attached to the object. Often useful for displaying to users.
3097
2722
  attr_reader :description
3098
-
3099
2723
  # The discounts applied to the order. Use `expand[]=discounts` to expand each discount.
3100
2724
  attr_reader :discounts
3101
-
3102
2725
  # Unique identifier for the object.
3103
2726
  attr_reader :id
3104
-
3105
2727
  # A recent IP address of the purchaser used for tax reporting and tax location inference.
3106
2728
  attr_reader :ip_address
3107
-
3108
2729
  # A list of line items the customer is ordering. Each line item includes information about the product, the quantity, and the resulting cost. There is a maximum of 100 line items.
3109
2730
  attr_reader :line_items
3110
-
3111
2731
  # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
3112
2732
  attr_reader :livemode
3113
-
3114
2733
  # 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.
3115
2734
  attr_reader :metadata
3116
-
3117
2735
  # String representing the object's type. Objects of the same type share the same value.
3118
2736
  attr_reader :object
3119
-
3120
2737
  # Attribute for field payment
3121
2738
  attr_reader :payment
3122
-
3123
2739
  # The details of the customer cost of shipping, including the customer chosen ShippingRate.
3124
2740
  attr_reader :shipping_cost
3125
-
3126
2741
  # Customer shipping information associated with the order.
3127
2742
  attr_reader :shipping_details
3128
-
3129
2743
  # The overall status of the order.
3130
2744
  attr_reader :status
3131
-
3132
2745
  # Attribute for field tax_details
3133
2746
  attr_reader :tax_details
3134
-
3135
2747
  # Attribute for field total_details
3136
2748
  attr_reader :total_details
3137
2749