Did I find the right examples for you? yes no

All Samples(3)  |  Call(1)  |  Derive(1)  |  Import(1)

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/interfaces.py   Products.PloneGetPaid(Download)
class IEnhancedDonation(igetpaid.IDonationContent):
 
    donation_levels  = schema.List(title=_(u"Donation Levels"),
                                    value_type=schema.Object(IDonationLevel),
                                    required=False,

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/tests/test_donation.py   Products.PloneGetPaid(Download)
    def testDonationProcess(self):
        from zope.interface import alsoProvides
        from Products.Five.utilities.marker import mark
        from Products.PloneGetPaid.interfaces import IDonatableMarker
        from getpaid.core.interfaces import IDonationContent
 
        #request = TestRequest()
        payable = IDonationContent( donation ) 
 
        payable.setProperty('donation_text','description')