ProductManager extends ProductManager
Table of Contents
Methods
- __construct() : mixed
- addEntityProductsToOrderForShip() : Result
- Adds entity products to order shipment
- getDeliverableItems() : array<string|int, mixed>
- getEntityProductList() : array<string|int, mixed>
- getPayableItems() : array<string|int, mixed>
- getRealizationableItems() : array<string|int, mixed>
- setOrder() : $this
- setProductConverter() : void
- syncOrderProducts() : void
Methods
__construct()
public
__construct(int $ownerTypeId, int $ownerId) : mixed
Parameters
- $ownerTypeId : int
- $ownerId : int
addEntityProductsToOrderForShip()
Adds entity products to order shipment
public
addEntityProductsToOrderForShip(array<string|int, mixed> $entityProducts) : Result
Parameters
- $entityProducts : array<string|int, mixed>
-
in format
[basketXmlId => entityProductRow]
Return values
ResultgetDeliverableItems()
public
getDeliverableItems() : array<string|int, mixed>
Return values
array<string|int, mixed>getEntityProductList()
public
getEntityProductList() : array<string|int, mixed>
Return values
array<string|int, mixed>getPayableItems()
public
getPayableItems() : array<string|int, mixed>
Return values
array<string|int, mixed>getRealizationableItems()
public
getRealizationableItems() : array<string|int, mixed>
Return values
array<string|int, mixed>setOrder()
public
setOrder(Order $order) : $this
Parameters
- $order : Order
Return values
$thissetProductConverter()
public
setProductConverter(ProductConverter $productConverter) : void
Parameters
- $productConverter : ProductConverter
syncOrderProducts()
public
syncOrderProducts(array<string|int, mixed> $products) : void
Parameters
- $products : array<string|int, mixed>