- Timestamp:
- 13 Nov 2014, 13:21:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/henrik-regista/src/waeup/kofa/payments/interfaces.py
r11450 r11947 19 19 from zope import schema 20 20 from waeup.kofa.interfaces import ( 21 IKofaObject, SimpleKofaVocabulary, a cademic_sessions_vocab,21 IKofaObject, SimpleKofaVocabulary, application_sessions_vocab, 22 22 ContextualDictSourceFactoryBase) 23 23 from waeup.kofa.interfaces import MessageFactory as _ … … 68 68 p_session = schema.Choice( 69 69 title = _(u'Payment Session'), 70 source = a cademic_sessions_vocab,70 source = application_sessions_vocab, 71 71 required = True, 72 72 ) … … 133 133 def approve(): 134 134 "Approve an online payment and set to paid." 135 136 class IPayer(IKofaObject):137 """An interface for an adapter to publish student and applicant data138 through a simple webservice.139 140 """141 display_fullname = Attribute('Name of payer')142 id = Attribute('Id of payer')143 reg_number = Attribute('Reg number of payer')144 matric_number = Attribute('Matric number of payer')145 faculty = Attribute('Faculty of payer')146 department = Attribute('Department of payer')147 email= Attribute('Email of payer')148 phone= Attribute('Phone number of payer')149 current_mode= Attribute('Current study mode of payer')150 current_level= Attribute('Current level of payer')
Note: See TracChangeset for help on using the changeset viewer.