Subversion Repositories SmartDukaan

Rev

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

Rev 22043 Rev 22046
Line 38... Line 38...
38
        Copies attributes to thrift object
38
        Copies attributes to thrift object
39
        '''
39
        '''
40
        thriftObject = tUserWalletHistory()
40
        thriftObject = tUserWalletHistory()
41
        thriftObject.id = self.id
41
        thriftObject.id = self.id
42
        thriftObject.amount = self.amount
42
        thriftObject.amount = self.amount
43
        thriftObject.orderId = self.orderId
-
 
44
        thriftObject.walletId = self.wallet.id
43
        thriftObject.walletId = self.wallet.id
45
        thriftObject.timestamp = to_java_date(self.timestamp)
44
        thriftObject.timestamp = to_java_date(self.timestamp)
46
        thriftObject.referenceNumber = self.reference
45
        thriftObject.referenceNumber = self.reference
47
        thriftObject.referenceType = self.reference_type
46
        thriftObject.referenceType = self.reference_type
48
        thriftObject.description = self.description
47
        thriftObject.description = self.description