pay.collections.payment_provider

Classes

PaymentProviderCollection

Manages the payment providers.

Module Contents

class pay.collections.payment_provider.PaymentProviderCollection(session: sqlalchemy.orm.Session, **kwargs: Any)[source]

Bases: onegov.core.collection.GenericCollection[onegov.pay.models.PaymentProvider[onegov.pay.models.Payment]]

Manages the payment providers.

property model_class: type[onegov.pay.models.PaymentProvider[onegov.pay.models.Payment]][source]
as_default(provider: onegov.pay.models.PaymentProvider[Any]) None[source]
sync() None[source]

Syncs all payments with the related payment providers.