Ignore:
Timestamp:
2 Mar 2015, 01:04:18 (10 years ago)
Author:
uli
Message:

Let currency be a payment attribute, not a payment item attribute. Should give more consistency.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-fake-gw-provider/src/waeup/ikoba/payments/interfaces.py

    r12645 r12649  
    150150        )
    151151
    152     currency = schema.Choice(
    153         title=u'Currency',
    154         source=ISO_4217_CURRENCIES_VOCAB,
    155         required=True,
    156         default='USD',
    157         )
    158 
    159152
    160153class IPayment(IContainer):
     
    229222        )
    230223
     224
     225    currency = schema.Choice(
     226        title=u'Currency',
     227        source=ISO_4217_CURRENCIES_VOCAB,
     228        required=True,
     229        default='USD',
     230        )
     231
    231232    amount = Attribute("Sum of amounts of items contained")
    232233
Note: See TracChangeset for help on using the changeset viewer.