Beispiel #1
0
        public KeyPayApiV2Client(string baseUrl, AuthenticationDetails authenticationDetails)
        {
            var api = new ApiRequestExecutor(baseUrl)
            {
                Authenticator = authenticationDetails.Authenticator
            };

            Business          = new BusinessFunction(api);
            PayCategory       = new PayCategoryFunction(api);
            PaySchedule       = new PayScheduleFunction(api);
            Employee          = new EmployeeFunction(api);
            Location          = new LocationFunction(api);
            PayRun            = new PayRunFunction(api);
            LeaveCategory     = new LeaveCategoryFunction(api);
            Report            = new ReportFunction(api);
            Timesheet         = new TimesheetFunction(api);
            User              = new UserFunction(api);
            PayRateTemplates  = new PayRateTemplateFunction(api);
            DeductionCategory = new DeductionCategoryFunction(api);
            ExpenseCategory   = new ExpenseCategoryFunction(api);
            WorkType          = new WorkTypeFunction(api);
            Document          = new DocumentFunction(api);
            EmployeeGroup     = new EmployeeGroupFunction(api);
            EmployingEntity   = new EmployingEntityFunction(api);
            PaymentSummary    = new PaymentSummaryFunction(api);
            RosterShift       = new RosterShiftFunction(api);
            Manager           = new ManagerFunction(api);
            Kiosk             = new KioskFunction(api);
            TimeAndAttendance = new TimeAndAttendanceFunction(api);
            Unavailability    = new UnavailabilityFunction(api);
        }
Beispiel #2
0
 public SgApiClient(string baseUrl, AuthenticationDetails authenticationDetails, string userAgent = null) : base(baseUrl, authenticationDetails, userAgent)
 {
     Other                                           = new OtherFunction(Api);
     Brand                                           = new BrandFunction(Api);
     Invoices                                        = new InvoicesFunction(Api);
     Business                                        = new BusinessFunction(Api);
     ChartOfAccounts                                 = new ChartOfAccountsFunction(Api);
     DeductionCategories                             = new DeductionCategoriesFunction(Api);
     Employee                                        = new EmployeeFunction(Api);
     EmployeeAccess                                  = new EmployeeAccessFunction(Api);
     EmployeeRecurringTransactions                   = new EmployeeRecurringTransactionsFunction(Api);
     EmployeeBankAccount                             = new EmployeeBankAccountFunction(Api);
     EmployeeBenefitsInKind                          = new EmployeeBenefitsInKindFunction(Api);
     EmployeeDocument                                = new EmployeeDocumentFunction(Api);
     EmployeeEarningsLineSplit                       = new EmployeeEarningsLineSplitFunction(Api);
     EmployeeExpenseRequest                          = new EmployeeExpenseRequestFunction(Api);
     EmployeeGainsOrProfitsEmployeeSharePlan         = new EmployeeGainsOrProfitsEmployeeSharePlanFunction(Api);
     EmployeeIncomeFromOverseasSubjectToTaxRemission = new EmployeeIncomeFromOverseasSubjectToTaxRemissionFunction(Api);
     EmployeeIncomeTaxBorneByEmployer                = new EmployeeIncomeTaxBorneByEmployerFunction(Api);
     EmployeeLeaveAllowances                         = new EmployeeLeaveAllowancesFunction(Api);
     LeaveAllowance                                  = new LeaveAllowanceFunction(Api);
     LeaveRequests                                   = new LeaveRequestsFunction(Api);
     Location                                        = new LocationFunction(Api);
     EmployeePayRateSchedule                         = new EmployeePayRateScheduleFunction(Api);
     PayRun                                          = new PayRunFunction(Api);
     EmployeeQualifications                          = new EmployeeQualificationsFunction(Api);
     Authentication                                  = new AuthenticationFunction(Api);
     EmploymentAgreement                             = new EmploymentAgreementFunction(Api);
     EmployeeExpenseCategories                       = new EmployeeExpenseCategoriesFunction(Api);
     EmployeeGroups                                  = new EmployeeGroupsFunction(Api);
     EmployeeOnboarding                              = new EmployeeOnboardingFunction(Api);
     EmployerLiabilityCategories                     = new EmployerLiabilityCategoriesFunction(Api);
     EmployingEntities                               = new EmployingEntitiesFunction(Api);
     TimeAndAttendance                               = new TimeAndAttendanceFunction(Api);
     LeaveCategories                                 = new LeaveCategoriesFunction(Api);
     LookupData                                      = new LookupDataFunction(Api);
     Manager                                         = new ManagerFunction(Api);
     PayCategory                                     = new PayCategoryFunction(Api);
     PayRateTemplate                                 = new PayRateTemplateFunction(Api);
     PaySchedule                                     = new PayScheduleFunction(Api);
     PublicHoliday                                   = new PublicHolidayFunction(Api);
     Qualifications                                  = new QualificationsFunction(Api);
     Reporting                                       = new ReportingFunction(Api);
     RosterShift                                     = new RosterShiftFunction(Api);
     TieredLeaveAllowance                            = new TieredLeaveAllowanceFunction(Api);
     Timesheets                                      = new TimesheetsFunction(Api);
     Unavailability                                  = new UnavailabilityFunction(Api);
     Webhook                                         = new WebhookFunction(Api);
     WorkType                                        = new WorkTypeFunction(Api);
     Ess        = new EssFunction(Api);
     Reseller   = new ResellerFunction(Api);
     User       = new UserFunction(Api);
     WhiteLabel = new WhiteLabelFunction(Api);
 }
Beispiel #3
0
 public AuApiClient(string baseUrl, AuthenticationDetails authenticationDetails, string userAgent = null) : base(baseUrl, authenticationDetails, userAgent)
 {
     Brand                         = new BrandFunction(Api);
     Invoices                      = new InvoicesFunction(Api);
     Business                      = new BusinessFunction(Api);
     AbaSettings                   = new AbaSettingsFunction(Api);
     ChartOfAccounts               = new ChartOfAccountsFunction(Api);
     DeductionCategories           = new DeductionCategoriesFunction(Api);
     Employee                      = new EmployeeFunction(Api);
     EmployeeAccess                = new EmployeeAccessFunction(Api);
     EmployeeRecurringTransactions = new EmployeeRecurringTransactionsFunction(Api);
     EmployeeBankAccount           = new EmployeeBankAccountFunction(Api);
     EmployeeDocument              = new EmployeeDocumentFunction(Api);
     EmployeeEarningsLineSplit     = new EmployeeEarningsLineSplitFunction(Api);
     EmployeeExpenseRequest        = new EmployeeExpenseRequestFunction(Api);
     EmployeeLeaveAllowances       = new EmployeeLeaveAllowancesFunction(Api);
     LeaveAllowance                = new LeaveAllowanceFunction(Api);
     LeaveRequests                 = new LeaveRequestsFunction(Api);
     Location                      = new LocationFunction(Api);
     EmployeePayRateSchedule       = new EmployeePayRateScheduleFunction(Api);
     PayRun                        = new PayRunFunction(Api);
     EmployeeQualifications        = new EmployeeQualificationsFunction(Api);
     EmployeeSelfManagedSuperFund  = new EmployeeSelfManagedSuperFundFunction(Api);
     Authentication                = new AuthenticationFunction(Api);
     EmployeeSuperFund             = new EmployeeSuperFundFunction(Api);
     EmploymentAgreement           = new EmploymentAgreementFunction(Api);
     EmployeeExpenseCategories     = new EmployeeExpenseCategoriesFunction(Api);
     EmployeeGroups                = new EmployeeGroupsFunction(Api);
     EmployeeOnboarding            = new EmployeeOnboardingFunction(Api);
     EmployerLiabilityCategories   = new EmployerLiabilityCategoriesFunction(Api);
     EmployingEntities             = new EmployingEntitiesFunction(Api);
     TimeAndAttendance             = new TimeAndAttendanceFunction(Api);
     LeaveCategories               = new LeaveCategoriesFunction(Api);
     LookupData                    = new LookupDataFunction(Api);
     Manager                       = new ManagerFunction(Api);
     PayCategory                   = new PayCategoryFunction(Api);
     PaymentSummary                = new PaymentSummaryFunction(Api);
     PayRateTemplate               = new PayRateTemplateFunction(Api);
     Other                         = new OtherFunction(Api);
     PaySchedule                   = new PayScheduleFunction(Api);
     PublicHoliday                 = new PublicHolidayFunction(Api);
     Qualifications                = new QualificationsFunction(Api);
     Reporting                     = new ReportingFunction(Api);
     RosterShift                   = new RosterShiftFunction(Api);
     SuperFund                     = new SuperFundFunction(Api);
     Timesheets                    = new TimesheetsFunction(Api);
     Unavailability                = new UnavailabilityFunction(Api);
     Webhook                       = new WebhookFunction(Api);
     WorkType                      = new WorkTypeFunction(Api);
     Ess        = new EssFunction(Api);
     Reseller   = new ResellerFunction(Api);
     User       = new UserFunction(Api);
     WhiteLabel = new WhiteLabelFunction(Api);
 }