class RestaurantService
Exchange information for Restaurant entity.
Author
pavel.tsarev
RestaurantService(url: URL, credentials: Credentials?, transport: Transport)
Exchange information for Restaurant entity. |
operator fun get(sellerId: String, version: Int?): RestaurantOverviewInfo?
Get latest information about seller from the server. |
|
fun list(firstResult: Int? = null, maxResults: Int? = null, like: String? = null, orderBy: PublicSellerInfo.Fields? = null, orderDesc: Boolean? = null): List<RestaurantListInfo>?
Returns list of entities. Only for admins. |
|
fun put(version: Int, sellerId: String, restaurantInfo: RestaurantInfo): Unit
Send information about restaurant to the server to store it. |
|
fun remove(sellerId: String): Unit
Remove seller and all information that concerns seller. |