() {
+ @Override
+ protected Void doInBackground(Void... params) {
+
+ OrderCompleteRes output = null;
+ OrderApi api = new OrderApi();
+ try {
+ output = api.orderPaymentCompletePost(header, orderCompleteReq);
+ LOGD(TAG, "output =>" + UiUtil.toStringGson(output));
+ listener.onResponse(output);
+ } catch (TimeoutException e) {
+ e.printStackTrace();
+ NetworkManager.getInstance().showServerErrorPopup(context);
+ } catch (ExecutionException e) {
+ e.printStackTrace();
+ NetworkManager.getInstance().showServerErrorPopup(context);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ NetworkManager.getInstance().showServerErrorPopup(context);
+ } catch (ApiException e) {
+ e.printStackTrace();
+ NetworkManager.getInstance().showServerErrorPopup(context);
+ }
+ return null;
+ }
+
+ }.execute();
+ }
+}
+
diff --git a/app/src/main/java/io/swagger/client/ApiException.java b/app/src/main/java/io/swagger/client/ApiException.java
new file mode 100644
index 0000000..10fbea7
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/ApiException.java
@@ -0,0 +1,54 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client;
+
+public class ApiException extends Exception {
+ int code = 0;
+ String message = null;
+
+ public ApiException() {
+ }
+
+ public ApiException(int code, String message) {
+ this.code = code;
+ this.message = message;
+ }
+
+ public int getCode() {
+ return code;
+ }
+
+ public void setCode(int code) {
+ this.code = code;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/ApiInvoker.java b/app/src/main/java/io/swagger/client/ApiInvoker.java
new file mode 100644
index 0000000..67f0f50
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/ApiInvoker.java
@@ -0,0 +1,542 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client;
+
+import com.android.volley.Cache;
+import com.android.volley.Network;
+import com.android.volley.Request;
+import com.android.volley.RequestQueue;
+import com.android.volley.Response;
+import com.android.volley.ResponseDelivery;
+import com.android.volley.toolbox.BasicNetwork;
+import com.android.volley.toolbox.HttpStack;
+import com.android.volley.toolbox.HurlStack;
+import com.android.volley.toolbox.NoCache;
+import com.android.volley.toolbox.RequestFuture;
+import com.google.gson.JsonParseException;
+
+import org.apache.http.Consts;
+import org.apache.http.HttpEntity;
+import org.apache.http.entity.ContentType;
+import org.apache.http.entity.StringEntity;
+
+import java.io.UnsupportedEncodingException;
+import java.net.URLEncoder;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.TimeZone;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeUnit;
+import java.util.concurrent.TimeoutException;
+
+import io.swagger.client.auth.Authentication;
+import io.swagger.client.auth.ApiKeyAuth;
+import io.swagger.client.auth.HttpBasicAuth;
+import io.swagger.client.request.GetRequest;
+import io.swagger.client.request.PostRequest;
+import io.swagger.client.request.PutRequest;
+import io.swagger.client.request.DeleteRequest;
+import io.swagger.client.request.PatchRequest;
+
+public class ApiInvoker {
+ private static ApiInvoker INSTANCE;
+ private Map defaultHeaderMap = new HashMap();
+
+ private RequestQueue mRequestQueue;
+
+ private Map authentications;
+
+ private int connectionTimeout;
+
+ /** Content type "text/plain" with UTF-8 encoding. */
+ public static final ContentType TEXT_PLAIN_UTF8 = ContentType.create("text/plain", Consts.UTF_8);
+
+ /**
+ * ISO 8601 date time format.
+ */
+ public static final SimpleDateFormat DATE_TIME_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
+
+ /**
+ * ISO 8601 date format.
+ */
+ public static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
+
+ static {
+ // Use UTC as the default time zone.
+ DATE_TIME_FORMAT.setTimeZone(TimeZone.getTimeZone("UTC"));
+ DATE_FORMAT.setTimeZone(TimeZone.getTimeZone("UTC"));
+ }
+
+ public static void setUserAgent(String userAgent) {
+ INSTANCE.addDefaultHeader("User-Agent", userAgent);
+ }
+
+ public static Date parseDateTime(String str) {
+ try {
+ return DATE_TIME_FORMAT.parse(str);
+ } catch (java.text.ParseException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ public static Date parseDate(String str) {
+ try {
+ return DATE_FORMAT.parse(str);
+ } catch (java.text.ParseException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ public static String formatDateTime(Date datetime) {
+ return DATE_TIME_FORMAT.format(datetime);
+ }
+
+ public static String formatDate(Date date) {
+ return DATE_FORMAT.format(date);
+ }
+
+ public static String parameterToString(Object param) {
+ if (param == null) {
+ return "";
+ } else if (param instanceof Date) {
+ return formatDateTime((Date) param);
+ } else if (param instanceof Collection) {
+ StringBuilder b = new StringBuilder();
+ for (Object o : (Collection) param) {
+ if (b.length() > 0) {
+ b.append(",");
+ }
+ b.append(String.valueOf(o));
+ }
+ return b.toString();
+ } else {
+ return String.valueOf(param);
+ }
+ }
+
+ /*
+ Format to {@code Pair} objects.
+ */
+ public static List parameterToPairs(String collectionFormat, String name, Object value) {
+ List params = new ArrayList();
+
+ // preconditions
+ if (name == null || name.isEmpty() || value == null) return params;
+
+ Collection valueCollection = null;
+ if (value instanceof Collection) {
+ valueCollection = (Collection) value;
+ } else {
+ params.add(new Pair(name, parameterToString(value)));
+ return params;
+ }
+
+ if (valueCollection.isEmpty()) {
+ return params;
+ }
+
+ // get the collection format
+ collectionFormat = (collectionFormat == null || collectionFormat.isEmpty() ? "csv" : collectionFormat); // default: csv
+
+ // create the params based on the collection format
+ if (collectionFormat.equals("multi")) {
+ for (Object item : valueCollection) {
+ params.add(new Pair(name, parameterToString(item)));
+ }
+
+ return params;
+ }
+
+ String delimiter = ",";
+
+ if (collectionFormat.equals("csv")) {
+ delimiter = ",";
+ } else if (collectionFormat.equals("ssv")) {
+ delimiter = " ";
+ } else if (collectionFormat.equals("tsv")) {
+ delimiter = "\t";
+ } else if (collectionFormat.equals("pipes")) {
+ delimiter = "|";
+ }
+
+ StringBuilder sb = new StringBuilder();
+ for (Object item : valueCollection) {
+ sb.append(delimiter);
+ sb.append(parameterToString(item));
+ }
+
+ params.add(new Pair(name, sb.substring(1)));
+
+ return params;
+ }
+
+ public static void initializeInstance() {
+ initializeInstance(null);
+ }
+
+ public static void initializeInstance(Cache cache) {
+ initializeInstance(cache, null, 0, null, 30);
+ }
+
+ public static void initializeInstance(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery, int connectionTimeout) {
+ INSTANCE = new ApiInvoker(cache, network, threadPoolSize, delivery, connectionTimeout);
+ setUserAgent("Swagger-Codegen/1.0.0/android");
+
+ // Setup authentications (key: authentication name, value: authentication).
+ INSTANCE.authentications = new HashMap();
+ // Prevent the authentications from being modified.
+ INSTANCE.authentications = Collections.unmodifiableMap(INSTANCE.authentications);
+ }
+
+ private ApiInvoker(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery, int connectionTimeout) {
+ if (cache == null) cache = new NoCache();
+ if (network == null) {
+ HttpStack stack = new HurlStack();
+ network = new BasicNetwork(stack);
+ }
+
+ if (delivery == null) {
+ initConnectionRequest(cache, network);
+ } else {
+ initConnectionRequest(cache, network, threadPoolSize, delivery);
+ }
+ this.connectionTimeout = connectionTimeout;
+ }
+
+ public static ApiInvoker getInstance() {
+ if (INSTANCE == null) {
+ initializeInstance();
+ }
+ return INSTANCE;
+ }
+
+ public void addDefaultHeader(String key, String value) {
+ defaultHeaderMap.put(key, value);
+ }
+
+ public String escapeString(String str) {
+ return str;
+ }
+
+ public static Object deserialize(String json, String containerType, Class cls) throws ApiException {
+ try {
+ if ("list".equalsIgnoreCase(containerType) || "array".equalsIgnoreCase(containerType)) {
+ return JsonUtil.deserializeToList(json, cls);
+ } else if (String.class.equals(cls)) {
+ if (json != null && json.startsWith("\"") && json.endsWith("\"") && json.length() > 1)
+ return json.substring(1, json.length() - 1);
+ else
+ return json;
+ } else {
+ return JsonUtil.deserializeToObject(json, cls);
+ }
+ } catch (JsonParseException e) {
+ throw new ApiException(500, e.getMessage());
+ }
+ }
+
+ public static String serialize(Object obj) throws ApiException {
+ try {
+ if (obj != null)
+ return JsonUtil.serialize(obj);
+ else
+ return null;
+ } catch (Exception e) {
+ throw new ApiException(500, e.getMessage());
+ }
+ }
+
+ /**
+ * Get authentications (key: authentication name, value: authentication).
+ */
+ public Map getAuthentications() {
+ return authentications;
+ }
+
+ /**
+ * Get authentication for the given name.
+ *
+ * @param authName The authentication name
+ * @return The authentication, null if not found
+ */
+ public Authentication getAuthentication(String authName) {
+ return authentications.get(authName);
+ }
+
+ /**
+ * Helper method to set username for the first HTTP basic authentication.
+ */
+ public void setUsername(String username) {
+ for (Authentication auth : authentications.values()) {
+ if (auth instanceof HttpBasicAuth) {
+ ((HttpBasicAuth) auth).setUsername(username);
+ return;
+ }
+ }
+ throw new RuntimeException("No HTTP basic authentication configured!");
+ }
+
+ /**
+ * Helper method to set password for the first HTTP basic authentication.
+ */
+ public void setPassword(String password) {
+ for (Authentication auth : authentications.values()) {
+ if (auth instanceof HttpBasicAuth) {
+ ((HttpBasicAuth) auth).setPassword(password);
+ return;
+ }
+ }
+ throw new RuntimeException("No HTTP basic authentication configured!");
+ }
+
+ /**
+ * Helper method to set API key value for the first API key authentication.
+ */
+ public void setApiKey(String apiKey) {
+ for (Authentication auth : authentications.values()) {
+ if (auth instanceof ApiKeyAuth) {
+ ((ApiKeyAuth) auth).setApiKey(apiKey);
+ return;
+ }
+ }
+ throw new RuntimeException("No API key authentication configured!");
+ }
+
+ /**
+ * Helper method to set API key prefix for the first API key authentication.
+ */
+ public void setApiKeyPrefix(String apiKeyPrefix) {
+ for (Authentication auth : authentications.values()) {
+ if (auth instanceof ApiKeyAuth) {
+ ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix);
+ return;
+ }
+ }
+ throw new RuntimeException("No API key authentication configured!");
+ }
+
+ public void setConnectionTimeout(int connectionTimeout) {
+ this.connectionTimeout = connectionTimeout;
+ }
+
+ public int getConnectionTimeout() {
+ return connectionTimeout;
+ }
+
+ /**
+ * Update query and header parameters based on authentication settings.
+ *
+ * @param authNames The authentications to apply
+ */
+ private void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams) {
+ for (String authName : authNames) {
+ Authentication auth = authentications.get(authName);
+ if (auth == null) throw new RuntimeException("Authentication undefined: " + authName);
+ auth.applyToParams(queryParams, headerParams);
+ }
+ }
+
+ public String invokeAPI(String host, String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String contentType, String[] authNames) throws ApiException, InterruptedException, ExecutionException, TimeoutException {
+ RequestFuture future = RequestFuture.newFuture();
+ Request request = createRequest(host, path, method, queryParams, body, headerParams, formParams, contentType, authNames, future, future);
+ if (request != null) {
+ mRequestQueue.add(request);
+ return future.get(connectionTimeout, TimeUnit.SECONDS);
+ } else return "no data";
+ }
+
+ public void invokeAPI(String host, String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String contentType, String[] authNames, Response.Listener stringRequest, Response.ErrorListener errorListener) throws ApiException {
+ Request request = createRequest(host, path, method, queryParams, body, headerParams, formParams, contentType, authNames, stringRequest, errorListener);
+ if (request != null) mRequestQueue.add(request);
+ }
+
+ public Request createRequest(String host, String path, String method, List queryParams, Object body, Map headerParams, Map formParams, String contentType, String[] authNames, Response.Listener stringRequest, Response.ErrorListener errorListener) throws ApiException {
+ StringBuilder b = new StringBuilder();
+ b.append("?");
+
+ updateParamsForAuth(authNames, queryParams, headerParams);
+
+ if (queryParams != null) {
+ for (Pair queryParam : queryParams) {
+ if (!queryParam.getName().isEmpty()) {
+ b.append(escapeString(queryParam.getName()));
+ b.append("=");
+ b.append(escapeString(queryParam.getValue()));
+ b.append("&");
+ }
+ }
+ }
+
+ String querystring = b.substring(0, b.length() - 1);
+ String url = host + path + querystring;
+
+ HashMap headers = new HashMap();
+
+ for (String key : headerParams.keySet()) {
+ headers.put(key, headerParams.get(key));
+ }
+
+ for (String key : defaultHeaderMap.keySet()) {
+ if (!headerParams.containsKey(key)) {
+ headers.put(key, defaultHeaderMap.get(key));
+ }
+ }
+ headers.put("Accept", "application/json");
+
+ // URL encoded string from form parameters
+ String formParamStr = null;
+
+ // for form data
+ if ("application/x-www-form-urlencoded".equals(contentType)) {
+ StringBuilder formParamBuilder = new StringBuilder();
+
+ // encode the form params
+ for (String key : formParams.keySet()) {
+ String value = formParams.get(key);
+ if (value != null && !"".equals(value.trim())) {
+ if (formParamBuilder.length() > 0) {
+ formParamBuilder.append("&");
+ }
+ try {
+ formParamBuilder.append(URLEncoder.encode(key, "utf8")).append("=").append(URLEncoder.encode(value, "utf8"));
+ } catch (Exception e) {
+ // move on to next
+ }
+ }
+ }
+ formParamStr = formParamBuilder.toString();
+ }
+ Request request = null;
+
+ if ("GET".equals(method)) {
+ request = new GetRequest(url, headers, null, stringRequest, errorListener);
+ } else if ("POST".equals(method)) {
+ request = null;
+ if (formParamStr != null) {
+ try {
+ request = new PostRequest(url, headers, contentType, new StringEntity(formParamStr, "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ } else if (body != null) {
+ if (body instanceof HttpEntity) {
+ request = new PostRequest(url, headers, null, (HttpEntity) body, stringRequest, errorListener);
+ } else {
+ try {
+ request = new PostRequest(url, headers, contentType, new StringEntity(serialize(body), "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ }
+ } else {
+ request = new PostRequest(url, headers, null, null, stringRequest, errorListener);
+ }
+ } else if ("PUT".equals(method)) {
+ request = null;
+ if (formParamStr != null) {
+ try {
+ request = new PutRequest(url, headers, contentType, new StringEntity(formParamStr, "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ } else if (body != null) {
+ if (body instanceof HttpEntity) {
+ request = new PutRequest(url, headers, null, (HttpEntity) body, stringRequest, errorListener);
+ } else {
+ try {
+ request = new PutRequest(url, headers, contentType, new StringEntity(serialize(body), "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ }
+ } else {
+ request = new PutRequest(url, headers, null, null, stringRequest, errorListener);
+ }
+ } else if ("DELETE".equals(method)) {
+ request = null;
+ if (formParamStr != null) {
+ try {
+ request = new DeleteRequest(url, headers, contentType, new StringEntity(formParamStr, "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ } else if (body != null) {
+ if (body instanceof HttpEntity) {
+ request = new DeleteRequest(url, headers, null, (HttpEntity) body, stringRequest, errorListener);
+ } else {
+ try {
+ request = new DeleteRequest(url, headers, contentType, new StringEntity(serialize(body), "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ }
+ } else {
+ request = new DeleteRequest(url, headers, null, null, stringRequest, errorListener);
+ }
+ } else if ("PATCH".equals(method)) {
+ request = null;
+ if (formParamStr != null) {
+ try {
+ request = new PatchRequest(url, headers, contentType, new StringEntity(formParamStr, "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ } else if (body != null) {
+ if (body instanceof HttpEntity) {
+ request = new PatchRequest(url, headers, null, (HttpEntity) body, stringRequest, errorListener);
+ } else {
+ try {
+ request = new PatchRequest(url, headers, contentType, new StringEntity(serialize(body), "UTF-8"), stringRequest, errorListener);
+ } catch (UnsupportedEncodingException e) {
+ e.printStackTrace();
+ }
+ }
+ } else {
+ request = new PatchRequest(url, headers, null, null, stringRequest, errorListener);
+ }
+ }
+ return request;
+ }
+
+ private void initConnectionRequest(Cache cache, Network network) {
+ mRequestQueue = new RequestQueue(cache, network);
+ mRequestQueue.start();
+ }
+
+ private void initConnectionRequest(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery) {
+ mRequestQueue = new RequestQueue(cache, network, threadPoolSize, delivery);
+ mRequestQueue.start();
+ }
+
+ public void stopQueue() {
+ mRequestQueue.stop();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/JsonUtil.java b/app/src/main/java/io/swagger/client/JsonUtil.java
new file mode 100644
index 0000000..e6c6c01
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/JsonUtil.java
@@ -0,0 +1,375 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client;
+
+import com.google.gson.Gson;
+import com.google.gson.GsonBuilder;
+import com.google.gson.reflect.TypeToken;
+
+import java.lang.reflect.Type;
+import java.util.List;
+
+import io.swagger.client.model.*;
+
+public class JsonUtil {
+ public static GsonBuilder gsonBuilder;
+
+ static {
+ gsonBuilder = new GsonBuilder();
+ gsonBuilder.serializeNulls();
+ gsonBuilder.setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
+ }
+
+ public static Gson getGson() {
+ return gsonBuilder.create();
+ }
+
+ public static String serialize(Object obj) {
+ return getGson().toJson(obj);
+ }
+
+ public static T deserializeToList(String jsonString, Class cls) {
+ return getGson().fromJson(jsonString, getListTypeForDeserialization(cls));
+ }
+
+ public static T deserializeToObject(String jsonString, Class cls) {
+ return getGson().fromJson(jsonString, getTypeForDeserialization(cls));
+ }
+
+ public static Type getListTypeForDeserialization(Class cls) {
+ String className = cls.getSimpleName();
+
+ if ("AddOrderReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("AddOrderReqDetail".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("AddOrderReqOption".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("AddOrderRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("AddOrderResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("LoginReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("LoginRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("LoginResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuOptionReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuOptionRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuOptionResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuOptionResData1".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuOptionResOptions".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("MenuResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderCompleteReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderCompleteRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderCompleteResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderResDetail".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("OrderResOption".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("StoresReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("StoresRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("StoresResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("SubcategoryReq".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("SubcategoryRes".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ if ("SubcategoryResData".equalsIgnoreCase(className)) {
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ return new TypeToken>() {
+ }.getType();
+ }
+
+ public static Type getTypeForDeserialization(Class cls) {
+ String className = cls.getSimpleName();
+
+ if ("AddOrderReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("AddOrderReqDetail".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("AddOrderReqOption".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("AddOrderRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("AddOrderResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("LoginReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("LoginRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("LoginResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuOptionReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuOptionRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuOptionResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuOptionResData1".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuOptionResOptions".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("MenuResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderCompleteReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderCompleteRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderCompleteResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderResDetail".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("OrderResOption".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("StoresReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("StoresRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("StoresResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("SubcategoryReq".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("SubcategoryRes".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ if ("SubcategoryResData".equalsIgnoreCase(className)) {
+ return new TypeToken() {
+ }.getType();
+ }
+
+ return new TypeToken() {
+ }.getType();
+ }
+
+};
diff --git a/app/src/main/java/io/swagger/client/Pair.java b/app/src/main/java/io/swagger/client/Pair.java
new file mode 100644
index 0000000..ca6433a
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/Pair.java
@@ -0,0 +1,62 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client;
+
+public class Pair {
+ private String name = "";
+ private String value = "";
+
+ public Pair(String name, String value) {
+ setName(name);
+ setValue(value);
+ }
+
+ private void setName(String name) {
+ if (!isValidString(name)) return;
+
+ this.name = name;
+ }
+
+ private void setValue(String value) {
+ if (!isValidString(value)) return;
+
+ this.value = value;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public String getValue() {
+ return this.value;
+ }
+
+ private boolean isValidString(String arg) {
+ if (arg == null) return false;
+ if (arg.trim().isEmpty()) return false;
+
+ return true;
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/AccountApi.java b/app/src/main/java/io/swagger/client/api/AccountApi.java
new file mode 100644
index 0000000..40893c4
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/AccountApi.java
@@ -0,0 +1,225 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.api;
+
+import io.swagger.client.ApiInvoker;
+import io.swagger.client.ApiException;
+import io.swagger.client.Pair;
+
+import io.swagger.client.model.*;
+
+import java.io.UnsupportedEncodingException;
+import java.util.*;
+
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.belladati.httpclientandroidlib.entity.mime.MultipartEntityBuilder;
+
+import io.swagger.client.model.LoginRes;
+import io.swagger.client.model.LoginReq;
+
+import org.apache.http.HttpEntity;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeoutException;
+
+public class AccountApi {
+ String basePath = BasePath.getInstance().getBasePath();
+ ApiInvoker apiInvoker = ApiInvoker.getInstance();
+
+ public void addHeader(String key, String value) {
+ getInvoker().addDefaultHeader(key, value);
+ }
+
+ public ApiInvoker getInvoker() {
+ return apiInvoker;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ /**
+ *
+ *
+ * @param contentType
+ * @param loginReq
+ * @return LoginRes
+ */
+ public LoginRes accountLoginPost (String contentType, LoginReq loginReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = loginReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling accountLoginPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling accountLoginPost"));
+ }
+
+ // verify the required parameter 'loginReq' is set
+ if (loginReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'loginReq' when calling accountLoginPost",
+ new ApiException(400, "Missing the required parameter 'loginReq' when calling accountLoginPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/account/login".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = null;
+ localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (LoginRes) ApiInvoker.deserialize(localVarResponse, "", LoginRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param loginReq
+ */
+ public void accountLoginPost (String contentType, LoginReq loginReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = loginReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling accountLoginPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling accountLoginPost"));
+ }
+
+ // verify the required parameter 'loginReq' is set
+ if (loginReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'loginReq' when calling accountLoginPost",
+ new ApiException(400, "Missing the required parameter 'loginReq' when calling accountLoginPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/account/login".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((LoginRes) ApiInvoker.deserialize(localVarResponse, "", LoginRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/BasePath.java b/app/src/main/java/io/swagger/client/api/BasePath.java
new file mode 100644
index 0000000..8912c66
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/BasePath.java
@@ -0,0 +1,20 @@
+package io.swagger.client.api;
+
+public class BasePath {
+
+ public BasePath(){}
+
+ private static BasePath ourInstance = new BasePath();
+ public static BasePath getInstance() {
+ return ourInstance;
+ }
+ private String basePath = "http://175.207.13.212:8080";
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/CategoryApi.java b/app/src/main/java/io/swagger/client/api/CategoryApi.java
new file mode 100644
index 0000000..4defe9a
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/CategoryApi.java
@@ -0,0 +1,223 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.api;
+
+import io.swagger.client.ApiInvoker;
+import io.swagger.client.ApiException;
+import io.swagger.client.Pair;
+
+import io.swagger.client.model.*;
+
+import java.util.*;
+
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.belladati.httpclientandroidlib.entity.mime.MultipartEntityBuilder;
+
+import io.swagger.client.model.SubcategoryReq;
+import io.swagger.client.model.SubcategoryRes;
+
+import org.apache.http.HttpEntity;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeoutException;
+
+public class CategoryApi {
+ String basePath = BasePath.getInstance().getBasePath();
+ ApiInvoker apiInvoker = ApiInvoker.getInstance();
+
+ public void addHeader(String key, String value) {
+ getInvoker().addDefaultHeader(key, value);
+ }
+
+ public ApiInvoker getInvoker() {
+ return apiInvoker;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ /**
+ *
+ *
+ * @param contentType
+ * @param subcategoryReq
+ * @return SubcategoryRes
+ */
+ public SubcategoryRes categoryListMenuPost (String contentType, SubcategoryReq subcategoryReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = subcategoryReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling categoryListMenuPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling categoryListMenuPost"));
+ }
+
+ // verify the required parameter 'subcategoryReq' is set
+ if (subcategoryReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'subcategoryReq' when calling categoryListMenuPost",
+ new ApiException(400, "Missing the required parameter 'subcategoryReq' when calling categoryListMenuPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/category/list-menu".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (SubcategoryRes) ApiInvoker.deserialize(localVarResponse, "", SubcategoryRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param subcategoryReq
+ */
+ public void categoryListMenuPost (String contentType, SubcategoryReq subcategoryReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = subcategoryReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling categoryListMenuPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling categoryListMenuPost"));
+ }
+
+ // verify the required parameter 'subcategoryReq' is set
+ if (subcategoryReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'subcategoryReq' when calling categoryListMenuPost",
+ new ApiException(400, "Missing the required parameter 'subcategoryReq' when calling categoryListMenuPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/category/list-menu".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((SubcategoryRes) ApiInvoker.deserialize(localVarResponse, "", SubcategoryRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/MenuApi.java b/app/src/main/java/io/swagger/client/api/MenuApi.java
new file mode 100644
index 0000000..4eb5c0e
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/MenuApi.java
@@ -0,0 +1,377 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.api;
+
+import io.swagger.client.ApiInvoker;
+import io.swagger.client.ApiException;
+import io.swagger.client.Pair;
+
+import io.swagger.client.model.*;
+
+import java.util.*;
+
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.belladati.httpclientandroidlib.entity.mime.MultipartEntityBuilder;
+
+import io.swagger.client.model.MenuOptionRes;
+import io.swagger.client.model.MenuOptionReq;
+import io.swagger.client.model.MenuReq;
+import io.swagger.client.model.MenuRes;
+
+import org.apache.http.HttpEntity;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeoutException;
+
+public class MenuApi {
+ String basePath = BasePath.getInstance().getBasePath();
+ ApiInvoker apiInvoker = ApiInvoker.getInstance();
+
+ public void addHeader(String key, String value) {
+ getInvoker().addDefaultHeader(key, value);
+ }
+
+ public ApiInvoker getInvoker() {
+ return apiInvoker;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ /**
+ *
+ *
+ * @param contentType
+ * @param menuOptionReq
+ * @return MenuOptionRes
+ */
+ public MenuOptionRes menuDetailPost (String contentType, MenuOptionReq menuOptionReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = menuOptionReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling menuDetailPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling menuDetailPost"));
+ }
+
+ // verify the required parameter 'menuOptionReq' is set
+ if (menuOptionReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'menuOptionReq' when calling menuDetailPost",
+ new ApiException(400, "Missing the required parameter 'menuOptionReq' when calling menuDetailPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/menu/detail".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (MenuOptionRes) ApiInvoker.deserialize(localVarResponse, "", MenuOptionRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param menuOptionReq
+ */
+ public void menuDetailPost (String contentType, MenuOptionReq menuOptionReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = menuOptionReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling menuDetailPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling menuDetailPost"));
+ }
+
+ // verify the required parameter 'menuOptionReq' is set
+ if (menuOptionReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'menuOptionReq' when calling menuDetailPost",
+ new ApiException(400, "Missing the required parameter 'menuOptionReq' when calling menuDetailPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/menu/detail".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((MenuOptionRes) ApiInvoker.deserialize(localVarResponse, "", MenuOptionRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+ /**
+ *
+ *
+ * @param contentType
+ * @param menuReq
+ * @return MenuRes
+ */
+ public MenuRes menuListPost (String contentType, MenuReq menuReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = menuReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling menuListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling menuListPost"));
+ }
+
+ // verify the required parameter 'menuReq' is set
+ if (menuReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'menuReq' when calling menuListPost",
+ new ApiException(400, "Missing the required parameter 'menuReq' when calling menuListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/menu/list".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (MenuRes) ApiInvoker.deserialize(localVarResponse, "", MenuRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param menuReq
+ */
+ public void menuListPost (String contentType, MenuReq menuReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = menuReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling menuListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling menuListPost"));
+ }
+
+ // verify the required parameter 'menuReq' is set
+ if (menuReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'menuReq' when calling menuListPost",
+ new ApiException(400, "Missing the required parameter 'menuReq' when calling menuListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/menu/list".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((MenuRes) ApiInvoker.deserialize(localVarResponse, "", MenuRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/OrderApi.java b/app/src/main/java/io/swagger/client/api/OrderApi.java
new file mode 100644
index 0000000..c3e05bb
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/OrderApi.java
@@ -0,0 +1,531 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.api;
+
+import io.swagger.client.ApiInvoker;
+import io.swagger.client.ApiException;
+import io.swagger.client.Pair;
+
+import io.swagger.client.model.*;
+
+import java.util.*;
+
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.belladati.httpclientandroidlib.entity.mime.MultipartEntityBuilder;
+
+import io.swagger.client.model.AddOrderReq;
+import io.swagger.client.model.AddOrderRes;
+import io.swagger.client.model.OrderCompleteRes;
+import io.swagger.client.model.OrderCompleteReq;
+import io.swagger.client.model.OrderReq;
+import io.swagger.client.model.OrderRes;
+
+import org.apache.http.HttpEntity;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeoutException;
+
+public class OrderApi {
+ String basePath = BasePath.getInstance().getBasePath();
+ ApiInvoker apiInvoker = ApiInvoker.getInstance();
+
+ public void addHeader(String key, String value) {
+ getInvoker().addDefaultHeader(key, value);
+ }
+
+ public ApiInvoker getInvoker() {
+ return apiInvoker;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ /**
+ *
+ *
+ * @param contentType
+ * @param addOrderReq
+ * @return AddOrderRes
+ */
+ public AddOrderRes orderAddPost (String contentType, AddOrderReq addOrderReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = addOrderReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderAddPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderAddPost"));
+ }
+
+ // verify the required parameter 'addOrderReq' is set
+ if (addOrderReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'addOrderReq' when calling orderAddPost",
+ new ApiException(400, "Missing the required parameter 'addOrderReq' when calling orderAddPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/add".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (AddOrderRes) ApiInvoker.deserialize(localVarResponse, "", AddOrderRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param addOrderReq
+ */
+ public void orderAddPost (String contentType, AddOrderReq addOrderReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = addOrderReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderAddPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderAddPost"));
+ }
+
+ // verify the required parameter 'addOrderReq' is set
+ if (addOrderReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'addOrderReq' when calling orderAddPost",
+ new ApiException(400, "Missing the required parameter 'addOrderReq' when calling orderAddPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/add".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((AddOrderRes) ApiInvoker.deserialize(localVarResponse, "", AddOrderRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+ /**
+ *
+ *
+ * @param contentType
+ * @param orderCompleteReq
+ * @return OrderCompleteRes
+ */
+ public OrderCompleteRes orderPaymentCompletePost (String contentType, OrderCompleteReq orderCompleteReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = orderCompleteReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderPaymentCompletePost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderPaymentCompletePost"));
+ }
+
+ // verify the required parameter 'orderCompleteReq' is set
+ if (orderCompleteReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'orderCompleteReq' when calling orderPaymentCompletePost",
+ new ApiException(400, "Missing the required parameter 'orderCompleteReq' when calling orderPaymentCompletePost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/payment-complete".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (OrderCompleteRes) ApiInvoker.deserialize(localVarResponse, "", OrderCompleteRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param orderCompleteReq
+ */
+ public void orderPaymentCompletePost (String contentType, OrderCompleteReq orderCompleteReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = orderCompleteReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderPaymentCompletePost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderPaymentCompletePost"));
+ }
+
+ // verify the required parameter 'orderCompleteReq' is set
+ if (orderCompleteReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'orderCompleteReq' when calling orderPaymentCompletePost",
+ new ApiException(400, "Missing the required parameter 'orderCompleteReq' when calling orderPaymentCompletePost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/payment-complete".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((OrderCompleteRes) ApiInvoker.deserialize(localVarResponse, "", OrderCompleteRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+ /**
+ *
+ *
+ * @param contentType
+ * @param orderReq
+ * @return OrderRes
+ */
+ public OrderRes orderPaymentListPost (String contentType, OrderReq orderReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = orderReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderPaymentListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderPaymentListPost"));
+ }
+
+ // verify the required parameter 'orderReq' is set
+ if (orderReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'orderReq' when calling orderPaymentListPost",
+ new ApiException(400, "Missing the required parameter 'orderReq' when calling orderPaymentListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/payment-list".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (OrderRes) ApiInvoker.deserialize(localVarResponse, "", OrderRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param orderReq
+ */
+ public void orderPaymentListPost (String contentType, OrderReq orderReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = orderReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling orderPaymentListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling orderPaymentListPost"));
+ }
+
+ // verify the required parameter 'orderReq' is set
+ if (orderReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'orderReq' when calling orderPaymentListPost",
+ new ApiException(400, "Missing the required parameter 'orderReq' when calling orderPaymentListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/order/payment-list".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((OrderRes) ApiInvoker.deserialize(localVarResponse, "", OrderRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/api/StoreApi.java b/app/src/main/java/io/swagger/client/api/StoreApi.java
new file mode 100644
index 0000000..6d027bc
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/api/StoreApi.java
@@ -0,0 +1,223 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.api;
+
+import io.swagger.client.ApiInvoker;
+import io.swagger.client.ApiException;
+import io.swagger.client.Pair;
+
+import io.swagger.client.model.*;
+
+import java.util.*;
+
+import com.android.volley.Response;
+import com.android.volley.VolleyError;
+import com.belladati.httpclientandroidlib.entity.mime.MultipartEntityBuilder;
+
+import io.swagger.client.model.StoresReq;
+import io.swagger.client.model.StoresRes;
+
+import org.apache.http.HttpEntity;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeoutException;
+
+public class StoreApi {
+ String basePath = BasePath.getInstance().getBasePath();
+ ApiInvoker apiInvoker = ApiInvoker.getInstance();
+
+ public void addHeader(String key, String value) {
+ getInvoker().addDefaultHeader(key, value);
+ }
+
+ public ApiInvoker getInvoker() {
+ return apiInvoker;
+ }
+
+ public void setBasePath(String basePath) {
+ this.basePath = basePath;
+ }
+
+ public String getBasePath() {
+ return basePath;
+ }
+
+ /**
+ *
+ *
+ * @param contentType
+ * @param storesReq
+ * @return StoresRes
+ */
+ public StoresRes storeAccountListPost (String contentType, StoresReq storesReq) throws TimeoutException, ExecutionException, InterruptedException, ApiException {
+ Object postBody = storesReq;
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling storeAccountListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling storeAccountListPost"));
+ }
+
+ // verify the required parameter 'storesReq' is set
+ if (storesReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'storesReq' when calling storeAccountListPost",
+ new ApiException(400, "Missing the required parameter 'storesReq' when calling storeAccountListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/store/accountList".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ String localVarResponse = apiInvoker.invokeAPI (basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames);
+ if(localVarResponse != null){
+ return (StoresRes) ApiInvoker.deserialize(localVarResponse, "", StoresRes.class);
+ } else {
+ return null;
+ }
+ } catch (ApiException ex) {
+ throw ex;
+ } catch (InterruptedException ex) {
+ throw ex;
+ } catch (ExecutionException ex) {
+ if(ex.getCause() instanceof VolleyError) {
+ VolleyError volleyError = (VolleyError)ex.getCause();
+ if (volleyError.networkResponse != null) {
+ throw new ApiException(volleyError.networkResponse.statusCode, volleyError.getMessage());
+ }
+ }
+ throw ex;
+ } catch (TimeoutException ex) {
+ throw ex;
+ }
+ }
+
+ /**
+ *
+ *
+ * @param contentType * @param storesReq
+ */
+ public void storeAccountListPost (String contentType, StoresReq storesReq, final Response.Listener responseListener, final Response.ErrorListener errorListener) {
+ Object postBody = storesReq;
+
+
+ // verify the required parameter 'contentType' is set
+ if (contentType == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'contentType' when calling storeAccountListPost",
+ new ApiException(400, "Missing the required parameter 'contentType' when calling storeAccountListPost"));
+ }
+
+ // verify the required parameter 'storesReq' is set
+ if (storesReq == null) {
+ VolleyError error = new VolleyError("Missing the required parameter 'storesReq' when calling storeAccountListPost",
+ new ApiException(400, "Missing the required parameter 'storesReq' when calling storeAccountListPost"));
+ }
+
+
+ // create path and map variables
+ String path = "/store/accountList".replaceAll("\\{format\\}","json");
+
+ // query params
+ List queryParams = new ArrayList();
+ // header params
+ Map headerParams = new HashMap();
+ // form params
+ Map formParams = new HashMap();
+
+
+ headerParams.put("Content-Type", ApiInvoker.parameterToString(contentType));
+
+ String[] contentTypes = {
+ "application/json"
+ };
+ contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
+
+ if (contentType.startsWith("multipart/form-data")) {
+ // file uploading
+ MultipartEntityBuilder localVarBuilder = MultipartEntityBuilder.create();
+
+
+ com.belladati.httpclientandroidlib.HttpEntity httpEntity = localVarBuilder.build();
+ postBody = httpEntity;
+ } else {
+ // normal form params
+ }
+
+ String[] authNames = new String[] { };
+
+ try {
+ apiInvoker.invokeAPI(basePath, path, "POST", queryParams, postBody, headerParams, formParams, contentType, authNames,
+ new Response.Listener() {
+ @Override
+ public void onResponse(String localVarResponse) {
+ try {
+ responseListener.onResponse((StoresRes) ApiInvoker.deserialize(localVarResponse, "", StoresRes.class));
+ } catch (ApiException exception) {
+ errorListener.onErrorResponse(new VolleyError(exception));
+ }
+ }
+ }, new Response.ErrorListener() {
+ @Override
+ public void onErrorResponse(VolleyError error) {
+ errorListener.onErrorResponse(error);
+ }
+ });
+ } catch (ApiException ex) {
+ errorListener.onErrorResponse(new VolleyError(ex));
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/auth/ApiKeyAuth.java b/app/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
new file mode 100644
index 0000000..f738fd3
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
@@ -0,0 +1,85 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.auth;
+
+import io.swagger.client.Pair;
+
+import java.util.Map;
+import java.util.List;
+
+public class ApiKeyAuth implements Authentication {
+ private final String location;
+ private final String paramName;
+
+ private String apiKey;
+ private String apiKeyPrefix;
+
+ public ApiKeyAuth(String location, String paramName) {
+ this.location = location;
+ this.paramName = paramName;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+
+ public String getParamName() {
+ return paramName;
+ }
+
+ public String getApiKey() {
+ return apiKey;
+ }
+
+ public void setApiKey(String apiKey) {
+ this.apiKey = apiKey;
+ }
+
+ public String getApiKeyPrefix() {
+ return apiKeyPrefix;
+ }
+
+ public void setApiKeyPrefix(String apiKeyPrefix) {
+ this.apiKeyPrefix = apiKeyPrefix;
+ }
+
+ @Override
+ public void applyToParams(List queryParams, Map headerParams) {
+ String value;
+ if (apiKey == null) {
+ return;
+ }
+ if (apiKeyPrefix != null) {
+ value = apiKeyPrefix + " " + apiKey;
+ } else {
+ value = apiKey;
+ }
+ if ("query".equals(location)) {
+ queryParams.add(new Pair(paramName, value));
+ } else if ("header".equals(location)) {
+ headerParams.put(paramName, value);
+ }
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/auth/Authentication.java b/app/src/main/java/io/swagger/client/auth/Authentication.java
new file mode 100644
index 0000000..23cd5cb
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/auth/Authentication.java
@@ -0,0 +1,35 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.auth;
+
+import io.swagger.client.Pair;
+
+import java.util.Map;
+import java.util.List;
+
+public interface Authentication {
+ /** Apply authentication settings to header and query params. */
+ void applyToParams(List queryParams, Map headerParams);
+}
diff --git a/app/src/main/java/io/swagger/client/auth/HttpBasicAuth.java b/app/src/main/java/io/swagger/client/auth/HttpBasicAuth.java
new file mode 100644
index 0000000..a2c6b5d
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/auth/HttpBasicAuth.java
@@ -0,0 +1,59 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.auth;
+
+import io.swagger.client.Pair;
+
+import android.util.Base64;
+
+import java.util.Map;
+import java.util.List;
+
+public class HttpBasicAuth implements Authentication {
+ private String username;
+ private String password;
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ @Override
+ public void applyToParams(List queryParams, Map headerParams) {
+ String str = (username == null ? "" : username) + ":" + (password == null ? "" : password);
+ headerParams.put("Authorization", "Basic " + Base64.encodeToString(str.getBytes(), Base64.DEFAULT));
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderReq.java b/app/src/main/java/io/swagger/client/model/AddOrderReq.java
new file mode 100644
index 0000000..044de98
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderReq.java
@@ -0,0 +1,170 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.AddOrderReqDetail;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderReq {
+
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("user_id")
+ private String userId = null;
+ @SerializedName("price")
+ private String price = null;
+ @SerializedName("paymethod")
+ private String paymethod = null;
+ @SerializedName("points")
+ private String points = null;
+ @SerializedName("tax")
+ private String tax = null;
+ @SerializedName("detail")
+ private List detail = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getUserId() {
+ return userId;
+ }
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getPrice() {
+ return price;
+ }
+ public void setPrice(String price) {
+ this.price = price;
+ }
+
+ /**
+ * 현금,카드,포인트(0,1,0)
+ **/
+ @ApiModelProperty(value = "현금,카드,포인트(0,1,0)")
+ public String getPaymethod() {
+ return paymethod;
+ }
+ public void setPaymethod(String paymethod) {
+ this.paymethod = paymethod;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getPoints() {
+ return points;
+ }
+ public void setPoints(String points) {
+ this.points = points;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getTax() {
+ return tax;
+ }
+ public void setTax(String tax) {
+ this.tax = tax;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getDetail() {
+ return detail;
+ }
+ public void setDetail(List detail) {
+ this.detail = detail;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderReq addOrderReq = (AddOrderReq) o;
+ return (storeId == null ? addOrderReq.storeId == null : storeId.equals(addOrderReq.storeId)) &&
+ (userId == null ? addOrderReq.userId == null : userId.equals(addOrderReq.userId)) &&
+ (price == null ? addOrderReq.price == null : price.equals(addOrderReq.price)) &&
+ (paymethod == null ? addOrderReq.paymethod == null : paymethod.equals(addOrderReq.paymethod)) &&
+ (points == null ? addOrderReq.points == null : points.equals(addOrderReq.points)) &&
+ (tax == null ? addOrderReq.tax == null : tax.equals(addOrderReq.tax)) &&
+ (detail == null ? addOrderReq.detail == null : detail.equals(addOrderReq.detail));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (userId == null ? 0: userId.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ result = 31 * result + (paymethod == null ? 0: paymethod.hashCode());
+ result = 31 * result + (points == null ? 0: points.hashCode());
+ result = 31 * result + (tax == null ? 0: tax.hashCode());
+ result = 31 * result + (detail == null ? 0: detail.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderReq {\n");
+
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" userId: ").append(userId).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append(" paymethod: ").append(paymethod).append("\n");
+ sb.append(" points: ").append(points).append("\n");
+ sb.append(" tax: ").append(tax).append("\n");
+ sb.append(" detail: ").append(detail).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderReqDetail.java b/app/src/main/java/io/swagger/client/model/AddOrderReqDetail.java
new file mode 100644
index 0000000..7b093fb
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderReqDetail.java
@@ -0,0 +1,109 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.AddOrderReqOption;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderReqDetail {
+
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("quantity")
+ private String quantity = null;
+ @SerializedName("option")
+ private List option = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getQuantity() {
+ return quantity;
+ }
+ public void setQuantity(String quantity) {
+ this.quantity = quantity;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getOption() {
+ return option;
+ }
+ public void setOption(List option) {
+ this.option = option;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderReqDetail addOrderReqDetail = (AddOrderReqDetail) o;
+ return (menuId == null ? addOrderReqDetail.menuId == null : menuId.equals(addOrderReqDetail.menuId)) &&
+ (quantity == null ? addOrderReqDetail.quantity == null : quantity.equals(addOrderReqDetail.quantity)) &&
+ (option == null ? addOrderReqDetail.option == null : option.equals(addOrderReqDetail.option));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (quantity == null ? 0: quantity.hashCode());
+ result = 31 * result + (option == null ? 0: option.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderReqDetail {\n");
+
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" quantity: ").append(quantity).append("\n");
+ sb.append(" option: ").append(option).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderReqOption.java b/app/src/main/java/io/swagger/client/model/AddOrderReqOption.java
new file mode 100644
index 0000000..2f13f5e
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderReqOption.java
@@ -0,0 +1,92 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderReqOption {
+
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("quantity")
+ private String quantity = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getQuantity() {
+ return quantity;
+ }
+ public void setQuantity(String quantity) {
+ this.quantity = quantity;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderReqOption addOrderReqOption = (AddOrderReqOption) o;
+ return (menuId == null ? addOrderReqOption.menuId == null : menuId.equals(addOrderReqOption.menuId)) &&
+ (quantity == null ? addOrderReqOption.quantity == null : quantity.equals(addOrderReqOption.quantity));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (quantity == null ? 0: quantity.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderReqOption {\n");
+
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" quantity: ").append(quantity).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderRes.java b/app/src/main/java/io/swagger/client/model/AddOrderRes.java
new file mode 100644
index 0000000..2e4035e
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderRes.java
@@ -0,0 +1,110 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.AddOrderResData;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private AddOrderResData data = null;
+
+ /**
+ * 성공유부
+ **/
+ @ApiModelProperty(value = "성공유부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 응답 메시지
+ **/
+ @ApiModelProperty(value = "응답 메시지")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public AddOrderResData getData() {
+ return data;
+ }
+ public void setData(AddOrderResData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderRes addOrderRes = (AddOrderRes) o;
+ return (responseStatus == null ? addOrderRes.responseStatus == null : responseStatus.equals(addOrderRes.responseStatus)) &&
+ (responseMsg == null ? addOrderRes.responseMsg == null : responseMsg.equals(addOrderRes.responseMsg)) &&
+ (data == null ? addOrderRes.data == null : data.equals(addOrderRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderResData.java b/app/src/main/java/io/swagger/client/model/AddOrderResData.java
new file mode 100644
index 0000000..0758d9c
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderResData.java
@@ -0,0 +1,94 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.AddOrderResDataSoldOut;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderResData {
+
+ @SerializedName("order_id")
+ private String orderId = null;
+ @SerializedName("soldOut")
+ private List soldOut = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderId() {
+ return orderId;
+ }
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getSoldOut() {
+ return soldOut;
+ }
+ public void setSoldOut(List soldOut) {
+ this.soldOut = soldOut;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderResData addOrderResData = (AddOrderResData) o;
+ return (orderId == null ? addOrderResData.orderId == null : orderId.equals(addOrderResData.orderId)) &&
+ (soldOut == null ? addOrderResData.soldOut == null : soldOut.equals(addOrderResData.soldOut));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderId == null ? 0: orderId.hashCode());
+ result = 31 * result + (soldOut == null ? 0: soldOut.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderResData {\n");
+
+ sb.append(" orderId: ").append(orderId).append("\n");
+ sb.append(" soldOut: ").append(soldOut).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/AddOrderResDataSoldOut.java b/app/src/main/java/io/swagger/client/model/AddOrderResDataSoldOut.java
new file mode 100644
index 0000000..f6e18fa
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/AddOrderResDataSoldOut.java
@@ -0,0 +1,92 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class AddOrderResDataSoldOut {
+
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("menu_name")
+ private String menuName = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuName() {
+ return menuName;
+ }
+ public void setMenuName(String menuName) {
+ this.menuName = menuName;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ AddOrderResDataSoldOut addOrderResDataSoldOut = (AddOrderResDataSoldOut) o;
+ return (menuId == null ? addOrderResDataSoldOut.menuId == null : menuId.equals(addOrderResDataSoldOut.menuId)) &&
+ (menuName == null ? addOrderResDataSoldOut.menuName == null : menuName.equals(addOrderResDataSoldOut.menuName));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (menuName == null ? 0: menuName.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class AddOrderResDataSoldOut {\n");
+
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" menuName: ").append(menuName).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/LoginReq.java b/app/src/main/java/io/swagger/client/model/LoginReq.java
new file mode 100644
index 0000000..e1a84f4
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/LoginReq.java
@@ -0,0 +1,110 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class LoginReq {
+
+ @SerializedName("account_id")
+ private String accountId = null;
+ @SerializedName("passwd")
+ private String passwd = null;
+ @SerializedName("push_token")
+ private String pushToken = null;
+
+ /**
+ * login id
+ **/
+ @ApiModelProperty(value = "login id")
+ public String getAccountId() {
+ return accountId;
+ }
+ public void setAccountId(String accountId) {
+ this.accountId = accountId;
+ }
+
+ /**
+ * login passward
+ **/
+ @ApiModelProperty(value = "login passward")
+ public String getPasswd() {
+ return passwd;
+ }
+ public void setPasswd(String passwd) {
+ this.passwd = passwd;
+ }
+
+ /**
+ * firebase token
+ **/
+ @ApiModelProperty(value = "firebase token")
+ public String getPushToken() {
+ return pushToken;
+ }
+ public void setPushToken(String pushToken) {
+ this.pushToken = pushToken;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LoginReq loginReq = (LoginReq) o;
+ return (accountId == null ? loginReq.accountId == null : accountId.equals(loginReq.accountId)) &&
+ (passwd == null ? loginReq.passwd == null : passwd.equals(loginReq.passwd)) &&
+ (pushToken == null ? loginReq.pushToken == null : pushToken.equals(loginReq.pushToken));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (accountId == null ? 0: accountId.hashCode());
+ result = 31 * result + (passwd == null ? 0: passwd.hashCode());
+ result = 31 * result + (pushToken == null ? 0: pushToken.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LoginReq {\n");
+
+ sb.append(" accountId: ").append(accountId).append("\n");
+ sb.append(" passwd: ").append(passwd).append("\n");
+ sb.append(" pushToken: ").append(pushToken).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/LoginRes.java b/app/src/main/java/io/swagger/client/model/LoginRes.java
new file mode 100644
index 0000000..c177e42
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/LoginRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.LoginResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class LoginRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ * 성공유부
+ **/
+ @ApiModelProperty(value = "성공유부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 응답메시지
+ **/
+ @ApiModelProperty(value = "응답메시지")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LoginRes loginRes = (LoginRes) o;
+ return (responseStatus == null ? loginRes.responseStatus == null : responseStatus.equals(loginRes.responseStatus)) &&
+ (responseMsg == null ? loginRes.responseMsg == null : responseMsg.equals(loginRes.responseMsg)) &&
+ (data == null ? loginRes.data == null : data.equals(loginRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LoginRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/LoginResData.java b/app/src/main/java/io/swagger/client/model/LoginResData.java
new file mode 100644
index 0000000..b43df63
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/LoginResData.java
@@ -0,0 +1,122 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class LoginResData {
+
+ @SerializedName("account_id")
+ private String accountId = null;
+ @SerializedName("name")
+ private String name = null;
+ @SerializedName("phone")
+ private String phone = null;
+ @SerializedName("status")
+ private Integer status = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getAccountId() {
+ return accountId;
+ }
+ public void setAccountId(String accountId) {
+ this.accountId = accountId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getName() {
+ return name;
+ }
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getPhone() {
+ return phone;
+ }
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStatus() {
+ return status;
+ }
+ public void setStatus(Integer status) {
+ this.status = status;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LoginResData loginResData = (LoginResData) o;
+ return (accountId == null ? loginResData.accountId == null : accountId.equals(loginResData.accountId)) &&
+ (name == null ? loginResData.name == null : name.equals(loginResData.name)) &&
+ (phone == null ? loginResData.phone == null : phone.equals(loginResData.phone)) &&
+ (status == null ? loginResData.status == null : status.equals(loginResData.status));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (accountId == null ? 0: accountId.hashCode());
+ result = 31 * result + (name == null ? 0: name.hashCode());
+ result = 31 * result + (phone == null ? 0: phone.hashCode());
+ result = 31 * result + (status == null ? 0: status.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class LoginResData {\n");
+
+ sb.append(" accountId: ").append(accountId).append("\n");
+ sb.append(" name: ").append(name).append("\n");
+ sb.append(" phone: ").append(phone).append("\n");
+ sb.append(" status: ").append(status).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuOptionReq.java b/app/src/main/java/io/swagger/client/model/MenuOptionReq.java
new file mode 100644
index 0000000..3658521
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuOptionReq.java
@@ -0,0 +1,137 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuOptionReq {
+
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("orderBy")
+ private String orderBy = null;
+ @SerializedName("startNo")
+ private Integer startNo = null;
+ @SerializedName("cnt")
+ private Integer cnt = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderBy() {
+ return orderBy;
+ }
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStartNo() {
+ return startNo;
+ }
+ public void setStartNo(Integer startNo) {
+ this.startNo = startNo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCnt() {
+ return cnt;
+ }
+ public void setCnt(Integer cnt) {
+ this.cnt = cnt;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuOptionReq menuOptionReq = (MenuOptionReq) o;
+ return (storeId == null ? menuOptionReq.storeId == null : storeId.equals(menuOptionReq.storeId)) &&
+ (menuId == null ? menuOptionReq.menuId == null : menuId.equals(menuOptionReq.menuId)) &&
+ (orderBy == null ? menuOptionReq.orderBy == null : orderBy.equals(menuOptionReq.orderBy)) &&
+ (startNo == null ? menuOptionReq.startNo == null : startNo.equals(menuOptionReq.startNo)) &&
+ (cnt == null ? menuOptionReq.cnt == null : cnt.equals(menuOptionReq.cnt));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (orderBy == null ? 0: orderBy.hashCode());
+ result = 31 * result + (startNo == null ? 0: startNo.hashCode());
+ result = 31 * result + (cnt == null ? 0: cnt.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuOptionReq {\n");
+
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" orderBy: ").append(orderBy).append("\n");
+ sb.append(" startNo: ").append(startNo).append("\n");
+ sb.append(" cnt: ").append(cnt).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuOptionRes.java b/app/src/main/java/io/swagger/client/model/MenuOptionRes.java
new file mode 100644
index 0000000..2599bd4
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuOptionRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.MenuOptionResData1;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuOptionRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ * 성공여부
+ **/
+ @ApiModelProperty(value = "성공여부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 응답 코드
+ **/
+ @ApiModelProperty(value = "응답 코드")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuOptionRes menuOptionRes = (MenuOptionRes) o;
+ return (responseStatus == null ? menuOptionRes.responseStatus == null : responseStatus.equals(menuOptionRes.responseStatus)) &&
+ (responseMsg == null ? menuOptionRes.responseMsg == null : responseMsg.equals(menuOptionRes.responseMsg)) &&
+ (data == null ? menuOptionRes.data == null : data.equals(menuOptionRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuOptionRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuOptionResData.java b/app/src/main/java/io/swagger/client/model/MenuOptionResData.java
new file mode 100644
index 0000000..e499ed6
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuOptionResData.java
@@ -0,0 +1,108 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import java.math.BigDecimal;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuOptionResData {
+
+ @SerializedName("id")
+ private String id = null;
+ @SerializedName("option")
+ private String option = null;
+ @SerializedName("price")
+ private BigDecimal price = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getId() {
+ return id;
+ }
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOption() {
+ return option;
+ }
+ public void setOption(String option) {
+ this.option = option;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getPrice() {
+ return price;
+ }
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuOptionResData menuOptionResData = (MenuOptionResData) o;
+ return (id == null ? menuOptionResData.id == null : id.equals(menuOptionResData.id)) &&
+ (option == null ? menuOptionResData.option == null : option.equals(menuOptionResData.option)) &&
+ (price == null ? menuOptionResData.price == null : price.equals(menuOptionResData.price));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (id == null ? 0: id.hashCode());
+ result = 31 * result + (option == null ? 0: option.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuOptionResData {\n");
+
+ sb.append(" id: ").append(id).append("\n");
+ sb.append(" option: ").append(option).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuOptionResData1.java b/app/src/main/java/io/swagger/client/model/MenuOptionResData1.java
new file mode 100644
index 0000000..2445fd7
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuOptionResData1.java
@@ -0,0 +1,263 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.MenuOptionResOptions;
+import java.math.BigDecimal;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuOptionResData1 {
+
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("sub_category_id")
+ private String subCategoryId = null;
+ @SerializedName("inventory_id")
+ private String inventoryId = null;
+ @SerializedName("m_item")
+ private String mItem = null;
+ @SerializedName("m_type")
+ private Integer mType = null;
+ @SerializedName("price")
+ private BigDecimal price = null;
+ @SerializedName("points")
+ private Integer points = null;
+ @SerializedName("calory")
+ private Integer calory = null;
+ @SerializedName("barcode")
+ private String barcode = null;
+ @SerializedName("description")
+ private String description = null;
+ @SerializedName("file_id")
+ private String fileId = null;
+ @SerializedName("options")
+ private List options = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSubCategoryId() {
+ return subCategoryId;
+ }
+ public void setSubCategoryId(String subCategoryId) {
+ this.subCategoryId = subCategoryId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getInventoryId() {
+ return inventoryId;
+ }
+ public void setInventoryId(String inventoryId) {
+ this.inventoryId = inventoryId;
+ }
+
+ /**
+ * 메뉴명
+ **/
+ @ApiModelProperty(value = "메뉴명")
+ public String getMItem() {
+ return mItem;
+ }
+ public void setMItem(String mItem) {
+ this.mItem = mItem;
+ }
+
+ /**
+ * 메뉴옵션 타입
+ **/
+ @ApiModelProperty(value = "메뉴옵션 타입")
+ public Integer getMType() {
+ return mType;
+ }
+ public void setMType(Integer mType) {
+ this.mType = mType;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getPrice() {
+ return price;
+ }
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getPoints() {
+ return points;
+ }
+ public void setPoints(Integer points) {
+ this.points = points;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCalory() {
+ return calory;
+ }
+ public void setCalory(Integer calory) {
+ this.calory = calory;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getBarcode() {
+ return barcode;
+ }
+ public void setBarcode(String barcode) {
+ this.barcode = barcode;
+ }
+
+ /**
+ * 메뉴설명
+ **/
+ @ApiModelProperty(value = "메뉴설명")
+ public String getDescription() {
+ return description;
+ }
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getFileId() {
+ return fileId;
+ }
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getOptions() {
+ return options;
+ }
+ public void setOptions(List options) {
+ this.options = options;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuOptionResData1 menuOptionResData1 = (MenuOptionResData1) o;
+ return (menuId == null ? menuOptionResData1.menuId == null : menuId.equals(menuOptionResData1.menuId)) &&
+ (storeId == null ? menuOptionResData1.storeId == null : storeId.equals(menuOptionResData1.storeId)) &&
+ (subCategoryId == null ? menuOptionResData1.subCategoryId == null : subCategoryId.equals(menuOptionResData1.subCategoryId)) &&
+ (inventoryId == null ? menuOptionResData1.inventoryId == null : inventoryId.equals(menuOptionResData1.inventoryId)) &&
+ (mItem == null ? menuOptionResData1.mItem == null : mItem.equals(menuOptionResData1.mItem)) &&
+ (mType == null ? menuOptionResData1.mType == null : mType.equals(menuOptionResData1.mType)) &&
+ (price == null ? menuOptionResData1.price == null : price.equals(menuOptionResData1.price)) &&
+ (points == null ? menuOptionResData1.points == null : points.equals(menuOptionResData1.points)) &&
+ (calory == null ? menuOptionResData1.calory == null : calory.equals(menuOptionResData1.calory)) &&
+ (barcode == null ? menuOptionResData1.barcode == null : barcode.equals(menuOptionResData1.barcode)) &&
+ (description == null ? menuOptionResData1.description == null : description.equals(menuOptionResData1.description)) &&
+ (fileId == null ? menuOptionResData1.fileId == null : fileId.equals(menuOptionResData1.fileId)) &&
+ (options == null ? menuOptionResData1.options == null : options.equals(menuOptionResData1.options));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (subCategoryId == null ? 0: subCategoryId.hashCode());
+ result = 31 * result + (inventoryId == null ? 0: inventoryId.hashCode());
+ result = 31 * result + (mItem == null ? 0: mItem.hashCode());
+ result = 31 * result + (mType == null ? 0: mType.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ result = 31 * result + (points == null ? 0: points.hashCode());
+ result = 31 * result + (calory == null ? 0: calory.hashCode());
+ result = 31 * result + (barcode == null ? 0: barcode.hashCode());
+ result = 31 * result + (description == null ? 0: description.hashCode());
+ result = 31 * result + (fileId == null ? 0: fileId.hashCode());
+ result = 31 * result + (options == null ? 0: options.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuOptionResData1 {\n");
+
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" subCategoryId: ").append(subCategoryId).append("\n");
+ sb.append(" inventoryId: ").append(inventoryId).append("\n");
+ sb.append(" mItem: ").append(mItem).append("\n");
+ sb.append(" mType: ").append(mType).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append(" points: ").append(points).append("\n");
+ sb.append(" calory: ").append(calory).append("\n");
+ sb.append(" barcode: ").append(barcode).append("\n");
+ sb.append(" description: ").append(description).append("\n");
+ sb.append(" fileId: ").append(fileId).append("\n");
+ sb.append(" options: ").append(options).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuOptionResOptions.java b/app/src/main/java/io/swagger/client/model/MenuOptionResOptions.java
new file mode 100644
index 0000000..434b137
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuOptionResOptions.java
@@ -0,0 +1,124 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.MenuOptionResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuOptionResOptions {
+
+ @SerializedName("category_id")
+ private String categoryId = null;
+ @SerializedName("category_name")
+ private String categoryName = null;
+ @SerializedName("option_type")
+ private Integer optionType = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getCategoryId() {
+ return categoryId;
+ }
+ public void setCategoryId(String categoryId) {
+ this.categoryId = categoryId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getCategoryName() {
+ return categoryName;
+ }
+ public void setCategoryName(String categoryName) {
+ this.categoryName = categoryName;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOptionType() {
+ return optionType;
+ }
+ public void setOptionType(Integer optionType) {
+ this.optionType = optionType;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuOptionResOptions menuOptionResOptions = (MenuOptionResOptions) o;
+ return (categoryId == null ? menuOptionResOptions.categoryId == null : categoryId.equals(menuOptionResOptions.categoryId)) &&
+ (categoryName == null ? menuOptionResOptions.categoryName == null : categoryName.equals(menuOptionResOptions.categoryName)) &&
+ (optionType == null ? menuOptionResOptions.optionType == null : optionType.equals(menuOptionResOptions.optionType)) &&
+ (data == null ? menuOptionResOptions.data == null : data.equals(menuOptionResOptions.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (categoryId == null ? 0: categoryId.hashCode());
+ result = 31 * result + (categoryName == null ? 0: categoryName.hashCode());
+ result = 31 * result + (optionType == null ? 0: optionType.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuOptionResOptions {\n");
+
+ sb.append(" categoryId: ").append(categoryId).append("\n");
+ sb.append(" categoryName: ").append(categoryName).append("\n");
+ sb.append(" optionType: ").append(optionType).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuReq.java b/app/src/main/java/io/swagger/client/model/MenuReq.java
new file mode 100644
index 0000000..549eb53
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuReq.java
@@ -0,0 +1,137 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuReq {
+
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("sub_category_id")
+ private String subCategoryId = null;
+ @SerializedName("orderBy")
+ private String orderBy = null;
+ @SerializedName("startNo")
+ private Integer startNo = null;
+ @SerializedName("cnt")
+ private Integer cnt = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSubCategoryId() {
+ return subCategoryId;
+ }
+ public void setSubCategoryId(String subCategoryId) {
+ this.subCategoryId = subCategoryId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderBy() {
+ return orderBy;
+ }
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStartNo() {
+ return startNo;
+ }
+ public void setStartNo(Integer startNo) {
+ this.startNo = startNo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCnt() {
+ return cnt;
+ }
+ public void setCnt(Integer cnt) {
+ this.cnt = cnt;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuReq menuReq = (MenuReq) o;
+ return (storeId == null ? menuReq.storeId == null : storeId.equals(menuReq.storeId)) &&
+ (subCategoryId == null ? menuReq.subCategoryId == null : subCategoryId.equals(menuReq.subCategoryId)) &&
+ (orderBy == null ? menuReq.orderBy == null : orderBy.equals(menuReq.orderBy)) &&
+ (startNo == null ? menuReq.startNo == null : startNo.equals(menuReq.startNo)) &&
+ (cnt == null ? menuReq.cnt == null : cnt.equals(menuReq.cnt));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (subCategoryId == null ? 0: subCategoryId.hashCode());
+ result = 31 * result + (orderBy == null ? 0: orderBy.hashCode());
+ result = 31 * result + (startNo == null ? 0: startNo.hashCode());
+ result = 31 * result + (cnt == null ? 0: cnt.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuReq {\n");
+
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" subCategoryId: ").append(subCategoryId).append("\n");
+ sb.append(" orderBy: ").append(orderBy).append("\n");
+ sb.append(" startNo: ").append(startNo).append("\n");
+ sb.append(" cnt: ").append(cnt).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuRes.java b/app/src/main/java/io/swagger/client/model/MenuRes.java
new file mode 100644
index 0000000..a1cf2e2
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.MenuResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ * 성공여부
+ **/
+ @ApiModelProperty(value = "성공여부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 응답 코드
+ **/
+ @ApiModelProperty(value = "응답 코드")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuRes menuRes = (MenuRes) o;
+ return (responseStatus == null ? menuRes.responseStatus == null : responseStatus.equals(menuRes.responseStatus)) &&
+ (responseMsg == null ? menuRes.responseMsg == null : responseMsg.equals(menuRes.responseMsg)) &&
+ (data == null ? menuRes.data == null : data.equals(menuRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/MenuResData.java b/app/src/main/java/io/swagger/client/model/MenuResData.java
new file mode 100644
index 0000000..fd8d86e
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/MenuResData.java
@@ -0,0 +1,247 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import java.math.BigDecimal;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class MenuResData {
+
+ @SerializedName("menu_id")
+ private String menuId = null;
+ @SerializedName("sub_category_id")
+ private String subCategoryId = null;
+ @SerializedName("m_item")
+ private String mItem = null;
+ @SerializedName("m_type")
+ private Integer mType = null;
+ @SerializedName("price")
+ private BigDecimal price = null;
+ @SerializedName("points")
+ private Integer points = null;
+ @SerializedName("calory")
+ private Integer calory = null;
+ @SerializedName("barcode")
+ private String barcode = null;
+ @SerializedName("use_YN")
+ private String useYN = null;
+ @SerializedName("m_regidate")
+ private String mRegidate = null;
+ @SerializedName("description")
+ private String description = null;
+ @SerializedName("file_id")
+ private String fileId = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMenuId() {
+ return menuId;
+ }
+ public void setMenuId(String menuId) {
+ this.menuId = menuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSubCategoryId() {
+ return subCategoryId;
+ }
+ public void setSubCategoryId(String subCategoryId) {
+ this.subCategoryId = subCategoryId;
+ }
+
+ /**
+ * 메뉴명
+ **/
+ @ApiModelProperty(value = "메뉴명")
+ public String getMItem() {
+ return mItem;
+ }
+ public void setMItem(String mItem) {
+ this.mItem = mItem;
+ }
+
+ /**
+ * 메뉴옵션 타입
+ **/
+ @ApiModelProperty(value = "메뉴옵션 타입")
+ public Integer getMType() {
+ return mType;
+ }
+ public void setMType(Integer mType) {
+ this.mType = mType;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getPrice() {
+ return price;
+ }
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getPoints() {
+ return points;
+ }
+ public void setPoints(Integer points) {
+ this.points = points;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCalory() {
+ return calory;
+ }
+ public void setCalory(Integer calory) {
+ this.calory = calory;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getBarcode() {
+ return barcode;
+ }
+ public void setBarcode(String barcode) {
+ this.barcode = barcode;
+ }
+
+ /**
+ * 판매여부
+ **/
+ @ApiModelProperty(value = "판매여부")
+ public String getUseYN() {
+ return useYN;
+ }
+ public void setUseYN(String useYN) {
+ this.useYN = useYN;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMRegidate() {
+ return mRegidate;
+ }
+ public void setMRegidate(String mRegidate) {
+ this.mRegidate = mRegidate;
+ }
+
+ /**
+ * 메뉴설명
+ **/
+ @ApiModelProperty(value = "메뉴설명")
+ public String getDescription() {
+ return description;
+ }
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getFileId() {
+ return fileId;
+ }
+ public void setFileId(String fileId) {
+ this.fileId = fileId;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ MenuResData menuResData = (MenuResData) o;
+ return (menuId == null ? menuResData.menuId == null : menuId.equals(menuResData.menuId)) &&
+ (subCategoryId == null ? menuResData.subCategoryId == null : subCategoryId.equals(menuResData.subCategoryId)) &&
+ (mItem == null ? menuResData.mItem == null : mItem.equals(menuResData.mItem)) &&
+ (mType == null ? menuResData.mType == null : mType.equals(menuResData.mType)) &&
+ (price == null ? menuResData.price == null : price.equals(menuResData.price)) &&
+ (points == null ? menuResData.points == null : points.equals(menuResData.points)) &&
+ (calory == null ? menuResData.calory == null : calory.equals(menuResData.calory)) &&
+ (barcode == null ? menuResData.barcode == null : barcode.equals(menuResData.barcode)) &&
+ (useYN == null ? menuResData.useYN == null : useYN.equals(menuResData.useYN)) &&
+ (mRegidate == null ? menuResData.mRegidate == null : mRegidate.equals(menuResData.mRegidate)) &&
+ (description == null ? menuResData.description == null : description.equals(menuResData.description)) &&
+ (fileId == null ? menuResData.fileId == null : fileId.equals(menuResData.fileId));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (menuId == null ? 0: menuId.hashCode());
+ result = 31 * result + (subCategoryId == null ? 0: subCategoryId.hashCode());
+ result = 31 * result + (mItem == null ? 0: mItem.hashCode());
+ result = 31 * result + (mType == null ? 0: mType.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ result = 31 * result + (points == null ? 0: points.hashCode());
+ result = 31 * result + (calory == null ? 0: calory.hashCode());
+ result = 31 * result + (barcode == null ? 0: barcode.hashCode());
+ result = 31 * result + (useYN == null ? 0: useYN.hashCode());
+ result = 31 * result + (mRegidate == null ? 0: mRegidate.hashCode());
+ result = 31 * result + (description == null ? 0: description.hashCode());
+ result = 31 * result + (fileId == null ? 0: fileId.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class MenuResData {\n");
+
+ sb.append(" menuId: ").append(menuId).append("\n");
+ sb.append(" subCategoryId: ").append(subCategoryId).append("\n");
+ sb.append(" mItem: ").append(mItem).append("\n");
+ sb.append(" mType: ").append(mType).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append(" points: ").append(points).append("\n");
+ sb.append(" calory: ").append(calory).append("\n");
+ sb.append(" barcode: ").append(barcode).append("\n");
+ sb.append(" useYN: ").append(useYN).append("\n");
+ sb.append(" mRegidate: ").append(mRegidate).append("\n");
+ sb.append(" description: ").append(description).append("\n");
+ sb.append(" fileId: ").append(fileId).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderCompleteReq.java b/app/src/main/java/io/swagger/client/model/OrderCompleteReq.java
new file mode 100644
index 0000000..b7af5c6
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderCompleteReq.java
@@ -0,0 +1,200 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderCompleteReq {
+
+ @SerializedName("order_id")
+ private String orderId = null;
+ @SerializedName("user_id")
+ private String userId = null;
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("amount")
+ private String amount = null;
+ @SerializedName("tax")
+ private String tax = null;
+ @SerializedName("price")
+ private String price = null;
+ @SerializedName("cash")
+ private String cash = null;
+ @SerializedName("card")
+ private String card = null;
+ @SerializedName("points")
+ private String points = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderId() {
+ return orderId;
+ }
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getUserId() {
+ return userId;
+ }
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getAmount() {
+ return amount;
+ }
+ public void setAmount(String amount) {
+ this.amount = amount;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getTax() {
+ return tax;
+ }
+ public void setTax(String tax) {
+ this.tax = tax;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getPrice() {
+ return price;
+ }
+ public void setPrice(String price) {
+ this.price = price;
+ }
+
+ /**
+ * 현금으로 계산한 가격
+ **/
+ @ApiModelProperty(value = "현금으로 계산한 가격")
+ public String getCash() {
+ return cash;
+ }
+ public void setCash(String cash) {
+ this.cash = cash;
+ }
+
+ /**
+ * 카드로 계산한 가격
+ **/
+ @ApiModelProperty(value = "카드로 계산한 가격")
+ public String getCard() {
+ return card;
+ }
+ public void setCard(String card) {
+ this.card = card;
+ }
+
+ /**
+ * 포인트로 계산한 가격
+ **/
+ @ApiModelProperty(value = "포인트로 계산한 가격")
+ public String getPoints() {
+ return points;
+ }
+ public void setPoints(String points) {
+ this.points = points;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderCompleteReq orderCompleteReq = (OrderCompleteReq) o;
+ return (orderId == null ? orderCompleteReq.orderId == null : orderId.equals(orderCompleteReq.orderId)) &&
+ (userId == null ? orderCompleteReq.userId == null : userId.equals(orderCompleteReq.userId)) &&
+ (storeId == null ? orderCompleteReq.storeId == null : storeId.equals(orderCompleteReq.storeId)) &&
+ (amount == null ? orderCompleteReq.amount == null : amount.equals(orderCompleteReq.amount)) &&
+ (tax == null ? orderCompleteReq.tax == null : tax.equals(orderCompleteReq.tax)) &&
+ (price == null ? orderCompleteReq.price == null : price.equals(orderCompleteReq.price)) &&
+ (cash == null ? orderCompleteReq.cash == null : cash.equals(orderCompleteReq.cash)) &&
+ (card == null ? orderCompleteReq.card == null : card.equals(orderCompleteReq.card)) &&
+ (points == null ? orderCompleteReq.points == null : points.equals(orderCompleteReq.points));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderId == null ? 0: orderId.hashCode());
+ result = 31 * result + (userId == null ? 0: userId.hashCode());
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (amount == null ? 0: amount.hashCode());
+ result = 31 * result + (tax == null ? 0: tax.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ result = 31 * result + (cash == null ? 0: cash.hashCode());
+ result = 31 * result + (card == null ? 0: card.hashCode());
+ result = 31 * result + (points == null ? 0: points.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderCompleteReq {\n");
+
+ sb.append(" orderId: ").append(orderId).append("\n");
+ sb.append(" userId: ").append(userId).append("\n");
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" amount: ").append(amount).append("\n");
+ sb.append(" tax: ").append(tax).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append(" cash: ").append(cash).append("\n");
+ sb.append(" card: ").append(card).append("\n");
+ sb.append(" points: ").append(points).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderCompleteRes.java b/app/src/main/java/io/swagger/client/model/OrderCompleteRes.java
new file mode 100644
index 0000000..eed03c5
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderCompleteRes.java
@@ -0,0 +1,110 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.OrderCompleteResData;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderCompleteRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private OrderCompleteResData data = null;
+
+ /**
+ * 성공유부
+ **/
+ @ApiModelProperty(value = "성공유부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 응답 메시지
+ **/
+ @ApiModelProperty(value = "응답 메시지")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public OrderCompleteResData getData() {
+ return data;
+ }
+ public void setData(OrderCompleteResData data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderCompleteRes orderCompleteRes = (OrderCompleteRes) o;
+ return (responseStatus == null ? orderCompleteRes.responseStatus == null : responseStatus.equals(orderCompleteRes.responseStatus)) &&
+ (responseMsg == null ? orderCompleteRes.responseMsg == null : responseMsg.equals(orderCompleteRes.responseMsg)) &&
+ (data == null ? orderCompleteRes.data == null : data.equals(orderCompleteRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderCompleteRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderCompleteResData.java b/app/src/main/java/io/swagger/client/model/OrderCompleteResData.java
new file mode 100644
index 0000000..9857812
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderCompleteResData.java
@@ -0,0 +1,77 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderCompleteResData {
+
+ @SerializedName("order_num")
+ private Integer orderNum = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOrderNum() {
+ return orderNum;
+ }
+ public void setOrderNum(Integer orderNum) {
+ this.orderNum = orderNum;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderCompleteResData orderCompleteResData = (OrderCompleteResData) o;
+ return (orderNum == null ? orderCompleteResData.orderNum == null : orderNum.equals(orderCompleteResData.orderNum));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderNum == null ? 0: orderNum.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderCompleteResData {\n");
+
+ sb.append(" orderNum: ").append(orderNum).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderReq.java b/app/src/main/java/io/swagger/client/model/OrderReq.java
new file mode 100644
index 0000000..132d69d
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderReq.java
@@ -0,0 +1,167 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderReq {
+
+ @SerializedName("user_id")
+ private String userId = null;
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("order_id")
+ private String orderId = null;
+ @SerializedName("orderBy")
+ private String orderBy = null;
+ @SerializedName("startNo")
+ private Integer startNo = null;
+ @SerializedName("cnt")
+ private Integer cnt = null;
+ @SerializedName("orderByWith")
+ private String orderByWith = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getUserId() {
+ return userId;
+ }
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderId() {
+ return orderId;
+ }
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderBy() {
+ return orderBy;
+ }
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStartNo() {
+ return startNo;
+ }
+ public void setStartNo(Integer startNo) {
+ this.startNo = startNo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCnt() {
+ return cnt;
+ }
+ public void setCnt(Integer cnt) {
+ this.cnt = cnt;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderByWith() {
+ return orderByWith;
+ }
+ public void setOrderByWith(String orderByWith) {
+ this.orderByWith = orderByWith;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderReq orderReq = (OrderReq) o;
+ return (userId == null ? orderReq.userId == null : userId.equals(orderReq.userId)) &&
+ (storeId == null ? orderReq.storeId == null : storeId.equals(orderReq.storeId)) &&
+ (orderId == null ? orderReq.orderId == null : orderId.equals(orderReq.orderId)) &&
+ (orderBy == null ? orderReq.orderBy == null : orderBy.equals(orderReq.orderBy)) &&
+ (startNo == null ? orderReq.startNo == null : startNo.equals(orderReq.startNo)) &&
+ (cnt == null ? orderReq.cnt == null : cnt.equals(orderReq.cnt)) &&
+ (orderByWith == null ? orderReq.orderByWith == null : orderByWith.equals(orderReq.orderByWith));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (userId == null ? 0: userId.hashCode());
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (orderId == null ? 0: orderId.hashCode());
+ result = 31 * result + (orderBy == null ? 0: orderBy.hashCode());
+ result = 31 * result + (startNo == null ? 0: startNo.hashCode());
+ result = 31 * result + (cnt == null ? 0: cnt.hashCode());
+ result = 31 * result + (orderByWith == null ? 0: orderByWith.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderReq {\n");
+
+ sb.append(" userId: ").append(userId).append("\n");
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" orderId: ").append(orderId).append("\n");
+ sb.append(" orderBy: ").append(orderBy).append("\n");
+ sb.append(" startNo: ").append(startNo).append("\n");
+ sb.append(" cnt: ").append(cnt).append("\n");
+ sb.append(" orderByWith: ").append(orderByWith).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderRes.java b/app/src/main/java/io/swagger/client/model/OrderRes.java
new file mode 100644
index 0000000..0d8dd90
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.OrderResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ * 성공여부
+ **/
+ @ApiModelProperty(value = "성공여부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 에러 코드
+ **/
+ @ApiModelProperty(value = "에러 코드")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderRes orderRes = (OrderRes) o;
+ return (responseStatus == null ? orderRes.responseStatus == null : responseStatus.equals(orderRes.responseStatus)) &&
+ (responseMsg == null ? orderRes.responseMsg == null : responseMsg.equals(orderRes.responseMsg)) &&
+ (data == null ? orderRes.data == null : data.equals(orderRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderResData.java b/app/src/main/java/io/swagger/client/model/OrderResData.java
new file mode 100644
index 0000000..a710022
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderResData.java
@@ -0,0 +1,414 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.OrderResDetail;
+import java.math.BigDecimal;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderResData {
+
+ @SerializedName("order_id")
+ private String orderId = null;
+ @SerializedName("order_num")
+ private Integer orderNum = null;
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("machine_id")
+ private String machineId = null;
+ @SerializedName("user_id")
+ private String userId = null;
+ @SerializedName("amount")
+ private BigDecimal amount = null;
+ @SerializedName("coupon")
+ private BigDecimal coupon = null;
+ @SerializedName("coupon_title")
+ private String couponTitle = null;
+ @SerializedName("discount")
+ private BigDecimal discount = null;
+ @SerializedName("discount_title")
+ private String discountTitle = null;
+ @SerializedName("price")
+ private BigDecimal price = null;
+ @SerializedName("add_points")
+ private Integer addPoints = null;
+ @SerializedName("order_status")
+ private Integer orderStatus = null;
+ @SerializedName("cook_status")
+ private Integer cookStatus = null;
+ @SerializedName("paymethod")
+ private String paymethod = null;
+ @SerializedName("user_agent")
+ private Integer userAgent = null;
+ @SerializedName("cash")
+ private BigDecimal cash = null;
+ @SerializedName("card")
+ private BigDecimal card = null;
+ @SerializedName("points")
+ private Integer points = null;
+ @SerializedName("tax")
+ private BigDecimal tax = null;
+ @SerializedName("package")
+ private Integer _package = null;
+ @SerializedName("regidate")
+ private String regidate = null;
+ @SerializedName("detail")
+ private List detail = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderId() {
+ return orderId;
+ }
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOrderNum() {
+ return orderNum;
+ }
+ public void setOrderNum(Integer orderNum) {
+ this.orderNum = orderNum;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getMachineId() {
+ return machineId;
+ }
+ public void setMachineId(String machineId) {
+ this.machineId = machineId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getUserId() {
+ return userId;
+ }
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getAmount() {
+ return amount;
+ }
+ public void setAmount(BigDecimal amount) {
+ this.amount = amount;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getCoupon() {
+ return coupon;
+ }
+ public void setCoupon(BigDecimal coupon) {
+ this.coupon = coupon;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getCouponTitle() {
+ return couponTitle;
+ }
+ public void setCouponTitle(String couponTitle) {
+ this.couponTitle = couponTitle;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getDiscount() {
+ return discount;
+ }
+ public void setDiscount(BigDecimal discount) {
+ this.discount = discount;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getDiscountTitle() {
+ return discountTitle;
+ }
+ public void setDiscountTitle(String discountTitle) {
+ this.discountTitle = discountTitle;
+ }
+
+ /**
+ * 결제금액 = 주문총액 - 쿠폰 - 할인
+ **/
+ @ApiModelProperty(value = "결제금액 = 주문총액 - 쿠폰 - 할인")
+ public BigDecimal getPrice() {
+ return price;
+ }
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getAddPoints() {
+ return addPoints;
+ }
+ public void setAddPoints(Integer addPoints) {
+ this.addPoints = addPoints;
+ }
+
+ /**
+ * 주문완료, 주문취소, 환불 , null
+ **/
+ @ApiModelProperty(value = "주문완료, 주문취소, 환불 , null")
+ public Integer getOrderStatus() {
+ return orderStatus;
+ }
+ public void setOrderStatus(Integer orderStatus) {
+ this.orderStatus = orderStatus;
+ }
+
+ /**
+ * 처리중, 처리완료
+ **/
+ @ApiModelProperty(value = "처리중, 처리완료")
+ public Integer getCookStatus() {
+ return cookStatus;
+ }
+ public void setCookStatus(Integer cookStatus) {
+ this.cookStatus = cookStatus;
+ }
+
+ /**
+ * 현금,카드,포인트(1,0,0)
+ **/
+ @ApiModelProperty(value = "현금,카드,포인트(1,0,0)")
+ public String getPaymethod() {
+ return paymethod;
+ }
+ public void setPaymethod(String paymethod) {
+ this.paymethod = paymethod;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getUserAgent() {
+ return userAgent;
+ }
+ public void setUserAgent(Integer userAgent) {
+ this.userAgent = userAgent;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getCash() {
+ return cash;
+ }
+ public void setCash(BigDecimal cash) {
+ this.cash = cash;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getCard() {
+ return card;
+ }
+ public void setCard(BigDecimal card) {
+ this.card = card;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getPoints() {
+ return points;
+ }
+ public void setPoints(Integer points) {
+ this.points = points;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getTax() {
+ return tax;
+ }
+ public void setTax(BigDecimal tax) {
+ this.tax = tax;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getPackage() {
+ return _package;
+ }
+ public void setPackage(Integer _package) {
+ this._package = _package;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getRegidate() {
+ return regidate;
+ }
+ public void setRegidate(String regidate) {
+ this.regidate = regidate;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getDetail() {
+ return detail;
+ }
+ public void setDetail(List detail) {
+ this.detail = detail;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderResData orderResData = (OrderResData) o;
+ return (orderId == null ? orderResData.orderId == null : orderId.equals(orderResData.orderId)) &&
+ (orderNum == null ? orderResData.orderNum == null : orderNum.equals(orderResData.orderNum)) &&
+ (storeId == null ? orderResData.storeId == null : storeId.equals(orderResData.storeId)) &&
+ (machineId == null ? orderResData.machineId == null : machineId.equals(orderResData.machineId)) &&
+ (userId == null ? orderResData.userId == null : userId.equals(orderResData.userId)) &&
+ (amount == null ? orderResData.amount == null : amount.equals(orderResData.amount)) &&
+ (coupon == null ? orderResData.coupon == null : coupon.equals(orderResData.coupon)) &&
+ (couponTitle == null ? orderResData.couponTitle == null : couponTitle.equals(orderResData.couponTitle)) &&
+ (discount == null ? orderResData.discount == null : discount.equals(orderResData.discount)) &&
+ (discountTitle == null ? orderResData.discountTitle == null : discountTitle.equals(orderResData.discountTitle)) &&
+ (price == null ? orderResData.price == null : price.equals(orderResData.price)) &&
+ (addPoints == null ? orderResData.addPoints == null : addPoints.equals(orderResData.addPoints)) &&
+ (orderStatus == null ? orderResData.orderStatus == null : orderStatus.equals(orderResData.orderStatus)) &&
+ (cookStatus == null ? orderResData.cookStatus == null : cookStatus.equals(orderResData.cookStatus)) &&
+ (paymethod == null ? orderResData.paymethod == null : paymethod.equals(orderResData.paymethod)) &&
+ (userAgent == null ? orderResData.userAgent == null : userAgent.equals(orderResData.userAgent)) &&
+ (cash == null ? orderResData.cash == null : cash.equals(orderResData.cash)) &&
+ (card == null ? orderResData.card == null : card.equals(orderResData.card)) &&
+ (points == null ? orderResData.points == null : points.equals(orderResData.points)) &&
+ (tax == null ? orderResData.tax == null : tax.equals(orderResData.tax)) &&
+ (_package == null ? orderResData._package == null : _package.equals(orderResData._package)) &&
+ (regidate == null ? orderResData.regidate == null : regidate.equals(orderResData.regidate)) &&
+ (detail == null ? orderResData.detail == null : detail.equals(orderResData.detail));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderId == null ? 0: orderId.hashCode());
+ result = 31 * result + (orderNum == null ? 0: orderNum.hashCode());
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (machineId == null ? 0: machineId.hashCode());
+ result = 31 * result + (userId == null ? 0: userId.hashCode());
+ result = 31 * result + (amount == null ? 0: amount.hashCode());
+ result = 31 * result + (coupon == null ? 0: coupon.hashCode());
+ result = 31 * result + (couponTitle == null ? 0: couponTitle.hashCode());
+ result = 31 * result + (discount == null ? 0: discount.hashCode());
+ result = 31 * result + (discountTitle == null ? 0: discountTitle.hashCode());
+ result = 31 * result + (price == null ? 0: price.hashCode());
+ result = 31 * result + (addPoints == null ? 0: addPoints.hashCode());
+ result = 31 * result + (orderStatus == null ? 0: orderStatus.hashCode());
+ result = 31 * result + (cookStatus == null ? 0: cookStatus.hashCode());
+ result = 31 * result + (paymethod == null ? 0: paymethod.hashCode());
+ result = 31 * result + (userAgent == null ? 0: userAgent.hashCode());
+ result = 31 * result + (cash == null ? 0: cash.hashCode());
+ result = 31 * result + (card == null ? 0: card.hashCode());
+ result = 31 * result + (points == null ? 0: points.hashCode());
+ result = 31 * result + (tax == null ? 0: tax.hashCode());
+ result = 31 * result + (_package == null ? 0: _package.hashCode());
+ result = 31 * result + (regidate == null ? 0: regidate.hashCode());
+ result = 31 * result + (detail == null ? 0: detail.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderResData {\n");
+
+ sb.append(" orderId: ").append(orderId).append("\n");
+ sb.append(" orderNum: ").append(orderNum).append("\n");
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" machineId: ").append(machineId).append("\n");
+ sb.append(" userId: ").append(userId).append("\n");
+ sb.append(" amount: ").append(amount).append("\n");
+ sb.append(" coupon: ").append(coupon).append("\n");
+ sb.append(" couponTitle: ").append(couponTitle).append("\n");
+ sb.append(" discount: ").append(discount).append("\n");
+ sb.append(" discountTitle: ").append(discountTitle).append("\n");
+ sb.append(" price: ").append(price).append("\n");
+ sb.append(" addPoints: ").append(addPoints).append("\n");
+ sb.append(" orderStatus: ").append(orderStatus).append("\n");
+ sb.append(" cookStatus: ").append(cookStatus).append("\n");
+ sb.append(" paymethod: ").append(paymethod).append("\n");
+ sb.append(" userAgent: ").append(userAgent).append("\n");
+ sb.append(" cash: ").append(cash).append("\n");
+ sb.append(" card: ").append(card).append("\n");
+ sb.append(" points: ").append(points).append("\n");
+ sb.append(" tax: ").append(tax).append("\n");
+ sb.append(" _package: ").append(_package).append("\n");
+ sb.append(" regidate: ").append(regidate).append("\n");
+ sb.append(" detail: ").append(detail).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderResDetail.java b/app/src/main/java/io/swagger/client/model/OrderResDetail.java
new file mode 100644
index 0000000..62561c9
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderResDetail.java
@@ -0,0 +1,215 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.OrderResOption;
+import java.math.BigDecimal;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderResDetail {
+
+ @SerializedName("order_detail_id")
+ private String orderDetailId = null;
+ @SerializedName("detail_menu_id")
+ private String detailMenuId = null;
+ @SerializedName("detail_quantity")
+ private Integer detailQuantity = null;
+ @SerializedName("detail_file_id")
+ private String detailFileId = null;
+ @SerializedName("detail_menu_name")
+ private String detailMenuName = null;
+ @SerializedName("detail_price")
+ private BigDecimal detailPrice = null;
+ @SerializedName("detail_calory")
+ private Integer detailCalory = null;
+ @SerializedName("detail_points")
+ private Integer detailPoints = null;
+ @SerializedName("detail_description")
+ private String detailDescription = null;
+ @SerializedName("option")
+ private List option = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderDetailId() {
+ return orderDetailId;
+ }
+ public void setOrderDetailId(String orderDetailId) {
+ this.orderDetailId = orderDetailId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getDetailMenuId() {
+ return detailMenuId;
+ }
+ public void setDetailMenuId(String detailMenuId) {
+ this.detailMenuId = detailMenuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getDetailQuantity() {
+ return detailQuantity;
+ }
+ public void setDetailQuantity(Integer detailQuantity) {
+ this.detailQuantity = detailQuantity;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getDetailFileId() {
+ return detailFileId;
+ }
+ public void setDetailFileId(String detailFileId) {
+ this.detailFileId = detailFileId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getDetailMenuName() {
+ return detailMenuName;
+ }
+ public void setDetailMenuName(String detailMenuName) {
+ this.detailMenuName = detailMenuName;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getDetailPrice() {
+ return detailPrice;
+ }
+ public void setDetailPrice(BigDecimal detailPrice) {
+ this.detailPrice = detailPrice;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getDetailCalory() {
+ return detailCalory;
+ }
+ public void setDetailCalory(Integer detailCalory) {
+ this.detailCalory = detailCalory;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getDetailPoints() {
+ return detailPoints;
+ }
+ public void setDetailPoints(Integer detailPoints) {
+ this.detailPoints = detailPoints;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getDetailDescription() {
+ return detailDescription;
+ }
+ public void setDetailDescription(String detailDescription) {
+ this.detailDescription = detailDescription;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getOption() {
+ return option;
+ }
+ public void setOption(List option) {
+ this.option = option;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderResDetail orderResDetail = (OrderResDetail) o;
+ return (orderDetailId == null ? orderResDetail.orderDetailId == null : orderDetailId.equals(orderResDetail.orderDetailId)) &&
+ (detailMenuId == null ? orderResDetail.detailMenuId == null : detailMenuId.equals(orderResDetail.detailMenuId)) &&
+ (detailQuantity == null ? orderResDetail.detailQuantity == null : detailQuantity.equals(orderResDetail.detailQuantity)) &&
+ (detailFileId == null ? orderResDetail.detailFileId == null : detailFileId.equals(orderResDetail.detailFileId)) &&
+ (detailMenuName == null ? orderResDetail.detailMenuName == null : detailMenuName.equals(orderResDetail.detailMenuName)) &&
+ (detailPrice == null ? orderResDetail.detailPrice == null : detailPrice.equals(orderResDetail.detailPrice)) &&
+ (detailCalory == null ? orderResDetail.detailCalory == null : detailCalory.equals(orderResDetail.detailCalory)) &&
+ (detailPoints == null ? orderResDetail.detailPoints == null : detailPoints.equals(orderResDetail.detailPoints)) &&
+ (detailDescription == null ? orderResDetail.detailDescription == null : detailDescription.equals(orderResDetail.detailDescription)) &&
+ (option == null ? orderResDetail.option == null : option.equals(orderResDetail.option));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderDetailId == null ? 0: orderDetailId.hashCode());
+ result = 31 * result + (detailMenuId == null ? 0: detailMenuId.hashCode());
+ result = 31 * result + (detailQuantity == null ? 0: detailQuantity.hashCode());
+ result = 31 * result + (detailFileId == null ? 0: detailFileId.hashCode());
+ result = 31 * result + (detailMenuName == null ? 0: detailMenuName.hashCode());
+ result = 31 * result + (detailPrice == null ? 0: detailPrice.hashCode());
+ result = 31 * result + (detailCalory == null ? 0: detailCalory.hashCode());
+ result = 31 * result + (detailPoints == null ? 0: detailPoints.hashCode());
+ result = 31 * result + (detailDescription == null ? 0: detailDescription.hashCode());
+ result = 31 * result + (option == null ? 0: option.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderResDetail {\n");
+
+ sb.append(" orderDetailId: ").append(orderDetailId).append("\n");
+ sb.append(" detailMenuId: ").append(detailMenuId).append("\n");
+ sb.append(" detailQuantity: ").append(detailQuantity).append("\n");
+ sb.append(" detailFileId: ").append(detailFileId).append("\n");
+ sb.append(" detailMenuName: ").append(detailMenuName).append("\n");
+ sb.append(" detailPrice: ").append(detailPrice).append("\n");
+ sb.append(" detailCalory: ").append(detailCalory).append("\n");
+ sb.append(" detailPoints: ").append(detailPoints).append("\n");
+ sb.append(" detailDescription: ").append(detailDescription).append("\n");
+ sb.append(" option: ").append(option).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/OrderResOption.java b/app/src/main/java/io/swagger/client/model/OrderResOption.java
new file mode 100644
index 0000000..61af4ea
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/OrderResOption.java
@@ -0,0 +1,213 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import java.math.BigDecimal;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class OrderResOption {
+
+ @SerializedName("order_option_id")
+ private String orderOptionId = null;
+ @SerializedName("option_menu_id")
+ private String optionMenuId = null;
+ @SerializedName("option_quantity")
+ private Integer optionQuantity = null;
+ @SerializedName("option_file_id")
+ private String optionFileId = null;
+ @SerializedName("option_menu_name")
+ private String optionMenuName = null;
+ @SerializedName("option_price")
+ private BigDecimal optionPrice = null;
+ @SerializedName("option_calory")
+ private Integer optionCalory = null;
+ @SerializedName("option_points")
+ private Integer optionPoints = null;
+ @SerializedName("option_op")
+ private Integer optionOp = null;
+ @SerializedName("option_description")
+ private String optionDescription = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderOptionId() {
+ return orderOptionId;
+ }
+ public void setOrderOptionId(String orderOptionId) {
+ this.orderOptionId = orderOptionId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOptionMenuId() {
+ return optionMenuId;
+ }
+ public void setOptionMenuId(String optionMenuId) {
+ this.optionMenuId = optionMenuId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOptionQuantity() {
+ return optionQuantity;
+ }
+ public void setOptionQuantity(Integer optionQuantity) {
+ this.optionQuantity = optionQuantity;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOptionFileId() {
+ return optionFileId;
+ }
+ public void setOptionFileId(String optionFileId) {
+ this.optionFileId = optionFileId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOptionMenuName() {
+ return optionMenuName;
+ }
+ public void setOptionMenuName(String optionMenuName) {
+ this.optionMenuName = optionMenuName;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getOptionPrice() {
+ return optionPrice;
+ }
+ public void setOptionPrice(BigDecimal optionPrice) {
+ this.optionPrice = optionPrice;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOptionCalory() {
+ return optionCalory;
+ }
+ public void setOptionCalory(Integer optionCalory) {
+ this.optionCalory = optionCalory;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOptionPoints() {
+ return optionPoints;
+ }
+ public void setOptionPoints(Integer optionPoints) {
+ this.optionPoints = optionPoints;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getOptionOp() {
+ return optionOp;
+ }
+ public void setOptionOp(Integer optionOp) {
+ this.optionOp = optionOp;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOptionDescription() {
+ return optionDescription;
+ }
+ public void setOptionDescription(String optionDescription) {
+ this.optionDescription = optionDescription;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ OrderResOption orderResOption = (OrderResOption) o;
+ return (orderOptionId == null ? orderResOption.orderOptionId == null : orderOptionId.equals(orderResOption.orderOptionId)) &&
+ (optionMenuId == null ? orderResOption.optionMenuId == null : optionMenuId.equals(orderResOption.optionMenuId)) &&
+ (optionQuantity == null ? orderResOption.optionQuantity == null : optionQuantity.equals(orderResOption.optionQuantity)) &&
+ (optionFileId == null ? orderResOption.optionFileId == null : optionFileId.equals(orderResOption.optionFileId)) &&
+ (optionMenuName == null ? orderResOption.optionMenuName == null : optionMenuName.equals(orderResOption.optionMenuName)) &&
+ (optionPrice == null ? orderResOption.optionPrice == null : optionPrice.equals(orderResOption.optionPrice)) &&
+ (optionCalory == null ? orderResOption.optionCalory == null : optionCalory.equals(orderResOption.optionCalory)) &&
+ (optionPoints == null ? orderResOption.optionPoints == null : optionPoints.equals(orderResOption.optionPoints)) &&
+ (optionOp == null ? orderResOption.optionOp == null : optionOp.equals(orderResOption.optionOp)) &&
+ (optionDescription == null ? orderResOption.optionDescription == null : optionDescription.equals(orderResOption.optionDescription));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (orderOptionId == null ? 0: orderOptionId.hashCode());
+ result = 31 * result + (optionMenuId == null ? 0: optionMenuId.hashCode());
+ result = 31 * result + (optionQuantity == null ? 0: optionQuantity.hashCode());
+ result = 31 * result + (optionFileId == null ? 0: optionFileId.hashCode());
+ result = 31 * result + (optionMenuName == null ? 0: optionMenuName.hashCode());
+ result = 31 * result + (optionPrice == null ? 0: optionPrice.hashCode());
+ result = 31 * result + (optionCalory == null ? 0: optionCalory.hashCode());
+ result = 31 * result + (optionPoints == null ? 0: optionPoints.hashCode());
+ result = 31 * result + (optionOp == null ? 0: optionOp.hashCode());
+ result = 31 * result + (optionDescription == null ? 0: optionDescription.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class OrderResOption {\n");
+
+ sb.append(" orderOptionId: ").append(orderOptionId).append("\n");
+ sb.append(" optionMenuId: ").append(optionMenuId).append("\n");
+ sb.append(" optionQuantity: ").append(optionQuantity).append("\n");
+ sb.append(" optionFileId: ").append(optionFileId).append("\n");
+ sb.append(" optionMenuName: ").append(optionMenuName).append("\n");
+ sb.append(" optionPrice: ").append(optionPrice).append("\n");
+ sb.append(" optionCalory: ").append(optionCalory).append("\n");
+ sb.append(" optionPoints: ").append(optionPoints).append("\n");
+ sb.append(" optionOp: ").append(optionOp).append("\n");
+ sb.append(" optionDescription: ").append(optionDescription).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/StoresReq.java b/app/src/main/java/io/swagger/client/model/StoresReq.java
new file mode 100644
index 0000000..a963b72
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/StoresReq.java
@@ -0,0 +1,122 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class StoresReq {
+
+ @SerializedName("account_id")
+ private String accountId = null;
+ @SerializedName("orderBy")
+ private String orderBy = null;
+ @SerializedName("startNo")
+ private Integer startNo = null;
+ @SerializedName("cnt")
+ private Integer cnt = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getAccountId() {
+ return accountId;
+ }
+ public void setAccountId(String accountId) {
+ this.accountId = accountId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderBy() {
+ return orderBy;
+ }
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStartNo() {
+ return startNo;
+ }
+ public void setStartNo(Integer startNo) {
+ this.startNo = startNo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCnt() {
+ return cnt;
+ }
+ public void setCnt(Integer cnt) {
+ this.cnt = cnt;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ StoresReq storesReq = (StoresReq) o;
+ return (accountId == null ? storesReq.accountId == null : accountId.equals(storesReq.accountId)) &&
+ (orderBy == null ? storesReq.orderBy == null : orderBy.equals(storesReq.orderBy)) &&
+ (startNo == null ? storesReq.startNo == null : startNo.equals(storesReq.startNo)) &&
+ (cnt == null ? storesReq.cnt == null : cnt.equals(storesReq.cnt));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (accountId == null ? 0: accountId.hashCode());
+ result = 31 * result + (orderBy == null ? 0: orderBy.hashCode());
+ result = 31 * result + (startNo == null ? 0: startNo.hashCode());
+ result = 31 * result + (cnt == null ? 0: cnt.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class StoresReq {\n");
+
+ sb.append(" accountId: ").append(accountId).append("\n");
+ sb.append(" orderBy: ").append(orderBy).append("\n");
+ sb.append(" startNo: ").append(startNo).append("\n");
+ sb.append(" cnt: ").append(cnt).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/StoresRes.java b/app/src/main/java/io/swagger/client/model/StoresRes.java
new file mode 100644
index 0000000..5005d15
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/StoresRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.StoresResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class StoresRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List data = null;
+
+ /**
+ * 성공여부
+ **/
+ @ApiModelProperty(value = "성공여부")
+ public Integer getResponseStatus() {
+ return responseStatus;
+ }
+ public void setResponseStatus(Integer responseStatus) {
+ this.responseStatus = responseStatus;
+ }
+
+ /**
+ * 에러 코드
+ **/
+ @ApiModelProperty(value = "에러 코드")
+ public String getResponseMsg() {
+ return responseMsg;
+ }
+ public void setResponseMsg(String responseMsg) {
+ this.responseMsg = responseMsg;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public List getData() {
+ return data;
+ }
+ public void setData(List data) {
+ this.data = data;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ StoresRes storesRes = (StoresRes) o;
+ return (responseStatus == null ? storesRes.responseStatus == null : responseStatus.equals(storesRes.responseStatus)) &&
+ (responseMsg == null ? storesRes.responseMsg == null : responseMsg.equals(storesRes.responseMsg)) &&
+ (data == null ? storesRes.data == null : data.equals(storesRes.data));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (responseStatus == null ? 0: responseStatus.hashCode());
+ result = 31 * result + (responseMsg == null ? 0: responseMsg.hashCode());
+ result = 31 * result + (data == null ? 0: data.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class StoresRes {\n");
+
+ sb.append(" responseStatus: ").append(responseStatus).append("\n");
+ sb.append(" responseMsg: ").append(responseMsg).append("\n");
+ sb.append(" data: ").append(data).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/StoresResData.java b/app/src/main/java/io/swagger/client/model/StoresResData.java
new file mode 100644
index 0000000..f4b37f7
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/StoresResData.java
@@ -0,0 +1,216 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import java.math.BigDecimal;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class StoresResData {
+
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("user_id")
+ private String userId = null;
+ @SerializedName("store")
+ private String store = null;
+ @SerializedName("u_points")
+ private Integer uPoints = null;
+ @SerializedName("u_status")
+ private Integer uStatus = null;
+ @SerializedName("u_level")
+ private String uLevel = null;
+ @SerializedName("s_address")
+ private String sAddress = null;
+ @SerializedName("s_logo")
+ private String sLogo = null;
+ @SerializedName("s_tax")
+ private BigDecimal sTax = null;
+ @SerializedName("s_phone")
+ private String sPhone = null;
+
+ /**
+ * 매장번호
+ **/
+ @ApiModelProperty(value = "매장번호")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getUserId() {
+ return userId;
+ }
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+ /**
+ * 회사명
+ **/
+ @ApiModelProperty(value = "회사명")
+ public String getStore() {
+ return store;
+ }
+ public void setStore(String store) {
+ this.store = store;
+ }
+
+ /**
+ * 스토어별 point
+ **/
+ @ApiModelProperty(value = "스토어별 point")
+ public Integer getUPoints() {
+ return uPoints;
+ }
+ public void setUPoints(Integer uPoints) {
+ this.uPoints = uPoints;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getUStatus() {
+ return uStatus;
+ }
+ public void setUStatus(Integer uStatus) {
+ this.uStatus = uStatus;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getULevel() {
+ return uLevel;
+ }
+ public void setULevel(String uLevel) {
+ this.uLevel = uLevel;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSAddress() {
+ return sAddress;
+ }
+ public void setSAddress(String sAddress) {
+ this.sAddress = sAddress;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSLogo() {
+ return sLogo;
+ }
+ public void setSLogo(String sLogo) {
+ this.sLogo = sLogo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public BigDecimal getSTax() {
+ return sTax;
+ }
+ public void setSTax(BigDecimal sTax) {
+ this.sTax = sTax;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getSPhone() {
+ return sPhone;
+ }
+ public void setSPhone(String sPhone) {
+ this.sPhone = sPhone;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ StoresResData storesResData = (StoresResData) o;
+ return (storeId == null ? storesResData.storeId == null : storeId.equals(storesResData.storeId)) &&
+ (userId == null ? storesResData.userId == null : userId.equals(storesResData.userId)) &&
+ (store == null ? storesResData.store == null : store.equals(storesResData.store)) &&
+ (uPoints == null ? storesResData.uPoints == null : uPoints.equals(storesResData.uPoints)) &&
+ (uStatus == null ? storesResData.uStatus == null : uStatus.equals(storesResData.uStatus)) &&
+ (uLevel == null ? storesResData.uLevel == null : uLevel.equals(storesResData.uLevel)) &&
+ (sAddress == null ? storesResData.sAddress == null : sAddress.equals(storesResData.sAddress)) &&
+ (sLogo == null ? storesResData.sLogo == null : sLogo.equals(storesResData.sLogo)) &&
+ (sTax == null ? storesResData.sTax == null : sTax.equals(storesResData.sTax)) &&
+ (sPhone == null ? storesResData.sPhone == null : sPhone.equals(storesResData.sPhone));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (userId == null ? 0: userId.hashCode());
+ result = 31 * result + (store == null ? 0: store.hashCode());
+ result = 31 * result + (uPoints == null ? 0: uPoints.hashCode());
+ result = 31 * result + (uStatus == null ? 0: uStatus.hashCode());
+ result = 31 * result + (uLevel == null ? 0: uLevel.hashCode());
+ result = 31 * result + (sAddress == null ? 0: sAddress.hashCode());
+ result = 31 * result + (sLogo == null ? 0: sLogo.hashCode());
+ result = 31 * result + (sTax == null ? 0: sTax.hashCode());
+ result = 31 * result + (sPhone == null ? 0: sPhone.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class StoresResData {\n");
+
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" userId: ").append(userId).append("\n");
+ sb.append(" store: ").append(store).append("\n");
+ sb.append(" uPoints: ").append(uPoints).append("\n");
+ sb.append(" uStatus: ").append(uStatus).append("\n");
+ sb.append(" uLevel: ").append(uLevel).append("\n");
+ sb.append(" sAddress: ").append(sAddress).append("\n");
+ sb.append(" sLogo: ").append(sLogo).append("\n");
+ sb.append(" sTax: ").append(sTax).append("\n");
+ sb.append(" sPhone: ").append(sPhone).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/SubcategoryReq.java b/app/src/main/java/io/swagger/client/model/SubcategoryReq.java
new file mode 100644
index 0000000..1985d9e
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/SubcategoryReq.java
@@ -0,0 +1,122 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class SubcategoryReq {
+
+ @SerializedName("store_id")
+ private String storeId = null;
+ @SerializedName("orderBy")
+ private String orderBy = null;
+ @SerializedName("startNo")
+ private Integer startNo = null;
+ @SerializedName("cnt")
+ private Integer cnt = null;
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getStoreId() {
+ return storeId;
+ }
+ public void setStoreId(String storeId) {
+ this.storeId = storeId;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public String getOrderBy() {
+ return orderBy;
+ }
+ public void setOrderBy(String orderBy) {
+ this.orderBy = orderBy;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getStartNo() {
+ return startNo;
+ }
+ public void setStartNo(Integer startNo) {
+ this.startNo = startNo;
+ }
+
+ /**
+ **/
+ @ApiModelProperty(value = "")
+ public Integer getCnt() {
+ return cnt;
+ }
+ public void setCnt(Integer cnt) {
+ this.cnt = cnt;
+ }
+
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ SubcategoryReq subcategoryReq = (SubcategoryReq) o;
+ return (storeId == null ? subcategoryReq.storeId == null : storeId.equals(subcategoryReq.storeId)) &&
+ (orderBy == null ? subcategoryReq.orderBy == null : orderBy.equals(subcategoryReq.orderBy)) &&
+ (startNo == null ? subcategoryReq.startNo == null : startNo.equals(subcategoryReq.startNo)) &&
+ (cnt == null ? subcategoryReq.cnt == null : cnt.equals(subcategoryReq.cnt));
+ }
+
+ @Override
+ public int hashCode() {
+ int result = 17;
+ result = 31 * result + (storeId == null ? 0: storeId.hashCode());
+ result = 31 * result + (orderBy == null ? 0: orderBy.hashCode());
+ result = 31 * result + (startNo == null ? 0: startNo.hashCode());
+ result = 31 * result + (cnt == null ? 0: cnt.hashCode());
+ return result;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class SubcategoryReq {\n");
+
+ sb.append(" storeId: ").append(storeId).append("\n");
+ sb.append(" orderBy: ").append(orderBy).append("\n");
+ sb.append(" startNo: ").append(startNo).append("\n");
+ sb.append(" cnt: ").append(cnt).append("\n");
+ sb.append("}\n");
+ return sb.toString();
+ }
+}
diff --git a/app/src/main/java/io/swagger/client/model/SubcategoryRes.java b/app/src/main/java/io/swagger/client/model/SubcategoryRes.java
new file mode 100644
index 0000000..dc2d55d
--- /dev/null
+++ b/app/src/main/java/io/swagger/client/model/SubcategoryRes.java
@@ -0,0 +1,111 @@
+/**
+ * Kiosk API
+ *
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package io.swagger.client.model;
+
+import io.swagger.client.model.SubcategoryResData;
+import java.util.*;
+
+import io.swagger.annotations.*;
+import com.google.gson.annotations.SerializedName;
+
+
+@ApiModel(description = "")
+public class SubcategoryRes {
+
+ @SerializedName("responseStatus")
+ private Integer responseStatus = null;
+ @SerializedName("responseMsg")
+ private String responseMsg = null;
+ @SerializedName("data")
+ private List