Did I find the right examples for you? yes no

All Samples(32)  |  Call(30)  |  Derive(0)  |  Import(2)

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/vocabulary.py   getpaid.pxpay(Download)
from getpaid.pxpay import _
from getpaid.pxpay.config import *
from zope.schema import vocabulary
 
def serverUrlsChoices( context ):
    return vocabulary.SimpleVocabulary.fromItems(
        [
         (_(u"Test Server"), TEST_SERVER_TYPE),
         (_(u"Production Server"), PRODUCTION_SERVER_TYPE),
def currencyChoices( context ):
    return vocabulary.SimpleVocabulary.fromItems(
        [
         (_(u"Canadian Dollar"), u"CAD"),
         (_(u"Swiss Franc"), u"CHF"),

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/interfaces.py   getpaid.pxpay(Download)
from getpaid.core import interfaces
 
from getpaid.pxpay import _
 
class IPXPayStandardOptions(interfaces.IPaymentProcessorOptions):
    """
    PXPay Standard Options
    """
    PxPayServerType = schema.Choice(title = _(u"PXPay Website Payments Server"),
 
    PxPayUserId = schema.ASCIILine(
        title = _(u"PXPay UserId"),
        description = _(u"Enter your PXPay account UserId"),
        required = True,
       )
 
    PxPayKey = schema.ASCIILine(
        title = _(u"PXPay Key"),