Changeset 12645
- Timestamp:
- 2 Mar 2015, 00:43:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-fake-gw-provider/src/waeup/ikoba/payments/interfaces.py
r12642 r12645 22 22 from zope.container.interfaces import IContainer 23 23 from zope.container.constraints import contains 24 from zope.interface import Interface 24 from zope.interface import Interface, Attribute 25 25 from waeup.ikoba.interfaces import ( 26 26 IIkobaObject, SimpleIkobaVocabulary, ContextualDictSourceFactoryBase) … … 88 88 ) 89 89 90 def create_payment(payer, payment_item , payee):90 def create_payment(payer, payment_item_list, payee): 91 91 """Create a payment. 92 92 … … 229 229 ) 230 230 231 amount = schema.Decimal( 232 title=_(u'Amount'), 233 description=_( 234 'The overall sum payed, including all taxes fees, etc.'), 235 default=decimal.Decimal("0.00"), 236 required=True, 237 readonly=False, 238 ) 231 amount = Attribute("Sum of amounts of items contained") 239 232 240 233 def approve():
Note: See TracChangeset for help on using the changeset viewer.