org.views.payment ================= .. py:module:: org.views.payment Attributes ---------- .. autoapisummary:: org.views.payment.EMAIL_SUBJECTS Classes ------- .. autoapisummary:: org.views.payment.PaymentExportForm Functions --------- .. autoapisummary:: org.views.payment.ticket_by_link org.views.payment.send_ticket_notifications org.views.payment.view_payments org.views.payment.export_payments org.views.payment.run_export org.views.payment.change_payment_amount org.views.payment.mark_as_paid org.views.payment.mark_as_unpaid org.views.payment.capture_stripe org.views.payment.refund_stripe org.views.payment.capture_datatrans org.views.payment.refund_datatrans org.views.payment.capture_saferpay org.views.payment.refund_saferpay Module Contents --------------- .. py:class:: PaymentExportForm(formdata: webob.multidict.MultiDict[str, Any] | None = None, obj: object | None = None, prefix: str = '', data: dict[str, Any] | None = None, meta: dict[str, Any] | None = None, *, extra_filters: collections.abc.Mapping[str, collections.abc.Sequence[Any]] | None = None, **kwargs: Any) Bases: :py:obj:`onegov.org.forms.DateRangeForm`, :py:obj:`onegov.org.forms.ExportForm` A form providing a start/end date range. .. py:data:: EMAIL_SUBJECTS .. py:function:: ticket_by_link(tickets: onegov.ticket.TicketCollection, link: Any) -> onegov.ticket.Ticket | None .. py:function:: send_ticket_notifications(payment: onegov.pay.Payment, request: onegov.org.request.OrgRequest, change: str) -> None .. py:function:: view_payments(self: onegov.pay.PaymentCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.PaymentCollectionLayout | None = None) -> onegov.core.types.RenderData .. py:function:: export_payments(self: onegov.pay.PaymentCollection, request: onegov.org.request.OrgRequest, form: PaymentExportForm, layout: onegov.org.layout.PaymentCollectionLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: run_export(session: sqlalchemy.orm.Session, start: datetime.datetime, end: datetime.datetime, nested: bool, formatter: collections.abc.Callable[[Any], object]) -> collections.abc.Sequence[dict[str, Any]] .. py:function:: change_payment_amount(self: onegov.pay.Payment, request: onegov.org.request.OrgRequest) -> onegov.core.types.JSON_ro .. py:function:: mark_as_paid(self: onegov.pay.Payment, request: onegov.org.request.OrgRequest) -> None .. py:function:: mark_as_unpaid(self: onegov.pay.Payment, request: onegov.org.request.OrgRequest) -> None .. py:function:: capture_stripe(self: onegov.pay.models.payment_providers.stripe.StripePayment, request: onegov.org.request.OrgRequest) -> None .. py:function:: refund_stripe(self: onegov.pay.models.payment_providers.stripe.StripePayment, request: onegov.org.request.OrgRequest) -> None .. py:function:: capture_datatrans(self: onegov.pay.models.payment_providers.datatrans.DatatransPayment, request: onegov.org.request.OrgRequest) -> None .. py:function:: refund_datatrans(self: onegov.pay.models.payment_providers.datatrans.DatatransPayment, request: onegov.org.request.OrgRequest) -> None .. py:function:: capture_saferpay(self: onegov.pay.models.payment_providers.worldline_saferpay.SaferpayPayment, request: onegov.org.request.OrgRequest) -> None .. py:function:: refund_saferpay(self: onegov.pay.models.payment_providers.worldline_saferpay.SaferpayPayment, request: onegov.org.request.OrgRequest) -> None