Skip to content

Commit 0eca5dd

Browse files
authored
Update readme.md
1 parent a9f01ab commit 0eca5dd

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

readme.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## SMS
44
### Weryfikacja kodu
5-
```
5+
```java
66
Sms sms = new Sms();
77
Sms sms = new Sms("key","secret");
88

@@ -24,7 +24,7 @@ double value = codeVerifyResponse.getValue(); // Code Value
2424
```
2525

2626
### Pobieranie listy usług
27-
```
27+
```java
2828
Sms sms = new Sms();
2929
Sms sms = new Sms("key","secret");
3030

@@ -40,7 +40,7 @@ List<Service> services = serviceList.getServices(); // List of services
4040
```
4141

4242
## SMS XML
43-
```
43+
```java
4444
SmsXml smsXml = new SmsXml("apikey");
4545
String code = smsXml.generateCode(); // Generate code
4646
double number = smsXml.getSmsValue("number"); // retrieve information's about sms
@@ -50,7 +50,7 @@ boolean ip = smsXml.getServersIp("ip"); // Check if passed ip is valid ip of sim
5050

5151
## Direct Billing
5252
### Generowanie transakcji
53-
```
53+
```java
5454
DirectBilling directBilling = new DirectBilling();
5555
DirectBilling directBilling = new DirectBilling("apiKey", "secret", false, 1);
5656

@@ -71,7 +71,7 @@ dbGenerateResponse.getStatus(); // Status received from api
7171
```
7272

7373
### Pobieranie danych o transakcji
74-
```
74+
```java
7575
DirectBilling directBilling = new DirectBilling();
7676
DirectBilling directBilling = new DirectBilling("apiKey", "secret", false, 1);
7777

@@ -86,7 +86,7 @@ DbTransaction respond = response.getRespond();
8686
```
8787

8888
### Pobieranie listy usług DCB
89-
```
89+
```java
9090
DirectBilling directBilling = new DirectBilling();
9191
DirectBilling directBilling = new DirectBilling("apiKey", "secret", false, 1);
9292

@@ -100,7 +100,7 @@ DbTransaction respond = response.getRespond();
100100
```
101101

102102
### Pobieranie maksymalnych kwot transakcji
103-
```
103+
```java
104104
DirectBilling directBilling = new DirectBilling();
105105
DirectBilling directBilling = new DirectBilling("apiKey", "secret", false, 1);
106106

@@ -113,7 +113,7 @@ APIResponse<List<DbTransactionLimit>> response = directBilling.getTransactionLim
113113
```
114114

115115
### Pobieranie prowizji dla usługi
116-
```
116+
```java
117117
DirectBilling directBilling = new DirectBilling();
118118
DirectBilling directBilling = new DirectBilling("apiKey", "secret", false, 1);
119119

@@ -126,14 +126,14 @@ List<DbCommission> response = directBilling.getServiceCommission(request);
126126
```
127127

128128
### Pobieranie adresów IP serwerów SimPay
129-
```
129+
```java
130130
DirectBilling directBilling = new DirectBilling();
131131

132132
List<String> response = directBilling.getServersIp();
133133
```
134134

135135
### Obliczanie podpisu sign
136-
```
136+
```java
137137
DirectBilling directBilling = new DirectBilling();
138138

139139
String sign = directBilling.sign(int id, String status, String valuenet, String valuepartner, String control);

0 commit comments

Comments
 (0)