stripe 13.1.0.pre.beta.2 → 13.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +660 -1368
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/examples/README.md +7 -2
  7. data/examples/example_template.rb +36 -0
  8. data/examples/meter_event_stream.rb +10 -0
  9. data/examples/{stripe_webhook_handler.rb → thinevent_webhook_handler.rb} +11 -0
  10. data/lib/stripe/api_resource.rb +8 -2
  11. data/lib/stripe/api_version.rb +1 -1
  12. data/lib/stripe/object_types.rb +1 -19
  13. data/lib/stripe/resources/billing/credit_balance_summary.rb +1 -1
  14. data/lib/stripe/resources/billing/credit_grant.rb +4 -1
  15. data/lib/stripe/resources/financial_connections/account.rb +0 -3
  16. data/lib/stripe/resources/invoice.rb +0 -81
  17. data/lib/stripe/resources/issuing/card.rb +2 -2
  18. data/lib/stripe/resources/payment_intent.rb +0 -50
  19. data/lib/stripe/resources/quote.rb +0 -104
  20. data/lib/stripe/resources/subscription_schedule.rb +0 -20
  21. data/lib/stripe/resources/terminal/reader.rb +0 -60
  22. data/lib/stripe/resources/token.rb +1 -1
  23. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  24. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  25. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  26. data/lib/stripe/resources/v2/event_destination.rb +13 -0
  27. data/lib/stripe/resources.rb +1 -18
  28. data/lib/stripe/services/account_login_link_service.rb +1 -1
  29. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  30. data/lib/stripe/services/financial_connections_service.rb +1 -2
  31. data/lib/stripe/services/invoice_service.rb +1 -44
  32. data/lib/stripe/services/issuing_service.rb +1 -4
  33. data/lib/stripe/services/payment_intent_service.rb +0 -26
  34. data/lib/stripe/services/quote_service.rb +1 -49
  35. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  36. data/lib/stripe/services/tax_service.rb +1 -3
  37. data/lib/stripe/services/terminal/reader_service.rb +0 -33
  38. data/lib/stripe/services/terminal_service.rb +1 -2
  39. data/lib/stripe/services/test_helpers/issuing/card_service.rb +1 -1
  40. data/lib/stripe/services/token_service.rb +1 -1
  41. data/lib/stripe/services/v1_services.rb +1 -6
  42. data/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
  43. data/lib/stripe/services/v2/core_service.rb +2 -1
  44. data/lib/stripe/services.rb +1 -22
  45. data/lib/stripe/stripe_configuration.rb +1 -3
  46. data/lib/stripe/util.rb +1 -7
  47. data/lib/stripe/version.rb +1 -1
  48. data/lib/stripe.rb +0 -45
  49. metadata +8 -47
  50. data/examples/new_example.rb +0 -24
  51. data/lib/stripe/request_signing_authenticator.rb +0 -79
  52. data/lib/stripe/resources/account_notice.rb +0 -32
  53. data/lib/stripe/resources/capital/financing_offer.rb +0 -49
  54. data/lib/stripe/resources/capital/financing_summary.rb +0 -15
  55. data/lib/stripe/resources/capital/financing_transaction.rb +0 -27
  56. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -14
  57. data/lib/stripe/resources/financial_connections/institution.rb +0 -26
  58. data/lib/stripe/resources/gift_cards/card.rb +0 -59
  59. data/lib/stripe/resources/gift_cards/transaction.rb +0 -93
  60. data/lib/stripe/resources/invoice_payment.rb +0 -12
  61. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -88
  62. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -26
  63. data/lib/stripe/resources/margin.rb +0 -37
  64. data/lib/stripe/resources/order.rb +0 -120
  65. data/lib/stripe/resources/quote_preview_invoice.rb +0 -43
  66. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -11
  67. data/lib/stripe/resources/tax/association.rb +0 -24
  68. data/lib/stripe/resources/tax/form.rb +0 -49
  69. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -14
  70. data/lib/stripe/services/account_notice_service.rb +0 -39
  71. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  72. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  73. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  74. data/lib/stripe/services/capital_service.rb +0 -15
  75. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  76. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  77. data/lib/stripe/services/gift_cards/card_service.rb +0 -63
  78. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -74
  79. data/lib/stripe/services/gift_cards_service.rb +0 -14
  80. data/lib/stripe/services/invoice_payment_service.rb +0 -28
  81. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  82. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  83. data/lib/stripe/services/margin_service.rb +0 -50
  84. data/lib/stripe/services/order_line_item_service.rb +0 -17
  85. data/lib/stripe/services/order_service.rb +0 -78
  86. data/lib/stripe/services/quote_line_service.rb +0 -17
  87. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  88. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  89. data/lib/stripe/services/tax/association_service.rb +0 -19
  90. data/lib/stripe/services/tax/form_service.rb +0 -37
  91. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb3814708d697a6e7d081dfeec39b1d54b4e32abc163a83c5e2b5d4e9934d623
4
- data.tar.gz: ba8c9d94f78eab694cf55148e04de09ad390bc039537093df7a1c31d4c11234b
3
+ metadata.gz: 7d8897809fe1d6947e9bfa68f8b2ac85377a67891665d8bffd419a2aa35cdf00
4
+ data.tar.gz: b3a3fff8634929b3b5568ecefad7914e4449cc0a8bbc9123c5fcf4b8bb234700
5
5
  SHA512:
6
- metadata.gz: 1f135698dc89345728ec5d73991ea0de8d2507632a2ad94a7b3cbbef206bf7b7f51b9c067d548d930a4ff6c904e91b0a3d4024c168fed9edbb539005ec7b477a
7
- data.tar.gz: fc3e2a7bf5f31f9ab9d7d2415099bd913f0b7f37067a13a8cf3720a4f572f388bb507ac7dd99cbed392d68bb98e6cff6ac53ff25c7899c479cdc25b1c701ecee
6
+ metadata.gz: 265f63bbec2bf7d128e41a1beeb835f0a8517fae8af5618d2f8405b6c2f11ef408284b391b0cf25264f95374991434c1e6cce1fa3eed5f18e769bf25d43b068f
7
+ data.tar.gz: 6500471acc623c0ab6fe2a3e788120bac5cbc2c3803640b93d686f36c3d5ad97d3e40abc466352620daaf3f392f8e95dada2d65f40638636622185483d1a4838