| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | abstract class SunatDocument extends Invoice { |
||
| 18 | |||
| 19 | /** @CAT1 Código tipo de documento*/ |
||
| 20 | const DOC_FACTURA = '01'; |
||
| 21 | const DOC_BOLETA = '03'; |
||
| 22 | const DOC_NOTA_CREDITO = '07'; |
||
| 23 | const DOC_NOTA_DEBITO = '08'; |
||
| 24 | |||
| 25 | const UBL_VERSION_ID = '2.1'; |
||
| 26 | const CUSTUMIZATION_ID = '2.0'; |
||
| 27 | |||
| 28 | /** @var DetailMatrix */ |
||
| 29 | private $DetailMatrix; |
||
| 30 | |||
| 31 | public function getDetailMatrix() { |
||
| 32 | return $this->DetailMatrix; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function setDetailMatrix(DetailMatrix $DetailMatrix) { |
||
| 38 | } |
||
| 39 | /** |
||
| 40 | * |
||
| 41 | * @return string Nombre del comprobante de acuerdo con las especificaciones de la SUNAT |
||
| 42 | */ |
||
| 43 | public function getFileName() { |
||
| 47 |