Address.php
5 years ago
Color.php
5 years ago
Company.php
5 years ago
Internet.php
5 years ago
Payment.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Text.php
5 years ago
Payment.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\kk_KZ; |
| 4 | |
| 5 | class Payment extends \Faker\Provider\Payment |
| 6 | { |
| 7 | |
| 8 | protected static $banks = array( |
| 9 | 'Қазкоммерцбанк', |
| 10 | 'Халық Банкі', |
| 11 | ); |
| 12 | |
| 13 | /** |
| 14 | * @example 'Қазкоммерцбанк' |
| 15 | */ |
| 16 | public static function bank() |
| 17 | { |
| 18 | return static::randomElement(static::$banks); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * International Bank Account Number (IBAN) |
| 23 | * @link http://en.wikipedia.org/wiki/International_Bank_Account_Number |
| 24 | * @param string $prefix for generating bank account number of a specific bank |
| 25 | * @param string $countryCode ISO 3166-1 alpha-2 country code |
| 26 | * @param integer $length total length without country code and 2 check digits |
| 27 | * @return string |
| 28 | */ |
| 29 | public static function bankAccountNumber($prefix = '', $countryCode = 'KZ', $length = null) |
| 30 | { |
| 31 | return static::iban($countryCode, $prefix, $length); |
| 32 | } |
| 33 | } |
| 34 |