payments.interfaces - Payment Interfaces

class waeup.kofa.payments.interfaces.CombiPaymentCategorySource[source]

Bases: waeup.kofa.interfaces.ContextualDictSourceFactoryBase

A payment category source delivers all categories of payments.

DICT_NAME = 'COMBI_PAYMENT_CATEGORIES'

name of dict to deliver from kofa utils.

__doc__ = 'A payment category source delivers all categories of payments.\n\n '
__module__ = 'waeup.kofa.payments.interfaces'
interface waeup.kofa.payments.interfaces.IOnlinePayment[source]

Extends: waeup.kofa.payments.interfaces.IPayment

A payment via payment gateways.

ac

Activation Code

r_code

Response Code

r_desc

Response Description

r_amount_approved

Response Amount Approved

approve()

Approve an online payment and set to paid.

interface waeup.kofa.payments.interfaces.IPayer[source]

Extends: waeup.kofa.interfaces.IKofaObject

An interface for an adapter to publish student and applicant data through a simple webservice. Also used in payment modules.

reg_number

Reg number of payer

payer

The payer object

phone

Phone number of payer

current_level

Current level of payer

current_mode

Current study mode of payer

doAfterPayment()

Do after payment was made.

matric_number

Matric number of payer

email

Email of payer

faculty

Faculty of payer

department

Department of payer

id

Id of payer

display_fullname

Name of payer

interface waeup.kofa.payments.interfaces.IPayment[source]

Extends: waeup.kofa.interfaces.IKofaObject

A base representation of payments.

display_item

Payment Item

payment_date

Payment Date

p_id

Payment identifier

p_option

Payment Option

p_combi

Combi Payment

p_state

Payment State

p_item
p_category

Payment Category

amount_auth

Amount Authorized

creation_date

Ticket Creation Date

p_session

Payment Session

interface waeup.kofa.payments.interfaces.IPaymentsContainer[source]

Extends: waeup.kofa.interfaces.IKofaObject

A container for all kind of payment objects.

class waeup.kofa.payments.interfaces.PaymentCategorySource[source]

Bases: waeup.kofa.interfaces.ContextualDictSourceFactoryBase

A payment category source delivers all categories of payments.

DICT_NAME = 'PAYMENT_CATEGORIES'

name of dict to deliver from kofa utils.

__doc__ = 'A payment category source delivers all categories of payments.\n\n '
__module__ = 'waeup.kofa.payments.interfaces'
class waeup.kofa.payments.interfaces.PaymentOptionSource[source]

Bases: waeup.kofa.interfaces.ContextualDictSourceFactoryBase

A payment option source delivers all options of a payment.

DICT_NAME = 'PAYMENT_OPTIONS'

name of dict to deliver from kofa utils.

__doc__ = 'A payment option source delivers all options of a payment.\n\n '
__module__ = 'waeup.kofa.payments.interfaces'