Changeset 12114


Ignore:
Timestamp:
2 Dec 2014, 08:30:50 (10 years ago)
Author:
uli
Message:

Adapt to change interface.

Location:
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/catalog.py

    r11954 r12114  
    2929    grok.context(IPayment)
    3030
    31     p_id = grok.index.Field(attribute='p_id')
    32     p_session = grok.index.Field(attribute='p_session')
    33     p_category = grok.index.Field(attribute='p_category')
    34     p_item = grok.index.Field(attribute='p_item')
    35     p_state = grok.index.Field(attribute='p_state')
     31    payment_id = grok.index.Field(attribute='payment_id')
     32    payer_id = grok.index.Field(attribute='payer_id')
     33    payed_item_id = grok.index.Field(attribute='payed_item_id')
     34    state = grok.index.Field(attribute='state')
     35    amount = grok.index.Field(attribute='amount')
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/payment.py

    r11949 r12114  
    5353        super(Payment, self).__init__()
    5454        self.creation_date = datetime.utcnow()
    55         self.p_id = None
     55        self.p_id = u''  # XXX: Get a unique id here
    5656        return
    5757
Note: See TracChangeset for help on using the changeset viewer.