Changeset 15829 for main


Ignore:
Timestamp:
19 Nov 2019, 20:58:07 (5 years ago)
Author:
Henrik Bettermann
Message:

Customize ApplicantOnlinePaymentProcessor?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/batching.py

    r9465 r15829  
    1919"""
    2020from waeup.kofa.utils.batching import BatchProcessor
    21 from waeup.kofa.applicants.batching import ApplicantProcessor
     21from waeup.kofa.applicants.batching import (
     22    ApplicantProcessor, ApplicantOnlinePaymentProcessor)
    2223from waeup.fceokene.applicants.interfaces import (
    23     ICustomApplicant, ICustomApplicantUpdateByRegNo)
     24    ICustomApplicant, ICustomApplicantUpdateByRegNo,
     25    ICustomApplicantOnlinePayment)
    2426
    2527class CustomApplicantProcessor(ApplicantProcessor):
    26     """A batch processor for IApplicant objects.
    27 
    28     In create mode container_code is required. If application_number is given
    29     an applicant with this number is created in the designated container.
    30     If application_number is not given a random application_number is assigned.
    31     applicant_id is being determined by the system and can't be imported.
    32 
    33     In update or remove mode container_code and application_number columns
    34     must not exist. The applicant object is solely searched by its applicant_id
    35     or reg_number.
     28    """A batch processor for ICustomApplicant objects.
    3629    """
    3730    iface = ICustomApplicant
    3831    iface_byregnumber = ICustomApplicantUpdateByRegNo
     32
     33class CustomApplicantOnlinePaymentProcessor(ApplicantOnlinePaymentProcessor):
     34    """A batch processor for ICustomStudentOnlinePayment objects.
     35    """
     36    iface = ICustomApplicantOnlinePayment
Note: See TracChangeset for help on using the changeset viewer.