mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-31 00:02:51 -05:00
Merge pull request #1202 from stripe/latest-codegen-beta
* Update generated code (new) (#1197) * Update generated code for v275 * Update generated code for v276 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Update generated code for v277 (#1198) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Bump version to 8.4.0 * Update save deprecation message (#1201) * Update save deprecation message * comma * Update generated code for v285 * Update generated code for v285 (#1203) Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> * Bump version to 8.5.0 --------- Co-authored-by: stripe-openapi[bot] <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: Pavel Krymets <pakrym@stripe.com> Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com> Co-authored-by: Annie Li <anniel@stripe.com>
This commit is contained in:
commit
890cdae767
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,10 +1,23 @@
|
||||
# Changelog
|
||||
|
||||
## 8.5.0 - 2023-03-30
|
||||
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
||||
* Remove support for `create` method on resource `Tax.Transaction`
|
||||
* This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
|
||||
* [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
|
||||
|
||||
## 8.5.0-beta.1 - 2023-03-23
|
||||
* [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
|
||||
* Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
|
||||
* Add support for `collect_inputs` method on resource `Terminal.Reader`
|
||||
|
||||
## 8.4.0 - 2023-03-23
|
||||
* [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
|
||||
* Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
|
||||
* Add support for `create` and `list_line_items` methods on resource `Calculation`
|
||||
* Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
|
||||
* [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
|
||||
|
||||
## 8.4.0-beta.4 - 2023-03-16
|
||||
* [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
|
||||
* Add support for `create_from_calculation` method on resource `Tax.Transaction`
|
||||
|
||||
@ -1 +1 @@
|
||||
v277
|
||||
v287
|
||||
@ -72,7 +72,9 @@ module Stripe
|
||||
initialize_from(resp.data, opts)
|
||||
end
|
||||
extend Gem::Deprecate
|
||||
deprecate :save, :update, 2022, 11
|
||||
deprecate :save, "the `update` class method (for examples"\
|
||||
" see https://github.com/stripe/stripe-ruby"\
|
||||
"/wiki/Migration-guide-for-v8)", 2022, 11
|
||||
|
||||
def self.included(base)
|
||||
# Set `metadata` as additive so that when it's set directly we remember
|
||||
|
||||
@ -5,8 +5,6 @@ module Stripe
|
||||
module Tax
|
||||
# A Tax transaction records the tax collected from or refunded to your customer.
|
||||
class Transaction < APIResource
|
||||
extend Stripe::APIOperations::Create
|
||||
|
||||
OBJECT_NAME = "tax.transaction"
|
||||
|
||||
def list_line_items(params = {}, opts = {})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user