| Line 376... |
Line 376... |
| 376 |
self.showNetPrice = showNetPrice
|
376 |
self.showNetPrice = showNetPrice
|
| 377 |
|
377 |
|
| 378 |
class Promotion:
|
378 |
class Promotion:
|
| 379 |
def __init__(self, offer_id,offer_name,offer_description , categories_applicable, sub_categories_not_applicable,
|
379 |
def __init__(self, offer_id,offer_name,offer_description , categories_applicable, sub_categories_not_applicable,
|
| 380 |
startDate, endDate, target1, target1_cash_back_percetage, target2, target2_cash_back_percetage, maxCashBack, url,
|
380 |
startDate, endDate, target1, target1_cash_back_percetage, target2, target2_cash_back_percetage, maxCashBack, url,
|
| 381 |
pending_order_value, delivered_order_value):
|
381 |
pending_order_value, delivered_order_value, last_run_timestamp):
|
| 382 |
self.offer_id = offer_id
|
382 |
self.offer_id = offer_id
|
| 383 |
self.offer_name = offer_name
|
383 |
self.offer_name = offer_name
|
| 384 |
self.offer_description = offer_description
|
384 |
self.offer_description = offer_description
|
| 385 |
self.categories_applicable = categories_applicable
|
385 |
self.categories_applicable = categories_applicable
|
| 386 |
self.sub_categories_not_applicable = sub_categories_not_applicable
|
386 |
self.sub_categories_not_applicable = sub_categories_not_applicable
|
| Line 392... |
Line 392... |
| 392 |
self.target2_cash_back_percetage = target2_cash_back_percetage
|
392 |
self.target2_cash_back_percetage = target2_cash_back_percetage
|
| 393 |
self.maxCashBack = maxCashBack
|
393 |
self.maxCashBack = maxCashBack
|
| 394 |
self.url = url
|
394 |
self.url = url
|
| 395 |
self.pending_order_value = pending_order_value
|
395 |
self.pending_order_value = pending_order_value
|
| 396 |
self.delivered_order_value = delivered_order_value
|
396 |
self.delivered_order_value = delivered_order_value
|
| - |
|
397 |
self.last_run_timestamp = last_run_timestamp
|
| 397 |
|
398 |
|
| 398 |
class NotificationCampaign:
|
399 |
class NotificationCampaign:
|
| 399 |
def __init__(self, campaignId, name, title, message, sql, url, created, expiresat, type, status, sendsms, messagetext, smsprocessed, notification_processed, notification_type):
|
400 |
def __init__(self, campaignId, name, title, message, sql, url, created, expiresat, type, status, sendsms, messagetext, smsprocessed, notification_processed, notification_type):
|
| 400 |
self._id = campaignId
|
401 |
self._id = campaignId
|
| 401 |
self.name = name
|
402 |
self.name = name
|