File tree Expand file tree Collapse file tree 3 files changed +26
-2
lines changed
src/main/java/pl/nip24/client Expand file tree Collapse file tree 3 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 55
66 <groupId >pl.nip24</groupId >
77 <artifactId >nip24-client</artifactId >
8- <version >1.3.5 </version >
8+ <version >1.3.6 </version >
99
1010 <name >nip24-java-client</name >
1111 <description >NIP24 Service Client for Java</description >
7373 </goals >
7474 </execution >
7575 </executions >
76+ <configuration >
77+ <source >${java.version} </source >
78+ </configuration >
7679 </plugin >
7780 </plugins >
7881 </build >
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public class AccountStatus {
5151 protected boolean terytCodes ;
5252 protected boolean excelAddIn ;
5353 protected boolean jpkVat ;
54+ protected boolean cli ;
5455 protected boolean stats ;
5556 protected boolean nipMonitor ;
5657
@@ -426,6 +427,24 @@ public void setJPKVAT(boolean jpkVat)
426427 this .jpkVat = jpkVat ;
427428 }
428429
430+ /**
431+ * Dostęp z aplikacji CLI/CMD
432+ * @return true jeżeli aplikacja jest dostępna
433+ */
434+ public boolean isCLI ()
435+ {
436+ return cli ;
437+ }
438+
439+ /**
440+ * Dostęp z aplikacji CLI/CMD
441+ * @param cli true jeżeli aplikacja jest dostępna
442+ */
443+ public void setCLI (boolean cli )
444+ {
445+ this .cli = cli ;
446+ }
447+
429448 /**
430449 * Dostęp do statystyk wykonanych zapytań
431450 * @return true jeżeli statystyki są dostępne
@@ -847,6 +866,7 @@ public String toString()
847866 + ", terytCodes = " + terytCodes
848867 + ", excelAddIn = " + excelAddIn
849868 + ", jpkVat = " + jpkVat
869+ + ", cli = " + cli
850870 + ", stats = " + stats
851871 + ", NIPMonitor = " + nipMonitor
852872
Original file line number Diff line number Diff line change 5656 */
5757public class NIP24Client {
5858
59- public final static String VERSION = "1.3.5 " ;
59+ public final static String VERSION = "1.3.6 " ;
6060
6161 public final static String PRODUCTION_URL = "https://www.nip24.pl/api" ;
6262 public final static String TEST_URL = "https://www.nip24.pl/api-test" ;
@@ -1091,6 +1091,7 @@ public AccountStatus getAccountStatus()
10911091 status .setTerytCodes (getString (doc , "/result/account/billingPlan/terytCodes" , "false" ).equals ("true" ));
10921092 status .setExcelAddIn (getString (doc , "/result/account/billingPlan/excelAddin" , "false" ).equals ("true" ));
10931093 status .setJPKVAT (getString (doc , "/result/account/billingPlan/jpkVat" , "false" ).equals ("true" ));
1094+ status .setCLI (getString (doc , "/result/account/billingPlan/cli" , "false" ).equals ("true" ));
10941095 status .setStats (getString (doc , "/result/account/billingPlan/stats" , "false" ).equals ("true" ));
10951096 status .setNIPMonitor (getString (doc , "/result/account/billingPlan/nipMonitor" , "false" ).equals ("true" ));
10961097
You can’t perform that action at this time.
0 commit comments