payments.container - Payments Container Components

Containers which contain payment objects.

class waeup.kofa.payments.container.PaymentsContainer[source]

Bases: grokcore.content.components.Container

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>
__module__ = 'waeup.kofa.payments.container'

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__]
>>> [i.getName() for i in C().__provides__]
clear(id=None, archive=True)[source]