| 1 | <?php | ||
| 8 | class D309 extends Element implements ElementInterface | ||
| 9 | { | ||
| 10 | const REG = 'D309'; | ||
| 11 | const LEVEL = 4; | ||
| 12 | const PARENT = 'D300'; | ||
| 13 | |||
| 14 | protected $parameters = [ | ||
| 15 | 'NUM_PROC' => [ | ||
| 16 | 'type' => 'string', | ||
| 17 |             'regex' => '^.{0,20}$', | ||
| 18 | 'required' => false, | ||
| 19 | 'info' => 'Identificação do processo ou ato concessório ', | ||
| 20 | 'format' => '' | ||
| 21 | ], | ||
| 22 | 'IND_PROC' => [ | ||
| 23 | 'type' => 'string', | ||
| 24 | 'regex' => '^(1|3|9)$', | ||
| 25 | 'required' => false, | ||
| 26 | 'info' => 'Indicador da origem do processo ' . | ||
| 27 | ' 1 - Justiça Federal ' . | ||
| 28 | ' 3 – Secretaria da Receita Federal do Brasil 9 – Outros. ', | ||
| 29 | 'format' => '' | ||
| 30 | ], | ||
| 31 | |||
| 32 | ]; | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Constructor | ||
| 36 | * @param \stdClass $std | ||
| 37 | */ | ||
| 38 | public function __construct(\stdClass $std) | ||
| 43 | } | ||
| 44 |