-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmodels.js
More file actions
59 lines (48 loc) · 1.1 KB
/
models.js
File metadata and controls
59 lines (48 loc) · 1.1 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
const Languages = {
EN: 'en',
AR: 'ar',
};
const PaymentTypes = {
ALL: 'PaymentType.ALL',
CARD: 'PaymentType.CARD',
WEB: 'PaymentType.WEB',
APPLE_PAY: 'PaymentType.APPLE_PAY'
}
const AllowedCadTypes = {
CREDIT: 'CREDIT',
DEBIT: 'DEBIT',
ALL: 'ALL'
}
const UiDisplayModes = {
FOLLOW_DEVICE: 'FOLLOW_DEVICE',
LIGHT: 'LIGHT',
DARK: 'DARK'
}
const TrxMode = {
PURCHASE: 'TransactionMode.PURCHASE',
AUTHORIZE_CAPTURE: 'TransactionMode.AUTHORIZE_CAPTURE',
SAVE_CARD: 'TransactionMode.SAVE_CARD',
TOKENIZE_CARD: 'TransactionMode.TOKENIZE_CARD'
}
const SDKMode = {
Sandbox: 'SDKMode.Sandbox',
Production: 'SDKMode.Production'
}
const Listener = {
paymentInit: 'paymentInit',
applePayCancelled: 'applePayCancelled',
}
const SDKAppearanceMode = {
Fullscreen: 1,
Windowed: 0,
}
module.exports = {
Languages: Languages,
PaymentTypes: PaymentTypes,
AllowedCadTypes: AllowedCadTypes,
TrxMode: TrxMode,
SDKMode: SDKMode,
UiDisplayModes: UiDisplayModes,
Listener: Listener,
SDKAppearanceMode: SDKAppearanceMode
}