source: main/waeup.uniben/trunk/src/waeup/uniben/payments/interfaces.py @ 8421

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

Remove surcharge configuration completely.

Implement application fee and school fee payments via Interswitch (part 3)

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1## $Id: interfaces.py 8263 2012-04-24 15:37:51Z 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.kofa.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_desc = schema.TextLine(
43        title = _(u'Response Description'),
44        default = None,
45        required = False,
46        readonly = False,
47        )
48
49    r_pay_reference = schema.TextLine(
50        title = _(u'Response Payment Reference'),
51        default = None,
52        required = False,
53        readonly = False,
54        )
55
56    r_code = schema.TextLine(
57        title = _(u'Response Code'),
58        default = None,
59        required = False,
60        readonly = False,
61        )
62
63    r_card_num = schema.TextLine(
64        title = _(u'Response Card Number'),
65        default = None,
66        required = False,
67        readonly = False,
68        )
Note: See TracBrowser for help on using the repository browser.