BusinessApi

<back to all web services

GetAdsRequest

Business
Requires Authentication
Required role:Business
The following routes are available for this service:
GET/ad/get_all
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class BusinessApi
{

    public static enum VisibilityState
    {
        Draft,
        Running,
        Upcoming,
        Archived,
        Paused;
    }

    public static class ImageUrls
    {
        public String preview = null;
        public String small = null;
        public String medium = null;
        public String large = null;
        
        public String getPreview() { return preview; }
        public ImageUrls setPreview(String value) { this.preview = value; return this; }
        public String getSmall() { return small; }
        public ImageUrls setSmall(String value) { this.small = value; return this; }
        public String getMedium() { return medium; }
        public ImageUrls setMedium(String value) { this.medium = value; return this; }
        public String getLarge() { return large; }
        public ImageUrls setLarge(String value) { this.large = value; return this; }
    }

    public static class OpeningHours
    {
        public WeeklyOpeningHours weekly = null;
        
        public WeeklyOpeningHours getWeekly() { return weekly; }
        public OpeningHours setWeekly(WeeklyOpeningHours value) { this.weekly = value; return this; }
    }

    public static class WeeklyOpeningHours
    {
        public OpeningHour monday = null;
        public OpeningHour tuesday = null;
        public OpeningHour wednesday = null;
        public OpeningHour thursday = null;
        public OpeningHour friday = null;
        public OpeningHour saturday = null;
        public OpeningHour sunday = null;
        
        public OpeningHour getMonday() { return monday; }
        public WeeklyOpeningHours setMonday(OpeningHour value) { this.monday = value; return this; }
        public OpeningHour getTuesday() { return tuesday; }
        public WeeklyOpeningHours setTuesday(OpeningHour value) { this.tuesday = value; return this; }
        public OpeningHour getWednesday() { return wednesday; }
        public WeeklyOpeningHours setWednesday(OpeningHour value) { this.wednesday = value; return this; }
        public OpeningHour getThursday() { return thursday; }
        public WeeklyOpeningHours setThursday(OpeningHour value) { this.thursday = value; return this; }
        public OpeningHour getFriday() { return friday; }
        public WeeklyOpeningHours setFriday(OpeningHour value) { this.friday = value; return this; }
        public OpeningHour getSaturday() { return saturday; }
        public WeeklyOpeningHours setSaturday(OpeningHour value) { this.saturday = value; return this; }
        public OpeningHour getSunday() { return sunday; }
        public WeeklyOpeningHours setSunday(OpeningHour value) { this.sunday = value; return this; }
    }

    public static class OpeningHour
    {
        public Integer openAtHour = null;
        public Integer openAtMinute = null;
        public Integer closeAtHour = null;
        public Integer closeAtMinute = null;
        
        public Integer getOpenAtHour() { return openAtHour; }
        public OpeningHour setOpenAtHour(Integer value) { this.openAtHour = value; return this; }
        public Integer getOpenAtMinute() { return openAtMinute; }
        public OpeningHour setOpenAtMinute(Integer value) { this.openAtMinute = value; return this; }
        public Integer getCloseAtHour() { return closeAtHour; }
        public OpeningHour setCloseAtHour(Integer value) { this.closeAtHour = value; return this; }
        public Integer getCloseAtMinute() { return closeAtMinute; }
        public OpeningHour setCloseAtMinute(Integer value) { this.closeAtMinute = value; return this; }
    }

    public static enum PlaceType
    {
        Mall,
        Regular;
    }

    public static class PlaceContact
    {
        public String phone = null;
        public String email = null;
        public String website = null;
        public String webShop = null;
        
        public String getPhone() { return phone; }
        public PlaceContact setPhone(String value) { this.phone = value; return this; }
        public String getEmail() { return email; }
        public PlaceContact setEmail(String value) { this.email = value; return this; }
        public String getWebsite() { return website; }
        public PlaceContact setWebsite(String value) { this.website = value; return this; }
        public String getWebShop() { return webShop; }
        public PlaceContact setWebShop(String value) { this.webShop = value; return this; }
    }

    public static class PlaceAddress
    {
        public String street = null;
        public String postalCode = null;
        public String region = null;
        public String countryCode = null;
        
        public String getStreet() { return street; }
        public PlaceAddress setStreet(String value) { this.street = value; return this; }
        public String getPostalCode() { return postalCode; }
        public PlaceAddress setPostalCode(String value) { this.postalCode = value; return this; }
        public String getRegion() { return region; }
        public PlaceAddress setRegion(String value) { this.region = value; return this; }
        public String getCountryCode() { return countryCode; }
        public PlaceAddress setCountryCode(String value) { this.countryCode = value; return this; }
    }

    public static class TimeZoneDto
    {
        public TimeSpan baseUtcOffset = null;
        public String daylightName = null;
        public String displayName = null;
        public String id = null;
        public String standardName = null;
        public Boolean supportsDaylightSavingTime = null;
        
        public TimeSpan getBaseUtcOffset() { return baseUtcOffset; }
        public TimeZoneDto setBaseUtcOffset(TimeSpan value) { this.baseUtcOffset = value; return this; }
        public String getDaylightName() { return daylightName; }
        public TimeZoneDto setDaylightName(String value) { this.daylightName = value; return this; }
        public String getDisplayName() { return displayName; }
        public TimeZoneDto setDisplayName(String value) { this.displayName = value; return this; }
        public String getId() { return id; }
        public TimeZoneDto setId(String value) { this.id = value; return this; }
        public String getStandardName() { return standardName; }
        public TimeZoneDto setStandardName(String value) { this.standardName = value; return this; }
        public Boolean isSupportsDaylightSavingTime() { return supportsDaylightSavingTime; }
        public TimeZoneDto setSupportsDaylightSavingTime(Boolean value) { this.supportsDaylightSavingTime = value; return this; }
    }

    public static class PriceMainDishDto
    {
        public String title = null;
        public PriceMainDish slug = null;
        
        public String getTitle() { return title; }
        public PriceMainDishDto setTitle(String value) { this.title = value; return this; }
        public PriceMainDish getSlug() { return slug; }
        public PriceMainDishDto setSlug(PriceMainDish value) { this.slug = value; return this; }
    }

    public static enum PriceMainDish
    {
        Value,
        Medium,
        High,
        FineDining;
    }

    public static class AdDetailsUnion
    {
        public AdDetailsPercentageDiscountOnAllMerchandise percentageOnAllMerchandise = null;
        public AdDetailsPercentageDiscountRangeOnAllMerchandise percentageRangeOnAllMerchandise = null;
        public AdDetailsPercentageDiscountOnSelectedMerchandise percentageOnSelectedMerchandise = null;
        public AdDetailsAbsoluteDiscountOnSelectedMerchandise absoluteOnSelectedMerchandise = null;
        public AdDetailsAbsoluteDiscountRangeOnAllMerchandise absoluteRangeOnAllMerchandise = null;
        public AdDetailsTotalAmountOverXgivesYdiscount totalAmountOverXgivesYdiscount = null;
        public AdDetailsXforYdiscount xforY = null;
        public AdDetailsNewArrivals newArrivals = null;
        public AdDetailsFreetext freetext = null;
        public AdDetailsTodaysBreakFastOffer todaysBreakFastOffer = null;
        public AdDetailsTodaysLunchOffer todaysLunchOffer = null;
        public AdDetailsTodaysDinnerOffer todaysDinnerOffer = null;
        public AdDetailsSaveFoodAndMoney saveFoodAndMoney = null;
        public AdDetailsPercentageOffYourFoodBill percentageOfYourFoodBill = null;
        public AdDetailsHappyHour happyHour = null;
        public AdDetailsSomeFreeTablesLeftToday someFreeTablesLeftToday = null;
        public AdDetailsTwoDishesForThePriceOfOne twoDishesForThePriceOfOne = null;
        
        public AdDetailsPercentageDiscountOnAllMerchandise getPercentageOnAllMerchandise() { return percentageOnAllMerchandise; }
        public AdDetailsUnion setPercentageOnAllMerchandise(AdDetailsPercentageDiscountOnAllMerchandise value) { this.percentageOnAllMerchandise = value; return this; }
        public AdDetailsPercentageDiscountRangeOnAllMerchandise getPercentageRangeOnAllMerchandise() { return percentageRangeOnAllMerchandise; }
        public AdDetailsUnion setPercentageRangeOnAllMerchandise(AdDetailsPercentageDiscountRangeOnAllMerchandise value) { this.percentageRangeOnAllMerchandise = value; return this; }
        public AdDetailsPercentageDiscountOnSelectedMerchandise getPercentageOnSelectedMerchandise() { return percentageOnSelectedMerchandise; }
        public AdDetailsUnion setPercentageOnSelectedMerchandise(AdDetailsPercentageDiscountOnSelectedMerchandise value) { this.percentageOnSelectedMerchandise = value; return this; }
        public AdDetailsAbsoluteDiscountOnSelectedMerchandise getAbsoluteOnSelectedMerchandise() { return absoluteOnSelectedMerchandise; }
        public AdDetailsUnion setAbsoluteOnSelectedMerchandise(AdDetailsAbsoluteDiscountOnSelectedMerchandise value) { this.absoluteOnSelectedMerchandise = value; return this; }
        public AdDetailsAbsoluteDiscountRangeOnAllMerchandise getAbsoluteRangeOnAllMerchandise() { return absoluteRangeOnAllMerchandise; }
        public AdDetailsUnion setAbsoluteRangeOnAllMerchandise(AdDetailsAbsoluteDiscountRangeOnAllMerchandise value) { this.absoluteRangeOnAllMerchandise = value; return this; }
        public AdDetailsTotalAmountOverXgivesYdiscount getTotalAmountOverXgivesYdiscount() { return totalAmountOverXgivesYdiscount; }
        public AdDetailsUnion setTotalAmountOverXgivesYdiscount(AdDetailsTotalAmountOverXgivesYdiscount value) { this.totalAmountOverXgivesYdiscount = value; return this; }
        public AdDetailsXforYdiscount getXforY() { return xforY; }
        public AdDetailsUnion setXforY(AdDetailsXforYdiscount value) { this.xforY = value; return this; }
        public AdDetailsNewArrivals getNewArrivals() { return newArrivals; }
        public AdDetailsUnion setNewArrivals(AdDetailsNewArrivals value) { this.newArrivals = value; return this; }
        public AdDetailsFreetext getFreetext() { return freetext; }
        public AdDetailsUnion setFreetext(AdDetailsFreetext value) { this.freetext = value; return this; }
        public AdDetailsTodaysBreakFastOffer getTodaysBreakFastOffer() { return todaysBreakFastOffer; }
        public AdDetailsUnion setTodaysBreakFastOffer(AdDetailsTodaysBreakFastOffer value) { this.todaysBreakFastOffer = value; return this; }
        public AdDetailsTodaysLunchOffer getTodaysLunchOffer() { return todaysLunchOffer; }
        public AdDetailsUnion setTodaysLunchOffer(AdDetailsTodaysLunchOffer value) { this.todaysLunchOffer = value; return this; }
        public AdDetailsTodaysDinnerOffer getTodaysDinnerOffer() { return todaysDinnerOffer; }
        public AdDetailsUnion setTodaysDinnerOffer(AdDetailsTodaysDinnerOffer value) { this.todaysDinnerOffer = value; return this; }
        public AdDetailsSaveFoodAndMoney getSaveFoodAndMoney() { return saveFoodAndMoney; }
        public AdDetailsUnion setSaveFoodAndMoney(AdDetailsSaveFoodAndMoney value) { this.saveFoodAndMoney = value; return this; }
        public AdDetailsPercentageOffYourFoodBill getPercentageOfYourFoodBill() { return percentageOfYourFoodBill; }
        public AdDetailsUnion setPercentageOfYourFoodBill(AdDetailsPercentageOffYourFoodBill value) { this.percentageOfYourFoodBill = value; return this; }
        public AdDetailsHappyHour getHappyHour() { return happyHour; }
        public AdDetailsUnion setHappyHour(AdDetailsHappyHour value) { this.happyHour = value; return this; }
        public AdDetailsSomeFreeTablesLeftToday getSomeFreeTablesLeftToday() { return someFreeTablesLeftToday; }
        public AdDetailsUnion setSomeFreeTablesLeftToday(AdDetailsSomeFreeTablesLeftToday value) { this.someFreeTablesLeftToday = value; return this; }
        public AdDetailsTwoDishesForThePriceOfOne getTwoDishesForThePriceOfOne() { return twoDishesForThePriceOfOne; }
        public AdDetailsUnion setTwoDishesForThePriceOfOne(AdDetailsTwoDishesForThePriceOfOne value) { this.twoDishesForThePriceOfOne = value; return this; }
    }

    public static class AdDetailsPercentageDiscountOnAllMerchandise extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsPercentageDiscountOnAllMerchandise setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsBase
    {
        public String description = null;
        public ArrayList<String> moreInformation = new ArrayList<String>();
        
        public String getDescription() { return description; }
        public AdDetailsBase setDescription(String value) { this.description = value; return this; }
        public ArrayList<String> getMoreInformation() { return moreInformation; }
        public AdDetailsBase setMoreInformation(ArrayList<String> value) { this.moreInformation = value; return this; }
    }

    public static class AdDetailsPercentageDiscountRangeOnAllMerchandise extends AdDetailsBase
    {
        public Double start = null;
        public Double stop = null;
        
        public Double getStart() { return start; }
        public AdDetailsPercentageDiscountRangeOnAllMerchandise setStart(Double value) { this.start = value; return this; }
        public Double getStop() { return stop; }
        public AdDetailsPercentageDiscountRangeOnAllMerchandise setStop(Double value) { this.stop = value; return this; }
    }

    public static class AdDetailsPercentageDiscountOnSelectedMerchandise extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsPercentageDiscountOnSelectedMerchandise setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsAbsoluteDiscountOnSelectedMerchandise extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsAbsoluteDiscountOnSelectedMerchandise setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsAbsoluteDiscountRangeOnAllMerchandise extends AdDetailsBase
    {
        public Double start = null;
        public Double stop = null;
        
        public Double getStart() { return start; }
        public AdDetailsAbsoluteDiscountRangeOnAllMerchandise setStart(Double value) { this.start = value; return this; }
        public Double getStop() { return stop; }
        public AdDetailsAbsoluteDiscountRangeOnAllMerchandise setStop(Double value) { this.stop = value; return this; }
    }

    public static class AdDetailsTotalAmountOverXgivesYdiscount extends AdDetailsBase
    {
        public Double ifTotalAmountMoreThanX = null;
        public Double thenYouGetDiscountPercentageY = null;
        
        public Double getIfTotalAmountMoreThanX() { return ifTotalAmountMoreThanX; }
        public AdDetailsTotalAmountOverXgivesYdiscount setIfTotalAmountMoreThanX(Double value) { this.ifTotalAmountMoreThanX = value; return this; }
        public Double getThenYouGetDiscountPercentageY() { return thenYouGetDiscountPercentageY; }
        public AdDetailsTotalAmountOverXgivesYdiscount setThenYouGetDiscountPercentageY(Double value) { this.thenYouGetDiscountPercentageY = value; return this; }
    }

    public static class AdDetailsXforYdiscount extends AdDetailsBase
    {
        public Integer ifYouBuyX = null;
        public Integer thenYouGetY = null;
        
        public Integer getIfYouBuyX() { return ifYouBuyX; }
        public AdDetailsXforYdiscount setIfYouBuyX(Integer value) { this.ifYouBuyX = value; return this; }
        public Integer getThenYouGetY() { return thenYouGetY; }
        public AdDetailsXforYdiscount setThenYouGetY(Integer value) { this.thenYouGetY = value; return this; }
    }

    public static class AdDetailsNewArrivals extends AdDetailsBase
    {
        
    }

    public static class AdDetailsFreetext extends AdDetailsBase
    {
        public String title = null;
        
        public String getTitle() { return title; }
        public AdDetailsFreetext setTitle(String value) { this.title = value; return this; }
    }

    public static class AdDetailsTodaysBreakFastOffer extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsTodaysBreakFastOffer setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsTodaysLunchOffer extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsTodaysLunchOffer setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsTodaysDinnerOffer extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsTodaysDinnerOffer setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsSaveFoodAndMoney extends AdDetailsBase
    {
        public Double value = null;
        
        public Double getValue() { return value; }
        public AdDetailsSaveFoodAndMoney setValue(Double value) { this.value = value; return this; }
    }

    public static class AdDetailsPercentageOffYourFoodBill extends AdDetailsBase
    {
        public Double percentage = null;
        
        public Double getPercentage() { return percentage; }
        public AdDetailsPercentageOffYourFoodBill setPercentage(Double value) { this.percentage = value; return this; }
    }

    public static class AdDetailsHappyHour extends AdDetailsBase
    {
        
    }

    public static class AdDetailsSomeFreeTablesLeftToday extends AdDetailsBase
    {
        
    }

    public static class AdDetailsTwoDishesForThePriceOfOne extends AdDetailsBase
    {
        
    }

}

Java GetAdsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /ad/get_all HTTP/1.1 
Host: qa-business-api.brovs.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetAdsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessApi.Dto">
  <AdsWithVisibilityState>
    <BusinessAdDto>
      <DetailsUnion xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common">
        <d4p1:AbsoluteOnSelectedMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:AbsoluteOnSelectedMerchandise>
        <d4p1:AbsoluteRangeOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Start>0</d4p1:Start>
          <d4p1:Stop>0</d4p1:Stop>
        </d4p1:AbsoluteRangeOnAllMerchandise>
        <d4p1:Freetext>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Title>String</d4p1:Title>
        </d4p1:Freetext>
        <d4p1:HappyHour>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:HappyHour>
        <d4p1:NewArrivals>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:NewArrivals>
        <d4p1:PercentageOfYourFoodBill>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Percentage>0</d4p1:Percentage>
        </d4p1:PercentageOfYourFoodBill>
        <d4p1:PercentageOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:PercentageOnAllMerchandise>
        <d4p1:PercentageOnSelectedMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:PercentageOnSelectedMerchandise>
        <d4p1:PercentageRangeOnAllMerchandise>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Start>0</d4p1:Start>
          <d4p1:Stop>0</d4p1:Stop>
        </d4p1:PercentageRangeOnAllMerchandise>
        <d4p1:SaveFoodAndMoney>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:SaveFoodAndMoney>
        <d4p1:SomeFreeTablesLeftToday>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:SomeFreeTablesLeftToday>
        <d4p1:TodaysBreakFastOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysBreakFastOffer>
        <d4p1:TodaysDinnerOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysDinnerOffer>
        <d4p1:TodaysLunchOffer>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:Value>0</d4p1:Value>
        </d4p1:TodaysLunchOffer>
        <d4p1:TotalAmountOverXgivesYdiscount>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:IfTotalAmountMoreThanX>0</d4p1:IfTotalAmountMoreThanX>
          <d4p1:ThenYouGetDiscountPercentageY>0</d4p1:ThenYouGetDiscountPercentageY>
        </d4p1:TotalAmountOverXgivesYdiscount>
        <d4p1:TwoDishesForThePriceOfOne>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
        </d4p1:TwoDishesForThePriceOfOne>
        <d4p1:XforY>
          <d4p1:Description>String</d4p1:Description>
          <d4p1:MoreInformation xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <d6p1:string>String</d6p1:string>
          </d4p1:MoreInformation>
          <d4p1:IfYouBuyX>0</d4p1:IfYouBuyX>
          <d4p1:ThenYouGetY>0</d4p1:ThenYouGetY>
        </d4p1:XforY>
      </DetailsUnion>
      <Guid>00000000-0000-0000-0000-000000000000</Guid>
      <Id>0</Id>
      <ImageUrls xmlns:d4p1="http://schemas.datacontract.org/2004/07/Entities.Common">
        <d4p1:ImageUrls>
          <d4p1:Large>String</d4p1:Large>
          <d4p1:Medium>String</d4p1:Medium>
          <d4p1:Preview>String</d4p1:Preview>
          <d4p1:Small>String</d4p1:Small>
        </d4p1:ImageUrls>
      </ImageUrls>
      <Place>
        <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>
        <BusinessId>0</BusinessId>
        <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>
        <Latitude>0</Latitude>
        <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>
        <OtherServices>
          <MallOtherServiceDto>
            <Floor>String</Floor>
            <Id>0</Id>
            <ServiceName>String</ServiceName>
          </MallOtherServiceDto>
        </OtherServices>
        <OutdoorSeating>false</OutdoorSeating>
        <Overview>String</Overview>
        <PlaceType>Mall</PlaceType>
        <PriceMainDish xmlns:d5p1="http://schemas.datacontract.org/2004/07/Entities.Common">
          <d5p1:Slug>Value</d5p1:Slug>
          <d5p1:Title>String</d5p1: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>
        <WheelChairAccessible>false</WheelChairAccessible>
        <Wifi>false</Wifi>
      </Place>
      <PublishAt>
        <Day>0</Day>
        <Hour>0</Hour>
        <Minute>0</Minute>
        <Month>0</Month>
        <Second>0</Second>
        <Year>0</Year>
      </PublishAt>
      <StartAt>
        <Day>0</Day>
        <Hour>0</Hour>
        <Minute>0</Minute>
        <Month>0</Month>
        <Second>0</Second>
        <Year>0</Year>
      </StartAt>
      <State>String</State>
      <StopAt>
        <Day>0</Day>
        <Hour>0</Hour>
        <Minute>0</Minute>
        <Month>0</Month>
        <Second>0</Second>
        <Year>0</Year>
      </StopAt>
      <Title>String</Title>
      <UpdatedAt xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </UpdatedAt>
    </BusinessAdDto>
  </AdsWithVisibilityState>
</GetAdsResponse>