| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class DespatchDocumentReference extends BaseComponent { |
||
| 16 | |||
| 17 | protected $ID; |
||
| 18 | protected $DocumentTypeCode; |
||
| 19 | |||
| 20 | function xmlSerialize(Writer $writer) { |
||
| 21 | $writer->write([ |
||
| 22 | SchemaNS::CBC . 'ID' => $this->ID, |
||
| 23 | [ |
||
| 24 | 'name' => SchemaNS::CBC . 'DocumentTypeCode', |
||
| 25 | 'value' => $this->DocumentTypeCode, |
||
| 26 | 'attributes' => [ |
||
| 27 | 'listAgencyName' => 'PE:SUNAT', |
||
| 28 | 'listName' => 'SUNAT:Identificador de guía relacionada', |
||
| 29 | 'listURI' => 'urn:pe:gob:sunat:cpe:see:gem:catalogos:catalogo12' |
||
| 30 | ] |
||
| 31 | ] |
||
| 32 | ]); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getID() { |
||
| 36 | return $this->ID; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setID($ID) { |
||
| 40 | $this->ID = $ID; |
||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getDocumentTypeCode() { |
||
| 46 | } |
||
| 47 | |||
| 48 | public function setDocumentTypeCode($DocumentTypeCode) { |
||
| 51 | } |
||
| 52 | |||
| 53 | } |
||
| 54 |