| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait InvTran |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * This is the unique identifier in the broker's system, |
||
| 18 | * NOT to be confused with the UNIQUEID node for the security. |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | public $uniqueId; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Date the trade occurred |
||
| 25 | * @var \DateTimeInterface |
||
| 26 | */ |
||
| 27 | public $tradeDate; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Date the trade was settled |
||
| 31 | * @var \DateTimeInterface |
||
| 32 | */ |
||
| 33 | public $settlementDate; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Transaction memo, as provided from broker. |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | public $memo; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param SimpleXMLElement $node |
||
| 43 | * @return $this for chaining |
||
| 44 | */ |
||
| 45 | protected function loadInvTran(SimpleXMLElement $node) |
||
| 62 |