From d7a09671d12d8f16ff65ecd21dc46406b3d6f983 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 21:28:34 +0000 Subject: [PATCH] Update generated code for v575 --- OPENAPI_VERSION | 2 +- lib/stripe/object_types.rb | 3 ++- lib/stripe/resources.rb | 2 +- .../{inferred_balance.rb => account_inferred_balance.rb} | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) rename lib/stripe/resources/financial_connections/{inferred_balance.rb => account_inferred_balance.rb} (90%) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 788ab53a7..e548d1f86 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v573 \ No newline at end of file +v575 \ No newline at end of file diff --git a/lib/stripe/object_types.rb b/lib/stripe/object_types.rb index da4f86df5..46ca908cb 100644 --- a/lib/stripe/object_types.rb +++ b/lib/stripe/object_types.rb @@ -50,10 +50,11 @@ def self.object_names_to_classes File::OBJECT_NAME_ALT => File, FileLink::OBJECT_NAME => FileLink, FinancialConnections::Account::OBJECT_NAME => FinancialConnections::Account, + FinancialConnections::AccountInferredBalance::OBJECT_NAME => + FinancialConnections::AccountInferredBalance, FinancialConnections::AccountOwner::OBJECT_NAME => FinancialConnections::AccountOwner, FinancialConnections::AccountOwnership::OBJECT_NAME => FinancialConnections::AccountOwnership, - FinancialConnections::InferredBalance::OBJECT_NAME => FinancialConnections::InferredBalance, FinancialConnections::Session::OBJECT_NAME => FinancialConnections::Session, FinancialConnections::Transaction::OBJECT_NAME => FinancialConnections::Transaction, FundingInstructions::OBJECT_NAME => FundingInstructions, diff --git a/lib/stripe/resources.rb b/lib/stripe/resources.rb index 641397b1b..5d2fd017e 100644 --- a/lib/stripe/resources.rb +++ b/lib/stripe/resources.rb @@ -38,9 +38,9 @@ require "stripe/resources/file" require "stripe/resources/file_link" require "stripe/resources/financial_connections/account" +require "stripe/resources/financial_connections/account_inferred_balance" require "stripe/resources/financial_connections/account_owner" require "stripe/resources/financial_connections/account_ownership" -require "stripe/resources/financial_connections/inferred_balance" require "stripe/resources/financial_connections/session" require "stripe/resources/financial_connections/transaction" require "stripe/resources/funding_instructions" diff --git a/lib/stripe/resources/financial_connections/inferred_balance.rb b/lib/stripe/resources/financial_connections/account_inferred_balance.rb similarity index 90% rename from lib/stripe/resources/financial_connections/inferred_balance.rb rename to lib/stripe/resources/financial_connections/account_inferred_balance.rb index 2870e8cb2..6247ee3b1 100644 --- a/lib/stripe/resources/financial_connections/inferred_balance.rb +++ b/lib/stripe/resources/financial_connections/account_inferred_balance.rb @@ -4,7 +4,7 @@ module Stripe module FinancialConnections # A historical balance for the account on a particular day. It may be sourced from a balance snapshot provided by a financial institution, or inferred using transactions data. - class InferredBalance < APIResource + class AccountInferredBalance < APIResource extend Stripe::APIOperations::List OBJECT_NAME = "financial_connections.account_inferred_balance"