| 1 | <?php |
||
| 27 | class Z0450 extends Element implements ElementInterface |
||
| 28 | { |
||
| 29 | const REG = '0450'; |
||
| 30 | const LEVEL = 0; |
||
| 31 | const PARENT = ''; |
||
| 32 | |||
| 33 | protected $parameters = [ |
||
| 34 | 'COD_INF' => [ |
||
| 35 | 'type' => 'string', |
||
| 36 | 'regex' => '^.{1,6}$', |
||
| 37 | 'required' => true, |
||
| 38 | 'info' => 'Código da informação complementar do documento fiscal.', |
||
| 39 | 'format' => '' |
||
| 40 | ], |
||
| 41 | 'TXT' => [ |
||
| 42 | 'type' => 'string', |
||
| 43 | 'regex' => '^.{1,1000}$', |
||
| 44 | 'required' => true, |
||
| 45 | 'info' => 'Texto livre da informação complementar existente no documento fiscal', |
||
| 46 | 'format' => '' |
||
| 47 | ] |
||
| 48 | ]; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Constructor |
||
| 52 | * @param stdClass $std |
||
| 53 | */ |
||
| 54 | public function __construct(stdClass $std) |
||
| 59 | } |
||
| 60 |