mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-17 00:00:32 -04:00
Compare commits
8 Commits
7233155b42
...
33544c7c25
Author | SHA1 | Date | |
---|---|---|---|
|
33544c7c25 | ||
|
8f210e251a | ||
|
3b31fb29a6 | ||
|
4519e8fa19 | ||
|
5e3d38b675 | ||
|
414ca367af | ||
|
f471a2c6a4 | ||
|
1e3428e87d |
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 8.4.0-beta.3 - 2023-03-09
|
||||
* [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
|
||||
* Updated stable APIs to the latest version
|
||||
* Remove support for `list_transactions` method on resource `Tax.Transaction`
|
||||
|
||||
## 8.4.0-beta.2 - 2023-03-03
|
||||
* [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
|
||||
* Updated stable APIs to the latest version
|
||||
|
1
Makefile
1
Makefile
@ -4,4 +4,5 @@ update-version:
|
||||
@perl -pi -e 's|VERSION = "[.\-\w\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
|
||||
|
||||
codegen-format:
|
||||
bundle install --quiet
|
||||
bundle exec rubocop -o /dev/null --auto-correct
|
||||
|
@ -1 +1 @@
|
||||
v249
|
||||
v260
|
@ -6,7 +6,7 @@ module Stripe
|
||||
#
|
||||
# When a customer opens a payment link it will open a new [checkout session](https://stripe.com/docs/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://stripe.com/docs/api/events/types#event_types-checkout.session.completed) to track payments through payment links.
|
||||
#
|
||||
# Related guide: [Payment Links API](https://stripe.com/docs/payments/payment-links/api)
|
||||
# Related guide: [Payment Links API](https://stripe.com/docs/payment-links)
|
||||
class PaymentLink < APIResource
|
||||
extend Stripe::APIOperations::Create
|
||||
extend Stripe::APIOperations::List
|
||||
|
@ -7,7 +7,7 @@ module Stripe
|
||||
# They can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions.
|
||||
#
|
||||
# Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription),
|
||||
# [share a Payment Link](https://stripe.com/docs/payments/payment-links/overview),
|
||||
# [share a Payment Link](https://stripe.com/docs/payment-links),
|
||||
# [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront),
|
||||
# and more about [Products and Prices](https://stripe.com/docs/products-prices/overview)
|
||||
class Product < APIResource
|
||||
|
@ -83,10 +83,10 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
def preview_invoice_lines(params = {}, opts = {})
|
||||
def preview_invoice_lines(preview_invoice, params = {}, opts = {})
|
||||
request_stripe_object(
|
||||
method: :get,
|
||||
path: format("/v1/quotes/%<quote>s/preview_invoice_lines", { quote: CGI.escape(self["id"]) }),
|
||||
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(self["id"]), preview_invoice: CGI.escape(preview_invoice) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
@ -191,10 +191,15 @@ module Stripe
|
||||
)
|
||||
end
|
||||
|
||||
def self.preview_invoice_lines(quote, params = {}, opts = {})
|
||||
def self.preview_invoice_lines(
|
||||
quote,
|
||||
preview_invoice,
|
||||
params = {},
|
||||
opts = {}
|
||||
)
|
||||
request_stripe_object(
|
||||
method: :get,
|
||||
path: format("/v1/quotes/%<quote>s/preview_invoice_lines", { quote: CGI.escape(quote) }),
|
||||
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(quote), preview_invoice: CGI.escape(preview_invoice) }),
|
||||
params: params,
|
||||
opts: opts
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "8.4.0-beta.2"
|
||||
VERSION = "8.4.0-beta.3"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user