Subversion Repositories SmartDukaan

Rev

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

Rev 7883 Rev 9299
Line 810... Line 810...
810
            return is_product_added_to_cart(item_id, startDate, endDate)
810
            return is_product_added_to_cart(item_id, startDate, endDate)
811
        finally:
811
        finally:
812
            self.closeSession()
812
            self.closeSession()
813
        
813
        
814
        
814
        
815
    def insureItem(self, itemId, cartId, toInsure):
815
    def insureItem(self, itemId, cartId, toInsure, insurerType):
816
        try:
816
        try:
817
            return insure_item(itemId, cartId, toInsure)
817
            return insure_item(itemId, cartId, toInsure, insurerType)
818
        finally:
818
        finally:
819
            self.closeSession()
819
            self.closeSession()
820
            
820
            
821
    def cancelInsurance(self, cartId):
821
    def cancelInsurance(self, cartId):
822
        try:
822
        try: