/// <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&lt;Charge&gt;</returns>
 public List <Charge> ListCharges(string facilityId)
 {
     LoanStreet.LoanServicing.Client.ApiResponse <List <Charge> > localVarResponse = ListChargesWithHttpInfo(facilityId);
     return(localVarResponse.Data);
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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&lt;Facility&gt;</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);
 }
Exemplo n.º 6
0
        /// <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);
        }
Exemplo n.º 7
0
        /// <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);
        }
Exemplo n.º 8
0
        /// <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);
        }
Exemplo n.º 9
0
 /// <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);
 }
Exemplo n.º 10
0
        /// <summary>
        ///
        /// </summary>
        /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception>
        /// <returns>Task of List&lt;User&gt;</returns>
        public async System.Threading.Tasks.Task <List <User> > ListUsersAsync()
        {
            LoanStreet.LoanServicing.Client.ApiResponse <List <User> > localVarResponse = await ListUsersAsyncWithHttpInfo();

            return(localVarResponse.Data);
        }
Exemplo n.º 11
0
 /// <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);
 }
Exemplo n.º 12
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception>
 /// <returns>List&lt;User&gt;</returns>
 public List <User> ListUsers()
 {
     LoanStreet.LoanServicing.Client.ApiResponse <List <User> > localVarResponse = ListUsersWithHttpInfo();
     return(localVarResponse.Data);
 }
Exemplo n.º 13
0
        /// <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);
        }
Exemplo n.º 14
0
 /// <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);
 }
Exemplo n.º 15
0
        /// <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);
        }
Exemplo n.º 16
0
        /// <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);
        }
Exemplo n.º 17
0
 /// <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);
 }
Exemplo n.º 18
0
 /// <summary>
 ///
 /// </summary>
 /// <exception cref="LoanStreet.LoanServicing.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="facilityId"></param>
 /// <returns>List&lt;Borrowing&gt;</returns>
 public List <Borrowing> ListBorrowings(string facilityId)
 {
     LoanStreet.LoanServicing.Client.ApiResponse <List <Borrowing> > localVarResponse = ListBorrowingsWithHttpInfo(facilityId);
     return(localVarResponse.Data);
 }
Exemplo n.º 19
0
 /// <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);
 }
Exemplo n.º 20
0
 /// <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);
 }
Exemplo n.º 21
0
 /// <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);
 }
Exemplo n.º 22
0
        /// <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);
        }
Exemplo n.º 23
0
        /// <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&lt;Facility&gt;</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);
        }
Exemplo n.º 24
0
 /// <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);
        }
Exemplo n.º 26
0
        /// <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&lt;Charge&gt;</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);
        }
Exemplo n.º 28
0
 /// <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);
 }
Exemplo n.º 29
0
        /// <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);
        }
Exemplo n.º 30
0
 /// <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);
 }