예제 #1
0
    def __init__(self):

        #########################################
        # Config/authorization related fields
        #########################################

        # Configuration instance with default settings (to be reset if required).
        self.Config = Configuration()
        self.OAuthTokenManager = AuthorizationTokenManager(self)

        #########################################
        # API managers fields
        #########################################

        self.authenticationManager = apioauth.ApiOAuth(self)
        self.clients = apiclients.ApiClients(self)
        self.users = apiusers.ApiUsers(self)
        self.wallets = apiwallets.ApiWallets(self)
        self.transfers = apitransfers.ApiTransfers(self)
        self.payIns = apipayins.ApiPayIns(self)
        self.payOuts = apipayouts.ApiPayOuts(self)
        self.refunds = apirefunds.ApiRefunds(self)
        self.cardRegistrations = apicardregistrations.ApiCardRegistrations(
            self)
        self.cardPreAuthorizations = apicardpreauthorizations.ApiCardPreAuthorizations(
            self)
        self.cards = apicards.ApiCards(self)
        self.events = apievents.ApiEvents(self)
    def __init__(self):

        #########################################
        # Config/authorization related fields
        #########################################

        # Configuration instance with default settings (to be reset if required).
        self.Config = Configuration
        self.OAuthTokenManager = AuthorizationTokenManager(self)

        #########################################
        # API managers fields
        #########################################

        self.authenticationManager = apioauth.ApiOAuth(self)
        self.clients = apiclients.ApiClients(self)
        self.users = apiusers.ApiUsers(self)
        self.wallets = apiwallets.ApiWallets(self)
        self.transfers = apitransfers.ApiTransfers(self)
        self.payIns = apipayins.ApiPayIns(self)
        self.payOuts = apipayouts.ApiPayOuts(self)
        self.refunds = apirefunds.ApiRefunds(self)
        self.cardRegistrations = apicardregistrations.ApiCardRegistrations(
            self)
        self.cardPreAuthorizations = apicardpreauthorizations.ApiCardPreAuthorizations(
            self)
        self.cards = apicards.ApiCards(self)
        self.events = apievents.ApiEvents(self)
        self.hooks = apihooks.ApiHooks(self)
        self.kycdocuments = apikycdocuments.ApiKycDocuments(self)
        self.disputes = apidisputes.ApiDisputes(self)
        self.idempotency = apiidempotency.ApiIdempotency(self)
        self.mandates = apimandates.ApiMandates(self)