Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
28 | public function getMessageString($withSeq = true, $withCrc = true): string |
||
29 | { |
||
30 | $this->newMessage('19'); |
||
31 | $this->addFixedOption($this->datestamp(), 18); |
||
32 | $this->addVarOption('AO', $this->getVariable('InstitutionId')); |
||
33 | $this->addVarOption('AB', $this->getVariable('ItemIdentifier')); |
||
34 | $this->addVarOption('AC', $this->getVariable('TerminalPassword')); |
||
35 | $this->addVarOption('CH', $this->getVariable('ItemProperties'), true); |
||
36 | |||
37 | return $this->returnMessage($withSeq, $withCrc); |
||
38 | } |
||
40 |