-
Home
-
Sadad Payment for WooCommerce
-
1.0.3 (latest)
-
Code
-
Classes
- SadadLibrary
Total Complexity |
53 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
434 |
Lines of code |
224 |
Logical lines of code |
136 |
Comment lines |
158 |
Methods |
19 |
Properties |
2 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validatePhone() |
S |
57 |
5 |
15 |
setIsTest() |
S |
62 |
5 |
11 |
sendRequest() |
S |
52 |
4 |
23 |
getCurrencyList() |
S |
53 |
4 |
21 |
getKWDAmount() |
S |
59 |
4 |
13 |
createInvoice() |
S |
52 |
3 |
23 |
setClientId() |
S |
63 |
4 |
10 |
setClientSecret() |
S |
63 |
4 |
10 |
__construct() |
S |
61 |
3 |
13 |
getInvoiceInfo() |
S |
58 |
2 |
14 |
refundInvoice() |
S |
59 |
2 |
14 |
generateRefreshToken() |
S |
59 |
2 |
13 |
getAccessToken() |
S |
61 |
2 |
12 |
setLogPath() |
S |
77 |
2 |
3 |
writeLog() |
S |
71 |
2 |
5 |
filterInput() |
S |
69 |
2 |
6 |
convertNumbertoEnglish() |
S |
58 |
1 |
12 |
setGatewayPayUrl() |
S |
78 |
1 |
3 |
setGatewayAPIUrl() |
S |
78 |
1 |
3 |