From a91456c92648a2c9ad4a5e1472db665baad1be29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 6 Oct 2011 16:15:13 +0200
Subject: [PATCH] Propose some methods.

---
 .../DocumentTemplateItem/PayzenService.py              | 10 ++++++++++
 bt5/erp5_payzen_secure_payment/bt/revision             |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py b/bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py
index 6bda4b360d..a620bcb813 100644
--- a/bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py
+++ b/bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py
@@ -41,3 +41,13 @@ class PayzenService(XMLObject):
     """See Payment Service Interface Documentation"""
     raise NotImplementedError
     return self._getTypeBasedMethod("abortPayment")(**kw)
+
+  # proposed methods
+  def getFormString(self, document, **kw):
+    """Returns form string of against passed document"""
+
+  def getSignature(self, document):
+    """Returns signature for current document"""
+
+  def validateSignature(self, document, signature):
+    """Checks if documents validates against signature"""
diff --git a/bt5/erp5_payzen_secure_payment/bt/revision b/bt5/erp5_payzen_secure_payment/bt/revision
index 3f10ffe7a4..19c7bdba7b 100644
--- a/bt5/erp5_payzen_secure_payment/bt/revision
+++ b/bt5/erp5_payzen_secure_payment/bt/revision
@@ -1 +1 @@
-15
\ No newline at end of file
+16
\ No newline at end of file
-- 
2.30.9