| 1 | <?php |
||
| 14 | class C105 extends Element implements ElementInterface |
||
| 15 | { |
||
| 16 | const REG = 'C105'; |
||
| 17 | const LEVEL = 3; |
||
| 18 | const PARENT = 'C100'; |
||
| 19 | |||
| 20 | protected $parameters = [ |
||
| 21 | 'OPER' => [ |
||
| 22 | 'type' => 'string', |
||
| 23 | 'regex' => '^[0-1]{1}$', |
||
| 24 | 'required' => true, |
||
| 25 | 'info' => 'Indicador do tipo de operação', |
||
| 26 | 'format' => '' |
||
| 27 | ], |
||
| 28 | 'UF' => [ |
||
| 29 | 'type' => 'string', |
||
| 30 | 'regex' => '^[a-zA-Z]{2}$', |
||
| 31 | 'required' => true, |
||
| 32 | 'info' => 'Sigla da UF de destino do ICMS_ST', |
||
| 33 | 'format' => '' |
||
| 34 | ] |
||
| 35 | ]; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Constructor |
||
| 39 | * @param \stdClass $std |
||
| 40 | */ |
||
| 41 | public function __construct(\stdClass $std) |
||
| 46 | } |
||
| 47 |