Logo Search packages:      
Sourcecode: zope-emarket version File versions

def EMarket::TransactionManager::Transaction::__init__ (   self,
  id,
  sellerID = None,
  buyerID = None,
  sku = None,
  quantity = 0,
  offer = 0 
)

Create a new complete transaction instance.

Definition at line 49 of file TransactionManager.py.

00049                                                                                       :
        """
        Create a new complete transaction instance.
        """
        #
      self.id=id
        self.buyerID = buyerID
        self.sellerID = sellerID
        self.sku=sku
        self.quantity=quantity
        self.offer = offer
        self.addTime = DateTime('est')  # yes.. we need to do something with timezones!

    # Provide interface for changing properties:


    manage_main=HTMLFile('transactionEdit', globals())


Generated by  Doxygen 1.6.0   Back to index