Skip to content

Commit 5bb7dc2

Browse files
Added new Enums (#281)
1 parent b7bf1dd commit 5bb7dc2

9 files changed

Lines changed: 87 additions & 43 deletions

src/main/java/io/craftgate/model/ApmAdditionalAction.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public enum ApmAdditionalAction {
77
SHOW_HTML_CONTENT,
88
WAIT_FOR_WEBHOOK,
99
APPROVAL_REQUIRED,
10+
VERIFY_REQUIRED,
1011
SHOW_QR_CODE,
1112
NONE
1213
}

src/main/java/io/craftgate/model/ApmType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
public enum ApmType {
44
// APM
5+
ALIPAY,
56
AFTERPAY,
67
CHIPPIN,
78
KASPI,
@@ -16,6 +17,8 @@ public enum ApmType {
1617
PAYPAL,
1718
STRIPE,
1819
TOMPAY,
20+
APPLEPAY,
21+
GOOGLEPAY,
1922
CASH_ON_DELIVERY,
2023
FUND_TRANSFER,
2124
INSTANT_TRANSFER,

src/main/java/io/craftgate/model/BnplCartItemType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public enum BnplCartItemType {
66
MOBILE_PHONE_PRICE_BELOW_REGULATION_LIMIT,
77
TABLET,
88
COMPUTER,
9+
TABLET_WITH_CAMPAIGN,
910
CONSTRUCTION_MARKET,
1011
GOLD,
1112
DIGITAL_PRODUCTS,

src/main/java/io/craftgate/model/PaymentAuthenticationType.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@ public enum PaymentAuthenticationType {
44

55
THREE_DS,
66
NON_THREE_DS,
7-
BKM_EXPRESS
7+
BKM_EXPRESS,
8+
THREE_DS_FALLBACK_TO_NON_THREE_DS,
9+
GOOGLEPAY,
10+
APPLEPAY,
11+
YKB_WORLD_PAY,
12+
YKB_WORLD_PAY_SHOPPING_LOAN,
13+
GARANTI_PAY,
14+
JUZDAN
815
}

src/main/java/io/craftgate/model/PaymentMethod.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,26 @@ public enum PaymentMethod {
1818
AFTERPAY,
1919
INSTANT_TRANSFER,
2020
STRIPE,
21+
HEPSIPAY,
22+
GARANTI_PAY,
23+
JUZDAN,
24+
YKB_WORLD_PAY,
25+
YKB_WORLD_PAY_SHOPPING_LOAN,
2126
MULTINET,
2227
MULTINET_GIFT,
2328
MULTINET_NEO_GIFT,
29+
METROPOL,
30+
ISPAY,
31+
PAYMOB,
32+
VODAFONE_DCB,
33+
KASPI,
2434
BIZUM,
25-
PAYCELL_DCB
35+
PAYLANDS_MB_WAY,
36+
ZIP,
37+
DKB,
38+
PAYCELL_DCB,
39+
SETCARD,
40+
IWALLET,
41+
PAPEL,
42+
BKM_EXPRESS
2643
}

src/main/java/io/craftgate/model/PaymentProvider.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ public enum PaymentProvider {
77
MASTERPASS,
88
GARANTI_PAY,
99
YKB_WORLD_PAY,
10+
YKB_WORLD_PAY_SHOPPING_LOAN,
1011
PAPARA,
1112
PAYONEER,
1213
SODEXO,
1314
EDENRED,
1415
TOKENFLEX,
15-
INSTANT_TRANSFER,
16+
METROPOL,
17+
IWALLET,
1618
ALIPAY,
1719
PAYPAL,
1820
KLARNA,
@@ -22,26 +24,25 @@ public enum PaymentProvider {
2224
HEPSIPAY,
2325
STRIPE,
2426
KASPI,
27+
INSTANT_TRANSFER,
2528
MASLAK,
2629
TOMPAY,
2730
TOM_FINANCE,
2831
ALFABANK,
29-
PAYCELL,
32+
ZIP,
33+
DKB,
3034
HASO,
31-
METROPOL,
35+
PAYCELL,
3236
MULTINET,
33-
ISPAY,
34-
ZIP,
35-
VODAFONE,
3637
CHIPPIN,
38+
ISPAY,
3739
PAYMOB,
40+
VODAFONE,
3841
BIZUM,
3942
PAYLANDS_MB_WAY,
40-
PAYCELL_DCB,
41-
IWALLET,
4243
SETCARD,
4344
PAPEL,
4445
ALBARAKA,
4546
BKM_EXPRESS,
46-
OFFLINE,
47+
OFFLINE
4748
}

src/main/java/io/craftgate/model/PosIntegrator.java

Lines changed: 43 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,57 @@
22

33
public enum PosIntegrator {
44

5-
YKB,
6-
GARANTI,
7-
ISBANK,
5+
ADYEN,
86
AKBANK,
9-
ZIRAATBANK,
10-
ZIRAATBANK_INNOVA,
11-
ZIRAATKATILIM,
12-
KUVEYTTURK,
13-
HALKBANK,
7+
AKBANK_VPOS,
8+
ALGORITMA,
9+
ANADOLUBANK,
10+
BIRLESIK_ODEME,
11+
BRAINTREE,
12+
CHECKOUT,
1413
DENIZBANK,
15-
VAKIFBANK,
16-
VAKIFKATILIM,
17-
FINANSBANK,
14+
ELEKSE,
1815
FIBABANK,
1916
FIBABANK_ASSECO,
20-
ANADOLUBANK,
21-
PARAM_POS,
17+
FINANSBANK,
18+
FINANSKATILIM,
19+
GARANTI,
20+
HALKBANK,
21+
HALKBANK_VPOS,
22+
HALKODE,
23+
HALYKBANK,
24+
INGBANK,
25+
ISBANK,
26+
ISBANK_VPOS,
2227
IYZICO,
23-
SIPAY,
24-
PAYNET,
25-
PAYTR,
26-
BIRLESIK_ODEME,
28+
KUVEYTTURK,
2729
MOKA,
28-
STRIPE,
29-
TEB,
30-
IPARA,
31-
OZAN,
32-
BRAINTREE,
30+
MONEYPAY,
3331
NKOLAY,
34-
PAYTABS,
35-
PAYBULL,
36-
ELEKSE,
37-
ALGORITMA,
32+
NUVEI,
33+
PAPEL,
34+
PARAM_POS,
35+
PAYBYME,
3836
PAYCELL,
39-
TAMI,
37+
PAYLANDS,
38+
PAYMOB,
39+
PAYNET,
40+
PAYTABS,
41+
PAYTR,
4042
QNB_PAY,
41-
AKBANK_VPOS,
42-
BIN_PAY,
43-
TAP,
43+
REDSYS,
4444
RUBIK,
45+
SIPAY,
46+
STRIPE,
47+
TAMI,
48+
TAP,
49+
TEB,
50+
TRPOS,
51+
VAKIFBANK,
52+
VAKIFKATILIM,
53+
WORLDPAY,
54+
YKB,
55+
ZIRAATBANK,
56+
ZIRAATBANK_INNOVA,
57+
ZIRAATKATILIM,
4558
}

src/main/java/io/craftgate/model/Reward.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
public class Reward {
1111
private BigDecimal cardRewardMoney;
1212
private BigDecimal firmRewardMoney;
13+
private BigDecimal mileRewardMoney;
1314
private BigDecimal totalRewardMoney;
1415
}

src/main/java/io/craftgate/model/WebhookEventType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public enum WebhookEventType {
1515
BNPL_NOTIFICATION,
1616
BANK_ACCOUNT_TRACKING_RECORD,
1717
BKM_EXPRESS_PAYMENT_NOTIFICATION,
18-
1918
MULTI_PAYMENT_COMPLETED,
20-
MULTI_PAYMENT_EXPIRED
19+
MULTI_PAYMENT_EXPIRED,
20+
REPORT_GENERATED
2121
}

0 commit comments

Comments
 (0)