소스 검색

Membuat Service Api Barang

pull/3/head
부모
커밋
ca0f8fd37a
2개의 변경된 파일18개의 추가작업 그리고 0개의 파일을 삭제
  1. +14
    -0
      src/main/java/id/amigogroup/posterminal/api/ServiceApiBarang.java
  2. +4
    -0
      src/main/java/id/amigogroup/posterminal/api/UtilsApi.java

+ 14
- 0
src/main/java/id/amigogroup/posterminal/api/ServiceApiBarang.java 파일 보기

@@ -0,0 +1,14 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package id.amigogroup.posterminal.api;

/**
*
* @author ronal
*/
public interface ServiceApiBarang {
}

+ 4
- 0
src/main/java/id/amigogroup/posterminal/api/UtilsApi.java 파일 보기

@@ -17,6 +17,10 @@ public class UtilsApi {
public static final String API_BASE_URL_KARYAWAN = "https://karyawan.amigogroup.id/api/";
public static final String API_BASE_URL_PELANGGAN = "https://pelanggan.amigogroup.id/api/";

public static ServiceApiBarang getServiceApiBarang() {
return ServiceGenerator.createService(API_BASE_URL_BARANG, ServiceApiBarang.class);
}

public static ServiceApiCheckin getServiceApiCheckin() {
return ServiceGenerator.createService(API_BASE_URL_CHECKIN, ServiceApiCheckin.class);
}


불러오는 중...
취소
저장