Skip to content

Commit

Permalink
Merge pull request #1205 from stripe/latest-codegen-beta
Browse files Browse the repository at this point in the history
Update generated code for beta
  • Loading branch information
richardm-stripe committed Apr 6, 2023
2 parents 0075550 + 4b74f4c commit 2c06e9c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v287
v294
6 changes: 3 additions & 3 deletions lib/stripe/resources/account_session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# frozen_string_literal: true

module Stripe
# An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded UIs.
# An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.
#
# We recommend that you create an AccountSession each time you need to display an embedded UI
# We recommend that you create an AccountSession each time you need to display an embedded component
# to your user. Do not save AccountSessions to your database as they expire relatively
# quickly, and cannot be used more than once.
#
# Related guide: [Connect embedded UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis).
# Related guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components).
class AccountSession < APIResource
extend Stripe::APIOperations::Create

Expand Down
4 changes: 3 additions & 1 deletion lib/stripe/resources/tax/calculation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

module Stripe
module Tax
# A Tax `Calculation` allows you to calculate the tax to collect from your customer.
# A Tax Calculation allows you to calculate the tax to collect from your customer.
#
# Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom).
class Calculation < APIResource
extend Stripe::APIOperations::Create

Expand Down
4 changes: 3 additions & 1 deletion lib/stripe/resources/tax/transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

module Stripe
module Tax
# A Tax transaction records the tax collected from or refunded to your customer.
# A Tax Transaction records the tax collected from or refunded to your customer.
#
# Related guide: [Calculate tax in your custom payment flow](https://stripe.com/docs/tax/custom#tax-transaction).
class Transaction < APIResource
OBJECT_NAME = "tax.transaction"

Expand Down

0 comments on commit 2c06e9c

Please sign in to comment.