/*
Copyright 2020 Google LLC

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

    https://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 com.google.gpay.virtualqueue.backendservice.repository;

import java.util.Map;
import java.util.UUID;

import com.google.gpay.virtualqueue.backendservice.model.Shop;
import com.google.gpay.virtualqueue.backendservice.proto.CreateShopRequest;

public interface VirtualQueueRepository {

    public UUID createShop(CreateShopRequest createShopRequest);

    public Map<UUID, Shop> getAllShops();
}

@@ -617,16 +617,39 @@
 itory;%0A%0A
+import java.util.List;%0A
 import j
@@ -662,16 +662,16 @@
 il.Map;%0A
-
 import j
@@ -749,16 +749,80 @@
 l.Shop;%0A
+import com.google.gpay.virtualqueue.backendservice.model.Token;%0A
 import c
@@ -999,16 +999,16 @@
 uest);%0A%0A
-
     publ
@@ -1040,11 +1040,67 @@
 Shops();
+%0A%0A    public List%3CToken%3E getTokensByShopId(UUID shopId);
 %0A%7D%0A

Add function to Virtual Queue Repository interface