Logidav Docs

ProductInfoService extends TransactionalService
in package

Class ProductService

Table of Contents

Constants

STORE_ID_DEPOT  = 8
STORE_ID_DROP  = 9
STORE_ID_FRANCE  = 3

Properties

$container  : ContainerInterface
$em  : EntityManager
$productInfoRepository  : mixed

Methods

addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
getEntityManager()  : EntityManager
Getter of the Entity Manager
getEuStoresProduct()  : mixed
getRepo()  : mixed
Get ProductInfoRepository
save()  : ProductInfo
Save a Product Info
saveProductInfoFromData()  : Product
Save information for product
setEntityManager()  : mixed
Setter of the Entity Manager
updateProductShippingAmounts()  : Product
Updating shipping amount from magento

Constants

Properties

Methods

addRepository()

Add a repository to this service

public addRepository(int $key, string $class) : void
Parameters
$key : int

Key

$class : string

Class

addService()

Add a service to this service

public addService(int $key, mixed $service) : void
Parameters
$key : int

Key

$service : mixed

getEntityManager()

Getter of the Entity Manager

public getEntityManager() : EntityManager
Return values
EntityManager

getEuStoresProduct()

public getEuStoresProduct(mixed $productId[, mixed $storeId = null ]) : mixed
Parameters
$productId : mixed
$storeId : mixed = null

saveProductInfoFromData()

Save information for product

public saveProductInfoFromData(mixed $data, Product $product) : Product
Parameters
$data : mixed
$product : Product
Tags
throws
OptimisticLockException
Return values
Product

setEntityManager()

Setter of the Entity Manager

public setEntityManager(EntityManager $em) : mixed
Parameters
$em : EntityManager

the Entity Manager

updateProductShippingAmounts()

Updating shipping amount from magento

public updateProductShippingAmounts(mixed $data, Product $product) : Product
Parameters
$data : mixed
$product : Product
Tags
throws
OptimisticLockException
Return values
Product

        
On this page

Search results