- Timestamp:
- 17 Mar 2015, 18:41:43 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/payment.py
r12774 r12779 257 257 self.amount = amount 258 258 259 def to_string(self): 260 """A string representation that can be used in exports. 261 262 Returned is a unicode string of format ``(u'<TITLE>',u'<FEE>',u'<CURR>')``. 263 """ 264 string = u"(u'%s', u'%s', u'%s')" % (self.item_id, self.title, self.amount) 265 string = string.replace("u'None'", "None") 266 return string 267 259 268 260 269 @attrs_to_fields
Note: See TracChangeset for help on using the changeset viewer.