All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wix.restaurants.WixRestaurantsClient Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package com.wix.restaurants;

import com.openrest.v1_1.*;
import com.wix.restaurants.authentication.WixRestaurantsAuthenticationClient;

import java.util.List;
import java.util.Map;

public interface WixRestaurantsClient {
    WixRestaurantsAuthenticationClient getAuthenticationClient();

    RestaurantFullInfo retrieveRestaurantInfo(String restaurantId);

    Order submitOrder(String accessToken, Order order);

    Order retrieveOrderAsOwner(String orderId, String ownerToken);
    Order retrieveOrderAsRestaurant(String accessToken, String orderId);

    List search(Filter filter, int limit);

    List retrieveNewOrders(String accessToken, String restaurantId);

    Order acceptOrder(String accessToken, String orderId, Map externalIds);
    Order rejectOrder(String accessToken, String orderId, String comment);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy