Compare commits

..

6 Commits

Author SHA1 Message Date
Pavel Krymets
59f2d4d0fe suppress linting error 2022-08-11 15:03:49 -07:00
Pavel Krymets
0d1b570bfa Codegen for openapi v178 2022-08-11 14:50:55 -07:00
Pavel Krymets
d7d3c1b425 Reset version to 7.1.0-beta.1 2022-08-11 14:50:25 -07:00
Pavel Krymets
7df619de69 Set version to 7.0.0 to simplify merge 2022-08-11 14:50:24 -07:00
Pavel Krymets
f649ed3824 Bump version to 7.1.0-beta.1 2022-08-03 14:04:17 -07:00
pakrym-stripe
32a95902cc
Merge pull request #1107 from stripe/latest-codegen-beta
API Updates for beta branch
2022-08-03 13:49:41 -07:00
6 changed files with 36 additions and 11 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 7.1.0-beta.1 - 2022-08-03
* [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
- Updated stable APIs to the latest version
- Added the `Order` resource support
## 7.0.0 - 2022-08-02
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
@ -13,21 +18,21 @@ Breaking changes that arose during code generation of the library that we postpo
## 6.6.0-beta.1 - 2022-07-22
* [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
- Updated stable APIs to the latest version
- Add `QuotePhase` resource
- Updated stable APIs to the latest version
- Add `QuotePhase` resource
* [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
- Updated stable APIs to the latest version
- Updated stable APIs to the latest version
- Add `SubscriptionSchedule.amend` method.
* [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
- Include `server_side_confirmation_beta=v1` beta
- Add `secretKeyConfirmation` to `PaymentIntent`
- Include `server_side_confirmation_beta=v1` beta
- Add `secretKeyConfirmation` to `PaymentIntent`
* [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
- Updated stable APIs to the latest version
* [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
## 6.5.0 - 2022-06-29
* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
## 6.4.0 - 2022-06-17
@ -37,7 +42,7 @@ Breaking changes that arose during code generation of the library that we postpo
* [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
* [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
* [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
Switch from using meta-programing to generating explicit methods for custom methods.
* [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.

View File

@ -1 +1 @@
v175
v178

View File

@ -1 +1 @@
6.6.0-beta.1
7.1.0-beta.1

View File

@ -3,6 +3,8 @@
module Stripe
module ApiVersion
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4"
# rubocop:disable Layout/LineLength
CURRENT = "2022-08-01; server_side_confirmation_beta=v1; orders_beta=v4; terminal_interac_refunds_beta=v1"
# rubocop:enable Layout/LineLength
end
end

View File

@ -38,6 +38,15 @@ module Stripe
)
end
def refund_payment(params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(self["id"]) }),
params: params,
opts: opts
)
end
def set_reader_display(params = {}, opts = {})
request_stripe_object(
method: :post,
@ -74,6 +83,15 @@ module Stripe
)
end
def self.refund_payment(reader, params = {}, opts = {})
request_stripe_object(
method: :post,
path: format("/v1/terminal/readers/%<reader>s/refund_payment", { reader: CGI.escape(reader) }),
params: params,
opts: opts
)
end
def self.set_reader_display(reader, params = {}, opts = {})
request_stripe_object(
method: :post,

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "6.6.0-beta.1"
VERSION = "7.1.0-beta.1"
end