@@ 7-21 (lines=15) @@ | ||
4 | ||
5 | use Luilliarcec\LaravelEcuadorIdentification\Support\BaseIdentification; |
|
6 | ||
7 | class PrivateRuc extends BaseIdentification |
|
8 | { |
|
9 | /** |
|
10 | * PrivateRuc constructor. |
|
11 | */ |
|
12 | public function __construct() |
|
13 | { |
|
14 | $this->lenght = 13; |
|
15 | $this->billingCode = '04'; |
|
16 | $this->coefficients = [4, 3, 2, 7, 6, 5, 4, 3, 2]; |
|
17 | $this->checkDigitPosition = 10; |
|
18 | $this->thirdDigit = 9; |
|
19 | $this->lastDigits = '001'; |
|
20 | } |
|
21 | } |
|
22 |
@@ 7-21 (lines=15) @@ | ||
4 | ||
5 | use Luilliarcec\LaravelEcuadorIdentification\Support\BaseIdentification; |
|
6 | ||
7 | class PublicRuc extends BaseIdentification |
|
8 | { |
|
9 | /** |
|
10 | * PublicRuc constructor. |
|
11 | */ |
|
12 | public function __construct() |
|
13 | { |
|
14 | $this->lenght = 13; |
|
15 | $this->billingCode = '04'; |
|
16 | $this->coefficients = [3, 2, 7, 6, 5, 4, 3, 2]; |
|
17 | $this->checkDigitPosition = 9; |
|
18 | $this->thirdDigit = 6; |
|
19 | $this->lastDigits = '0001'; |
|
20 | } |
|
21 | } |
|
22 |