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