OrderService
in package
Class OrderService
Table of Contents
Constants
Properties
- $bigbuyApi : BigbuyApi
- $categoryService : CategoryService|null
- $configService : ConfigService|object
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
- $langCodes : mixed
- $productService : ProductService
- $systemAlertService : SystemAlertService
Methods
- __construct() : mixed
- QueueService constructor.
- afterSaleProductCreated() : void
- afterSaleProductUpdatedFromSale() : mixed
- processSaleProduct() : mixed
- sendSaleProduct() : array<string|int, mixed>|bool|null|ResponseInterface
Constants
lang
public
mixed
lang
= ['fr', 'de', 'it']
stores
public
mixed
stores
= ['0' => 'fr', '2' => 'de', '14' => 'it', '20' => 'he']
Properties
$bigbuyApi
private
BigbuyApi
$bigbuyApi
$categoryService
private
CategoryService|null
$categoryService
$configService
private
ConfigService|object
$configService
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
$langCodes
private
mixed
$langCodes
$productService
private
ProductService
$productService
$systemAlertService
private
SystemAlertService
$systemAlertService
Methods
__construct()
QueueService constructor.
public
__construct(ContainerInterface $container, EntityManagerInterface $entityManager, BigbuyApi $bigbuyApi, SystemAlertService $systemAlertService, ProductService $productService) : mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
- $bigbuyApi : BigbuyApi
- $systemAlertService : SystemAlertService
- $productService : ProductService
afterSaleProductCreated()
public
afterSaleProductCreated(AfterSaleProductCreatedFromSaleEvent $event) : void
Parameters
- $event : AfterSaleProductCreatedFromSaleEvent
Tags
afterSaleProductUpdatedFromSale()
public
afterSaleProductUpdatedFromSale(AfterSaleProductUpdatedFromSaleEvent $event) : mixed
Parameters
- $event : AfterSaleProductUpdatedFromSaleEvent
Tags
processSaleProduct()
public
processSaleProduct(mixed $saleProduct) : mixed
Parameters
- $saleProduct : mixed
sendSaleProduct()
public
sendSaleProduct(SaleProduct $saleProduct) : array<string|int, mixed>|bool|null|ResponseInterface
Parameters
- $saleProduct : SaleProduct