students.payments - Student Payments

Student payment components.

class waeup.kofa.students.payments.Payer(context)[source]

Bases: grokcore.component.components.Adapter

An adapter to publish student data through a simple webservice.

__doc__ = 'An adapter to publish student data through a simple webservice.\n '
__implemented__ = <implementedBy waeup.kofa.students.payments.Payer>
__module__ = 'waeup.kofa.students.payments'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
current_level

Current level of payer

current_mode

Current study mode of payer

department

Department of payer

display_fullname

Name of payer

email

Email of payer

faculty

Faculty of payer

id

Id of payer

matric_number

Matric number or reg number of payer

phone

Phone number of payer

reg_number

Reg number or reg number of payer

class waeup.kofa.students.payments.StudentOnlinePayment[source]

Bases: waeup.kofa.payments.payment.OnlinePayment

This is an online payment.

__doc__ = 'This is an online payment.\n '
__implemented__ = <implementedBy waeup.kofa.students.payments.StudentOnlinePayment>
__init__()[source]
__module__ = 'waeup.kofa.students.payments'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
ac

Activation Code (computed attribute)

amount_auth

Amount Authorized (computed attribute)

approveStudentPayment()[source]

Approve payment and process student.

certificate
creation_date

Ticket Creation Date (computed attribute)

doAfterStudentPayment()[source]

Process student after payment was made.

doAfterStudentPaymentApproval()[source]

Process student after payment was approved.

p_category

Payment Category (computed attribute)

p_current

Current Session Payment (computed attribute)

p_item

(computed attribute)

p_level

Payment Level (computed attribute)

p_session

Payment Session (computed attribute)

p_state

Payment State (computed attribute)

payment_date

Payment Date (computed attribute)

r_amount_approved

Response Amount Approved (computed attribute)

r_code

Response Code (computed attribute)

r_desc

Response Description (computed attribute)

redeemTicket()[source]

Either create an appropriate access code or trigger an action directly.

student
writeLogMessage(view, message)[source]
class waeup.kofa.students.payments.StudentOnlinePaymentFactory[source]

Bases: grokcore.component.components.GlobalUtility

A factory for student online payments.

__call__(*args, **kw)[source]
__doc__ = 'A factory for student online payments.\n '
__implemented__ = <implementedBy waeup.kofa.students.payments.StudentOnlinePaymentFactory>
__module__ = 'waeup.kofa.students.payments'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
description = u'This factory instantiates new online payment instances.'
getInterfaces()[source]
title = (u'Create a new online payment.',)
class waeup.kofa.students.payments.StudentPaymentsContainer[source]

Bases: waeup.kofa.payments.container.PaymentsContainer

This is a container for student payments.

__doc__ = 'This is a container for student payments.\n '
__implemented__ = <implementedBy waeup.kofa.students.payments.StudentPaymentsContainer>
__init__()[source]
__module__ = 'waeup.kofa.students.payments'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
certificate
student
writeLogMessage(view, message)[source]