#
# Module services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.

services:
  _defaults:
    autowire: true

  CDev\Paypal\LifetimeHook\Init:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: init, method: onInit}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo550build0:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.0.0}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo550build1:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.0.1}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo550build9:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.0.9}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo551build0:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.1.0}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo551build1:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.1.1}

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo551build3:
    tags:
      - { name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.1.3 }

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo551build7:
    tags:
      - { name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.1.7 }

  CDev\Paypal\LifetimeHook\Upgrade\UpgradeTo551build9:
    tags:
      - {name: xcart.lifetime-hook, moduleId: CDev-Paypal, type: upgrade, method: onUpgrade, version: 5.5.1.9}
