diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index ca2b1285d..aea442932 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v525 \ No newline at end of file +v527 \ No newline at end of file diff --git a/lib/stripe/object_types.rb b/lib/stripe/object_types.rb index 0b4b2ecac..c22207bff 100644 --- a/lib/stripe/object_types.rb +++ b/lib/stripe/object_types.rb @@ -66,6 +66,7 @@ def self.object_names_to_classes PaymentIntent::OBJECT_NAME => PaymentIntent, PaymentLink::OBJECT_NAME => PaymentLink, PaymentMethod::OBJECT_NAME => PaymentMethod, + PaymentMethodConfiguration::OBJECT_NAME => PaymentMethodConfiguration, PaymentMethodDomain::OBJECT_NAME => PaymentMethodDomain, Payout::OBJECT_NAME => Payout, Person::OBJECT_NAME => Person, diff --git a/lib/stripe/resources.rb b/lib/stripe/resources.rb index 276204a37..0d6a103b6 100644 --- a/lib/stripe/resources.rb +++ b/lib/stripe/resources.rb @@ -53,6 +53,7 @@ require "stripe/resources/payment_intent" require "stripe/resources/payment_link" require "stripe/resources/payment_method" +require "stripe/resources/payment_method_configuration" require "stripe/resources/payment_method_domain" require "stripe/resources/payout" require "stripe/resources/person" diff --git a/lib/stripe/resources/payment_method_configuration.rb b/lib/stripe/resources/payment_method_configuration.rb new file mode 100644 index 000000000..66928e003 --- /dev/null +++ b/lib/stripe/resources/payment_method_configuration.rb @@ -0,0 +1,13 @@ +# File generated from our OpenAPI spec +# frozen_string_literal: true + +module Stripe + # An object detailing payment method configurations. + class PaymentMethodConfiguration < APIResource + extend Stripe::APIOperations::Create + extend Stripe::APIOperations::List + include Stripe::APIOperations::Save + + OBJECT_NAME = "payment_method_configuration" + end +end