genesis_ruby 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +42 -38
- data/README.md +305 -3
- data/VERSION +1 -1
- data/lib/genesis_ruby/api/constants/transactions/parameters/mobile/apple_pay/payment_subtypes.rb +29 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/mobile/google_pay/payment_subtypes.rb +29 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/mpi_protocol_sub_versions.rb +43 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_code_currencies.rb +128 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/bank_codes.rb +600 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/online_banking/payment_types.rb +36 -0
- data/lib/genesis_ruby/api/constants/transactions/parameters/travel_data/ancillary_charges_types.rb +43 -0
- data/lib/genesis_ruby/api/constants/transactions.rb +1 -5
- data/lib/genesis_ruby/api/mixins/requests/attribute_validation.rb +138 -4
- data/lib/genesis_ruby/api/mixins/requests/birth_date_attributes.rb +22 -0
- data/lib/genesis_ruby/api/mixins/requests/customer_address/customer_info_attributes.rb +1 -1
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/credit_card_attributes.rb +7 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/mpi_attributes.rb +14 -4
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_attributes.rb +23 -20
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/managed_recurring_indian_card_attributes.rb +19 -39
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/recurring/recurring_type_attributes.rb +15 -9
- data/lib/genesis_ruby/api/mixins/requests/financial/cards/tokenization_attributes.rb +9 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/mobile/apple_pay_token_attributes.rb +51 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/mobile/google_pay_token_attributes.rb +50 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/online_banking_payments/virtual_payment_address_attributes.rb +27 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/browser.rb +11 -22
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/card_holder_account.rb +81 -49
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/common_attributes.rb +23 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/control.rb +13 -26
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/merchant_risk.rb +21 -58
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/purchase.rb +8 -11
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/sdk.rb +10 -10
- data/lib/genesis_ruby/api/mixins/requests/financial/threeds/version2/wpf_attributes.rb +9 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/airline_itinerary_attributes.rb +166 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/car_rental_attributes.rb +119 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/hotel_rental_attributes.rb +77 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/reference_ticket_attributes.rb +75 -0
- data/lib/genesis_ruby/api/mixins/requests/financial/travel_data/travel_attributes.rb +34 -0
- data/lib/genesis_ruby/api/request.rb +4 -2
- data/lib/genesis_ruby/api/requests/base/financials/credit_card.rb +6 -4
- data/lib/genesis_ruby/api/requests/base/reference.rb +3 -2
- data/lib/genesis_ruby/api/requests/financial/capture.rb +3 -1
- data/lib/genesis_ruby/api/requests/financial/cards/authorize.rb +13 -3
- data/lib/genesis_ruby/api/requests/financial/cards/authorize3d.rb +22 -11
- data/lib/genesis_ruby/api/requests/financial/cards/sale.rb +13 -3
- data/lib/genesis_ruby/api/requests/financial/cards/sale3d.rb +22 -11
- data/lib/genesis_ruby/api/requests/financial/cards/threeds/v2/method_continue.rb +2 -2
- data/lib/genesis_ruby/api/requests/financial/mobile/apple_pay.rb +91 -0
- data/lib/genesis_ruby/api/requests/financial/mobile/google_pay.rb +108 -0
- data/lib/genesis_ruby/api/requests/financial/online_banking_payments/online_banking/pay_in.rb +157 -0
- data/lib/genesis_ruby/api/requests/financial/void.rb +2 -2
- data/lib/genesis_ruby/api/requests/non_financial/reconcile/date_range.rb +2 -2
- data/lib/genesis_ruby/api/requests/wpf/create.rb +11 -15
- data/lib/genesis_ruby/api/requests/wpf/reconcile.rb +2 -2
- data/lib/genesis_ruby/builders/xml.rb +6 -0
- data/lib/genesis_ruby/utils/common.rb +26 -0
- data/lib/genesis_ruby/utils/transactions/financial_types.rb +1 -1
- data/lib/genesis_ruby/utils/transactions/references/refundable_types.rb +1 -1
- data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/base.rb +33 -0
- data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/leg.rb +97 -0
- data/lib/genesis_ruby/utils/transactions/travel_data/airline_itinerary/tax.rb +42 -0
- data/lib/genesis_ruby/utils/transactions/wpf_types.rb +1 -1
- data/lib/genesis_ruby/version.rb +1 -1
- metadata +24 -2
@@ -0,0 +1,600 @@
|
|
1
|
+
module GenesisRuby
|
2
|
+
module Api
|
3
|
+
module Constants
|
4
|
+
module Transactions
|
5
|
+
module Parameters
|
6
|
+
module OnlineBanking
|
7
|
+
# Bank Codes allowed values
|
8
|
+
class BankCodes # rubocop:disable Metrics/ClassLength
|
9
|
+
|
10
|
+
extend Api::Mixins::Constants::Common
|
11
|
+
|
12
|
+
# Aditya Birla Idea Payments Bank
|
13
|
+
ABPB = 'ABPB'.freeze
|
14
|
+
|
15
|
+
# Airtel Payments Bank
|
16
|
+
AIRP = 'AIRP'.freeze
|
17
|
+
|
18
|
+
# Allahabad Bank
|
19
|
+
ALLA = 'ALLA'.freeze
|
20
|
+
|
21
|
+
# Andhra Bank
|
22
|
+
ANDB = 'ANDB'.freeze
|
23
|
+
|
24
|
+
# Bank of Baroda - Retail Banking
|
25
|
+
BARB_R = 'BARB_R'.freeze
|
26
|
+
|
27
|
+
# Bank of Bahrein and Kuwait
|
28
|
+
BBKM = 'BBKM'.freeze
|
29
|
+
|
30
|
+
# Dena Bank
|
31
|
+
BKDN = 'BKDN'.freeze
|
32
|
+
|
33
|
+
# Bank of India
|
34
|
+
BKID = 'BKID'.freeze
|
35
|
+
|
36
|
+
# Central Bank of India
|
37
|
+
CBIN = 'CBIN'.freeze
|
38
|
+
|
39
|
+
# City Union Bank
|
40
|
+
CIUB = 'CIUB'.freeze
|
41
|
+
|
42
|
+
# Canara Bank
|
43
|
+
CNRB = 'CNRB'.freeze
|
44
|
+
|
45
|
+
# Corporation Bank
|
46
|
+
CORP = 'CORP'.freeze
|
47
|
+
|
48
|
+
# Cosmos Co-operative Bank
|
49
|
+
COSB = 'COSB'.freeze
|
50
|
+
|
51
|
+
# Catholic Syrian Bank
|
52
|
+
CSBK = 'CSBK'.freeze
|
53
|
+
|
54
|
+
# Development Bank of Singapore
|
55
|
+
DBSS = 'DBSS'.freeze
|
56
|
+
|
57
|
+
# DCB Bank
|
58
|
+
DCBL = 'DCBL'.freeze
|
59
|
+
|
60
|
+
# Deutsche Bank
|
61
|
+
DEUT = 'DEUT'.freeze
|
62
|
+
|
63
|
+
# Dhanlaxmi Bank
|
64
|
+
DLXB = 'DLXB'.freeze
|
65
|
+
|
66
|
+
# Equitas Small Finance Bank
|
67
|
+
ESFB = 'ESFB'.freeze
|
68
|
+
|
69
|
+
# Federal Bank
|
70
|
+
FDRL = 'FDRL'.freeze
|
71
|
+
|
72
|
+
# HDFC Bank
|
73
|
+
HDFC = 'HDFC'.freeze
|
74
|
+
|
75
|
+
# IDBI
|
76
|
+
IBKL = 'IBKL'.freeze
|
77
|
+
|
78
|
+
# ICICI Bank
|
79
|
+
ICIC = 'ICIC'.freeze
|
80
|
+
|
81
|
+
# IDFC FIRST Bank
|
82
|
+
IDFB = 'IDFB'.freeze
|
83
|
+
|
84
|
+
# Indian Bank
|
85
|
+
IDIB = 'IDIB'.freeze
|
86
|
+
|
87
|
+
# Indusind Bank
|
88
|
+
INDB = 'INDB'.freeze
|
89
|
+
|
90
|
+
# Indian Overseas Bank
|
91
|
+
IOBA = 'IOBA'.freeze
|
92
|
+
|
93
|
+
# Jammu and Kashmir Bank
|
94
|
+
JAKA = 'JAKA'.freeze
|
95
|
+
|
96
|
+
# Janata Sahakari Bank (Pune)
|
97
|
+
JSBP = 'JSBP'.freeze
|
98
|
+
|
99
|
+
# Karnataka Bank
|
100
|
+
KARB = 'KARB'.freeze
|
101
|
+
|
102
|
+
# Kotak Mahindra Bank
|
103
|
+
KKBK = 'KKBK'.freeze
|
104
|
+
|
105
|
+
# Karur Vysya Bank
|
106
|
+
KVBL = 'KVBL'.freeze
|
107
|
+
|
108
|
+
# Lakshmi Vilas Bank - Corporate Banking
|
109
|
+
LAVB_C = 'LAVB_C'.freeze
|
110
|
+
|
111
|
+
# Lakshmi Vilas Bank - Retail Banking
|
112
|
+
LAVB_R = 'LAVB_R'.freeze
|
113
|
+
|
114
|
+
# Bank of Maharashtra
|
115
|
+
MAHB = 'MAHB'.freeze
|
116
|
+
|
117
|
+
# NKGSB Co-operative Bank
|
118
|
+
NKGS = 'NKGS'.freeze
|
119
|
+
|
120
|
+
# Oriental Bank of Commerce
|
121
|
+
ORBC = 'ORBC'.freeze
|
122
|
+
|
123
|
+
# Punjab & Maharashtra Co-operative Bank
|
124
|
+
PMCB = 'PMCB'.freeze
|
125
|
+
|
126
|
+
# Punjab & Sind Bank
|
127
|
+
PSIB = 'PSIB'.freeze
|
128
|
+
|
129
|
+
# Punjab National Bank - Retail Banking
|
130
|
+
PUNB_R = 'PUNB_R'.freeze
|
131
|
+
|
132
|
+
# RBL Bank
|
133
|
+
RATN = 'RATN'.freeze
|
134
|
+
|
135
|
+
# State Bank of Bikaner and Jaipur
|
136
|
+
SBBJ = 'SBBJ'.freeze
|
137
|
+
|
138
|
+
# State Bank of Hyderabad
|
139
|
+
SBHY = 'SBHY'.freeze
|
140
|
+
|
141
|
+
# State Bank of India
|
142
|
+
SBIN = 'SBIN'.freeze
|
143
|
+
|
144
|
+
# State Bank of Mysore
|
145
|
+
SBMY = 'SBMY'.freeze
|
146
|
+
|
147
|
+
# State Bank of Travancore
|
148
|
+
SBTR = 'SBTR'.freeze
|
149
|
+
|
150
|
+
# Standard Chartered Bank
|
151
|
+
SCBL = 'SCBL'.freeze
|
152
|
+
|
153
|
+
# South Indian Bank
|
154
|
+
SIBL = 'SIBL'.freeze
|
155
|
+
|
156
|
+
# State Bank of Patiala
|
157
|
+
STBP = 'STBP'.freeze
|
158
|
+
|
159
|
+
# Shamrao Vithal Co-operative Bank
|
160
|
+
SVCB = 'SVCB'.freeze
|
161
|
+
|
162
|
+
# Syndicate Bank
|
163
|
+
SYNB = 'SYNB'.freeze
|
164
|
+
|
165
|
+
# Tamilnadu Mercantile Bank
|
166
|
+
TMBL = 'TMBL'.freeze
|
167
|
+
|
168
|
+
# Tamilnadu State Apex Co-operative Bank
|
169
|
+
TNSC = 'TNSC'.freeze
|
170
|
+
|
171
|
+
# Union Bank of India
|
172
|
+
UBIN = 'UBIN'.freeze
|
173
|
+
|
174
|
+
# UCO Bank
|
175
|
+
UCBA = 'UCBA'.freeze
|
176
|
+
|
177
|
+
# United Bank of India
|
178
|
+
UTBI = 'UTBI'.freeze
|
179
|
+
|
180
|
+
# Axis Bank
|
181
|
+
UTIB = 'UTIB'.freeze
|
182
|
+
|
183
|
+
# Vijaya Bank
|
184
|
+
VIJB = 'VIJB'.freeze
|
185
|
+
|
186
|
+
# Yes Bank
|
187
|
+
YESB = 'YESB'.freeze
|
188
|
+
|
189
|
+
# Santander
|
190
|
+
SN = 'SN'.freeze
|
191
|
+
|
192
|
+
# Itau
|
193
|
+
IT = 'IT'.freeze
|
194
|
+
|
195
|
+
# Bradesco
|
196
|
+
BR = 'BR'.freeze
|
197
|
+
|
198
|
+
# Banco do Brasil
|
199
|
+
BB = 'BB'.freeze
|
200
|
+
|
201
|
+
# Webpay
|
202
|
+
WP = 'WP'.freeze
|
203
|
+
|
204
|
+
# Bancomer
|
205
|
+
BN = 'BN'.freeze
|
206
|
+
|
207
|
+
# Bancontact
|
208
|
+
BCT = 'BCT'.freeze
|
209
|
+
|
210
|
+
# PSE
|
211
|
+
PS = 'PS'.freeze
|
212
|
+
|
213
|
+
# Banco de Occidente
|
214
|
+
BO = 'BO'.freeze
|
215
|
+
|
216
|
+
# Industrial and Commercial Bank of China
|
217
|
+
ICBC = 'ICBC'.freeze
|
218
|
+
|
219
|
+
# China Merchants Bank
|
220
|
+
CMBCHINA = 'CMBCHINA'.freeze
|
221
|
+
|
222
|
+
# Agricultural Bank of China
|
223
|
+
ABC = 'ABC'.freeze
|
224
|
+
|
225
|
+
# China Construction Bank
|
226
|
+
CCB = 'CCB'.freeze
|
227
|
+
|
228
|
+
# Bank of Beijing
|
229
|
+
BCCB = 'BCCB'.freeze
|
230
|
+
|
231
|
+
# Bank of Communications
|
232
|
+
BOCO = 'BOCO'.freeze
|
233
|
+
|
234
|
+
# Industrial Bank
|
235
|
+
CIB = 'CIB'.freeze
|
236
|
+
|
237
|
+
# Bank of Nanjing
|
238
|
+
NJCB = 'NJCB'.freeze
|
239
|
+
|
240
|
+
# China Minsheng Banking Corp Ltd
|
241
|
+
CMBC = 'CMBC'.freeze
|
242
|
+
|
243
|
+
# China Everbright Bank
|
244
|
+
CEB = 'CEB'.freeze
|
245
|
+
|
246
|
+
# Bank of China
|
247
|
+
BOC = 'BOC'.freeze
|
248
|
+
|
249
|
+
# Ping An Bank
|
250
|
+
PINGANBANK = 'PINGANBANK'.freeze
|
251
|
+
|
252
|
+
# Bank of East Asia
|
253
|
+
HKBEA = 'HKBEA'.freeze
|
254
|
+
|
255
|
+
# Bank of Ningbo
|
256
|
+
NBCB = 'NBCB'.freeze
|
257
|
+
|
258
|
+
# China Citic Bank
|
259
|
+
ECITIC = 'ECITIC'.freeze
|
260
|
+
|
261
|
+
# Shenzhen Development Bank
|
262
|
+
SDB = 'SDB'.freeze
|
263
|
+
|
264
|
+
# Guangdong Development Bank
|
265
|
+
GDB = 'GDB'.freeze
|
266
|
+
|
267
|
+
# Bank of Shanghai
|
268
|
+
SHB = 'SHB'.freeze
|
269
|
+
|
270
|
+
# Shanghai Pudong Development Bank
|
271
|
+
SPDB = 'SPDB'.freeze
|
272
|
+
|
273
|
+
# China Post
|
274
|
+
POST = 'POST'.freeze
|
275
|
+
|
276
|
+
# BEIJING RURAL COMMERCIAL BANK
|
277
|
+
BJRCB = 'BJRCB'.freeze
|
278
|
+
|
279
|
+
# Hua Xia Bank Co Ltd'
|
280
|
+
HXB = 'HXB'.freeze
|
281
|
+
|
282
|
+
# Bank of Hangzhou
|
283
|
+
HZBANK = 'HZBANK'.freeze
|
284
|
+
|
285
|
+
# Shanghai Rural Commercial Bank
|
286
|
+
SRCB = 'SRCB'.freeze
|
287
|
+
|
288
|
+
# DirectDebit
|
289
|
+
DB = 'DB'.freeze
|
290
|
+
|
291
|
+
# Caixa
|
292
|
+
CA = 'CA'.freeze
|
293
|
+
|
294
|
+
# Interac Combined Pay-in
|
295
|
+
CPI = 'CPI'.freeze
|
296
|
+
|
297
|
+
# Servipag
|
298
|
+
SP = 'SP'.freeze
|
299
|
+
|
300
|
+
# Bank of Beijing
|
301
|
+
BOB = 'BOB'.freeze
|
302
|
+
|
303
|
+
# Bank for economic construction
|
304
|
+
CCD = 'CCD'.freeze
|
305
|
+
|
306
|
+
# China Merchants Bank
|
307
|
+
CMB = 'CMB'.freeze
|
308
|
+
|
309
|
+
# China Citic Bank
|
310
|
+
CITIC = 'CITIC'.freeze
|
311
|
+
|
312
|
+
# China Postal Savings Bank
|
313
|
+
PSBC = 'PSBC'.freeze
|
314
|
+
|
315
|
+
# China Union Pay
|
316
|
+
QUICKPAY = 'QUICKPAY'.freeze
|
317
|
+
|
318
|
+
# Shengzhen Ping An Bank
|
319
|
+
SPABANK = 'SPABANK'.freeze
|
320
|
+
|
321
|
+
# Yinlian Bank
|
322
|
+
YLB = 'YLB'.freeze
|
323
|
+
|
324
|
+
# Bancolombia
|
325
|
+
PC = 'PC'.freeze
|
326
|
+
|
327
|
+
# Bank Central Asia
|
328
|
+
DK_BCA_IB = 'DK_BCA_IB'.freeze
|
329
|
+
|
330
|
+
# Bank Rakyat Indonesia
|
331
|
+
DK_BRI_IB = 'DK_BRI_IB'.freeze
|
332
|
+
|
333
|
+
# BTN Bank
|
334
|
+
BTN_IDR = 'BTN_IDR'.freeze
|
335
|
+
|
336
|
+
# CIMB Clicks Indonesia
|
337
|
+
DK_CIMBCLICKS_IB = 'DK_CIMBCLICKS_IB'.freeze
|
338
|
+
|
339
|
+
# Danamon Bank
|
340
|
+
DK_DANAMON_IB = 'DK_DANAMON_IB'.freeze
|
341
|
+
|
342
|
+
# Mandiri Bank
|
343
|
+
MDR_IDR = 'MDR_IDR'.freeze
|
344
|
+
|
345
|
+
# Permata Bank
|
346
|
+
DK_PERMATANET_IB = 'DK_PERMATANET_IB'.freeze
|
347
|
+
|
348
|
+
# Virtual Account Bank
|
349
|
+
VA = 'VA'.freeze
|
350
|
+
|
351
|
+
# Netbanking
|
352
|
+
NB = 'NB'.freeze
|
353
|
+
|
354
|
+
# UPI
|
355
|
+
UI = 'UI'.freeze
|
356
|
+
|
357
|
+
# Spei
|
358
|
+
SE = 'SE'.freeze
|
359
|
+
|
360
|
+
# Banorte
|
361
|
+
BQ = 'BQ'.freeze
|
362
|
+
|
363
|
+
# 7-eleven stores
|
364
|
+
CASH_711 = 'CASH-711'.freeze
|
365
|
+
|
366
|
+
# Affin Bank
|
367
|
+
FPX_ABB = 'FPX_ABB'.freeze
|
368
|
+
AFFIN_EPG = 'AFFIN-EPG'.freeze
|
369
|
+
|
370
|
+
# Alliance Bank
|
371
|
+
FPX_ABMB = 'FPX_ABMB'.freeze
|
372
|
+
|
373
|
+
# Am Online
|
374
|
+
FPX_AMB = 'FPX_AMB'.freeze
|
375
|
+
AMB_W2W = 'AMB-W2W'.freeze
|
376
|
+
|
377
|
+
# Bank Islam
|
378
|
+
FPX_BIMB = 'FPX_BIMB'.freeze
|
379
|
+
BANKISLAM = 'BANKISLAM'.freeze
|
380
|
+
|
381
|
+
# Bank Muamalat
|
382
|
+
FPX_BMMB = 'FPX_BMMB'.freeze
|
383
|
+
|
384
|
+
# Bank Rakyat
|
385
|
+
FPX_BKRM = 'FPX_BKRM'.freeze
|
386
|
+
|
387
|
+
# Bank Simpanan Nasional
|
388
|
+
FPX_BSN = 'FPX_BSN'.freeze
|
389
|
+
|
390
|
+
# CIMB Clicks Bank
|
391
|
+
CIMB_MYR = 'CIMB_MYR'.freeze
|
392
|
+
FPX_CIMBCLICKS = 'FPX_CIMBCLICKS'.freeze
|
393
|
+
CIMB_CLICKS = 'CIMB-CLICKS'.freeze
|
394
|
+
|
395
|
+
# FPX
|
396
|
+
FPX = 'FPX'.freeze
|
397
|
+
|
398
|
+
# HLB Connect
|
399
|
+
FPX_HLB = 'FPX_HLB'.freeze
|
400
|
+
HLB_ONL = 'HLB-ONL'.freeze
|
401
|
+
|
402
|
+
# Hong Leong Bank
|
403
|
+
HLE_MYR = 'HLE_MYR'.freeze
|
404
|
+
|
405
|
+
# jmpay
|
406
|
+
JOMPAY_PHP = 'jompay.php'.freeze
|
407
|
+
|
408
|
+
# Kuwait Finance House
|
409
|
+
FPX_KFH = 'FPX_KFH'.freeze
|
410
|
+
|
411
|
+
# May Bank
|
412
|
+
MAY_MYR = 'MAY_MYR'.freeze
|
413
|
+
|
414
|
+
# Maybank2u
|
415
|
+
FPX_MB2U = 'FPX_MB2U'.freeze
|
416
|
+
MB2U = 'MB2U'.freeze
|
417
|
+
|
418
|
+
# OCBC Bank
|
419
|
+
FPX_OCBC = 'FPX_OCBC'.freeze
|
420
|
+
|
421
|
+
# PBeBank
|
422
|
+
FPX_PBB = 'FPX_PBB'.freeze
|
423
|
+
PUBLICKBANK = 'PUBLICKBANK'.freeze
|
424
|
+
|
425
|
+
# Public Bank
|
426
|
+
PBE_MYR = 'PBE_MYR'.freeze
|
427
|
+
|
428
|
+
# RHB Bank
|
429
|
+
RHB_MYR = 'RHB_MYR'.freeze
|
430
|
+
|
431
|
+
# RHB Now
|
432
|
+
FPX_RHB = 'FPX_RHB'.freeze
|
433
|
+
RHB_ONL = 'RHB-ONL'.freeze
|
434
|
+
|
435
|
+
# Stand Chart Bank
|
436
|
+
FPX_SCB = 'FPX_SCB'.freeze
|
437
|
+
|
438
|
+
# UOB Bank
|
439
|
+
FPX_UOB = 'FPX_UOB'.freeze
|
440
|
+
|
441
|
+
# BCP
|
442
|
+
BC = 'BC'.freeze
|
443
|
+
|
444
|
+
# Interbank
|
445
|
+
IB = 'IB'.freeze
|
446
|
+
|
447
|
+
# Pago Efectivo
|
448
|
+
EF = 'EF'.freeze
|
449
|
+
|
450
|
+
# BBVA
|
451
|
+
BP = 'BP'.freeze
|
452
|
+
|
453
|
+
# PagoExpress
|
454
|
+
PE = 'PE'.freeze
|
455
|
+
|
456
|
+
# Post Finance
|
457
|
+
PF = 'PF'.freeze
|
458
|
+
|
459
|
+
# Bangkok Bank
|
460
|
+
BBL_IB_U = 'BBL_IB_U'.freeze
|
461
|
+
|
462
|
+
# Kasikornbank PAYPLUS
|
463
|
+
KBANK_PAYPLUS = 'KBANK_PAYPLUS'.freeze
|
464
|
+
|
465
|
+
# Bank of Ayudhya (Krungsri)
|
466
|
+
BAY_IB_U = 'BAY_IB_U'.freeze
|
467
|
+
|
468
|
+
# Krung Thai Bank
|
469
|
+
KTB_IB_U = 'KTB_IB_U'.freeze
|
470
|
+
|
471
|
+
# Siam Commercial Bank
|
472
|
+
SCB_IB_U = 'SCB_IB_U'.freeze
|
473
|
+
|
474
|
+
# Abitab
|
475
|
+
AI = 'AI'.freeze
|
476
|
+
|
477
|
+
# Dragonpay
|
478
|
+
DRAGONPAY = 'DRAGONPAY'.freeze
|
479
|
+
|
480
|
+
# SG eNETS
|
481
|
+
ENETS_D = 'ENETS-D'.freeze
|
482
|
+
|
483
|
+
# singpost
|
484
|
+
SINGPOST_PHP = 'singpost.php'.freeze
|
485
|
+
|
486
|
+
# VTC-Pay VPBank
|
487
|
+
VTCP_VPBANK = 'VTCP_VPBANK'.freeze
|
488
|
+
|
489
|
+
# VTC-Pay ABBANK
|
490
|
+
VTCP_ABBANK = 'VTCP_ABBANK'.freeze
|
491
|
+
|
492
|
+
# VTC-Pay ACB
|
493
|
+
VTCP_ACB = 'VTCP_ACB'.freeze
|
494
|
+
|
495
|
+
# VTC-Pay Agribank
|
496
|
+
VTCP_AGRIBANK = 'VTCP_AGRIBANK'.freeze
|
497
|
+
|
498
|
+
# VTC-Pay BACABANK
|
499
|
+
VTCP_BACABANK = 'VTCP_BACABANK'.freeze
|
500
|
+
|
501
|
+
# VTC-Pay BIDV
|
502
|
+
VTCP_BIDV = 'VTCP_BIDV'.freeze
|
503
|
+
|
504
|
+
# VTC-Pay BVB
|
505
|
+
VTCP_BVB = 'VTCP_BVB'.freeze
|
506
|
+
|
507
|
+
# VTC-Pay DongABank
|
508
|
+
VTCP_DONGABANK = 'VTCP_DONGABANK'.freeze
|
509
|
+
|
510
|
+
# VTC-Pay Eximbank
|
511
|
+
VTCP_EXIMBANK = 'VTCP_EXIMBANK'.freeze
|
512
|
+
|
513
|
+
# VTC-Pay GPBank
|
514
|
+
VTCP_GPBANK = 'VTCP_GPBANK'.freeze
|
515
|
+
|
516
|
+
# VTC-Pay HDBank
|
517
|
+
VTCP_HDBANK = 'VTCP_HDBANK'.freeze
|
518
|
+
|
519
|
+
# VTC-Pay LienVietPostBank
|
520
|
+
VTCP_LVPB = 'VTCP_LVPB'.freeze
|
521
|
+
|
522
|
+
# VTC-Pay MB
|
523
|
+
VTCP_MB = 'VTCP_MB'.freeze
|
524
|
+
|
525
|
+
# VTC-Pay MaritimeBank
|
526
|
+
VTCP_MARITIMEBANK = 'VTCP_MARITIMEBANK'.freeze
|
527
|
+
|
528
|
+
# VTC-Pay NamABank
|
529
|
+
VTCP_NAMABANK = 'VTCP_NAMABANK'.freeze
|
530
|
+
|
531
|
+
# VTC-Pay Navibank
|
532
|
+
VTCP_NAVIBANK = 'VTCP_NAVIBANK'.freeze
|
533
|
+
|
534
|
+
# VTC-Pay Oceanbank
|
535
|
+
VTCP_OCEANBANK = 'VTCP_OCEANBANK'.freeze
|
536
|
+
|
537
|
+
# VTC-Pay PGBank
|
538
|
+
VTCP_PGBANK = 'VTCP_PGBANK'.freeze
|
539
|
+
|
540
|
+
# VTC-Pay PHUONGDONG
|
541
|
+
VTCP_PHUONGDONG = 'VTCP_PHUONGDONG'.freeze
|
542
|
+
|
543
|
+
# VTC-Pay SHB
|
544
|
+
VTCP_SHB = 'VTCP_SHB'.freeze
|
545
|
+
|
546
|
+
# VTC-Pay Sacombank
|
547
|
+
VTCP_SACOMBANK = 'VTCP_SACOMBANK'.freeze
|
548
|
+
|
549
|
+
# VTC-Pay SaigonBank
|
550
|
+
VTCP_SAIGONBANK = 'VTCP-SAIGONBANK'.freeze
|
551
|
+
|
552
|
+
# VTC-Pay SeaABank
|
553
|
+
VTCP_SEAABANK = 'VTCP_SEAABANK'.freeze
|
554
|
+
|
555
|
+
# VTC-Pay Techcombank
|
556
|
+
VTCP_TECHCOMBANK = 'VTCP_TECHCOMBANK'.freeze
|
557
|
+
|
558
|
+
# VTC-Pay TienPhong Bank
|
559
|
+
VTCP_TIENPHONGBANK = 'VTCP_TIENPHONGBANK'.freeze
|
560
|
+
|
561
|
+
# VTC-Pay VIB
|
562
|
+
VTCP_VIB = 'VTCP_VIB'.freeze
|
563
|
+
|
564
|
+
# VTC-Pay VietABank
|
565
|
+
VTCP_VIETABANK = 'VTCP_VIETABANK'.freeze
|
566
|
+
|
567
|
+
# VTC-Pay Vietcombank
|
568
|
+
VTCP_VIETCOMBANK = 'VTCP_VIETCOMBANK'.freeze
|
569
|
+
|
570
|
+
# VTC-Pay Vietinbank
|
571
|
+
VTCP_VIETINBANK = 'VTCP_VIETINBANK'.freeze
|
572
|
+
|
573
|
+
# DBS
|
574
|
+
DBS = 'ENETS-D_DBS'.freeze
|
575
|
+
|
576
|
+
# UOB
|
577
|
+
UOB = 'ENETS-D_UOB'.freeze
|
578
|
+
|
579
|
+
# OCBC
|
580
|
+
OCBC = 'ENETS-D_OCBC'.freeze
|
581
|
+
|
582
|
+
# SCB
|
583
|
+
SCB = 'ENETS-D_SCB'.freeze
|
584
|
+
|
585
|
+
# BL
|
586
|
+
BLK = 'BLK'.freeze
|
587
|
+
|
588
|
+
# TrueLayer
|
589
|
+
TRL = 'TRL'.freeze
|
590
|
+
|
591
|
+
# Latipay
|
592
|
+
PID = 'PID'.freeze
|
593
|
+
|
594
|
+
end
|
595
|
+
end
|
596
|
+
end
|
597
|
+
end
|
598
|
+
end
|
599
|
+
end
|
600
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module GenesisRuby
|
2
|
+
module Api
|
3
|
+
module Constants
|
4
|
+
module Transactions
|
5
|
+
module Parameters
|
6
|
+
module OnlineBanking
|
7
|
+
# Payment Types allowed values
|
8
|
+
class PaymentTypes
|
9
|
+
|
10
|
+
extend Api::Mixins::Constants::Common
|
11
|
+
|
12
|
+
# Payment Type Online Banking
|
13
|
+
ONLINE_BANKING = 'online_banking'.freeze
|
14
|
+
|
15
|
+
# Payment Type QR Payment
|
16
|
+
QR_PAYMENT = 'qr_payment'.freeze
|
17
|
+
|
18
|
+
# Payment Type Quick Payment
|
19
|
+
QUICK_PAYMENT = 'quick_payment'.freeze
|
20
|
+
|
21
|
+
# Payment Type Netbankig
|
22
|
+
NETBANKING = 'netbanking'.freeze
|
23
|
+
|
24
|
+
# Payment Alipay QR
|
25
|
+
ALIPAY_QR = 'alipay_qr'.freeze
|
26
|
+
|
27
|
+
# Payment Scotia Bank
|
28
|
+
SCOTIABANK = 'scotiabank'.freeze
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
data/lib/genesis_ruby/api/constants/transactions/parameters/travel_data/ancillary_charges_types.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
module GenesisRuby
|
2
|
+
module Api
|
3
|
+
module Constants
|
4
|
+
module Transactions
|
5
|
+
module Parameters
|
6
|
+
module TravelData
|
7
|
+
# Ancillary Charges Types
|
8
|
+
# Identify the Service Category Code for the primary type of service that has been provided
|
9
|
+
class AncillaryChargesTypes
|
10
|
+
|
11
|
+
extend Mixins::Constants::Common
|
12
|
+
|
13
|
+
BF = 'BF'.freeze
|
14
|
+
BG = 'BG'.freeze
|
15
|
+
CF = 'CF'.freeze
|
16
|
+
CG = 'CG'.freeze
|
17
|
+
CO = 'CO'.freeze
|
18
|
+
FF = 'FF'.freeze
|
19
|
+
GF = 'GF'.freeze
|
20
|
+
GT = 'GT'.freeze
|
21
|
+
IE = 'IE'.freeze
|
22
|
+
LG = 'LG'.freeze
|
23
|
+
MD = 'MD'.freeze
|
24
|
+
ML = 'ML'.freeze
|
25
|
+
OT = 'OT'.freeze
|
26
|
+
PA = 'PA'.freeze
|
27
|
+
PT = 'PT'.freeze
|
28
|
+
SA = 'SA'.freeze
|
29
|
+
SB = 'SB'.freeze
|
30
|
+
SF = 'SF'.freeze
|
31
|
+
ST = 'ST'.freeze
|
32
|
+
TS = 'TS'.freeze
|
33
|
+
UN = 'UN'.freeze
|
34
|
+
UP = 'UP'.freeze
|
35
|
+
WI = 'WI'.freeze
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -115,10 +115,6 @@ module GenesisRuby
|
|
115
115
|
# They can also be refunded.
|
116
116
|
FASHIONCHEQUE = 'fashioncheque'.freeze
|
117
117
|
|
118
|
-
# GiroPay
|
119
|
-
# Direct PPRO transaction
|
120
|
-
GIROPAY = 'giropay'.freeze
|
121
|
-
|
122
118
|
# Google Pay allows shoppers to purchase with credit and debit cards linked to their Google account.
|
123
119
|
GOOGLE_PAY = 'google_pay'.freeze
|
124
120
|
|
@@ -260,7 +256,7 @@ module GenesisRuby
|
|
260
256
|
# PostFinance is an online banking provider in Switzerland
|
261
257
|
POST_FINANCE = 'post_finance'.freeze
|
262
258
|
|
263
|
-
# Supports payments via EPS, SafetyPay, TrustPay, ELV, Przelewy24
|
259
|
+
# Supports payments via EPS, SafetyPay, TrustPay, ELV, Przelewy24
|
264
260
|
PPRO = 'ppro'.freeze
|
265
261
|
|
266
262
|
# PSE (Pagos Seguros en Linea) is the preferred alternative payment solution in Colombia.
|