1 | <?php |
||
9 | class D360 extends Element implements ElementInterface |
||
10 | { |
||
11 | const REG = 'D360'; |
||
12 | const LEVEL = 4; |
||
13 | const PARENT = ''; |
||
14 | |||
15 | protected $parameters = [ |
||
16 | 'VL_PIS' => [ |
||
17 | 'type' => 'numeric', |
||
18 | 'regex' => '^\d+(\.\d*)?|\.\d+$', |
||
19 | 'required' => true, |
||
20 | 'info' => 'Valor total do PIS', |
||
21 | 'format' => '15v2' |
||
22 | ], |
||
23 | 'VL_COFINS' => [ |
||
24 | 'type' => 'numeric', |
||
25 | 'regex' => '^\d+(\.\d*)?|\.\d+$', |
||
26 | 'required' => true, |
||
27 | 'info' => 'Valor total da COFINS', |
||
28 | 'format' => '15v2' |
||
29 | ] |
||
30 | ]; |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * @param \stdClass $std |
||
35 | */ |
||
36 | public function __construct(\stdClass $std) |
||
41 | } |
||
42 |