Subversion Repositories SmartDukaan

Rev

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

Rev 5386 Rev 5387
Line 117... Line 117...
117
        try:
117
        try:
118
            return get_transaction_status(transactionId)
118
            return get_transaction_status(transactionId)
119
        finally:
119
        finally:
120
            close_session()
120
            close_session()
121
                
121
                
122
    def changeTransactionStatus(self, transactionId, status, description):
122
    def changeTransactionStatus(self, transactionId, status, description, selfPickup):
123
        """
123
        """
124
        Parameters:
124
        Parameters:
125
         - transactionId
125
         - transactionId
126
         - status
126
         - status
127
         - description
127
         - description
-
 
128
         - selfPickup
128
        """
129
        """
129
        try:
130
        try:
130
            return change_transaction_status(transactionId, status, description)
131
            return change_transaction_status(transactionId, status, description, selfPickup)
131
        finally:
132
        finally:
132
            close_session()
133
            close_session()
133
            
134
            
134
    def getOrdersForTransaction(self, transactionId, customerId):
135
    def getOrdersForTransaction(self, transactionId, customerId):
135
        """
136
        """