Payment.php
7.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<?php
namespace Faker\Provider\ne_NP;
class Payment extends \Faker\Provider\Payment
{
/**
* List of commercial banks sorted in alphabetical order.
*
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal
*
* @var string[]
*/
protected static $commercialBanks = [
'Agricultural Development Bank',
'Bank Of Kathmandu',
'Century Commercial Bank',
'Citizens Bank International',
'Civil Bank',
'Everest Bank',
'Global IME Bank',
'Himalayan Bank',
'Kumari Bank',
'Laxmi Bank',
'Machhapuchchhre Bank',
'Mega Bank Nepal',
'Nabil Bank',
'Nepal Bangladesh Bank',
'Nepal Bank',
'Nepal Credit & Commerce Bank',
'Nepal Investment Bank',
'Nepal SBI Bank',
'NIC ASIA Bank',
'NMB Bank',
'Prabhu Bank',
'Prime Commercial Bank',
'Rastriya Banijya Bank',
'Sanima Bank',
'Siddhartha Bank',
'Standard Chartered Bank Nepal',
'Sunrise Bank',
];
/**
* List of development banks sorted in alphabetical order.
*
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal
*
* @var string[]
*/
protected static $developmentBanks = [
'Corporate Development Bank',
'Excel Development Bank',
'Garima Bikas Bank',
'Green Development Bank',
'Jyoti Bikas Bank',
'Kamana Sewa Bikash Bank',
'Karnali Development Bank',
'Lumbini Bikas Bank',
'Mahalaxmi Bikas Bank',
'Miteri Development Bank',
'Muktinath Bikas Bank',
'Narayani Development Bank',
'Nepal Infrastructure Bank',
'Sahara Bikas Bank',
'Salapa Bikas Bank',
'Saptakoshi Development Bank',
'Shangrila Development Bank',
'Shine Resunga Development Bank',
'Sindhu Bikas Bank',
];
/**
* List of finance companies sorted in alphabetical order.
*
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal
*
* @var string[]
*/
protected static $financeCompanies = [
'Best Finance Company',
'Capital Merchant Banking & Finance',
'Central Finance',
'Goodwill Finance Company',
'Guheshwori Merchant Banking & Finance',
'Gurkhas Finance',
'ICFC Finance',
'Janaki Finance Company',
'Manjushree Finance',
'Multipurpose Finance Company',
'Nepal Finance',
'Nepal Share Markets',
'Pokhara Finance',
'Progressive Finance',
'Reliance Finance',
'Samriddhi Finance Company',
'Shree Investment Finance Company',
];
/**
* List of microfinance companies sorted in alphabetical order.
*
* @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal
*
* @var string[]
*/
protected static $microFinances = [
'Aatmanirbhar',
'Adarsha',
'Adhikhola',
'Arambha Chautari',
'Asha',
'Aviyan',
'BPW',
'Buddha Jyoti',
'Chhimek',
'Civil',
'CYC Nepal',
'Deprosc',
'Deurali',
'Dhaulagiri',
'First Microfinance',
'Forward Microfinance',
'Ganapati',
'Ghodighoda',
'Global IME',
'Grameen Bikas',
'Gurans',
'Infinity',
'Jalpa Samudayik',
'Janautthan Samudayik',
'Jeevan Bikas',
'Kalika',
'Khaptad',
'Kisan',
'Laxmi',
'Mahila',
'Mahuli',
'Manakamana Smart',
'Manushi',
'Meromicrofinance',
'Mirmire',
'Mithila',
'NADEP',
'National Microfinance',
'Naya Sarathi',
'Nepal Sewa',
'Nerude',
'NESDO Samriddha',
'NIC Asia',
'Nirdhan Utthan',
'NMB',
'Rastra Utthan',
'RMDC',
'RSDC',
'Sabaiko',
'Sadhana',
'Samaj',
'Samata Gharelu',
'Samudayik',
'Sana Kisan Bikas',
'Shrijanshil',
'Summit',
'Super',
'Support',
'Suryodaya',
'Swabalamban',
'Swabhiman',
'Swastik',
'Sworojagar',
'Unique Nepal',
'Unnati Sahakarya',
'Upakar',
'Vijaya',
'WEAN',
'Womi',
];
/**
* List of digital wallets sorted in alphabetical order.
*
* @see https://www.nrb.org.np/bank-list/
*
* @var string[]
*/
protected static $digitalWallets = [
'CellPay',
'CG Pay',
'Chito Paisa',
'DigiPay',
'dPaisa',
'EnetPay',
'eSewa',
'Fonepay',
'GME Pay',
'iCash',
'IME Pay',
'Ipay',
'Khalti',
'Kurakani Pay',
'Lenden',
'Mobalet',
'MOCO',
'Mohar',
'Moru',
'N-Cash',
'Namaste Pay',
'PayTime',
'PayWell',
'PrabhuPAY',
'QPay',
'SajiloPay',
'WePay',
];
/**
* List of Swift Codes in alphabetical order.
*
* @see https://www.theswiftcodes.com/nepal/
*
* @var string[]
*/
protected static $swiftCodes = [
'ADBLNPKA',
'BOKLNPKA',
'CCBNNPKA',
'CIVLNPKA',
'CTZNNPKA',
'EVBLNPKA',
'GLBBNPKA',
'HIMANPKA',
'KMBLNPKA',
'LXBLNPKA',
'MBLNNPKA',
'MBNLNPKA',
'NARBNPKA',
'NBOCNPKA',
'NBOCNPKANRD',
'NEBLNPKA',
'NIBLNPKT',
'NICENPKA',
'NMBBNPKA',
'NPBBNPKA',
'NRBLNPKA',
'NRBLNPKAFED',
'NSBINPKA',
'NSBINPKA001',
'PCBLNPKA',
'PRVUNPKA',
'RBBANPKA',
'SCBLNPKA',
'SIDDNPKA',
'SNMANPKA',
'SRBLNPKA',
];
/**
* @example 'Agricultural Development Bank'
*/
public function commercialBank(): string
{
return static::randomElement(static::$commercialBanks);
}
/**
* @example 'Nepal Infrastructure Bank'
*/
public function developmentBank(): string
{
return static::randomElement(static::$developmentBanks);
}
/**
* @example 'Gurkhas Finance'
*/
public function financeCompany(): string
{
return static::randomElement(static::$financeCompanies);
}
/**
* @example 'Adarsha Laghubitta Bittiya Sanstha'
*/
public function microFinance(): string
{
$suffix = ' Laghubitta Bittiya Sanstha';
return static::randomElement(static::$microFinances) . $suffix;
}
/**
* @example 'Khalti'
*/
public function digitalWallet(): string
{
return static::randomElement(static::$digitalWallets);
}
/**
* @example 'ADBLNPKA'
*/
public function swiftCode(): string
{
return static::randomElement(static::$swiftCodes);
}
/**
* @example '00454689832792' or 'S49646367883667'
*/
public function bankAccountNumber(): string
{
$format = self::randomElement(['[A-Z][1-9]{8,19}', '[0]{2}[1-9]{7,18}']);
return static::regexify($format);
}
}