示例#1
0
        private void Connect()
        {
            OrganisationEndpoint = new OrganisationEndpoint(Client);

            Accounts           = new AccountsEndpoint(Client);
            Allocations        = new AllocationsEndpoint(Client);
            Attachments        = new AttachmentsEndpoint(Client);
            BankTransactions   = new BankTransactionsEndpoint(Client);
            BankTransfers      = new BankTransfersEndpoint(Client);
            BrandingThemes     = new BrandingThemesEndpoint(Client);
            Contacts           = new ContactsEndpoint(Client);
            ContactGroups      = new ContactGroupsEndpoint(Client);
            CreditNotes        = new CreditNotesEndpoint(Client);
            Currencies         = new CurrenciesEndpoint(Client);
            Employees          = new EmployeesEndpoint(Client);
            ExpenseClaims      = new ExpenseClaimsEndpoint(Client);
            Invoices           = new InvoicesEndpoint(Client);
            Items              = new ItemsEndpoint(Client);
            Journals           = new JournalsEndpoint(Client);
            ManualJournals     = new ManualJournalsEndpoint(Client);
            Payments           = new PaymentsEndpoint(Client);
            PdfFiles           = new PdfEndpoint(Client);
            Receipts           = new ReceiptsEndpoint(Client);
            RepeatingInvoices  = new RepeatingInvoicesEndpoint(Client);
            Reports            = new ReportsEndpoint(Client);
            Setup              = new SetupEndpoint(Client);
            TaxRates           = new TaxRatesEndpoint(Client);
            TrackingCategories = new TrackingCategoriesEndpoint(Client);
            Users              = new UsersEndpoint(Client);
        }
示例#2
0
        private void Connect()
        {
            OrganisationEndpoint = new OrganisationEndpoint(Client);

            Accounts = new AccountsEndpoint(Client);
            Allocations = new AllocationsEndpoint(Client);
            Attachments = new AttachmentsEndpoint(Client);
            BankTransactions = new BankTransactionsEndpoint(Client);
            BankTransfers = new BankTransfersEndpoint(Client);
            BrandingThemes = new BrandingThemesEndpoint(Client);
            Contacts = new ContactsEndpoint(Client);
            CreditNotes = new CreditNotesEndpoint(Client);
            Currencies = new CurrenciesEndpoint(Client);
            Employees = new EmployeesEndpoint(Client);
            ExpenseClaims = new ExpenseClaimsEndpoint(Client);
            Invoices = new InvoicesEndpoint(Client);
            Items = new ItemsEndpoint(Client);
            Journals = new JournalsEndpoint(Client);
            ManualJournals = new ManualJournalsEndpoint(Client);
            Payments = new PaymentsEndpoint(Client);
            PdfFiles = new PdfEndpoint(Client);
            Receipts = new ReceiptsEndpoint(Client);
            RepeatingInvoices = new RepeatingInvoicesEndpoint(Client);
            Reports = new ReportsEndpoint(Client);
            Setup = new SetupEndpoint(Client);
            TaxRates = new TaxRatesEndpoint(Client);
            TrackingCategories = new TrackingCategoriesEndpoint(Client);
            Users = new UsersEndpoint(Client);
        }
        private void Connect()
        {
            OrganisationEndpoint = new OrganisationEndpoint(Client);

            Accounts          = new AccountsEndpoint(Client);
            BankTransactions  = new BankTransactionsEndpoint(Client);
            BankTransfers     = new BankTransfersEndpoint(Client);
            BrandingThemes    = new BrandingThemesEndpoint(Client);
            Contacts          = new ContactsEndpoint(Client);
            CreditNotes       = new CreditNotesEndpoint(Client);
            Currencies        = new CurrenciesEndpoint(Client);
            Employees         = new EmployeesEndpoint(Client);
            ExpenseClaims     = new ExpenseClaimsEndpoint(Client);
            Invoices          = new InvoicesEndpoint(Client);
            Journals          = new JournalsEndpoint(Client);
            ManualJournals    = new ManualJournalsEndpoint(Client);
            Overpayments      = new OverpaymentsEndpoint(Client);
            Payments          = new PaymentsEndpoint(Client);
            PdfFiles          = new PdfEndpoint(Client);
            Prepayments       = new PrepaymentsEndpoint(Client);
            PurchaseOrders    = new PurchaseOrdersEndpoint(Client);
            Receipts          = new ReceiptsEndpoint(Client);
            RepeatingInvoices = new RepeatingInvoicesEndpoint(Client);
            TaxRates          = new TaxRatesEndpoint(Client);
            Users             = new UsersEndpoint(Client);
        }
示例#4
0
        private void Connect()
        {
            Organisations = new OrganisationEndpoint(Client);

            Accounts           = new AccountsEndpoint(Client);
            Allocations        = new AllocationsEndpoint(Client);
            Attachments        = new AttachmentsEndpoint(Client);
            BankTransactions   = new BankTransactionsEndpoint(Client);
            BankTransfers      = new BankTransfersEndpoint(Client);
            BatchPayments      = new BatchPaymentsEndpoint(Client);
            BrandingThemes     = new BrandingThemesEndpoint(Client);
            Contacts           = new ContactsEndpoint(Client);
            ContactGroups      = new ContactGroupsEndpoint(Client);
            CreditNotes        = new CreditNotesEndpoint(Client);
            Currencies         = new CurrenciesEndpoint(Client);
            Employees          = new EmployeesEndpoint(Client);
            ExpenseClaims      = new ExpenseClaimsEndpoint(Client);
            Files              = new FilesEndpoint(Client);
            Folders            = new FoldersEndpoint(Client);
            HistoryAndNotes    = new HistoryAndNotesEndpoint(Client);
            Inbox              = new InboxEndpoint(Client);
            Associations       = new AssociationsEndpoint(Client);
            Invoices           = new InvoicesEndpoint(Client);
            Items              = new ItemsEndpoint(Client);
            Journals           = new JournalsEndpoint(Client);
            LinkedTransactions = new LinkedTransactionsEndpoint(Client);
            ManualJournals     = new ManualJournalsEndpoint(Client);
            Overpayments       = new OverpaymentsEndpoint(Client);
            Payments           = new PaymentsEndpoint(Client);
            PdfFiles           = new PdfEndpoint(Client);
            Prepayments        = new PrepaymentsEndpoint(Client);
            PurchaseOrders     = new PurchaseOrdersEndpoint(Client);
            Receipts           = new ReceiptsEndpoint(Client);
            RepeatingInvoices  = new RepeatingInvoicesEndpoint(Client);
            Reports            = new ReportsEndpoint(Client);
            Setup              = new SetupEndpoint(Client);
            TaxRates           = new TaxRatesEndpoint(Client);
            TrackingCategories = new TrackingCategoriesEndpoint(Client);
            Users              = new UsersEndpoint(Client);
        }
示例#5
0
        public Cin7Api(IUser user)
        {
            client = new Cin7ApiClient(new Cin7ApiSettings(), user, new RateLimiter());

            Contacts          = new ContactsEndpoint(client);
            Branches          = new BranchesEndpoint(client);
            ProductCategories = new ProductCategoriesEndpoint(client);
            Products          = new ProductsEndpoint(client);
            ProductOptions    = new ProductOptionsEndpoint(client);
            SerialNumbers     = new SerialNumbersEndpoint(client);
            SalesOrders       = new SalesOrdersEndpoint(client);
            Payments          = new PaymentsEndpoint(client);
            Quotes            = new QuotesEndpoint(client);
            PurchaseOrders    = new PurchaseOrdersEndpoint(client);
            Stock             = new StockEndpoint(client);
            BranchTransfers   = new BranchTransfersEndpoint(client);
            Adjustments       = new AdjustmentsEndpoint(client);
            Vouchers          = new VouchersEndpoint(client);
            CreditNotes       = new CreditNotesEndpoint(client);
            BomMasters        = new BomMastersEndpoint(client);
            ProductionJobs    = new ProductionJobsEndpoint(client);
            Users             = new UsersEndpoint(client);
        }