Owneat Technical Guide main Help

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

string

DisplayImageUrl

public string? DisplayImageUrl { get; set; }

Property Value

string?

Id

public Guid Id { get; init; }

Property Value

Guid

IsChargesEnabled

public bool IsChargesEnabled { get; set; }

Property Value

bool

IsInPrePaymentMode

public bool IsInPrePaymentMode { get; set; }

Property Value

bool

IsOnPaymentPlatform

public bool IsOnPaymentPlatform { get; set; }

Property Value

bool

IsPaymentModuleEnabled

public bool IsPaymentModuleEnabled { get; set; }

Property Value

bool

IsRestaurantOpen

public bool IsRestaurantOpen { get; set; }

Property Value

bool

public Menu? Menu { get; set; }

Property Value

Menu?

Name

public string Name { get; init; }

Property Value

string

OpeningHours

public IEnumerable<OpeningHours> OpeningHours { get; set; }

Property Value

IEnumerable <OpeningHours\>

PaymentPlatformId

public string? PaymentPlatformId { get; set; }

Property Value

string?

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