Interface ProgressiveLoanApi
public interface ProgressiveLoanApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<ProgressiveLoanInterestScheduleModel> fetchModel(Long loanId) Fetch ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!retrofit2.Call<ProgressiveLoanInterestScheduleModel> fetchModel(Long loanId, Map<String, String> headers) Fetch ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!retrofit2.Call<ProgressiveLoanInterestScheduleModel> updateModel(Long loanId) Update and Save ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!retrofit2.Call<ProgressiveLoanInterestScheduleModel> updateModel(Long loanId, Map<String, String> headers) Update and Save ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!
-
Method Details
-
fetchModel
@GET("v1/internal/loan/progressive/{loanId}/model") retrofit2.Call<ProgressiveLoanInterestScheduleModel> fetchModel(@Path("loanId") Long loanId) Fetch ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!- Parameters:
loanId- loanId (required)- Returns:
- Call<ProgressiveLoanInterestScheduleModel>
-
updateModel
@POST("v1/internal/loan/progressive/{loanId}/model") retrofit2.Call<ProgressiveLoanInterestScheduleModel> updateModel(@Path("loanId") Long loanId) Update and Save ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!- Parameters:
loanId- loanId (required)- Returns:
- Call<ProgressiveLoanInterestScheduleModel>
-
fetchModel
@GET("v1/internal/loan/progressive/{loanId}/model") retrofit2.Call<ProgressiveLoanInterestScheduleModel> fetchModel(@Path("loanId") Long loanId, @HeaderMap Map<String, String> headers) Fetch ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!- Parameters:
loanId- loanId (required)- Returns:
- Call<ProgressiveLoanInterestScheduleModel>
-
updateModel
@POST("v1/internal/loan/progressive/{loanId}/model") retrofit2.Call<ProgressiveLoanInterestScheduleModel> updateModel(@Path("loanId") Long loanId, @HeaderMap Map<String, String> headers) Update and Save ProgressiveLoanInterestScheduleModel DO NOT USE THIS IN PRODUCTION!- Parameters:
loanId- loanId (required)- Returns:
- Call<ProgressiveLoanInterestScheduleModel>
-