Subversion Repositories SmartDukaan

Rev

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

Rev 21367 Rev 22043
Line 41... Line 41...
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
43
        thriftObject.orderId = self.orderId
44
        thriftObject.walletId = self.wallet.id
44
        thriftObject.walletId = self.wallet.id
45
        thriftObject.timestamp = to_java_date(self.timestamp)
45
        thriftObject.timestamp = to_java_date(self.timestamp)
-
 
46
        thriftObject.referenceNumber = self.reference
-
 
47
        thriftObject.referenceType = self.reference_type
-
 
48
        thriftObject.description = self.description
46
        return thriftObject
49
        return thriftObject
47
    
50
    
48
    def from_thrift_object(self, thriftUserWalletHistory):
51
    def from_thrift_object(self, thriftUserWalletHistory):
49
        self.id = thriftUserWalletHistory.id
52
        self.id = thriftUserWalletHistory.id
50
        self.amount = thriftUserWalletHistory.amount
53
        self.amount = thriftUserWalletHistory.amount