Modifier and Type | Class and Description |
---|---|
static class |
RestaurantInfo.Fields
List of fields for ordering.
|
Modifier and Type | Field and Description |
---|---|
private String |
address |
private Long |
averageBill |
private String |
city |
private String |
corporateId |
private String |
country |
private String |
custom |
private String |
description |
private List<String> |
images |
private List<RestaurantCategoryInfo> |
menu |
private String |
name |
private String |
phone |
private String |
workHours |
Constructor and Description |
---|
RestaurantInfo() |
@NotNull @Size(max=2, min=2) private String country
@NotNull @Size(max=96) @Pattern(regexp="^(?!^(PRN|AUX|CLOCK\\$|NUL|CON|COM\\d|LPT\\d|\\.\\.?)$)[^\\x00-\\x1f\\\\?*:\\\";|/<>]+$") private String corporateId
@NotNull @Size(min=1, max=96) private String name
@Size(min=1, max=255) private String city
@Size(min=1, max=500) private String address
@Size(min=1, max=96) private String phone
private String workHours
private String description
private Long averageBill
private List<RestaurantCategoryInfo> menu
@Size(max=65535) private String custom
Copyright © 2015. All rights reserved.