protected override void setWidgetData(CellPhoneActivityDefinition widgetData)
        {
            CellPhoneSaleActivityDefinition cellPhoneSaleActivityDefinition = widgetData as CellPhoneSaleActivityDefinition;

            if (cellPhoneSaleActivityDefinition != null)
            {
                saleData = cellPhoneSaleActivityDefinition;
                setEndTime(saleData);
                setSaleDiscount(saleData);
                CoroutineRunner.Start(updateTimer(), this, "updateTimer");
            }
        }
        private void setEndTime(CellPhoneSaleActivityDefinition saleData)
        {
            ScheduledEventDateDefinition availableDates = saleData.AvailableDates;

            endTime = availableDates.Dates.EndDate.Date;
        }
 private void setSaleDiscount(CellPhoneSaleActivityDefinition saleData)
 {
     SalePercentageText.text = string.Format(Service.Get <Localizer>().GetTokenTranslation("GoGuide.ShopSale.Discount"), saleData.DiscountPercentage);
 }