?? GreyFile — Mystic File Browser

Current path: home/webdevt/prestashop17/modules/ps_checkout/config/



?? Go up: /home/webdevt/prestashop17/modules/ps_checkout

?? Viewing: common.yml

services:
  # From PS 1.7.0 to PS 1.7.3, the bundled version of Symfony is 2.x on which the _defaults
  # key is invalid. To prevent error on these versions, each service has to be specifically
  # declared as public.
  #  _defaults:
  #   public: true

  ps_checkout.module:
    class: "Ps_checkout"
    factory: ["Module", "getInstanceByName"]
    public: true
    arguments:
      - "ps_checkout"

  ps_checkout.module.version:
    class: 'PrestaShop\Module\PrestashopCheckout\Version\Version'
    factory: ["PrestaShop\\Module\\PrestashopCheckout\\Version\\Version", "buildFromString"]
    public: true
    arguments:
      - '@=service("ps_checkout.module").version'

  ps_checkout.context.prestashop:
    class: 'PrestaShop\Module\PrestashopCheckout\Context\PrestaShopContext'
    public: true

  ps_checkout.context.state.manager:
    class: 'PrestaShop\Module\PrestashopCheckout\Context\ContextStateManager'
    public: true

  ps_checkout.context.shop:
    class: 'PrestaShop\Module\PrestashopCheckout\ShopContext'
    public: true

  ps_checkout.shop.provider:
    class: 'PrestaShop\Module\PrestashopCheckout\Shop\ShopProvider'
    public: true

  ps_checkout.configuration.options.resolver:
    class: 'PrestaShop\Module\PrestashopCheckout\Configuration\PrestaShopConfigurationOptionsResolver'
    public: true
    arguments:
      - '@=service("ps_checkout.shop.provider").getIdentifier()'

  ps_checkout.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\Configuration\PrestaShopConfiguration'
    public: true
    arguments:
      - "@ps_checkout.configuration.options.resolver"

  ps_checkout.logger.directory:
    class: 'PrestaShop\Module\PrestashopCheckout\Logger\LoggerDirectory'
    public: true
    arguments:
      - !php/const _PS_VERSION_
      - !php/const _PS_ROOT_DIR_

  ps_checkout.logger.filename:
    class: 'PrestaShop\Module\PrestashopCheckout\Logger\LoggerFilename'
    public: true
    arguments:
      - '@=service("ps_checkout.module").name'
      - '@=service("ps_checkout.shop.provider").getIdentifier()'

  ps_checkout.logger.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\Logger\LoggerConfiguration'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.logger.handler.factory:
    class: 'PrestaShop\Module\PrestashopCheckout\Logger\LoggerHandlerFactory'
    public: true
    arguments:
      - '@=service("ps_checkout.logger.directory").getPath()'
      - '@=service("ps_checkout.logger.filename").get()'
      - '@=service("ps_checkout.logger.configuration").getMaxFiles()'
      - '@=service("ps_checkout.logger.configuration").getLevel()'

  ps_checkout.logger.handler:
    class: 'Monolog\Handler\HandlerInterface'
    public: true
    factory: ["@ps_checkout.logger.handler.factory", "build"]

  ps_checkout.logger.factory:
    class: 'PrestaShop\Module\PrestashopCheckout\Logger\LoggerFactory'
    public: true
    arguments:
      - '@=service("ps_checkout.module").name'
      - "@ps_checkout.logger.handler"

  ps_checkout.logger:
    class: 'Psr\Log\LoggerInterface'
    public: true
    factory: ["@ps_checkout.logger.factory", "build"]
    arguments:
      - "@ps_checkout.logger.directory"

  ps_checkout.paypal.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\PayPalConfiguration'
    public: true
    arguments:
      - "@ps_checkout.configuration"
      - "@ps_checkout.repository.paypal.code"

  ps_checkout.express_checkout.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\ExpressCheckout\ExpressCheckoutConfiguration'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.pay_later.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\PayPalPayLaterConfiguration'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.sdk.paypal.linkbuilder:
    class: 'PrestaShop\Module\PrestashopCheckout\Builder\PayPalSdkLink\PayPalSdkLinkBuilder'
    public: true
    arguments:
      - "@ps_checkout.paypal.configuration"
      - "@ps_checkout.pay_later.configuration"
      - "@ps_checkout.funding_source.configuration.repository"
      - "@ps_checkout.express_checkout.configuration"

  ps_checkout.repository.prestashop.account:
    class: 'PrestaShop\Module\PrestashopCheckout\Repository\PsAccountRepository'
    public: true
    arguments:
      - "@ps_checkout.configuration"
      - "@ps_accounts.facade"

  ps_checkout.store.module.paypal:
    class: 'PrestaShop\Module\PrestashopCheckout\Presenter\Store\Modules\PaypalModule'
    public: true
    arguments:
      - "@ps_checkout.paypal.configuration"

  ps_checkout.store.module.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\Presenter\Store\Modules\ConfigurationModule'
    public: true
    arguments:
      - "@ps_checkout.pay_later.configuration"
      - "@ps_checkout.express_checkout.configuration"
      - "@ps_checkout.paypal.configuration"
      - "@ps_checkout.funding_source.provider"
      - "@ps_checkout.module"

  ps_checkout.builder.module_link:
    class: 'PrestaShop\Module\PrestashopCheckout\Builder\ModuleLink\ModuleLinkBuilder'
    public: true

  ps_checkout.step.live:
    class: 'PrestaShop\Module\PrestashopCheckout\OnBoarding\Step\LiveStep'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.step.value:
    class: 'PrestaShop\Module\PrestashopCheckout\OnBoarding\Step\ValueBanner'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.translations.translations:
    class: 'PrestaShop\Module\PrestashopCheckout\Translations\Translations'
    public: true
    arguments:
      - "@ps_checkout.module"

  ps_checkout.store.module.context:
    class: 'PrestaShop\Module\PrestashopCheckout\Presenter\Store\Modules\ContextModule'
    public: true
    arguments:
      - '@=service("ps_checkout.module").name'
      - '@=service("ps_checkout.module").module_key'
      - "@ps_checkout.context.prestashop"
      - "@ps_checkout.paypal.configuration"
      - "@ps_checkout.step.live"
      - "@ps_checkout.step.value"
      - "@ps_checkout.translations.translations"
      - "@ps_checkout.context.shop"
      - "@ps_checkout.shop.provider"
      - "@ps_checkout.builder.module_link"
      - "@ps_checkout.repository.prestashop.account"

  ps_checkout.adapter.language:
    class: 'PrestaShop\Module\PrestashopCheckout\Adapter\LanguageAdapter'
    public: true
    arguments:
      - "@ps_checkout.context.shop"

  ps_checkout.store.store:
    class: 'PrestaShop\Module\PrestashopCheckout\Presenter\Store\StorePresenter'
    public: true
    arguments:
      - [
          "@ps_checkout.store.module.context",
          "@ps_checkout.store.module.paypal",
          "@ps_checkout.store.module.configuration",
        ]

  ps_checkout.repository.pscheckoutcart:
    class: 'PrestaShop\Module\PrestashopCheckout\Repository\PsCheckoutCartRepository'
    public: true
    arguments:
      - "@ps_checkout.cache.pscheckoutcart"

  ps_checkout.funding_source.configuration.repository:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceConfigurationRepository'
    public: true
    arguments:
      - "@ps_checkout.context.prestashop"

  ps_checkout.funding_source.configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceConfiguration'
    public: true
    arguments:
      - "@ps_checkout.funding_source.configuration.repository"

  ps_checkout.funding_source.eligibility_constraint:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceEligibilityConstraint'
    public: true

  ps_checkout.funding_source.collection.builder:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceCollectionBuilder'
    public: true
    arguments:
      - "@ps_checkout.funding_source.configuration"
      - "@ps_checkout.funding_source.eligibility_constraint"

  ps_checkout.funding_source.translation:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceTranslationProvider'
    public: true
    arguments:
      - "@ps_checkout.module"

  ps_checkout.funding_source.entity:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceEntity'
    public: true

  ps_checkout.repository.country:
    class: 'PrestaShop\Module\PrestashopCheckout\Repository\CountryRepository'
    public: true

  ps_checkout.funding_source.presenter:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourcePresenter'
    public: true
    arguments:
      - "@ps_checkout.funding_source.translation"
      - "@ps_checkout.repository.country"

  ps_checkout.funding_source.collection:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceCollection'
    public: true
    arguments:
      - '@=service("ps_checkout.funding_source.collection.builder").create()'

  ps_checkout.funding_source.provider:
    class: 'PrestaShop\Module\PrestashopCheckout\FundingSource\FundingSourceProvider'
    public: true
    arguments:
      - "@ps_checkout.funding_source.collection.builder"
      - "@ps_checkout.funding_source.presenter"

  ps_checkout.repository.paypal.code:
    class: 'PrestaShop\Module\PrestashopCheckout\Repository\PayPalCodeRepository'
    public: true

  ps_checkout.env_loader:
    class: 'PrestaShop\Module\PrestashopCheckout\Environment\EnvLoader'
    public: true

  ps_checkout.validator.merchant:
    class: 'PrestaShop\Module\PrestashopCheckout\Validator\MerchantValidator'
    public: true
    arguments:
      - "@ps_checkout.paypal.configuration"
      - "@ps_checkout.repository.prestashop.account"
      - "@ps_checkout.context.prestashop"

  ps_checkout.validator.front_controller:
    class: 'PrestaShop\Module\PrestashopCheckout\Validator\FrontControllerValidator'
    public: true
    arguments:
      - "@ps_checkout.validator.merchant"
      - "@ps_checkout.express_checkout.configuration"
      - "@ps_checkout.pay_later.configuration"

  ps_checkout.validator.batch_configuration:
    class: 'PrestaShop\Module\PrestashopCheckout\Validator\BatchConfigurationValidator'
    public: true

  ps_checkout.cache.directory:
    class: 'PrestaShop\ModuleLibCacheDirectoryProvider\Cache\CacheDirectoryProvider'
    public: true
    arguments:
      - !php/const _PS_VERSION_
      - !php/const _PS_ROOT_DIR_
      - !php/const _PS_MODE_DEV_

  ps_checkout.cache.array.paypal.order:
    class: 'Symfony\Component\Cache\Simple\ArrayCache'

  ps_checkout.cache.filesystem.paypal.order:
    class: 'Symfony\Component\Cache\Simple\FilesystemCache'
    arguments:
      - "paypal-orders"
      - 3600
      - '@=service("ps_checkout.cache.directory").getPath()'

  ps_checkout.cache.paypal.order:
    class: 'Symfony\Component\Cache\Simple\ChainCache'
    public: true
    arguments:
      - [
        "@ps_checkout.cache.array.paypal.order",
        "@ps_checkout.cache.filesystem.paypal.order",
        ]

  ps_checkout.cache.array.paypal.capture:
    class: 'Symfony\Component\Cache\Simple\ArrayCache'

  ps_checkout.cache.filesystem.paypal.capture:
    class: 'Symfony\Component\Cache\Simple\FilesystemCache'
    arguments:
      - "paypal-capture"
      - 3600
      - '@=service("ps_checkout.cache.directory").getPath()'

  ps_checkout.cache.paypal.capture:
    class: 'Symfony\Component\Cache\Simple\ChainCache'
    public: true
    arguments:
      - [
        "@ps_checkout.cache.array.paypal.capture",
        "@ps_checkout.cache.filesystem.paypal.capture",
        ]

  ps_checkout.cache.pscheckoutcart:
    class: 'Symfony\Component\Cache\Simple\ArrayCache'
    public: true

  ps_checkout.cache.order:
    class: 'Symfony\Component\Cache\Simple\ArrayCache'
    public: true

  ps_checkout.paypal.provider.order:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\PayPalOrderProvider'
    public: true
    arguments:
      - "@ps_checkout.cache.paypal.order"

  ps_checkout.paypal.provider.client_token:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\PayPalClientTokenProvider'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.prestashop.router:
    class: 'PrestaShop\Module\PrestashopCheckout\Routing\Router'
    public: true

  ps_checkout.paypal.order.translations:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\PayPalOrderTranslationProvider'
    public: true
    arguments:
      - '@ps_checkout.translations.translations'
      - '@ps_checkout.funding_source.translation'

  ps_checkout.paypal.order.presenter:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\PayPalOrderSummaryViewBuilder'
    public: true
    arguments:
      - '@ps_checkout.translations.translations'
      - '@ps_checkout.funding_source.translation'

  ps_checkout.paypal.builder.view_order_summary:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\PayPalOrderSummaryViewBuilder'
    public: true
    arguments:
      - '@ps_checkout.repository.pscheckoutcart'
      - '@ps_checkout.paypal.provider.order'
      - '@ps_checkout.prestashop.router'
      - '@ps_checkout.paypal.order.translations'
      - '@ps_checkout.context.shop'

  ps_checkout.webhook.service.secret_token:
    class: 'PrestaShop\Module\PrestashopCheckout\Webhook\WebhookSecretTokenService'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.webhook.handler.event.configuration_updated:
    class: 'PrestaShop\Module\PrestashopCheckout\Webhook\WebhookEventConfigurationUpdatedHandler'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.order.service.check_order_amount:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\Service\CheckOrderAmount'
    public: true

  ps_checkout.order.state.service.order_state_mapper:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\State\Service\OrderStateMapper'
    public: true
    arguments:
      - "@ps_checkout.configuration"

  ps_checkout.paypal.order.service.paypal_order_status:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\PayPalOrderStatus'
    public: true

  ps_checkout.paypal.order.service.check_transition_paypal_order_status:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\CheckTransitionPayPalOrderStatusService'
    public: true

  ps_checkout.webhook.handler:
    class: 'PrestaShop\Module\PrestashopCheckout\Webhook\WebhookHandler'
    public: true
    arguments:
      - "@ps_checkout.webhook.service.secret_token"
      - ["@ps_checkout.webhook.handler.event.configuration_updated"]

  ps_checkout.configuration.batch_processor:
    class: 'PrestaShop\Module\PrestashopCheckout\Configuration\BatchConfigurationProcessor'
    public: true
    arguments:
      - '@ps_checkout.configuration'

  ps_accounts.installer:
    class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
    public: true
    arguments:
      - "4.0.0"

  ps_accounts.facade:
    class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
    public: true
    arguments:
      - "@ps_accounts.installer"

  ps_checkout.tactician.bus:
    class: 'League\Tactician\CommandBus'
    factory: ["@ps_checkout.tactician.bus.factory", "create"]

  ps_checkout.bus.command:
    class: 'PrestaShop\Module\PrestashopCheckout\CommandBus\TacticianCommandBusAdapter'
    public: true
    arguments:
      - "@ps_checkout.tactician.bus"

  ps_checkout.tactician.bus.factory:
    class: 'PrestaShop\Module\PrestashopCheckout\CommandBus\TacticianCommandBusFactory'
    public: true
    arguments:
      - "@ps_checkout.module"
      - "@ps_checkout.logger"
      -
        PrestaShop\Module\PrestashopCheckout\Order\Command\AddOrderPaymentCommand: "ps_checkout.command.handler.order.add_order_payment"
        PrestaShop\Module\PrestashopCheckout\Order\Command\CreateOrderCommand: "ps_checkout.command.handler.order.create_order"
        PrestaShop\Module\PrestashopCheckout\Order\Command\UpdateOrderStatusCommand: "ps_checkout.command.handler.order.update_order_status"
        PrestaShop\Module\PrestashopCheckout\Order\Matrice\Command\UpdateOrderMatriceCommand: "ps_checkout.command.handler.order.matrice.update_order_matrice"
        PrestaShop\Module\PrestashopCheckout\PayPal\Order\Command\CapturePayPalOrderCommand: "ps_checkout.command.handler.paypal.order.capture_paypal_order"
        PrestaShop\Module\PrestashopCheckout\PayPal\Order\Command\SavePayPalOrderCommand: "ps_checkout.command.handler.paypal.order.save_paypal_order"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForPaymentCompletedQuery: "ps_checkout.query.handler.order.get_order_for_payment_completed"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForPaymentDeniedQuery: "ps_checkout.query.handler.order.get_order_for_payment_denied"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForPaymentPendingQuery: "ps_checkout.query.handler.order.get_order_for_payment_pending"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForPaymentRefundedQuery: "ps_checkout.query.handler.order.get_order_for_payment_refunded"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForPaymentReversedQuery: "ps_checkout.query.handler.order.get_order_for_payment_reversed"
        PrestaShop\Module\PrestashopCheckout\Order\Query\GetOrderForApprovalReversedQuery: "ps_checkout.query.handler.order.get_order_for_approval_reversed"
        PrestaShop\Module\PrestashopCheckout\PayPal\Identity\Query\GetClientTokenPayPalQuery: "ps_checkout.query.handler.paypal.identity.get_client_token"
        PrestaShop\Module\PrestashopCheckout\PayPal\Order\Query\GetCurrentPayPalOrderStatusQuery: "ps_checkout.query.handler.paypal.order.get_current_paypal_order_status"
        PrestaShop\Module\PrestashopCheckout\PayPal\Order\Query\GetPayPalOrderForCheckoutCompletedQuery: "ps_checkout.query.handler.paypal.order.get_paypal_order_for_checkout_completed"
        PrestaShop\Module\PrestashopCheckout\PayPal\Order\Query\GetPayPalOrderForOrderConfirmationQuery: "ps_checkout.query.handler.paypal.order.get_paypal_order_for_order_confirmation"
        PrestaShop\Module\PrestashopCheckout\Checkout\Command\UpdatePaymentMethodSelectedCommand: "ps_checkout.query.handler.checkout.update_payment_method_selected"

  ps_checkout.event.dispatcher.factory:
    class: 'PrestaShop\Module\PrestashopCheckout\Event\SymfonyEventDispatcherFactory'
    public: true
    arguments:
      - "@ps_checkout.logger"
      - "@ps_checkout.logger.configuration"

  ps_checkout.event.subscriber.checkout:
    class: 'PrestaShop\Module\PrestashopCheckout\Checkout\EventSubscriber\CheckoutEventSubscriber'
    public: true
    arguments:
      - "@ps_checkout.module"

  ps_checkout.event.subscriber.order:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\EventSubscriber\OrderEventSubscriber'
    public: true
    arguments:
      - "@ps_checkout.module"
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.event.subscriber.paypal.order:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\EventSubscriber\PayPalOrderEventSubscriber'
    public: true
    arguments:
      - "@ps_checkout.module"
      - "@ps_checkout.repository.pscheckoutcart"
      - "@ps_checkout.cache.paypal.order"
      - "@ps_checkout.checkout.checker"
      - "@ps_checkout.paypal.order.service.check_transition_paypal_order_status"
      - "@ps_checkout.order.state.service.order_state_mapper"

  ps_checkout.event.subscriber.paypal.capture:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Payment\Capture\EventSubscriber\PayPalCaptureEventSubscriber'
    public: true
    arguments:
      - "@ps_checkout.module"
      - "@ps_checkout.order.service.check_order_amount"
      - "@ps_checkout.cache.paypal.capture"
      - "@ps_checkout.cache.paypal.order"
      - "@ps_checkout.order.state.service.order_state_mapper"

  ps_checkout.event.dispatcher.symfony:
    class: 'Symfony\Component\EventDispatcher\EventDispatcherInterface'
    factory: ["@ps_checkout.event.dispatcher.factory", "create"]
    arguments:
      - [
          "@ps_checkout.event.subscriber.checkout",
          "@ps_checkout.event.subscriber.order",
          "@ps_checkout.event.subscriber.paypal.order",
          "@ps_checkout.event.subscriber.paypal.capture",
        ]

  ps_checkout.event.dispatcher:
    class: 'PrestaShop\Module\PrestashopCheckout\Event\SymfonyEventDispatcherAdapter'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher.symfony"

  ps_checkout.command.handler.order.add_order_payment:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\CommandHandler\AddOrderPaymentCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher"
      - "@ps_checkout.funding_source.translation"
      - "@ps_checkout.paypal.configuration"

  ps_checkout.command.handler.order.create_order:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\CommandHandler\CreateOrderCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.context.state.manager"
      - "@ps_checkout.event.dispatcher"
      - "@ps_checkout.repository.pscheckoutcart"
      - "@ps_checkout.order.state.service.order_state_mapper"
      - "@ps_checkout.module"
      - "@ps_checkout.order.service.check_order_amount"

  ps_checkout.command.handler.order.update_order_status:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\CommandHandler\UpdateOrderStatusCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher"

  ps_checkout.command.handler.order.matrice.update_order_matrice:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\Matrice\CommandHandler\UpdateOrderMatriceCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher"

  ps_checkout.command.handler.paypal.order.capture_paypal_order:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\CommandHandler\CapturePayPalOrderCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher"

  ps_checkout.command.handler.paypal.order.save_paypal_order:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\CommandHandler\SavePayPalOrderCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.paypal.order.get_current_paypal_order_status:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\QueryHandler\GetCurrentPayPalOrderStatusQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_payment_completed:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForPaymentCompletedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_payment_denied:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForPaymentDeniedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_payment_pending:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForPaymentPendingQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_payment_refunded:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForPaymentRefundedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_payment_reversed:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForPaymentReversedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.order.get_order_for_approval_reversed:
    class: 'PrestaShop\Module\PrestashopCheckout\Order\QueryHandler\GetOrderForApprovalReversedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.query.handler.paypal.identity.get_client_token:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Identity\QueryHandler\GetClientTokenPayPalQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.event.dispatcher"

  ps_checkout.query.handler.paypal.order.get_paypal_order_for_checkout_completed:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\QueryHandler\GetPayPalOrderForCheckoutCompletedQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.cache.paypal.order"

  ps_checkout.query.handler.paypal.order.get_paypal_order_for_order_confirmation:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Order\QueryHandler\GetPayPalOrderForOrderConfirmationQueryHandler'
    public: true
    arguments:
      - "@ps_checkout.cache.paypal.order"

  ps_checkout.query.handler.checkout.update_payment_method_selected:
    class: 'PrestaShop\Module\PrestashopCheckout\Checkout\CommandHandler\UpdatePaymentMethodSelectedCommandHandler'
    public: true
    arguments:
      - "@ps_checkout.repository.pscheckoutcart"

  ps_checkout.paypal.capture.service.check_transition_paypal_capture_status:
    class: 'PrestaShop\Module\PrestashopCheckout\PayPal\Payment\Capture\CheckTransitionPayPalCaptureStatusService'
    public: true

  ps_checkout.checkout.checker:
    class: 'PrestaShop\Module\PrestashopCheckout\Checkout\CheckoutChecker'
    public: true
    arguments:
      - "@ps_checkout.logger"


??

??