From 568b3191c4718309c89fbb6ff6cff9d016493c99 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 20:35:42 +0000 Subject: [PATCH] Update generated code for v526 --- OPENAPI_VERSION | 2 +- lib/stripe/object_types.rb | 1 + lib/stripe/resources.rb | 1 + lib/stripe/resources/confirmation_token.rb | 11 +++++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 lib/stripe/resources/confirmation_token.rb diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index ca2b1285..8fc461e6 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v525 \ No newline at end of file +v526 \ No newline at end of file diff --git a/lib/stripe/object_types.rb b/lib/stripe/object_types.rb index 44bbcd02..f521d641 100644 --- a/lib/stripe/object_types.rb +++ b/lib/stripe/object_types.rb @@ -32,6 +32,7 @@ module Stripe CashBalance::OBJECT_NAME => CashBalance, Charge::OBJECT_NAME => Charge, Checkout::Session::OBJECT_NAME => Checkout::Session, + ConfirmationToken::OBJECT_NAME => ConfirmationToken, CountrySpec::OBJECT_NAME => CountrySpec, Coupon::OBJECT_NAME => Coupon, CreditNote::OBJECT_NAME => CreditNote, diff --git a/lib/stripe/resources.rb b/lib/stripe/resources.rb index fc91e7e6..32fd2189 100644 --- a/lib/stripe/resources.rb +++ b/lib/stripe/resources.rb @@ -21,6 +21,7 @@ require "stripe/resources/card" require "stripe/resources/cash_balance" require "stripe/resources/charge" require "stripe/resources/checkout/session" +require "stripe/resources/confirmation_token" require "stripe/resources/country_spec" require "stripe/resources/coupon" require "stripe/resources/credit_note" diff --git a/lib/stripe/resources/confirmation_token.rb b/lib/stripe/resources/confirmation_token.rb new file mode 100644 index 00000000..2b5a3327 --- /dev/null +++ b/lib/stripe/resources/confirmation_token.rb @@ -0,0 +1,11 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + # ConfirmationTokens help transport client side data collected by Stripe JS over + # to your server for confirming a PaymentIntent or SetupIntent. If the confirmation + # is successful, values present on the ConfirmationToken are written onto the Intent. + class ConfirmationToken < APIResource + OBJECT_NAME = "confirmation_token" + end +end