SourceRef
in package
FinalYes
External source reference of a stock operation. Value object (no DI — the `*DTO*` folder mask in config/common.neon keeps it out of the container scan).
module = cms_system_modules id (eshop = 4), type = order|complaint|manual|storno, id =
entity id in the foreign module. lockName() yields the per-source advisory lock key used
by ReservationService (GET_LOCK serialization of reserve/release/confirm).
Table of Contents
Properties
Methods
- __construct() : mixed
- lockName() : string
Properties
$id read-only
public
int
$id
$module read-only
public
int
$module
$type read-only
public
string
$type
Methods
__construct()
public
__construct(int $module, string $type, int $id) : mixed
Parameters
- $module : int
- $type : string
- $id : int
lockName()
public
lockName() : string