| Conditions | 3 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | function xmlSerialize(Writer $writer) { |
||
| 23 | $writer->write([ |
||
| 24 | 'name' => SchemaNS::CBC . 'ID', |
||
| 25 | 'value' => $this->ID, |
||
| 26 | 'attributes' => $this->IDAttributes |
||
| 27 | ]); |
||
| 28 | if (!is_null($this->Name)) { |
||
| 29 | $writer->write([ |
||
| 30 | SchemaNS::CBC . 'Name' => $this->Name |
||
| 31 | ]); |
||
| 32 | } |
||
| 33 | if (!is_null($this->TaxTypeCode)) { |
||
| 34 | $writer->write([ |
||
| 35 | SchemaNS::CBC . 'TaxTypeCode' => $this->TaxTypeCode |
||
| 36 | ]); |
||
| 81 |