Subversion Repositories SmartDukaan

Rev

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

Rev 2599 Rev 2609
Line 555... Line 555...
555
            close_session()
555
            close_session()
556
 
556
 
557
    def validateDoa(self, orderId, isValid):
557
    def validateDoa(self, orderId, isValid):
558
        """
558
        """
559
        Used to validate the DOA certificate for an order in the DOA_RECEIVED state. If the certificate is valid,
559
        Used to validate the DOA certificate for an order in the DOA_RECEIVED state. If the certificate is valid,
560
        the order state is changed to DOA_PENDING.
560
        the order state is changed to DOA_CERT_PENDING.
561
        If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
561
        If the certificate is invalid, the order state is changed to DOA_CERT_INVALID.
562
        If the order is in any other state, it returns false.
562
        If the order is in any other state, it returns false.
563
        Throws an exception if the order with the given id couldn't be found.
563
        Throws an exception if the order with the given id couldn't be found.
564
        
564
        
565
        Parameters:
565
        Parameters: