<?php
/**
 * @license MIT
 *
 * Modified by kodezen using {@see https://github.com/BrianHenryIE/strauss}.
 */

namespace StoreEngine\Stripe\Util;

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