/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createUserRequest"> (optional)</param> /// <returns>Task of User</returns> public async System.Threading.Tasks.Task <User> CreateUserAsync(CreateUserRequest createUserRequest = default(CreateUserRequest)) { LoanStreet.LoanServicing.Client.ApiResponse <User> localVarResponse = await CreateUserAsyncWithHttpInfo(createUserRequest); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <returns>List<Charge></returns> public List <Charge> ListCharges(string facilityId) { LoanStreet.LoanServicing.Client.ApiResponse <List <Charge> > localVarResponse = ListChargesWithHttpInfo(facilityId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="inputDate"></param> /// <returns>BusinessDayResponse</returns> public BusinessDayResponse GetPreviousBusinessDay(DateTime inputDate) { LoanStreet.LoanServicing.Client.ApiResponse <BusinessDayResponse> localVarResponse = GetPreviousBusinessDayWithHttpInfo(inputDate); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="borrower"> (optional)</param> /// <param name="fund"> (optional)</param> /// <returns>List<Facility></returns> public List <Facility> ListFacilities(string borrower = default(string), string fund = default(string)) { LoanStreet.LoanServicing.Client.ApiResponse <List <Facility> > localVarResponse = ListFacilitiesWithHttpInfo(borrower, fund); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <param name="chargeId"></param> /// <returns>Charge</returns> public Charge GetCharge(string facilityId, string chargeId) { LoanStreet.LoanServicing.Client.ApiResponse <Charge> localVarResponse = GetChargeWithHttpInfo(facilityId, chargeId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="passwordAuthRequest"> (optional)</param> /// <returns>Task of PasswordAuthResponse</returns> public async System.Threading.Tasks.Task <PasswordAuthResponse> TokenAsync(PasswordAuthRequest passwordAuthRequest = default(PasswordAuthRequest)) { LoanStreet.LoanServicing.Client.ApiResponse <PasswordAuthResponse> localVarResponse = await TokenAsyncWithHttpInfo(passwordAuthRequest); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facility"> (optional)</param> /// <returns>Task of Facility</returns> public async System.Threading.Tasks.Task <Facility> CreateFacilityAsync(Facility facility = default(Facility)) { LoanStreet.LoanServicing.Client.ApiResponse <Facility> localVarResponse = await CreateFacilityAsyncWithHttpInfo(facility); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of SystemStatusResponse</returns> public async System.Threading.Tasks.Task <SystemStatusResponse> IndexAsync() { LoanStreet.LoanServicing.Client.ApiResponse <SystemStatusResponse> localVarResponse = await IndexAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <param name="borrowingId"></param> /// <returns>Borrowing</returns> public Borrowing GetBorrowing(string facilityId, string borrowingId) { LoanStreet.LoanServicing.Client.ApiResponse <Borrowing> localVarResponse = GetBorrowingWithHttpInfo(facilityId, borrowingId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of List<User></returns> public async System.Threading.Tasks.Task <List <User> > ListUsersAsync() { LoanStreet.LoanServicing.Client.ApiResponse <List <User> > localVarResponse = await ListUsersAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>SystemStatusResponse</returns> public SystemStatusResponse Index() { LoanStreet.LoanServicing.Client.ApiResponse <SystemStatusResponse> localVarResponse = IndexWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>List<User></returns> public List <User> ListUsers() { LoanStreet.LoanServicing.Client.ApiResponse <List <User> > localVarResponse = ListUsersWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userId"></param> /// <returns>Task of User</returns> public async System.Threading.Tasks.Task <User> GetUserAsync(string userId) { LoanStreet.LoanServicing.Client.ApiResponse <User> localVarResponse = await GetUserAsyncWithHttpInfo(userId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="userId"></param> /// <returns>User</returns> public User GetUser(string userId) { LoanStreet.LoanServicing.Client.ApiResponse <User> localVarResponse = GetUserWithHttpInfo(userId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="principal"></param> /// <returns>Task of JwtAuthenticationToken</returns> public async System.Threading.Tasks.Task <JwtAuthenticationToken> PrincipalAsync(JwtAuthenticationToken principal) { LoanStreet.LoanServicing.Client.ApiResponse <JwtAuthenticationToken> localVarResponse = await PrincipalAsyncWithHttpInfo(principal); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <param name="borrowingId"></param> /// <returns>Task of Borrowing</returns> public async System.Threading.Tasks.Task <Borrowing> GetBorrowingAsync(string facilityId, string borrowingId) { LoanStreet.LoanServicing.Client.ApiResponse <Borrowing> localVarResponse = await GetBorrowingAsyncWithHttpInfo(facilityId, borrowingId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="passwordAuthRequest"> (optional)</param> /// <returns>PasswordAuthResponse</returns> public PasswordAuthResponse Token(PasswordAuthRequest passwordAuthRequest = default(PasswordAuthRequest)) { LoanStreet.LoanServicing.Client.ApiResponse <PasswordAuthResponse> localVarResponse = TokenWithHttpInfo(passwordAuthRequest); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <returns>List<Borrowing></returns> public List <Borrowing> ListBorrowings(string facilityId) { LoanStreet.LoanServicing.Client.ApiResponse <List <Borrowing> > localVarResponse = ListBorrowingsWithHttpInfo(facilityId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facility"> (optional)</param> /// <returns>Facility</returns> public Facility CreateFacility(Facility facility = default(Facility)) { LoanStreet.LoanServicing.Client.ApiResponse <Facility> localVarResponse = CreateFacilityWithHttpInfo(facility); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Authentication</returns> public Authentication Auth() { LoanStreet.LoanServicing.Client.ApiResponse <Authentication> localVarResponse = AuthWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <returns>Facility</returns> public Facility GetFacility(string facilityId) { LoanStreet.LoanServicing.Client.ApiResponse <Facility> localVarResponse = GetFacilityWithHttpInfo(facilityId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of Authentication</returns> public async System.Threading.Tasks.Task <Authentication> AuthAsync() { LoanStreet.LoanServicing.Client.ApiResponse <Authentication> localVarResponse = await AuthAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="borrower"> (optional)</param> /// <param name="fund"> (optional)</param> /// <returns>Task of List<Facility></returns> public async System.Threading.Tasks.Task <List <Facility> > ListFacilitiesAsync(string borrower = default(string), string fund = default(string)) { LoanStreet.LoanServicing.Client.ApiResponse <List <Facility> > localVarResponse = await ListFacilitiesAsyncWithHttpInfo(borrower, fund); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>string</returns> public string AuthInstitution() { LoanStreet.LoanServicing.Client.ApiResponse <string> localVarResponse = AuthInstitutionWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <param name="chargeId"></param> /// <returns>Task of Charge</returns> public async System.Threading.Tasks.Task <Charge> GetChargeAsync(string facilityId, string chargeId) { LoanStreet.LoanServicing.Client.ApiResponse <Charge> localVarResponse = await GetChargeAsyncWithHttpInfo(facilityId, chargeId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of string</returns> public async System.Threading.Tasks.Task <string> AuthInstitutionAsync() { LoanStreet.LoanServicing.Client.ApiResponse <string> localVarResponse = await AuthInstitutionAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="facilityId"></param> /// <returns>Task of List<Charge></returns> public async System.Threading.Tasks.Task <List <Charge> > ListChargesAsync(string facilityId) { LoanStreet.LoanServicing.Client.ApiResponse <List <Charge> > localVarResponse = await ListChargesAsyncWithHttpInfo(facilityId); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="principal"></param> /// <returns>JwtAuthenticationToken</returns> public JwtAuthenticationToken Principal(JwtAuthenticationToken principal) { LoanStreet.LoanServicing.Client.ApiResponse <JwtAuthenticationToken> localVarResponse = PrincipalWithHttpInfo(principal); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="inputDate"></param> /// <returns>Task of BusinessDayResponse</returns> public async System.Threading.Tasks.Task <BusinessDayResponse> GetPreviousBusinessDayAsync(DateTime inputDate) { LoanStreet.LoanServicing.Client.ApiResponse <BusinessDayResponse> localVarResponse = await GetPreviousBusinessDayAsyncWithHttpInfo(inputDate); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception> /// <param name="createUserRequest"> (optional)</param> /// <returns>User</returns> public User CreateUser(CreateUserRequest createUserRequest = default(CreateUserRequest)) { LoanStreet.LoanServicing.Client.ApiResponse <User> localVarResponse = CreateUserWithHttpInfo(createUserRequest); return(localVarResponse.Data); }