Class RestaurantResponse
Namespace: Restaurant.Application.Responses.Restaurant
Assembly: Restaurant.Application.dll
public class RestaurantResponse
Inheritance
object ← RestaurantResponse
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Address
public Address Address { get; init; }
Property Value
Address
Description
public string Description { get; init; }
Property Value
DisplayImageUrl
public string? DisplayImageUrl { get; set; }
Property Value
Id
public Guid Id { get; init; }
Property Value
IsChargesEnabled
public bool IsChargesEnabled { get; set; }
Property Value
IsInPrePaymentMode
public bool IsInPrePaymentMode { get; set; }
Property Value
IsOnPaymentPlatform
public bool IsOnPaymentPlatform { get; set; }
Property Value
IsPaymentModuleEnabled
public bool IsPaymentModuleEnabled { get; set; }
Property Value
IsRestaurantOpen
public bool IsRestaurantOpen { get; set; }
Property Value
Menu
public Menu? Menu { get; set; }
Property Value
Menu?
Name
public string Name { get; init; }
Property Value
OpeningHours
public IEnumerable<OpeningHours> OpeningHours { get; set; }
Property Value
IEnumerable <OpeningHours\>
PaymentPlatformId
public string? PaymentPlatformId { get; set; }
Property Value
RestaurantEvents
public IEnumerable<RestaurantEvent> RestaurantEvents { get; set; }
Property Value
IEnumerable <RestaurantEvent\>
Methods
ConvertFrom\(Restaurant\)
public static RestaurantResponse ConvertFrom(Restaurant restaurant)
Parameters
restaurant Restaurant
Returns
RestaurantResponse
Last modified: 21 May 2024