| 1 | <?php |
||
| 14 | class C172 extends Element implements ElementInterface |
||
| 15 | { |
||
| 16 | const REG = 'C172'; |
||
| 17 | const LEVEL = 4; |
||
| 18 | const PARENT = 'C170'; |
||
| 19 | |||
| 20 | protected $parameters = [ |
||
| 21 | 'VL_BC_ISSQN' => [ |
||
| 22 | 'type' => 'numeric', |
||
| 23 | 'regex' => '^\d+(\.\d*)?|\.\d+$', |
||
| 24 | 'required' => false, |
||
| 25 | 'info' => 'Valor da base de cálculo do ISSQN', |
||
| 26 | 'format' => '15v2' |
||
| 27 | ], |
||
| 28 | 'ALIQ_ISSQN' => [ |
||
| 29 | 'type' => 'numeric', |
||
| 30 | 'regex' => '^\d+(\.\d*)?|\.\d+$', |
||
| 31 | 'required' => false, |
||
| 32 | 'info' => 'Alíquota do ISSQN', |
||
| 33 | 'format' => '6v2' |
||
| 34 | ], |
||
| 35 | 'VL_ISSQN' => [ |
||
| 36 | 'type' => 'numeric', |
||
| 37 | 'regex' => '^\d+(\.\d*)?|\.\d+$', |
||
| 38 | 'required' => false, |
||
| 39 | 'info' => 'Valor do ISSQN', |
||
| 40 | 'format' => '15v2' |
||
| 41 | ], |
||
| 42 | ]; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Constructor |
||
| 46 | * @param \stdClass $std |
||
| 47 | */ |
||
| 48 | public function __construct(\stdClass $std) |
||
| 53 | } |
||
| 54 |