source: main/waeup.futminna/trunk/src/waeup/futminna/payments/interfaces.py @ 8833

Last change on this file since 8833 was 8833, checked in by Henrik Bettermann, 12 years ago

Use kofacustom.nigeria.

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1## $Id: interfaces.py 8833 2012-06-27 09:40:35Z henrik $
2##
3## Copyright (C) 2011 Uli Fouquet & Henrik Bettermann
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17##
18from zope.interface import Attribute
19from zope import schema
20from waeup.kofa.payments.interfaces import IPayment
21from waeup.futminna.interfaces import MessageFactory as _
22
23class ICustomOnlinePayment(IPayment):
24    """A payment via payment gateways.
25
26    """
27
28    ac = schema.TextLine(
29        title = _(u'Activation Code'),
30        default = None,
31        required = False,
32        readonly = False,
33        )
34
35    r_amount_approved = schema.Float(
36        title = _(u'Response Amount Approved'),
37        default = 0.0,
38        required = False,
39        readonly = False,
40        )
41
42    r_code = schema.TextLine(
43        title = _(u'Response Code'),
44        default = None,
45        required = False,
46        readonly = False,
47        )
48
49    r_desc = schema.TextLine(
50        title = _(u'Response Description'),
51        default = None,
52        required = False,
53        readonly = False,
54        )
55
56    # Only defined in custom package
57
58    r_pay_reference = schema.TextLine(
59        title = _(u'Response Payment Reference'),
60        default = None,
61        required = False,
62        readonly = False,
63        )
64
65    r_card_num = schema.TextLine(
66        title = _(u'Response Card Number'),
67        default = None,
68        required = False,
69        readonly = False,
70        )
Note: See TracBrowser for help on using the repository browser.