POST | /share/share-place-link-used | A share place link was used | Validates the JWT token with the identity of the sharing user and the shared place and returns relevant information. |
---|
<?php namespace ConsumerApi;
use DateTime;
use Exception;
use DateInterval;
use JsonSerializable;
use ServiceStack\{IReturn,IReturnVoid,IGet,IPost,IPut,IDelete,IPatch,IMeta,IHasSessionId,IHasBearerToken,IHasVersion};
use ServiceStack\{ICrud,ICreateDb,IUpdateDb,IPatchDb,IDeleteDb,ISaveDb,AuditBase,QueryDb,QueryDb2,QueryData,QueryData2,QueryResponse};
use ServiceStack\{ResponseStatus,ResponseError,EmptyResponse,IdResponse,ArrayList,KeyValuePair2,StringResponse,StringsResponse,Tuple2,Tuple3,ByteArray};
use ServiceStack\{JsonConverters,Returns,TypeContext};
class SharingUser implements JsonSerializable
{
public function __construct(
/** @var string */
public string $firstName='',
/** @var string */
public string $lastName='',
/** @var string|null */
public ?string $profilePhotoUrl=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['firstName'])) $this->firstName = $o['firstName'];
if (isset($o['lastName'])) $this->lastName = $o['lastName'];
if (isset($o['profilePhotoUrl'])) $this->profilePhotoUrl = $o['profilePhotoUrl'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->firstName)) $o['firstName'] = $this->firstName;
if (isset($this->lastName)) $o['lastName'] = $this->lastName;
if (isset($this->profilePhotoUrl)) $o['profilePhotoUrl'] = $this->profilePhotoUrl;
return empty($o) ? new class(){} : $o;
}
}
class OpeningHour implements JsonSerializable
{
public function __construct(
/** @var int */
public int $openAtHour=0,
/** @var int */
public int $openAtMinute=0,
/** @var int */
public int $closeAtHour=0,
/** @var int */
public int $closeAtMinute=0
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['openAtHour'])) $this->openAtHour = $o['openAtHour'];
if (isset($o['openAtMinute'])) $this->openAtMinute = $o['openAtMinute'];
if (isset($o['closeAtHour'])) $this->closeAtHour = $o['closeAtHour'];
if (isset($o['closeAtMinute'])) $this->closeAtMinute = $o['closeAtMinute'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->openAtHour)) $o['openAtHour'] = $this->openAtHour;
if (isset($this->openAtMinute)) $o['openAtMinute'] = $this->openAtMinute;
if (isset($this->closeAtHour)) $o['closeAtHour'] = $this->closeAtHour;
if (isset($this->closeAtMinute)) $o['closeAtMinute'] = $this->closeAtMinute;
return empty($o) ? new class(){} : $o;
}
}
class WeeklyOpeningHours implements JsonSerializable
{
public function __construct(
/** @var OpeningHour|null */
public ?OpeningHour $monday=null,
/** @var OpeningHour|null */
public ?OpeningHour $tuesday=null,
/** @var OpeningHour|null */
public ?OpeningHour $wednesday=null,
/** @var OpeningHour|null */
public ?OpeningHour $thursday=null,
/** @var OpeningHour|null */
public ?OpeningHour $friday=null,
/** @var OpeningHour|null */
public ?OpeningHour $saturday=null,
/** @var OpeningHour|null */
public ?OpeningHour $sunday=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['monday'])) $this->monday = JsonConverters::from('OpeningHour', $o['monday']);
if (isset($o['tuesday'])) $this->tuesday = JsonConverters::from('OpeningHour', $o['tuesday']);
if (isset($o['wednesday'])) $this->wednesday = JsonConverters::from('OpeningHour', $o['wednesday']);
if (isset($o['thursday'])) $this->thursday = JsonConverters::from('OpeningHour', $o['thursday']);
if (isset($o['friday'])) $this->friday = JsonConverters::from('OpeningHour', $o['friday']);
if (isset($o['saturday'])) $this->saturday = JsonConverters::from('OpeningHour', $o['saturday']);
if (isset($o['sunday'])) $this->sunday = JsonConverters::from('OpeningHour', $o['sunday']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->monday)) $o['monday'] = JsonConverters::to('OpeningHour', $this->monday);
if (isset($this->tuesday)) $o['tuesday'] = JsonConverters::to('OpeningHour', $this->tuesday);
if (isset($this->wednesday)) $o['wednesday'] = JsonConverters::to('OpeningHour', $this->wednesday);
if (isset($this->thursday)) $o['thursday'] = JsonConverters::to('OpeningHour', $this->thursday);
if (isset($this->friday)) $o['friday'] = JsonConverters::to('OpeningHour', $this->friday);
if (isset($this->saturday)) $o['saturday'] = JsonConverters::to('OpeningHour', $this->saturday);
if (isset($this->sunday)) $o['sunday'] = JsonConverters::to('OpeningHour', $this->sunday);
return empty($o) ? new class(){} : $o;
}
}
class OpeningHours implements JsonSerializable
{
public function __construct(
/** @var WeeklyOpeningHours|null */
public ?WeeklyOpeningHours $weekly=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['weekly'])) $this->weekly = JsonConverters::from('WeeklyOpeningHours', $o['weekly']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->weekly)) $o['weekly'] = JsonConverters::to('WeeklyOpeningHours', $this->weekly);
return empty($o) ? new class(){} : $o;
}
}
class CategoryTreeApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $name='',
/** @var string */
public string $slug='',
/** @var string */
public string $absoluteSlug='',
/** @var string|null */
public ?string $imageUrl=null,
/** @var string|null */
public ?string $allImageUrl=null,
/** @var string|null */
public ?string $iconImageUrl=null,
/** @var int */
public int $position=0,
/** @var array<CategoryTreeApiDto>|null */
public ?array $children=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['name'])) $this->name = $o['name'];
if (isset($o['slug'])) $this->slug = $o['slug'];
if (isset($o['absoluteSlug'])) $this->absoluteSlug = $o['absoluteSlug'];
if (isset($o['imageUrl'])) $this->imageUrl = $o['imageUrl'];
if (isset($o['allImageUrl'])) $this->allImageUrl = $o['allImageUrl'];
if (isset($o['iconImageUrl'])) $this->iconImageUrl = $o['iconImageUrl'];
if (isset($o['position'])) $this->position = $o['position'];
if (isset($o['children'])) $this->children = JsonConverters::fromArray('CategoryTreeApiDto', $o['children']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->name)) $o['name'] = $this->name;
if (isset($this->slug)) $o['slug'] = $this->slug;
if (isset($this->absoluteSlug)) $o['absoluteSlug'] = $this->absoluteSlug;
if (isset($this->imageUrl)) $o['imageUrl'] = $this->imageUrl;
if (isset($this->allImageUrl)) $o['allImageUrl'] = $this->allImageUrl;
if (isset($this->iconImageUrl)) $o['iconImageUrl'] = $this->iconImageUrl;
if (isset($this->position)) $o['position'] = $this->position;
if (isset($this->children)) $o['children'] = JsonConverters::toArray('CategoryTreeApiDto', $this->children);
return empty($o) ? new class(){} : $o;
}
}
enum FeatureType : string
{
case BarSpeciality = 'BarSpeciality';
case BarType = 'BarType';
case Cuisine = 'Cuisine';
case SaveFoodAndMoney = 'SaveFoodAndMoney';
case MealType = 'MealType';
case Menu = 'Menu';
case OutdoorSeating = 'OutdoorSeating';
case Parking = 'Parking';
case PaymentOptions = 'PaymentOptions';
case PriceMainDish = 'PriceMainDish';
case SubCategories = 'SubCategories';
case SubCategoriesAndBrands = 'SubCategoriesAndBrands';
case EatingSuitabilities = 'EatingSuitabilities';
case TakeAway = 'TakeAway';
case WearPriceProfile = 'WearPriceProfile';
case WheelChairAccessible = 'WheelChairAccessible';
case Wifi = 'Wifi';
case WebShop = 'WebShop';
case Filtering = 'Filtering';
}
class IndividualFeatureDataApiDto implements JsonSerializable
{
public function __construct(
/** @var FeatureType|null */
public ?FeatureType $slug=null,
/** @var string */
public string $label=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['slug'])) $this->slug = JsonConverters::from('FeatureType', $o['slug']);
if (isset($o['label'])) $this->label = $o['label'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->slug)) $o['slug'] = JsonConverters::to('FeatureType', $this->slug);
if (isset($this->label)) $o['label'] = $this->label;
return empty($o) ? new class(){} : $o;
}
}
class BarSpecialityEsDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $slug='',
/** @var string */
public string $title=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['slug'])) $this->slug = $o['slug'];
if (isset($o['title'])) $this->title = $o['title'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->slug)) $o['slug'] = $this->slug;
if (isset($this->title)) $o['title'] = $this->title;
return empty($o) ? new class(){} : $o;
}
}
class BarTypeEsDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $slug='',
/** @var string */
public string $title=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['slug'])) $this->slug = $o['slug'];
if (isset($o['title'])) $this->title = $o['title'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->slug)) $o['slug'] = $this->slug;
if (isset($this->title)) $o['title'] = $this->title;
return empty($o) ? new class(){} : $o;
}
}
class BrandApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $name=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['name'])) $this->name = $o['name'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->name)) $o['name'] = $this->name;
return empty($o) ? new class(){} : $o;
}
}
class PlaceCustomBrandApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $name=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['name'])) $this->name = $o['name'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->name)) $o['name'] = $this->name;
return empty($o) ? new class(){} : $o;
}
}
class PlaceSelectedBrandApiDto implements JsonSerializable
{
public function __construct(
/** @var BrandApiDto|null */
public ?BrandApiDto $brand=null,
/** @var string[]|null */
public ?array $categoryAbsoluteSlugs=null,
/** @var PlaceCustomBrandApiDto|null */
public ?PlaceCustomBrandApiDto $placeCustomBrand=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['brand'])) $this->brand = JsonConverters::from('BrandApiDto', $o['brand']);
if (isset($o['categoryAbsoluteSlugs'])) $this->categoryAbsoluteSlugs = JsonConverters::fromArray('string', $o['categoryAbsoluteSlugs']);
if (isset($o['placeCustomBrand'])) $this->placeCustomBrand = JsonConverters::from('PlaceCustomBrandApiDto', $o['placeCustomBrand']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->brand)) $o['brand'] = JsonConverters::to('BrandApiDto', $this->brand);
if (isset($this->categoryAbsoluteSlugs)) $o['categoryAbsoluteSlugs'] = JsonConverters::toArray('string', $this->categoryAbsoluteSlugs);
if (isset($this->placeCustomBrand)) $o['placeCustomBrand'] = JsonConverters::to('PlaceCustomBrandApiDto', $this->placeCustomBrand);
return empty($o) ? new class(){} : $o;
}
}
class CuisineEsDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var string */
public string $slug=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = $o['slug'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = $this->slug;
return empty($o) ? new class(){} : $o;
}
}
class MealTypeApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var string */
public string $slug=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = $o['slug'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = $this->slug;
return empty($o) ? new class(){} : $o;
}
}
enum Parking : string
{
case StreetParking = 'StreetParking';
case ParkingGarageNearby = 'ParkingGarageNearby';
}
class ParkingApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var Parking|null */
public ?Parking $slug=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = JsonConverters::from('Parking', $o['slug']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = JsonConverters::to('Parking', $this->slug);
return empty($o) ? new class(){} : $o;
}
}
enum PaymentOption : string
{
case Visa = 'Visa';
case MasterCard = 'MasterCard';
case AmericanExpress = 'AmericanExpress';
case Diners = 'Diners';
case Vipps = 'Vipps';
}
class PaymentOptionApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var PaymentOption|null */
public ?PaymentOption $slug=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = JsonConverters::from('PaymentOption', $o['slug']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = JsonConverters::to('PaymentOption', $this->slug);
return empty($o) ? new class(){} : $o;
}
}
class EatingSuitabilityApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var string */
public string $slug=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = $o['slug'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = $this->slug;
return empty($o) ? new class(){} : $o;
}
}
class TakeAwayApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $label='',
/** @var string */
public string $slug=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['label'])) $this->label = $o['label'];
if (isset($o['slug'])) $this->slug = $o['slug'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->label)) $o['label'] = $this->label;
if (isset($this->slug)) $o['slug'] = $this->slug;
return empty($o) ? new class(){} : $o;
}
}
class WearPriceProfileEsDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $slug='',
/** @var string */
public string $label=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['slug'])) $this->slug = $o['slug'];
if (isset($o['label'])) $this->label = $o['label'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->slug)) $o['slug'] = $this->slug;
if (isset($this->label)) $o['label'] = $this->label;
return empty($o) ? new class(){} : $o;
}
}
class MenuEsDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $name='',
/** @var string */
public string $url='',
/** @var int */
public int $position=0
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['name'])) $this->name = $o['name'];
if (isset($o['url'])) $this->url = $o['url'];
if (isset($o['position'])) $this->position = $o['position'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->name)) $o['name'] = $this->name;
if (isset($this->url)) $o['url'] = $this->url;
if (isset($this->position)) $o['position'] = $this->position;
return empty($o) ? new class(){} : $o;
}
}
class ImageUrls implements JsonSerializable
{
public function __construct(
/** @var string */
public string $preview='',
/** @var string */
public string $small='',
/** @var string */
public string $medium='',
/** @var string */
public string $large=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['preview'])) $this->preview = $o['preview'];
if (isset($o['small'])) $this->small = $o['small'];
if (isset($o['medium'])) $this->medium = $o['medium'];
if (isset($o['large'])) $this->large = $o['large'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->preview)) $o['preview'] = $this->preview;
if (isset($this->small)) $o['small'] = $this->small;
if (isset($this->medium)) $o['medium'] = $this->medium;
if (isset($this->large)) $o['large'] = $this->large;
return empty($o) ? new class(){} : $o;
}
}
enum PlaceType : string
{
case Mall = 'Mall';
case Regular = 'Regular';
}
enum PriceMainDish : string
{
case Value = 'Value';
case Medium = 'Medium';
case High = 'High';
case FineDining = 'FineDining';
}
class PriceMainDishApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $title='',
/** @var PriceMainDish|null */
public ?PriceMainDish $slug=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['title'])) $this->title = $o['title'];
if (isset($o['slug'])) $this->slug = JsonConverters::from('PriceMainDish', $o['slug']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->title)) $o['title'] = $this->title;
if (isset($this->slug)) $o['slug'] = JsonConverters::to('PriceMainDish', $this->slug);
return empty($o) ? new class(){} : $o;
}
}
class TimeZoneDto implements JsonSerializable
{
public function __construct(
/** @var DateInterval|null */
public ?DateInterval $baseUtcOffset=null,
/** @var string */
public string $daylightName='',
/** @var string */
public string $displayName='',
/** @var string */
public string $id='',
/** @var string */
public string $standardName='',
/** @var bool|null */
public ?bool $supportsDaylightSavingTime=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['baseUtcOffset'])) $this->baseUtcOffset = JsonConverters::from('DateInterval', $o['baseUtcOffset']);
if (isset($o['daylightName'])) $this->daylightName = $o['daylightName'];
if (isset($o['displayName'])) $this->displayName = $o['displayName'];
if (isset($o['id'])) $this->id = $o['id'];
if (isset($o['standardName'])) $this->standardName = $o['standardName'];
if (isset($o['supportsDaylightSavingTime'])) $this->supportsDaylightSavingTime = $o['supportsDaylightSavingTime'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->baseUtcOffset)) $o['baseUtcOffset'] = JsonConverters::to('DateInterval', $this->baseUtcOffset);
if (isset($this->daylightName)) $o['daylightName'] = $this->daylightName;
if (isset($this->displayName)) $o['displayName'] = $this->displayName;
if (isset($this->id)) $o['id'] = $this->id;
if (isset($this->standardName)) $o['standardName'] = $this->standardName;
if (isset($this->supportsDaylightSavingTime)) $o['supportsDaylightSavingTime'] = $this->supportsDaylightSavingTime;
return empty($o) ? new class(){} : $o;
}
}
class PlaceContact implements JsonSerializable
{
public function __construct(
/** @var string|null */
public ?string $phone=null,
/** @var string|null */
public ?string $email=null,
/** @var string|null */
public ?string $website=null,
/** @var string|null */
public ?string $webShop=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['phone'])) $this->phone = $o['phone'];
if (isset($o['email'])) $this->email = $o['email'];
if (isset($o['website'])) $this->website = $o['website'];
if (isset($o['webShop'])) $this->webShop = $o['webShop'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->phone)) $o['phone'] = $this->phone;
if (isset($this->email)) $o['email'] = $this->email;
if (isset($this->website)) $o['website'] = $this->website;
if (isset($this->webShop)) $o['webShop'] = $this->webShop;
return empty($o) ? new class(){} : $o;
}
}
class PlaceAddress implements JsonSerializable
{
public function __construct(
/** @var string */
public string $street='',
/** @var string */
public string $postalCode='',
/** @var string */
public string $region='',
/** @var string */
public string $countryCode=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['street'])) $this->street = $o['street'];
if (isset($o['postalCode'])) $this->postalCode = $o['postalCode'];
if (isset($o['region'])) $this->region = $o['region'];
if (isset($o['countryCode'])) $this->countryCode = $o['countryCode'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->street)) $o['street'] = $this->street;
if (isset($this->postalCode)) $o['postalCode'] = $this->postalCode;
if (isset($this->region)) $o['region'] = $this->region;
if (isset($this->countryCode)) $o['countryCode'] = $this->countryCode;
return empty($o) ? new class(){} : $o;
}
}
class PlaceBasicApiDto implements JsonSerializable
{
public function __construct(
/** @var int */
public int $id=0,
/** @var string */
public string $guid='',
/** @var string|null */
public ?string $overview=null,
/** @var string */
public string $name='',
/** @var float */
public float $longitude=0.0,
/** @var float */
public float $latitude=0.0,
/** @var bool|null */
public ?bool $claimed=null,
/** @var string|null */
public ?string $organizationNumber=null,
/** @var string */
public string $countryCode='',
/** @var OpeningHours|null */
public ?OpeningHours $openingHours=null,
/** @var bool|null */
public ?bool $wheelchairAccessible=null,
/** @var bool|null */
public ?bool $wifi=null,
/** @var bool|null */
public ?bool $outdoorSeating=null,
/** @var bool|null */
public ?bool $saveFoodAndMoney=null,
/** @var PlaceType|null */
public ?PlaceType $placeType=null,
/** @var PriceMainDishApiDto|null */
public ?PriceMainDishApiDto $priceMainDish=null,
/** @var TimeZoneDto|null */
public ?TimeZoneDto $timeZoneDto=null,
/** @var int|null */
public ?int $businessId=null,
/** @var PlaceContact|null */
public ?PlaceContact $contact=null,
/** @var PlaceAddress|null */
public ?PlaceAddress $address=null,
/** @var array<CategoryTreeApiDto>|null */
public ?array $categories=null,
/** @var ImageUrls|null */
public ?ImageUrls $logoUrl=null,
/** @var ImageUrls|null */
public ?ImageUrls $imageUrl=null,
/** @var array<WearPriceProfileEsDto>|null */
public ?array $wearPriceProfiles=null,
/** @var array<PlaceSelectedBrandApiDto>|null */
public ?array $brands=null,
/** @var string|null */
public ?string $floor=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['id'])) $this->id = $o['id'];
if (isset($o['guid'])) $this->guid = $o['guid'];
if (isset($o['overview'])) $this->overview = $o['overview'];
if (isset($o['name'])) $this->name = $o['name'];
if (isset($o['longitude'])) $this->longitude = $o['longitude'];
if (isset($o['latitude'])) $this->latitude = $o['latitude'];
if (isset($o['claimed'])) $this->claimed = $o['claimed'];
if (isset($o['organizationNumber'])) $this->organizationNumber = $o['organizationNumber'];
if (isset($o['countryCode'])) $this->countryCode = $o['countryCode'];
if (isset($o['openingHours'])) $this->openingHours = JsonConverters::from('OpeningHours', $o['openingHours']);
if (isset($o['wheelchairAccessible'])) $this->wheelchairAccessible = $o['wheelchairAccessible'];
if (isset($o['wifi'])) $this->wifi = $o['wifi'];
if (isset($o['outdoorSeating'])) $this->outdoorSeating = $o['outdoorSeating'];
if (isset($o['saveFoodAndMoney'])) $this->saveFoodAndMoney = $o['saveFoodAndMoney'];
if (isset($o['placeType'])) $this->placeType = JsonConverters::from('PlaceType', $o['placeType']);
if (isset($o['priceMainDish'])) $this->priceMainDish = JsonConverters::from('PriceMainDishApiDto', $o['priceMainDish']);
if (isset($o['timeZoneDto'])) $this->timeZoneDto = JsonConverters::from('TimeZoneDto', $o['timeZoneDto']);
if (isset($o['businessId'])) $this->businessId = $o['businessId'];
if (isset($o['contact'])) $this->contact = JsonConverters::from('PlaceContact', $o['contact']);
if (isset($o['address'])) $this->address = JsonConverters::from('PlaceAddress', $o['address']);
if (isset($o['categories'])) $this->categories = JsonConverters::fromArray('CategoryTreeApiDto', $o['categories']);
if (isset($o['logoUrl'])) $this->logoUrl = JsonConverters::from('ImageUrls', $o['logoUrl']);
if (isset($o['imageUrl'])) $this->imageUrl = JsonConverters::from('ImageUrls', $o['imageUrl']);
if (isset($o['wearPriceProfiles'])) $this->wearPriceProfiles = JsonConverters::fromArray('WearPriceProfileEsDto', $o['wearPriceProfiles']);
if (isset($o['brands'])) $this->brands = JsonConverters::fromArray('PlaceSelectedBrandApiDto', $o['brands']);
if (isset($o['floor'])) $this->floor = $o['floor'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->id)) $o['id'] = $this->id;
if (isset($this->guid)) $o['guid'] = $this->guid;
if (isset($this->overview)) $o['overview'] = $this->overview;
if (isset($this->name)) $o['name'] = $this->name;
if (isset($this->longitude)) $o['longitude'] = $this->longitude;
if (isset($this->latitude)) $o['latitude'] = $this->latitude;
if (isset($this->claimed)) $o['claimed'] = $this->claimed;
if (isset($this->organizationNumber)) $o['organizationNumber'] = $this->organizationNumber;
if (isset($this->countryCode)) $o['countryCode'] = $this->countryCode;
if (isset($this->openingHours)) $o['openingHours'] = JsonConverters::to('OpeningHours', $this->openingHours);
if (isset($this->wheelchairAccessible)) $o['wheelchairAccessible'] = $this->wheelchairAccessible;
if (isset($this->wifi)) $o['wifi'] = $this->wifi;
if (isset($this->outdoorSeating)) $o['outdoorSeating'] = $this->outdoorSeating;
if (isset($this->saveFoodAndMoney)) $o['saveFoodAndMoney'] = $this->saveFoodAndMoney;
if (isset($this->placeType)) $o['placeType'] = JsonConverters::to('PlaceType', $this->placeType);
if (isset($this->priceMainDish)) $o['priceMainDish'] = JsonConverters::to('PriceMainDishApiDto', $this->priceMainDish);
if (isset($this->timeZoneDto)) $o['timeZoneDto'] = JsonConverters::to('TimeZoneDto', $this->timeZoneDto);
if (isset($this->businessId)) $o['businessId'] = $this->businessId;
if (isset($this->contact)) $o['contact'] = JsonConverters::to('PlaceContact', $this->contact);
if (isset($this->address)) $o['address'] = JsonConverters::to('PlaceAddress', $this->address);
if (isset($this->categories)) $o['categories'] = JsonConverters::toArray('CategoryTreeApiDto', $this->categories);
if (isset($this->logoUrl)) $o['logoUrl'] = JsonConverters::to('ImageUrls', $this->logoUrl);
if (isset($this->imageUrl)) $o['imageUrl'] = JsonConverters::to('ImageUrls', $this->imageUrl);
if (isset($this->wearPriceProfiles)) $o['wearPriceProfiles'] = JsonConverters::toArray('WearPriceProfileEsDto', $this->wearPriceProfiles);
if (isset($this->brands)) $o['brands'] = JsonConverters::toArray('PlaceSelectedBrandApiDto', $this->brands);
if (isset($this->floor)) $o['floor'] = $this->floor;
return empty($o) ? new class(){} : $o;
}
}
class MallOtherServiceApiDto implements JsonSerializable
{
public function __construct(
/** @var string */
public string $serviceName='',
/** @var string */
public string $floor=''
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['serviceName'])) $this->serviceName = $o['serviceName'];
if (isset($o['floor'])) $this->floor = $o['floor'];
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->serviceName)) $o['serviceName'] = $this->serviceName;
if (isset($this->floor)) $o['floor'] = $this->floor;
return empty($o) ? new class(){} : $o;
}
}
class PlaceApiDto implements JsonSerializable
{
public function __construct(
/** @var int */
public int $id=0,
/** @var string */
public string $guid='',
/** @var string|null */
public ?string $overview=null,
/** @var string */
public string $name='',
/** @var float */
public float $longitude=0.0,
/** @var float */
public float $latitude=0.0,
/** @var bool|null */
public ?bool $claimed=null,
/** @var string|null */
public ?string $organizationNumber=null,
/** @var string */
public string $countryCode='',
/** @var string */
public string $placeState='',
/** @var int */
public int $followersCount=0,
/** @var OpeningHours|null */
public ?OpeningHours $openingHours=null,
/** @var array<CategoryTreeApiDto>|null */
public ?array $categories=null,
/** @var array<IndividualFeatureDataApiDto>|null */
public ?array $featureData=null,
/** @var array<BarSpecialityEsDto>|null */
public ?array $barSpecialities=null,
/** @var array<BarTypeEsDto>|null */
public ?array $barTypes=null,
/** @var array<PlaceSelectedBrandApiDto>|null */
public ?array $brands=null,
/** @var array<CuisineEsDto>|null */
public ?array $cuisines=null,
/** @var array<MealTypeApiDto>|null */
public ?array $mealTypes=null,
/** @var array<ParkingApiDto>|null */
public ?array $parking=null,
/** @var array<PaymentOptionApiDto>|null */
public ?array $paymentOptions=null,
/** @var array<EatingSuitabilityApiDto>|null */
public ?array $eatingSuitabilities=null,
/** @var array<TakeAwayApiDto>|null */
public ?array $takeAways=null,
/** @var array<WearPriceProfileEsDto>|null */
public ?array $wearPriceProfiles=null,
/** @var array<MenuEsDto>|null */
public ?array $menus=null,
/** @var ImageUrls|null */
public ?ImageUrls $logoUrl=null,
/** @var ImageUrls|null */
public ?ImageUrls $imageUrl=null,
/** @var bool|null */
public ?bool $wheelchairAccessible=null,
/** @var bool|null */
public ?bool $wifi=null,
/** @var bool|null */
public ?bool $outdoorSeating=null,
/** @var bool|null */
public ?bool $saveFoodAndMoney=null,
/** @var PlaceType|null */
public ?PlaceType $placeType=null,
/** @var PlaceBasicApiDto|null */
public ?PlaceBasicApiDto $mall=null,
/** @var PriceMainDishApiDto|null */
public ?PriceMainDishApiDto $priceMainDish=null,
/** @var array<PlaceBasicApiDto>|null */
public ?array $places=null,
/** @var array<MallOtherServiceApiDto>|null */
public ?array $otherServices=null,
/** @var string|null */
public ?string $floor=null,
/** @var TimeZoneDto|null */
public ?TimeZoneDto $timeZoneDto=null,
/** @var int|null */
public ?int $businessId=null,
/** @var PlaceContact|null */
public ?PlaceContact $contact=null,
/** @var PlaceAddress|null */
public ?PlaceAddress $address=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['id'])) $this->id = $o['id'];
if (isset($o['guid'])) $this->guid = $o['guid'];
if (isset($o['overview'])) $this->overview = $o['overview'];
if (isset($o['name'])) $this->name = $o['name'];
if (isset($o['longitude'])) $this->longitude = $o['longitude'];
if (isset($o['latitude'])) $this->latitude = $o['latitude'];
if (isset($o['claimed'])) $this->claimed = $o['claimed'];
if (isset($o['organizationNumber'])) $this->organizationNumber = $o['organizationNumber'];
if (isset($o['countryCode'])) $this->countryCode = $o['countryCode'];
if (isset($o['placeState'])) $this->placeState = $o['placeState'];
if (isset($o['followersCount'])) $this->followersCount = $o['followersCount'];
if (isset($o['openingHours'])) $this->openingHours = JsonConverters::from('OpeningHours', $o['openingHours']);
if (isset($o['categories'])) $this->categories = JsonConverters::fromArray('CategoryTreeApiDto', $o['categories']);
if (isset($o['featureData'])) $this->featureData = JsonConverters::fromArray('IndividualFeatureDataApiDto', $o['featureData']);
if (isset($o['barSpecialities'])) $this->barSpecialities = JsonConverters::fromArray('BarSpecialityEsDto', $o['barSpecialities']);
if (isset($o['barTypes'])) $this->barTypes = JsonConverters::fromArray('BarTypeEsDto', $o['barTypes']);
if (isset($o['brands'])) $this->brands = JsonConverters::fromArray('PlaceSelectedBrandApiDto', $o['brands']);
if (isset($o['cuisines'])) $this->cuisines = JsonConverters::fromArray('CuisineEsDto', $o['cuisines']);
if (isset($o['mealTypes'])) $this->mealTypes = JsonConverters::fromArray('MealTypeApiDto', $o['mealTypes']);
if (isset($o['parking'])) $this->parking = JsonConverters::fromArray('ParkingApiDto', $o['parking']);
if (isset($o['paymentOptions'])) $this->paymentOptions = JsonConverters::fromArray('PaymentOptionApiDto', $o['paymentOptions']);
if (isset($o['eatingSuitabilities'])) $this->eatingSuitabilities = JsonConverters::fromArray('EatingSuitabilityApiDto', $o['eatingSuitabilities']);
if (isset($o['takeAways'])) $this->takeAways = JsonConverters::fromArray('TakeAwayApiDto', $o['takeAways']);
if (isset($o['wearPriceProfiles'])) $this->wearPriceProfiles = JsonConverters::fromArray('WearPriceProfileEsDto', $o['wearPriceProfiles']);
if (isset($o['menus'])) $this->menus = JsonConverters::fromArray('MenuEsDto', $o['menus']);
if (isset($o['logoUrl'])) $this->logoUrl = JsonConverters::from('ImageUrls', $o['logoUrl']);
if (isset($o['imageUrl'])) $this->imageUrl = JsonConverters::from('ImageUrls', $o['imageUrl']);
if (isset($o['wheelchairAccessible'])) $this->wheelchairAccessible = $o['wheelchairAccessible'];
if (isset($o['wifi'])) $this->wifi = $o['wifi'];
if (isset($o['outdoorSeating'])) $this->outdoorSeating = $o['outdoorSeating'];
if (isset($o['saveFoodAndMoney'])) $this->saveFoodAndMoney = $o['saveFoodAndMoney'];
if (isset($o['placeType'])) $this->placeType = JsonConverters::from('PlaceType', $o['placeType']);
if (isset($o['mall'])) $this->mall = JsonConverters::from('PlaceBasicApiDto', $o['mall']);
if (isset($o['priceMainDish'])) $this->priceMainDish = JsonConverters::from('PriceMainDishApiDto', $o['priceMainDish']);
if (isset($o['places'])) $this->places = JsonConverters::fromArray('PlaceBasicApiDto', $o['places']);
if (isset($o['otherServices'])) $this->otherServices = JsonConverters::fromArray('MallOtherServiceApiDto', $o['otherServices']);
if (isset($o['floor'])) $this->floor = $o['floor'];
if (isset($o['timeZoneDto'])) $this->timeZoneDto = JsonConverters::from('TimeZoneDto', $o['timeZoneDto']);
if (isset($o['businessId'])) $this->businessId = $o['businessId'];
if (isset($o['contact'])) $this->contact = JsonConverters::from('PlaceContact', $o['contact']);
if (isset($o['address'])) $this->address = JsonConverters::from('PlaceAddress', $o['address']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->id)) $o['id'] = $this->id;
if (isset($this->guid)) $o['guid'] = $this->guid;
if (isset($this->overview)) $o['overview'] = $this->overview;
if (isset($this->name)) $o['name'] = $this->name;
if (isset($this->longitude)) $o['longitude'] = $this->longitude;
if (isset($this->latitude)) $o['latitude'] = $this->latitude;
if (isset($this->claimed)) $o['claimed'] = $this->claimed;
if (isset($this->organizationNumber)) $o['organizationNumber'] = $this->organizationNumber;
if (isset($this->countryCode)) $o['countryCode'] = $this->countryCode;
if (isset($this->placeState)) $o['placeState'] = $this->placeState;
if (isset($this->followersCount)) $o['followersCount'] = $this->followersCount;
if (isset($this->openingHours)) $o['openingHours'] = JsonConverters::to('OpeningHours', $this->openingHours);
if (isset($this->categories)) $o['categories'] = JsonConverters::toArray('CategoryTreeApiDto', $this->categories);
if (isset($this->featureData)) $o['featureData'] = JsonConverters::toArray('IndividualFeatureDataApiDto', $this->featureData);
if (isset($this->barSpecialities)) $o['barSpecialities'] = JsonConverters::toArray('BarSpecialityEsDto', $this->barSpecialities);
if (isset($this->barTypes)) $o['barTypes'] = JsonConverters::toArray('BarTypeEsDto', $this->barTypes);
if (isset($this->brands)) $o['brands'] = JsonConverters::toArray('PlaceSelectedBrandApiDto', $this->brands);
if (isset($this->cuisines)) $o['cuisines'] = JsonConverters::toArray('CuisineEsDto', $this->cuisines);
if (isset($this->mealTypes)) $o['mealTypes'] = JsonConverters::toArray('MealTypeApiDto', $this->mealTypes);
if (isset($this->parking)) $o['parking'] = JsonConverters::toArray('ParkingApiDto', $this->parking);
if (isset($this->paymentOptions)) $o['paymentOptions'] = JsonConverters::toArray('PaymentOptionApiDto', $this->paymentOptions);
if (isset($this->eatingSuitabilities)) $o['eatingSuitabilities'] = JsonConverters::toArray('EatingSuitabilityApiDto', $this->eatingSuitabilities);
if (isset($this->takeAways)) $o['takeAways'] = JsonConverters::toArray('TakeAwayApiDto', $this->takeAways);
if (isset($this->wearPriceProfiles)) $o['wearPriceProfiles'] = JsonConverters::toArray('WearPriceProfileEsDto', $this->wearPriceProfiles);
if (isset($this->menus)) $o['menus'] = JsonConverters::toArray('MenuEsDto', $this->menus);
if (isset($this->logoUrl)) $o['logoUrl'] = JsonConverters::to('ImageUrls', $this->logoUrl);
if (isset($this->imageUrl)) $o['imageUrl'] = JsonConverters::to('ImageUrls', $this->imageUrl);
if (isset($this->wheelchairAccessible)) $o['wheelchairAccessible'] = $this->wheelchairAccessible;
if (isset($this->wifi)) $o['wifi'] = $this->wifi;
if (isset($this->outdoorSeating)) $o['outdoorSeating'] = $this->outdoorSeating;
if (isset($this->saveFoodAndMoney)) $o['saveFoodAndMoney'] = $this->saveFoodAndMoney;
if (isset($this->placeType)) $o['placeType'] = JsonConverters::to('PlaceType', $this->placeType);
if (isset($this->mall)) $o['mall'] = JsonConverters::to('PlaceBasicApiDto', $this->mall);
if (isset($this->priceMainDish)) $o['priceMainDish'] = JsonConverters::to('PriceMainDishApiDto', $this->priceMainDish);
if (isset($this->places)) $o['places'] = JsonConverters::toArray('PlaceBasicApiDto', $this->places);
if (isset($this->otherServices)) $o['otherServices'] = JsonConverters::toArray('MallOtherServiceApiDto', $this->otherServices);
if (isset($this->floor)) $o['floor'] = $this->floor;
if (isset($this->timeZoneDto)) $o['timeZoneDto'] = JsonConverters::to('TimeZoneDto', $this->timeZoneDto);
if (isset($this->businessId)) $o['businessId'] = $this->businessId;
if (isset($this->contact)) $o['contact'] = JsonConverters::to('PlaceContact', $this->contact);
if (isset($this->address)) $o['address'] = JsonConverters::to('PlaceAddress', $this->address);
return empty($o) ? new class(){} : $o;
}
}
enum SharingState : string
{
case Teaser = 'Teaser';
case Awarded = 'Awarded';
case SelfShare = 'SelfShare';
case Expired = 'Expired';
}
class SharePlaceLinkUsedResponse implements JsonSerializable
{
public function __construct(
/** @var SharingUser|null */
public ?SharingUser $sharingUser=null,
/** @var PlaceApiDto|null */
public ?PlaceApiDto $place=null,
/** @var SharingState|null */
public ?SharingState $state=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['sharingUser'])) $this->sharingUser = JsonConverters::from('SharingUser', $o['sharingUser']);
if (isset($o['place'])) $this->place = JsonConverters::from('PlaceApiDto', $o['place']);
if (isset($o['state'])) $this->state = JsonConverters::from('SharingState', $o['state']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->sharingUser)) $o['sharingUser'] = JsonConverters::to('SharingUser', $this->sharingUser);
if (isset($this->place)) $o['place'] = JsonConverters::to('PlaceApiDto', $this->place);
if (isset($this->state)) $o['state'] = JsonConverters::to('SharingState', $this->state);
return empty($o) ? new class(){} : $o;
}
}
enum Locale : string
{
case EnUs = 'EnUs';
case NbNo = 'NbNo';
}
class SharePlaceLinkUsedRequest implements IPost, JsonSerializable
{
public function __construct(
/** @var string */
public string $sharePlaceToken='',
/** @var Locale|null */
public ?Locale $locale=null
) {
}
/** @throws Exception */
public function fromMap($o): void {
if (isset($o['sharePlaceToken'])) $this->sharePlaceToken = $o['sharePlaceToken'];
if (isset($o['locale'])) $this->locale = JsonConverters::from('Locale', $o['locale']);
}
/** @throws Exception */
public function jsonSerialize(): mixed
{
$o = [];
if (isset($this->sharePlaceToken)) $o['sharePlaceToken'] = $this->sharePlaceToken;
if (isset($this->locale)) $o['locale'] = JsonConverters::to('Locale', $this->locale);
return empty($o) ? new class(){} : $o;
}
}
PHP SharePlaceLinkUsedRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /share/share-place-link-used HTTP/1.1
Host: unstable-consumer-api.brovs.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SharePlaceLinkUsedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto">
<Locale>EnUs</Locale>
<SharePlaceToken>String</SharePlaceToken>
</SharePlaceLinkUsedRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SharePlaceLinkUsedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Dto"> <Place> <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:CountryCode>String</d3p1:CountryCode> <d3p1:PostalCode>String</d3p1:PostalCode> <d3p1:Region>String</d3p1:Region> <d3p1:Street>String</d3p1:Street> </Address> <BarSpecialities> <BarSpecialityEsDto> <Slug>String</Slug> <Title>String</Title> </BarSpecialityEsDto> </BarSpecialities> <BarTypes> <BarTypeEsDto> <Slug>String</Slug> <Title>String</Title> </BarTypeEsDto> </BarTypes> <Brands> <PlaceSelectedBrandApiDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>String</d5p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandApiDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:Email>String</d3p1:Email> <d3p1:Phone>String</d3p1:Phone> <d3p1:WebShop>String</d3p1:WebShop> <d3p1:Website>String</d3p1:Website> </Contact> <CountryCode>String</CountryCode> <Cuisines> <CuisineEsDto> <Label>String</Label> <Slug>String</Slug> </CuisineEsDto> </Cuisines> <EatingSuitabilities> <EatingSuitabilityApiDto> <Label>String</Label> <Slug>String</Slug> </EatingSuitabilityApiDto> </EatingSuitabilities> <FeatureData> <IndividualFeatureDataApiDto> <Label>String</Label> <Slug>BarSpeciality</Slug> </IndividualFeatureDataApiDto> </FeatureData> <Floor>String</Floor> <FollowersCount>0</FollowersCount> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:Large>String</d3p1:Large> <d3p1:Medium>String</d3p1:Medium> <d3p1:Preview>String</d3p1:Preview> <d3p1:Small>String</d3p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:Large>String</d3p1:Large> <d3p1:Medium>String</d3p1:Medium> <d3p1:Preview>String</d3p1:Preview> <d3p1:Small>String</d3p1:Small> </LogoUrl> <Longitude>0</Longitude> <Mall> <Address xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:CountryCode>String</d4p1:CountryCode> <d4p1:PostalCode>String</d4p1:PostalCode> <d4p1:Region>String</d4p1:Region> <d4p1:Street>String</d4p1:Street> </Address> <Brands> <PlaceSelectedBrandApiDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:string>String</d6p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandApiDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Email>String</d4p1:Email> <d4p1:Phone>String</d4p1:Phone> <d4p1:WebShop>String</d4p1:WebShop> <d4p1:Website>String</d4p1:Website> </Contact> <CountryCode>String</CountryCode> <Floor>String</Floor> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Large>String</d4p1:Large> <d4p1:Medium>String</d4p1:Medium> <d4p1:Preview>String</d4p1:Preview> <d4p1:Small>String</d4p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Large>String</d4p1:Large> <d4p1:Medium>String</d4p1:Medium> <d4p1:Preview>String</d4p1:Preview> <d4p1:Small>String</d4p1:Small> </LogoUrl> <Longitude>0</Longitude> <Name>String</Name> <OpeningHours xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:Weekly> <d4p1:Friday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Friday> <d4p1:Monday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Monday> <d4p1:Saturday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Saturday> <d4p1:Sunday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Sunday> <d4p1:Thursday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Thursday> <d4p1:Tuesday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Tuesday> <d4p1:Wednesday> <d4p1:CloseAtHour>0</d4p1:CloseAtHour> <d4p1:CloseAtMinute>0</d4p1:CloseAtMinute> <d4p1:OpenAtHour>0</d4p1:OpenAtHour> <d4p1:OpenAtMinute>0</d4p1:OpenAtMinute> </d4p1:Wednesday> </d4p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <PlaceType>Mall</PlaceType> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TimeZoneDto xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d4p1:BaseUtcOffset>PT0S</d4p1:BaseUtcOffset> <d4p1:DaylightName>String</d4p1:DaylightName> <d4p1:DisplayName>String</d4p1:DisplayName> <d4p1:Id>String</d4p1:Id> <d4p1:StandardName>String</d4p1:StandardName> <d4p1:SupportsDaylightSavingTime>false</d4p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileEsDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileEsDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </Mall> <MealTypes> <MealTypeApiDto> <Label>String</Label> <Slug>String</Slug> </MealTypeApiDto> </MealTypes> <Menus> <MenuEsDto> <Name>String</Name> <Position>0</Position> <Url>String</Url> </MenuEsDto> </Menus> <Name>String</Name> <OpeningHours xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:Weekly> <d3p1:Friday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Friday> <d3p1:Monday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Monday> <d3p1:Saturday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Saturday> <d3p1:Sunday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Sunday> <d3p1:Thursday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Thursday> <d3p1:Tuesday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Tuesday> <d3p1:Wednesday> <d3p1:CloseAtHour>0</d3p1:CloseAtHour> <d3p1:CloseAtMinute>0</d3p1:CloseAtMinute> <d3p1:OpenAtHour>0</d3p1:OpenAtHour> <d3p1:OpenAtMinute>0</d3p1:OpenAtMinute> </d3p1:Wednesday> </d3p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OtherServices> <MallOtherServiceApiDto> <Floor>String</Floor> <ServiceName>String</ServiceName> </MallOtherServiceApiDto> </OtherServices> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <Parking> <ParkingApiDto> <Label>String</Label> <Slug>StreetParking</Slug> </ParkingApiDto> </Parking> <PaymentOptions> <PaymentOptionApiDto> <Label>String</Label> <Slug>Visa</Slug> </PaymentOptionApiDto> </PaymentOptions> <PlaceState>String</PlaceState> <PlaceType>Mall</PlaceType> <Places> <PlaceBasicApiDto> <Address xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:CountryCode>String</d5p1:CountryCode> <d5p1:PostalCode>String</d5p1:PostalCode> <d5p1:Region>String</d5p1:Region> <d5p1:Street>String</d5p1:Street> </Address> <Brands> <PlaceSelectedBrandApiDto> <Brand> <Name>String</Name> </Brand> <CategoryAbsoluteSlugs xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>String</d7p1:string> </CategoryAbsoluteSlugs> <PlaceCustomBrand> <Name>String</Name> </PlaceCustomBrand> </PlaceSelectedBrandApiDto> </Brands> <BusinessId>0</BusinessId> <Categories> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children> <CategoryTreeApiDto> <AbsoluteSlug>String</AbsoluteSlug> <AllImageUrl>String</AllImageUrl> <Children i:nil="true" /> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Children> <IconImageUrl>String</IconImageUrl> <ImageUrl>String</ImageUrl> <Name>String</Name> <Position>0</Position> <Slug>String</Slug> </CategoryTreeApiDto> </Categories> <Claimed>false</Claimed> <Contact xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Email>String</d5p1:Email> <d5p1:Phone>String</d5p1:Phone> <d5p1:WebShop>String</d5p1:WebShop> <d5p1:Website>String</d5p1:Website> </Contact> <CountryCode>String</CountryCode> <Floor>String</Floor> <Guid>00000000-0000-0000-0000-000000000000</Guid> <Id>0</Id> <ImageUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Large>String</d5p1:Large> <d5p1:Medium>String</d5p1:Medium> <d5p1:Preview>String</d5p1:Preview> <d5p1:Small>String</d5p1:Small> </ImageUrl> <Latitude>0</Latitude> <LogoUrl xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Large>String</d5p1:Large> <d5p1:Medium>String</d5p1:Medium> <d5p1:Preview>String</d5p1:Preview> <d5p1:Small>String</d5p1:Small> </LogoUrl> <Longitude>0</Longitude> <Name>String</Name> <OpeningHours xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:Weekly> <d5p1:Friday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Friday> <d5p1:Monday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Monday> <d5p1:Saturday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Saturday> <d5p1:Sunday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Sunday> <d5p1:Thursday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Thursday> <d5p1:Tuesday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Tuesday> <d5p1:Wednesday> <d5p1:CloseAtHour>0</d5p1:CloseAtHour> <d5p1:CloseAtMinute>0</d5p1:CloseAtMinute> <d5p1:OpenAtHour>0</d5p1:OpenAtHour> <d5p1:OpenAtMinute>0</d5p1:OpenAtMinute> </d5p1:Wednesday> </d5p1:Weekly> </OpeningHours> <OrganizationNumber>String</OrganizationNumber> <OutdoorSeating>false</OutdoorSeating> <Overview>String</Overview> <PlaceType>Mall</PlaceType> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TimeZoneDto xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d5p1:BaseUtcOffset>PT0S</d5p1:BaseUtcOffset> <d5p1:DaylightName>String</d5p1:DaylightName> <d5p1:DisplayName>String</d5p1:DisplayName> <d5p1:Id>String</d5p1:Id> <d5p1:StandardName>String</d5p1:StandardName> <d5p1:SupportsDaylightSavingTime>false</d5p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileEsDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileEsDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </PlaceBasicApiDto> </Places> <PriceMainDish> <Slug>Value</Slug> <Title>String</Title> </PriceMainDish> <SaveFoodAndMoney>false</SaveFoodAndMoney> <TakeAways> <TakeAwayApiDto> <Label>String</Label> <Slug>String</Slug> </TakeAwayApiDto> </TakeAways> <TimeZoneDto xmlns:d3p1="http://schemas.datacontract.org/2004/07/Entities.Common"> <d3p1:BaseUtcOffset>PT0S</d3p1:BaseUtcOffset> <d3p1:DaylightName>String</d3p1:DaylightName> <d3p1:DisplayName>String</d3p1:DisplayName> <d3p1:Id>String</d3p1:Id> <d3p1:StandardName>String</d3p1:StandardName> <d3p1:SupportsDaylightSavingTime>false</d3p1:SupportsDaylightSavingTime> </TimeZoneDto> <WearPriceProfiles> <WearPriceProfileEsDto> <Label>String</Label> <Slug>String</Slug> </WearPriceProfileEsDto> </WearPriceProfiles> <WheelchairAccessible>false</WheelchairAccessible> <Wifi>false</Wifi> </Place> <SharingUser> <FirstName>String</FirstName> <LastName>String</LastName> <ProfilePhotoUrl>String</ProfilePhotoUrl> </SharingUser> <State>Teaser</State> </SharePlaceLinkUsedResponse>