1 | <?php |
||
9 | class Z0450 extends Element implements ElementInterface |
||
10 | { |
||
11 | const REG = '0450'; |
||
12 | const LEVEL = 3; |
||
13 | const PARENT = '0400'; |
||
14 | |||
15 | protected $parameters = [ |
||
16 | 'COD_INF' => [ |
||
17 | 'type' => 'string', |
||
18 | 'regex' => '^.{0,6}$', |
||
19 | 'required' => false, |
||
20 | 'info' => 'Código da informação complementar do documento fiscal.', |
||
21 | 'format' => '' |
||
22 | ], |
||
23 | 'TXT' => [ |
||
24 | 'type' => 'string', |
||
25 | 'regex' => '^(.*)$', |
||
26 | 'required' => false, |
||
27 | 'info' => 'Texto livre da informação complementar existente no documento fiscal, |
||
28 | inclusive espécie de normas legais, poder normativo, número, capitulação, data e |
||
29 | demais referências pertinentes com indicação referentes ao tributo.', |
||
30 | 'format' => '' |
||
31 | ], |
||
32 | |||
33 | ]; |
||
34 | |||
35 | /** |
||
36 | * Constructor |
||
37 | * @param \stdClass $std |
||
38 | */ |
||
39 | public function __construct(\stdClass $std) |
||
44 | } |
||
45 |