22
33## SMS
44### Weryfikacja kodu
5- ```
5+ ``` java
66Sms sms = new Sms ();
77Sms 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
2828Sms sms = new Sms ();
2929Sms 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
4444SmsXml smsXml = new SmsXml (" apikey" );
4545String code = smsXml. generateCode(); // Generate code
4646double 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
5454DirectBilling directBilling = new DirectBilling ();
5555DirectBilling 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
7575DirectBilling directBilling = new DirectBilling ();
7676DirectBilling 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
9090DirectBilling directBilling = new DirectBilling ();
9191DirectBilling 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
104104DirectBilling directBilling = new DirectBilling ();
105105DirectBilling 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
117117DirectBilling directBilling = new DirectBilling ();
118118DirectBilling 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
130130DirectBilling directBilling = new DirectBilling ();
131131
132132List<String > response = directBilling. getServersIp();
133133```
134134
135135### Obliczanie podpisu sign
136- ```
136+ ``` java
137137DirectBilling directBilling = new DirectBilling ();
138138
139139String sign = directBilling. sign(int id, String status, String valuenet, String valuepartner, String control);
0 commit comments