Beispiel #1
0
        /// <summary>Instantiates new MangoPayApi object.</summary>
        public MangoPayApi()
        {
            // default config setup
            Config            = new Configuration();
            OAuthTokenManager = new AuthorizationTokenManager(this);

            // API managers initialization
            AuthenticationManager = new ApiOAuth(this);
            Clients               = new ApiClients(this);
            Users                 = new ApiUsers(this);
            Wallets               = new ApiWallets(this);
            PayIns                = new ApiPayIns(this);
            PayOuts               = new ApiPayOuts(this);
            Refunds               = new ApiRefunds(this);
            Transfers             = new ApiTransfers(this);
            CardRegistrations     = new ApiCardRegistrations(this);
            Cards                 = new ApiCards(this);
            Events                = new ApiEvents(this);
            CardPreAuthorizations = new ApiCardPreAuthorizations(this);
            Hooks                 = new ApiHooks(this);
            Kyc              = new ApiKyc(this);
            Disputes         = new ApiDisputes(this);
            Idempotency      = new ApiIdempotency(this);
            Mandates         = new ApiMandates(this);
            Reports          = new ApiReports(this);
            SingleSignOns    = new ApiSingleSignOns(this);
            PermissionGroups = new ApiPermissionGroups(this);
            BankingAlias     = new ApiBankingAliases(this);
            UboDeclarations  = new ApiUboDeclarations(this);
        }
Beispiel #2
0
        /// <summary>Instantiates new MangoPayApi object.</summary>
        public MangoPayApi()
        {
            // default config setup
            Config            = new Configuration();
            OAuthTokenManager = new AuthorizationTokenManager(this);

            // API managers initialization
            AuthenticationManager = new ApiOAuth(this);
            Clients               = new ApiClients(this);
            Users                 = new ApiUsers(this);
            Wallets               = new ApiWallets(this);
            PayIns                = new ApiPayIns(this);
            PayOuts               = new ApiPayOuts(this);
            Refunds               = new ApiRefunds(this);
            Transfers             = new ApiTransfers(this);
            CardRegistrations     = new ApiCardRegistrations(this);
            Cards                 = new ApiCards(this);
            Events                = new ApiEvents(this);
            CardPreAuthorizations = new ApiCardPreAuthorizations(this);
            Hooks                 = new ApiHooks(this);
        }