Subversion Repositories SmartDukaan

Rev

Rev 6591 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6591 Rev 6597
Line 65... Line 65...
65
        self.userId = thriftBaseOrder.userId
65
        self.userId = thriftBaseOrder.userId
66
        self.invoiceNumber = thriftBaseOrder.invoiceNumber
66
        self.invoiceNumber = thriftBaseOrder.invoiceNumber
67
        self.orderType = thriftBaseOrder.orderType
67
        self.orderType = thriftBaseOrder.orderType
68
        self.couponAmount = thriftBaseOrder.couponAmount
68
        self.couponAmount = thriftBaseOrder.couponAmount
69
        self.couponCode = thriftBaseOrder.couponCode
69
        self.couponCode = thriftBaseOrder.couponCode
-
 
70
        if thriftBaseOrder.refundTimestamp:
70
        self.refundTimestamp = to_py_date(thriftBaseOrder.refundTimestamp)
71
            self.refundTimestamp = to_py_date(thriftBaseOrder.refundTimestamp)
71
        self.ipAddress = thriftBaseOrder.ipAddress
72
        self.ipAddress = thriftBaseOrder.ipAddress
72
 
73
 
73
    def is_valid(self):
74
    def is_valid(self):
74
        return True
75
        return True
75
76