SellingUnitReadService
in package
implements
SellingUnitReadServiceInterface
Class SellingUnitReadService
Interfaces, Classes and Traits
- SellingUnitReadServiceInterface
- Interface SellingUnitReadServiceInterface
Table of Contents
- $repository : SellingUnitRepositoryInterface
- __construct() : mixed
- SellingUnitReadService constructor.
- getSellingUnitBy() : SellingUnitInterface
Properties
$repository
private
SellingUnitRepositoryInterface
$repository
Methods
__construct()
SellingUnitReadService constructor.
public
__construct(SellingUnitRepositoryInterface $repository) : mixed
Parameters
- $repository : SellingUnitRepositoryInterface
Return values
mixed —getSellingUnitBy()
public
getSellingUnitBy(SellingUnitId $id[, mixed $product = null ][, mixed $xtcPrice = null ][, QuantityInterface $quantity = null ]) : SellingUnitInterface
Parameters
- $id : SellingUnitId
- $product : mixed = null
- $xtcPrice : mixed = null
- $quantity : QuantityInterface = null