Changeset 12138 for main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba
- Timestamp:
- 4 Dec 2014, 04:01:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/interfaces.py
r12132 r12138 52 52 """A base representation of payments. 53 53 54 A payment can be approve()d, which means the act of paying was 55 really performed. It can also fail for any reason. 56 54 57 """ 55 58 payment_id = schema.TextLine( … … 99 102 ) 100 103 104 def approve(): 105 """Approve a payment. 106 107 The payment was approved and can now be considered payed. This 108 kind of approvement means the final one (in case there are 109 several instances to ask). 110 """ 111 112 def mark_failed(reason=None): 113 """Mark the payment as failed. 114 115 A failed payment was canceled due to technical problems, 116 insufficient funds, etc. 117 """ 118 101 119 102 120 class IOnlinePayment(IPayment):
Note: See TracChangeset for help on using the changeset viewer.