| 1 | <?php |
||
| 10 | class C465 extends Element implements ElementInterface |
||
| 11 | { |
||
| 12 | const REG = 'C465'; |
||
| 13 | const LEVEL = 5; |
||
| 14 | const PARENT = 'C460'; |
||
| 15 | |||
| 16 | protected $parameters = [ |
||
| 17 | 'CHV_CFE' => [ |
||
| 18 | 'type' => 'numeric', |
||
| 19 | 'regex' => '^([0-9]{44})?$', |
||
| 20 | 'required' => true, |
||
| 21 | 'info' => 'Chave do Cupom Fiscal Eletrônico', |
||
| 22 | 'format' => '' |
||
| 23 | ], |
||
| 24 | 'NUM_CCF' => [ |
||
| 25 | 'type' => 'numeric', |
||
| 26 | 'regex' => '^(\d{1,9})$', |
||
| 27 | 'required' => true, |
||
| 28 | 'info' => 'Número do Contador de Cupom Fiscal', |
||
| 29 | 'format' => '' |
||
| 30 | ], |
||
| 31 | ]; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Constructor |
||
| 35 | * @param \stdClass $std |
||
| 36 | */ |
||
| 37 | public function __construct(\stdClass $std) |
||
| 43 | |||
| 44 | public function postValidation() |
||
| 56 | } |
||
| 57 |