Address.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
Payment.php
56 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\el_CY; |
| 4 | |
| 5 | class Payment extends \Faker\Provider\Payment |
| 6 | { |
| 7 | /** |
| 8 | * International Bank Account Number (IBAN). |
| 9 | * |
| 10 | * @link http://en.wikipedia.org/wiki/International_Bank_Account_Number |
| 11 | * |
| 12 | * @param string $prefix for generating bank account number of a specific bank |
| 13 | * @param string $countryCode ISO 3166-1 alpha-2 country code |
| 14 | * @param int $length total length without country code and 2 check digits |
| 15 | * |
| 16 | * @return string |
| 17 | */ |
| 18 | public static function bankAccountNumber($prefix = '', $countryCode = 'CY', $length = null) |
| 19 | { |
| 20 | return static::iban($countryCode, $prefix, $length); |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * @var array Cyprus banks |
| 25 | * @link http://www.acb.com.cy/cgibin/hweb?-A=206&-V=membership |
| 26 | */ |
| 27 | protected static $banks = array( |
| 28 | 'Τράπεζα Κύπρο� |
| 29 | ', |
| 30 | 'Ελληνική Τράπεζα', |
| 31 | 'Alpha Bank Cyprus', |
| 32 | 'Εθνική Τράπεζα της Ελλάδος (Κύπρο� |
| 33 | )', |
| 34 | 'USB BANK', |
| 35 | 'Κ� |
| 36 | πριακή Τράπεζα Αναπτύξεως', |
| 37 | 'Societe Gererale Cyprus', |
| 38 | 'Τράπεζα Πειραιώς (Κύπρο� |
| 39 | )', |
| 40 | 'RCB Bank', |
| 41 | 'Eurobank Cyprus', |
| 42 | 'Σ� |
| 43 | νεργατική Κεντρική Τράπεζα', |
| 44 | 'Ancoria Bank', |
| 45 | ); |
| 46 | |
| 47 | /** |
| 48 | * @example 'Τράπεζα Κύπρο� |
| 49 | ' |
| 50 | */ |
| 51 | public static function bank() |
| 52 | { |
| 53 | return static::randomElement(static::$banks); |
| 54 | } |
| 55 | } |
| 56 |