Changeset 9469 for main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
- Timestamp:
- 30 Oct 2012, 17:49:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r9405 r9469 27 27 from waeup.kofa.interfaces import MessageFactory as _ 28 28 from waeup.kofa.payments.interfaces import ( 29 IPayment, I SCPayment, IOnlinePayment,29 IPayment, IOnlinePayment, 30 30 payment_states) 31 31 from waeup.kofa.utils.helpers import attrs_to_fields, get_current_principal … … 52 52 utils = getUtility(IKofaUtils) 53 53 return utils.PAYMENT_CATEGORIES[self.p_category] 54 55 # not used56 class SCPayment(Payment):57 """This is a scratch card payment.58 """59 grok.implements(ISCPayment)60 grok.provides(ISCPayment)61 62 def __init__(self):63 super(SCPayment, self).__init__()64 p_id = None65 return66 67 SCPayment = attrs_to_fields(SCPayment)68 54 69 55 class OnlinePayment(Payment):
Note: See TracChangeset for help on using the changeset viewer.