Ignore:
Timestamp:
17 Mar 2013, 08:40:59 (12 years ago)
Author:
Henrik Bettermann
Message:

Use better class names. The PaymentWebservice? adapter is not a webservice. KofaPaymentRequest? is not a request but a view for a simple web service.

We do not publish the data of the payee but of the payer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py

    r9984 r10030  
    134134        "Approve an online payment and set to paid."
    135135
    136 class IPaymentWebservice(IKofaObject):
    137     """An interface for a webservice.
     136class IPayer(IKofaObject):
     137    """An interface for an adapter to publish student and applicant data
     138    through a simple webservice.
    138139
    139140    """
    140     display_fullname = Attribute('Name of  payee')
    141     id = Attribute('Id of payee')
    142     reg_number = Attribute('Reg number of payee')
    143     matric_number = Attribute('Matric number of payee')
    144     faculty = Attribute('Faculty of payee')
    145     department = Attribute('Department of payee')
     141    display_fullname = Attribute('Name of  payer')
     142    id = Attribute('Id of payer')
     143    reg_number = Attribute('Reg number of payer')
     144    matric_number = Attribute('Matric number of payer')
     145    faculty = Attribute('Faculty of payer')
     146    department = Attribute('Department of payer')
Note: See TracChangeset for help on using the changeset viewer.