| Total Complexity | 1 | 
| Total Lines | 45 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 13 | class BinResult | ||
| 14 | { | ||
| 15 | /** | ||
| 16 | * @var string Name of the scheme provider visa, mastercard | ||
| 17 | */ | ||
| 18 | public $scheme = ''; | ||
| 19 | /** | ||
| 20 | * @var string debit or credit | ||
| 21 | */ | ||
| 22 | public $type = ''; | ||
| 23 | /** | ||
| 24 | * @var string Brand of card | ||
| 25 | */ | ||
| 26 | public $brand = ''; | ||
| 27 | /** | ||
| 28 | * @var bool whether the card is prepaid or not | ||
| 29 | */ | ||
| 30 | public $prepaid = false; | ||
| 31 | /** | ||
| 32 | * @var BinCountry the country associated with the bin number | ||
| 33 | */ | ||
| 34 | public $country; | ||
| 35 | /** | ||
| 36 | * @var BinBank the bank associated with the bin number | ||
| 37 | */ | ||
| 38 | public $bank; | ||
| 39 | |||
| 40 | /** | ||
| 41 | * BinResult constructor. | ||
| 42 | * | ||
| 43 | * @param string $scheme | ||
| 44 | * @param string $type | ||
| 45 | * @param string $brand | ||
| 46 | * @param bool $prepaid | ||
| 47 | * @param BinCountry $country | ||
| 48 | * @param BinBank $bank | ||
| 49 | */ | ||
| 50 | 3 | public function __construct($scheme, $type, $brand, $prepaid, BinCountry $country, BinBank $bank) | |
| 60 |