<?php

namespace SimplePay\Vendor\Stripe\Util;

class ObjectTypes
{
    /**
     * @var array Mapping from object types to resource classes
     */
    const mapping =
        [
            \SimplePay\Vendor\Stripe\Collection::OBJECT_NAME => \SimplePay\Vendor\Stripe\Collection::class,
            \SimplePay\Vendor\Stripe\Issuing\CardDetails::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\CardDetails::class,
            \SimplePay\Vendor\Stripe\SearchResult::OBJECT_NAME => \SimplePay\Vendor\Stripe\SearchResult::class,
            \SimplePay\Vendor\Stripe\File::OBJECT_NAME_ALT => \SimplePay\Vendor\Stripe\File::class,
            // object classes: The beginning of the section generated from our OpenAPI spec
            \SimplePay\Vendor\Stripe\Account::OBJECT_NAME => \SimplePay\Vendor\Stripe\Account::class,
            \SimplePay\Vendor\Stripe\AccountLink::OBJECT_NAME => \SimplePay\Vendor\Stripe\AccountLink::class,
            \SimplePay\Vendor\Stripe\AccountSession::OBJECT_NAME => \SimplePay\Vendor\Stripe\AccountSession::class,
            \SimplePay\Vendor\Stripe\ApplePayDomain::OBJECT_NAME => \SimplePay\Vendor\Stripe\ApplePayDomain::class,
            \SimplePay\Vendor\Stripe\Application::OBJECT_NAME => \SimplePay\Vendor\Stripe\Application::class,
            \SimplePay\Vendor\Stripe\ApplicationFee::OBJECT_NAME => \SimplePay\Vendor\Stripe\ApplicationFee::class,
            \SimplePay\Vendor\Stripe\ApplicationFeeRefund::OBJECT_NAME => \SimplePay\Vendor\Stripe\ApplicationFeeRefund::class,
            \SimplePay\Vendor\Stripe\Apps\Secret::OBJECT_NAME => \SimplePay\Vendor\Stripe\Apps\Secret::class,
            \SimplePay\Vendor\Stripe\Balance::OBJECT_NAME => \SimplePay\Vendor\Stripe\Balance::class,
            \SimplePay\Vendor\Stripe\BalanceTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\BalanceTransaction::class,
            \SimplePay\Vendor\Stripe\BankAccount::OBJECT_NAME => \SimplePay\Vendor\Stripe\BankAccount::class,
            \SimplePay\Vendor\Stripe\Billing\Alert::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\Alert::class,
            \SimplePay\Vendor\Stripe\Billing\AlertTriggered::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\AlertTriggered::class,
            \SimplePay\Vendor\Stripe\Billing\CreditBalanceSummary::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\CreditBalanceSummary::class,
            \SimplePay\Vendor\Stripe\Billing\CreditBalanceTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\CreditBalanceTransaction::class,
            \SimplePay\Vendor\Stripe\Billing\CreditGrant::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\CreditGrant::class,
            \SimplePay\Vendor\Stripe\Billing\Meter::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\Meter::class,
            \SimplePay\Vendor\Stripe\Billing\MeterEvent::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\MeterEvent::class,
            \SimplePay\Vendor\Stripe\Billing\MeterEventAdjustment::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\MeterEventAdjustment::class,
            \SimplePay\Vendor\Stripe\Billing\MeterEventSummary::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\MeterEventSummary::class,
            \SimplePay\Vendor\Stripe\BillingPortal\Configuration::OBJECT_NAME => \SimplePay\Vendor\Stripe\BillingPortal\Configuration::class,
            \SimplePay\Vendor\Stripe\BillingPortal\Session::OBJECT_NAME => \SimplePay\Vendor\Stripe\BillingPortal\Session::class,
            \SimplePay\Vendor\Stripe\Capability::OBJECT_NAME => \SimplePay\Vendor\Stripe\Capability::class,
            \SimplePay\Vendor\Stripe\Card::OBJECT_NAME => \SimplePay\Vendor\Stripe\Card::class,
            \SimplePay\Vendor\Stripe\CashBalance::OBJECT_NAME => \SimplePay\Vendor\Stripe\CashBalance::class,
            \SimplePay\Vendor\Stripe\Charge::OBJECT_NAME => \SimplePay\Vendor\Stripe\Charge::class,
            \SimplePay\Vendor\Stripe\Checkout\Session::OBJECT_NAME => \SimplePay\Vendor\Stripe\Checkout\Session::class,
            \SimplePay\Vendor\Stripe\Climate\Order::OBJECT_NAME => \SimplePay\Vendor\Stripe\Climate\Order::class,
            \SimplePay\Vendor\Stripe\Climate\Product::OBJECT_NAME => \SimplePay\Vendor\Stripe\Climate\Product::class,
            \SimplePay\Vendor\Stripe\Climate\Supplier::OBJECT_NAME => \SimplePay\Vendor\Stripe\Climate\Supplier::class,
            \SimplePay\Vendor\Stripe\ConfirmationToken::OBJECT_NAME => \SimplePay\Vendor\Stripe\ConfirmationToken::class,
            \SimplePay\Vendor\Stripe\ConnectCollectionTransfer::OBJECT_NAME => \SimplePay\Vendor\Stripe\ConnectCollectionTransfer::class,
            \SimplePay\Vendor\Stripe\CountrySpec::OBJECT_NAME => \SimplePay\Vendor\Stripe\CountrySpec::class,
            \SimplePay\Vendor\Stripe\Coupon::OBJECT_NAME => \SimplePay\Vendor\Stripe\Coupon::class,
            \SimplePay\Vendor\Stripe\CreditNote::OBJECT_NAME => \SimplePay\Vendor\Stripe\CreditNote::class,
            \SimplePay\Vendor\Stripe\CreditNoteLineItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\CreditNoteLineItem::class,
            \SimplePay\Vendor\Stripe\Customer::OBJECT_NAME => \SimplePay\Vendor\Stripe\Customer::class,
            \SimplePay\Vendor\Stripe\CustomerBalanceTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\CustomerBalanceTransaction::class,
            \SimplePay\Vendor\Stripe\CustomerCashBalanceTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\CustomerCashBalanceTransaction::class,
            \SimplePay\Vendor\Stripe\CustomerSession::OBJECT_NAME => \SimplePay\Vendor\Stripe\CustomerSession::class,
            \SimplePay\Vendor\Stripe\Discount::OBJECT_NAME => \SimplePay\Vendor\Stripe\Discount::class,
            \SimplePay\Vendor\Stripe\Dispute::OBJECT_NAME => \SimplePay\Vendor\Stripe\Dispute::class,
            \SimplePay\Vendor\Stripe\Entitlements\ActiveEntitlement::OBJECT_NAME => \SimplePay\Vendor\Stripe\Entitlements\ActiveEntitlement::class,
            \SimplePay\Vendor\Stripe\Entitlements\ActiveEntitlementSummary::OBJECT_NAME => \SimplePay\Vendor\Stripe\Entitlements\ActiveEntitlementSummary::class,
            \SimplePay\Vendor\Stripe\Entitlements\Feature::OBJECT_NAME => \SimplePay\Vendor\Stripe\Entitlements\Feature::class,
            \SimplePay\Vendor\Stripe\EphemeralKey::OBJECT_NAME => \SimplePay\Vendor\Stripe\EphemeralKey::class,
            \SimplePay\Vendor\Stripe\Event::OBJECT_NAME => \SimplePay\Vendor\Stripe\Event::class,
            \SimplePay\Vendor\Stripe\ExchangeRate::OBJECT_NAME => \SimplePay\Vendor\Stripe\ExchangeRate::class,
            \SimplePay\Vendor\Stripe\File::OBJECT_NAME => \SimplePay\Vendor\Stripe\File::class,
            \SimplePay\Vendor\Stripe\FileLink::OBJECT_NAME => \SimplePay\Vendor\Stripe\FileLink::class,
            \SimplePay\Vendor\Stripe\FinancialConnections\Account::OBJECT_NAME => \SimplePay\Vendor\Stripe\FinancialConnections\Account::class,
            \SimplePay\Vendor\Stripe\FinancialConnections\AccountOwner::OBJECT_NAME => \SimplePay\Vendor\Stripe\FinancialConnections\AccountOwner::class,
            \SimplePay\Vendor\Stripe\FinancialConnections\AccountOwnership::OBJECT_NAME => \SimplePay\Vendor\Stripe\FinancialConnections\AccountOwnership::class,
            \SimplePay\Vendor\Stripe\FinancialConnections\Session::OBJECT_NAME => \SimplePay\Vendor\Stripe\FinancialConnections\Session::class,
            \SimplePay\Vendor\Stripe\FinancialConnections\Transaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\FinancialConnections\Transaction::class,
            \SimplePay\Vendor\Stripe\Forwarding\Request::OBJECT_NAME => \SimplePay\Vendor\Stripe\Forwarding\Request::class,
            \SimplePay\Vendor\Stripe\FundingInstructions::OBJECT_NAME => \SimplePay\Vendor\Stripe\FundingInstructions::class,
            \SimplePay\Vendor\Stripe\Identity\VerificationReport::OBJECT_NAME => \SimplePay\Vendor\Stripe\Identity\VerificationReport::class,
            \SimplePay\Vendor\Stripe\Identity\VerificationSession::OBJECT_NAME => \SimplePay\Vendor\Stripe\Identity\VerificationSession::class,
            \SimplePay\Vendor\Stripe\Invoice::OBJECT_NAME => \SimplePay\Vendor\Stripe\Invoice::class,
            \SimplePay\Vendor\Stripe\InvoiceItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\InvoiceItem::class,
            \SimplePay\Vendor\Stripe\InvoiceLineItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\InvoiceLineItem::class,
            \SimplePay\Vendor\Stripe\InvoiceRenderingTemplate::OBJECT_NAME => \SimplePay\Vendor\Stripe\InvoiceRenderingTemplate::class,
            \SimplePay\Vendor\Stripe\Issuing\Authorization::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Authorization::class,
            \SimplePay\Vendor\Stripe\Issuing\Card::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Card::class,
            \SimplePay\Vendor\Stripe\Issuing\Cardholder::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Cardholder::class,
            \SimplePay\Vendor\Stripe\Issuing\Dispute::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Dispute::class,
            \SimplePay\Vendor\Stripe\Issuing\PersonalizationDesign::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\PersonalizationDesign::class,
            \SimplePay\Vendor\Stripe\Issuing\PhysicalBundle::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\PhysicalBundle::class,
            \SimplePay\Vendor\Stripe\Issuing\Token::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Token::class,
            \SimplePay\Vendor\Stripe\Issuing\Transaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\Issuing\Transaction::class,
            \SimplePay\Vendor\Stripe\LineItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\LineItem::class,
            \SimplePay\Vendor\Stripe\LoginLink::OBJECT_NAME => \SimplePay\Vendor\Stripe\LoginLink::class,
            \SimplePay\Vendor\Stripe\Mandate::OBJECT_NAME => \SimplePay\Vendor\Stripe\Mandate::class,
            \SimplePay\Vendor\Stripe\Margin::OBJECT_NAME => \SimplePay\Vendor\Stripe\Margin::class,
            \SimplePay\Vendor\Stripe\PaymentIntent::OBJECT_NAME => \SimplePay\Vendor\Stripe\PaymentIntent::class,
            \SimplePay\Vendor\Stripe\PaymentLink::OBJECT_NAME => \SimplePay\Vendor\Stripe\PaymentLink::class,
            \SimplePay\Vendor\Stripe\PaymentMethod::OBJECT_NAME => \SimplePay\Vendor\Stripe\PaymentMethod::class,
            \SimplePay\Vendor\Stripe\PaymentMethodConfiguration::OBJECT_NAME => \SimplePay\Vendor\Stripe\PaymentMethodConfiguration::class,
            \SimplePay\Vendor\Stripe\PaymentMethodDomain::OBJECT_NAME => \SimplePay\Vendor\Stripe\PaymentMethodDomain::class,
            \SimplePay\Vendor\Stripe\Payout::OBJECT_NAME => \SimplePay\Vendor\Stripe\Payout::class,
            \SimplePay\Vendor\Stripe\Person::OBJECT_NAME => \SimplePay\Vendor\Stripe\Person::class,
            \SimplePay\Vendor\Stripe\Plan::OBJECT_NAME => \SimplePay\Vendor\Stripe\Plan::class,
            \SimplePay\Vendor\Stripe\Price::OBJECT_NAME => \SimplePay\Vendor\Stripe\Price::class,
            \SimplePay\Vendor\Stripe\Product::OBJECT_NAME => \SimplePay\Vendor\Stripe\Product::class,
            \SimplePay\Vendor\Stripe\ProductFeature::OBJECT_NAME => \SimplePay\Vendor\Stripe\ProductFeature::class,
            \SimplePay\Vendor\Stripe\PromotionCode::OBJECT_NAME => \SimplePay\Vendor\Stripe\PromotionCode::class,
            \SimplePay\Vendor\Stripe\Quote::OBJECT_NAME => \SimplePay\Vendor\Stripe\Quote::class,
            \SimplePay\Vendor\Stripe\Radar\EarlyFraudWarning::OBJECT_NAME => \SimplePay\Vendor\Stripe\Radar\EarlyFraudWarning::class,
            \SimplePay\Vendor\Stripe\Radar\ValueList::OBJECT_NAME => \SimplePay\Vendor\Stripe\Radar\ValueList::class,
            \SimplePay\Vendor\Stripe\Radar\ValueListItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\Radar\ValueListItem::class,
            \SimplePay\Vendor\Stripe\Refund::OBJECT_NAME => \SimplePay\Vendor\Stripe\Refund::class,
            \SimplePay\Vendor\Stripe\Reporting\ReportRun::OBJECT_NAME => \SimplePay\Vendor\Stripe\Reporting\ReportRun::class,
            \SimplePay\Vendor\Stripe\Reporting\ReportType::OBJECT_NAME => \SimplePay\Vendor\Stripe\Reporting\ReportType::class,
            \SimplePay\Vendor\Stripe\ReserveTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\ReserveTransaction::class,
            \SimplePay\Vendor\Stripe\Review::OBJECT_NAME => \SimplePay\Vendor\Stripe\Review::class,
            \SimplePay\Vendor\Stripe\SetupAttempt::OBJECT_NAME => \SimplePay\Vendor\Stripe\SetupAttempt::class,
            \SimplePay\Vendor\Stripe\SetupIntent::OBJECT_NAME => \SimplePay\Vendor\Stripe\SetupIntent::class,
            \SimplePay\Vendor\Stripe\ShippingRate::OBJECT_NAME => \SimplePay\Vendor\Stripe\ShippingRate::class,
            \SimplePay\Vendor\Stripe\Sigma\ScheduledQueryRun::OBJECT_NAME => \SimplePay\Vendor\Stripe\Sigma\ScheduledQueryRun::class,
            \SimplePay\Vendor\Stripe\Source::OBJECT_NAME => \SimplePay\Vendor\Stripe\Source::class,
            \SimplePay\Vendor\Stripe\SourceMandateNotification::OBJECT_NAME => \SimplePay\Vendor\Stripe\SourceMandateNotification::class,
            \SimplePay\Vendor\Stripe\SourceTransaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\SourceTransaction::class,
            \SimplePay\Vendor\Stripe\Subscription::OBJECT_NAME => \SimplePay\Vendor\Stripe\Subscription::class,
            \SimplePay\Vendor\Stripe\SubscriptionItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\SubscriptionItem::class,
            \SimplePay\Vendor\Stripe\SubscriptionSchedule::OBJECT_NAME => \SimplePay\Vendor\Stripe\SubscriptionSchedule::class,
            \SimplePay\Vendor\Stripe\Tax\Calculation::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\Calculation::class,
            \SimplePay\Vendor\Stripe\Tax\CalculationLineItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\CalculationLineItem::class,
            \SimplePay\Vendor\Stripe\Tax\Registration::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\Registration::class,
            \SimplePay\Vendor\Stripe\Tax\Settings::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\Settings::class,
            \SimplePay\Vendor\Stripe\Tax\Transaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\Transaction::class,
            \SimplePay\Vendor\Stripe\Tax\TransactionLineItem::OBJECT_NAME => \SimplePay\Vendor\Stripe\Tax\TransactionLineItem::class,
            \SimplePay\Vendor\Stripe\TaxCode::OBJECT_NAME => \SimplePay\Vendor\Stripe\TaxCode::class,
            \SimplePay\Vendor\Stripe\TaxDeductedAtSource::OBJECT_NAME => \SimplePay\Vendor\Stripe\TaxDeductedAtSource::class,
            \SimplePay\Vendor\Stripe\TaxId::OBJECT_NAME => \SimplePay\Vendor\Stripe\TaxId::class,
            \SimplePay\Vendor\Stripe\TaxRate::OBJECT_NAME => \SimplePay\Vendor\Stripe\TaxRate::class,
            \SimplePay\Vendor\Stripe\Terminal\Configuration::OBJECT_NAME => \SimplePay\Vendor\Stripe\Terminal\Configuration::class,
            \SimplePay\Vendor\Stripe\Terminal\ConnectionToken::OBJECT_NAME => \SimplePay\Vendor\Stripe\Terminal\ConnectionToken::class,
            \SimplePay\Vendor\Stripe\Terminal\Location::OBJECT_NAME => \SimplePay\Vendor\Stripe\Terminal\Location::class,
            \SimplePay\Vendor\Stripe\Terminal\Reader::OBJECT_NAME => \SimplePay\Vendor\Stripe\Terminal\Reader::class,
            \SimplePay\Vendor\Stripe\TestHelpers\TestClock::OBJECT_NAME => \SimplePay\Vendor\Stripe\TestHelpers\TestClock::class,
            \SimplePay\Vendor\Stripe\Token::OBJECT_NAME => \SimplePay\Vendor\Stripe\Token::class,
            \SimplePay\Vendor\Stripe\Topup::OBJECT_NAME => \SimplePay\Vendor\Stripe\Topup::class,
            \SimplePay\Vendor\Stripe\Transfer::OBJECT_NAME => \SimplePay\Vendor\Stripe\Transfer::class,
            \SimplePay\Vendor\Stripe\TransferReversal::OBJECT_NAME => \SimplePay\Vendor\Stripe\TransferReversal::class,
            \SimplePay\Vendor\Stripe\Treasury\CreditReversal::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\CreditReversal::class,
            \SimplePay\Vendor\Stripe\Treasury\DebitReversal::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\DebitReversal::class,
            \SimplePay\Vendor\Stripe\Treasury\FinancialAccount::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\FinancialAccount::class,
            \SimplePay\Vendor\Stripe\Treasury\FinancialAccountFeatures::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\FinancialAccountFeatures::class,
            \SimplePay\Vendor\Stripe\Treasury\InboundTransfer::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\InboundTransfer::class,
            \SimplePay\Vendor\Stripe\Treasury\OutboundPayment::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\OutboundPayment::class,
            \SimplePay\Vendor\Stripe\Treasury\OutboundTransfer::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\OutboundTransfer::class,
            \SimplePay\Vendor\Stripe\Treasury\ReceivedCredit::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\ReceivedCredit::class,
            \SimplePay\Vendor\Stripe\Treasury\ReceivedDebit::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\ReceivedDebit::class,
            \SimplePay\Vendor\Stripe\Treasury\Transaction::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\Transaction::class,
            \SimplePay\Vendor\Stripe\Treasury\TransactionEntry::OBJECT_NAME => \SimplePay\Vendor\Stripe\Treasury\TransactionEntry::class,
            \SimplePay\Vendor\Stripe\UsageRecord::OBJECT_NAME => \SimplePay\Vendor\Stripe\UsageRecord::class,
            \SimplePay\Vendor\Stripe\UsageRecordSummary::OBJECT_NAME => \SimplePay\Vendor\Stripe\UsageRecordSummary::class,
            \SimplePay\Vendor\Stripe\WebhookEndpoint::OBJECT_NAME => \SimplePay\Vendor\Stripe\WebhookEndpoint::class,
            // object classes: The end of the section generated from our OpenAPI spec
        ];

    /**
     * @var array Mapping from v2 object types to resource classes
     */
    const v2Mapping = [
        // V1 Class needed for fetching the right related object
        // TODO: https://go/j/DEVSDK-2204 Make a more standardized fix in codegen for all languages
        \SimplePay\Vendor\Stripe\Billing\Meter::OBJECT_NAME => \SimplePay\Vendor\Stripe\Billing\Meter::class,

        // v2 object classes: The beginning of the section generated from our OpenAPI spec
        \SimplePay\Vendor\Stripe\V2\Billing\MeterEvent::OBJECT_NAME => \SimplePay\Vendor\Stripe\V2\Billing\MeterEvent::class,
        \SimplePay\Vendor\Stripe\V2\Billing\MeterEventAdjustment::OBJECT_NAME => \SimplePay\Vendor\Stripe\V2\Billing\MeterEventAdjustment::class,
        \SimplePay\Vendor\Stripe\V2\Billing\MeterEventSession::OBJECT_NAME => \SimplePay\Vendor\Stripe\V2\Billing\MeterEventSession::class,
        \SimplePay\Vendor\Stripe\V2\Event::OBJECT_NAME => \SimplePay\Vendor\Stripe\V2\Event::class,
        // v2 object classes: The end of the section generated from our OpenAPI spec
    ];
}
