Changeset 12737
- Timestamp:
- 11 Mar 2015, 22:42:52 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/interfaces.py
r12734 r12737 165 165 166 166 167 class IPayerFinder(Interface): 168 """Finds payers. 169 170 For each type of content you understand as payer, you should 171 define an IPayrtFinder that can lookup payers in the site. 172 173 This enables access from payments (which store payer ids only) 174 to arbitrary content objects (for which a payer finder is 175 registered under some name. 176 177 The other way round (getting an id and other relevant data from 178 any content object) is ensured by IPayer adapters. 179 """ 180 def get_payer_by_id(item_id): 181 """Get a payer by its Id, or none. 182 """ 183 184 167 185 class IPaymentItem(Interface): 168 186 """Something to sell.
Note: See TracChangeset for help on using the changeset viewer.