Changeset 12792 for main/waeup.ikoba/trunk/src/waeup
- Timestamp:
- 19 Mar 2015, 11:26:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/interfaces.py
r12786 r12792 295 295 """ 296 296 payment_id = schema.TextLine( 297 title= u'Payment Identifier',297 title=_(u'Payment Identifier'), 298 298 default=None, 299 299 required=True, … … 301 301 302 302 title = schema.TextLine( 303 title= u'Payment description.',303 title=_(u'Payment Description'), 304 304 default=u'', 305 305 required=True, … … 307 307 308 308 payer_id = schema.TextLine( 309 title= u'Payer',309 title=_(u'Payer'), 310 310 default=None, 311 311 required=True, … … 313 313 314 314 payee_id = schema.TextLine( 315 title= u'Payee',315 title=_(u'Payee'), 316 316 default=None, 317 317 required=False, … … 319 319 320 320 payable_id = schema.TextLine( 321 title= u'ID of item/good being paid',321 title=_(u'ID of item/good being paid'), 322 322 default=None, 323 323 required=False, … … 325 325 326 326 gateway_service = schema.Choice( 327 title= u'Payment Gateway',327 title=_(u'Payment Gateway'), 328 328 description=u'Payment gateway that handles this transaction.', 329 329 source=PaymentGatewayServicesSource(), … … 340 340 341 341 creation_date = schema.Datetime( 342 title=_(u'Creation Date time'),342 title=_(u'Creation Date'), 343 343 readonly=False, 344 344 required=False, … … 346 346 347 347 payment_date = schema.Datetime( 348 title=_(u'Payment Date time'),348 title=_(u'Payment Date'), 349 349 required=False, 350 350 readonly=False, 351 351 ) 352 352 353 amount = schema.Decimal( 354 title=u'Amount', 355 description=u'Total amount, includung any taxes, fees, etc.', 356 required=True, 357 default=decimal.Decimal('0.00'), 358 ) 359 353 360 currency = schema.Choice( 354 title= u'Currency',361 title=_(u'Currency'), 355 362 source=ISO_4217_CURRENCIES_VOCAB, 356 363 required=True, … … 359 366 360 367 payment_items = schema.Tuple( 361 title= u'Tuple of IPaymentItems.',368 title=_(u'Tuple of IPaymentItems.'), 362 369 value_type=schema.Object( 363 370 title=u'Payment Item', … … 369 376 ) 370 377 371 amount = Attribute("Sum of amounts of items contained")378 #amount = Attribute("Sum of amounts of items contained") 372 379 373 380 def approve():
Note: See TracChangeset for help on using the changeset viewer.