Did I find the right examples for you? yes no

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/pxpay.py   getpaid.pxpay(Download)
from getpaid.core import interfaces, options
 
from getpaid.pxpay.interfaces import IPXPayStandardOptions, \
     IPXPayWebInterfaceGateway, IPXPayInvalidMessageError, \
     IPXPayPaymentProcessor, IPXPayNetworkError, ICheckoutContext
    def __init__( self, context ):
        self.context = context
        self.settings = IPXPayStandardOptions(self.context)
        self.pxpay_gateway = IPXPayWebInterfaceGateway(self.settings)
        self.checkout_context = ICheckoutContext(self.context)

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/browser/callback.py   getpaid.pxpay(Download)
 
from getpaid.pxpay import parser
from getpaid.pxpay.interfaces import IPXPayStandardOptions, \
     IPXPayWebInterfaceGateway, IPXPayInvalidMessageError, \
     IPXPayNetworkError, ICheckoutContext
    def __init__(self, context, request):
        super(ProcessResponse, self).__init__(context, request)
        context = aq_inner(self.context)
        self.checkout_context = ICheckoutContext(context)
        self.store = self.checkout_context.store

src/g/e/getpaid.pxpay-0.5/src/getpaid/pxpay/utils.py   getpaid.pxpay(Download)
from zope.interface import implements
 
from Products.CMFCore.utils import getToolByName
 
from getpaid.pxpay.interfaces import ICheckoutContext