payments – Payment Components Package

(see also: Submodules)

This package contains everything regarding payments.

class waeup.kofa.payments.PaymentsContainer[source]

This is a container for all kind of payments.

__doc__ = 'This is a container for all kind of payments.\n '
__implemented__ = <implementedBy waeup.kofa.payments.container.PaymentsContainer>
__init__()[source]
__module__ = 'waeup.kofa.payments.container'
__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']
archive(id=None)[source]
clear(id=None, archive=True)[source]
class waeup.kofa.payments.OnlinePayment[source]

This is an online payment.

__doc__ = 'This is an online payment.\n '
__implemented__ = <implementedBy waeup.kofa.payments.payment.OnlinePayment>
__init__()[source]
__module__ = 'waeup.kofa.payments.payment'
__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)

approve()[source]

Approve online payment and set to paid.

creation_date

Ticket Creation Date (computed attribute)

p_category

Payment Category (computed attribute)

p_combi

Combi Payment (computed attribute)

p_item

(computed attribute)

p_option

Payment Option (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)