Subversion Repositories SmartDukaan

Rev

Rev 15791 | Rev 16547 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15791 Rev 16399
Line 2... Line 2...
2
Created on Jan 16, 2015
2
Created on Jan 16, 2015
3
 
3
 
4
@author: amit
4
@author: amit
5
'''
5
'''
6
from datetime import datetime
6
from datetime import datetime
7
from main import Store
7
from dtr.utils.utils import ORDER_PLACED
8
import time
8
import time
9
class AffiliateInfo():
9
class AffiliateInfo():
10
    
10
    
11
    
11
    
12
    subTagId = None
12
    subTagId = None
Line 205... Line 205...
205
    cashBackPercentage = None
205
    cashBackPercentage = None
206
    imgUrl = None
206
    imgUrl = None
207
    closed = None
207
    closed = None
208
    missingAff = None
208
    missingAff = None
209
    
209
    
210
    def __init__(self, productTitle, productUrl, placedOn, amountPaid, status=Store.ORDER_PLACED, quantity = 1):
210
    def __init__(self, productTitle, productUrl, placedOn, amountPaid, status=ORDER_PLACED, quantity = 1):
211
        self.productTitle = productTitle
211
        self.productTitle = productTitle
212
        self.productUrl = productUrl
212
        self.productUrl = productUrl
213
        self.placedOn = placedOn
213
        self.placedOn = placedOn
214
        self.amountPaid = amountPaid
214
        self.amountPaid = amountPaid
215
        self.status = status
215
        self.status = status