Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: carrier details and taxes #394

Merged
merged 14 commits into from
Nov 19, 2024
36 changes: 14 additions & 22 deletions config/common/repository.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository:
class: PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository
PrestaShop\Module\PsEventbus\Repository\SyncRepository:
class: PrestaShop\Module\PsEventbus\Repository\SyncRepository
public: true
arguments:
- '@=service("ps_eventbus").getContext()'
Expand All @@ -11,26 +11,6 @@ services:
arguments:
- '@PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandler'

PrestaShop\Module\PsEventbus\Repository\ShopRepository:
class: PrestaShop\Module\PsEventbus\Repository\ShopRepository
public: true

PrestaShop\Module\PsEventbus\Repository\CountryRepository:
class: PrestaShop\Module\PsEventbus\Repository\CountryRepository
public: true
arguments:
- '@=service("ps_eventbus").getContext()'

PrestaShop\Module\PsEventbus\Repository\StateRepository:
class: PrestaShop\Module\PsEventbus\Repository\StateRepository
public: true

PrestaShop\Module\PsEventbus\Repository\TaxeRepository:
class: PrestaShop\Module\PsEventbus\Repository\TaxeRepository
public: true
arguments:
- '@=service("ps_eventbus").getContext()'

PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository:
class: PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository
public: true
Expand All @@ -47,6 +27,14 @@ services:
class: PrestaShop\Module\PsEventbus\Repository\CarrierRepository
public: true

PrestaShop\Module\PsEventbus\Repository\CarrierDetailRepository:
class: PrestaShop\Module\PsEventbus\Repository\CarrierDetailRepository
public: true

PrestaShop\Module\PsEventbus\Repository\CarrierTaxeRepository:
class: PrestaShop\Module\PsEventbus\Repository\CarrierTaxeRepository
public: true

PrestaShop\Module\PsEventbus\Repository\CartRepository:
class: PrestaShop\Module\PsEventbus\Repository\CartRepository
public: true
Expand Down Expand Up @@ -123,6 +111,10 @@ services:
class: PrestaShop\Module\PsEventbus\Repository\ProductSupplierRepository
public: true

PrestaShop\Module\PsEventbus\Repository\ShopRepository:
class: PrestaShop\Module\PsEventbus\Repository\ShopRepository
public: true

PrestaShop\Module\PsEventbus\Repository\StockRepository:
class: PrestaShop\Module\PsEventbus\Repository\StockRepository
public: true
Expand Down
10 changes: 5 additions & 5 deletions config/front/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
class: PrestaShop\Module\PsEventbus\Service\ApiAuthorizationService
public: true
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\SyncRepository'
- '@PrestaShop\Module\PsEventbus\Api\SyncApiClient'
- '@PrestaShop\Module\PsEventbus\Service\PsAccountsAdapterService'
- '@PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandler'
Expand All @@ -18,7 +18,7 @@ services:
public: true
arguments:
- '@PrestaShop\Module\PsEventbus\Api\LiveSyncApiClient'
- '@PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\SyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\IncrementalSyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\LiveSyncRepository'
- '@PrestaShop\Module\PsEventbus\Service\ShopContent\LanguagesService'
Expand All @@ -37,7 +37,7 @@ services:
- '@PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandler'
- '@PrestaShop\Module\PsEventbus\Service\ApiAuthorizationService'
- '@PrestaShop\Module\PsEventbus\Service\SynchronizationService'
- '@PrestaShop\Module\PsEventbus\Repository\EventbusSyncRepository'
- '@PrestaShop\Module\PsEventbus\Repository\SyncRepository'
- '@PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandler'

PrestaShop\Module\PsEventbus\Service\ApiHealthCheckService:
Expand Down Expand Up @@ -70,13 +70,13 @@ services:
class: PrestaShop\Module\PsEventbus\Service\ShopContent\CarrierDetailsService
public: true
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\CarrierRepository'
- '@PrestaShop\Module\PsEventbus\Repository\CarrierDetailRepository'

PrestaShop\Module\PsEventbus\Service\ShopContent\CarrierTaxesService:
class: PrestaShop\Module\PsEventbus\Service\ShopContent\CarrierTaxesService
public: true
arguments:
- '@PrestaShop\Module\PsEventbus\Repository\CarrierRepository'
- '@PrestaShop\Module\PsEventbus\Repository\CarrierTaxeRepository'

PrestaShop\Module\PsEventbus\Service\ShopContent\CartsService:
class: PrestaShop\Module\PsEventbus\Service\ShopContent\CartsService
Expand Down
Loading
Loading