Interface GuarantorsApi
public interface GuarantorsApi
-
Method Summary
Modifier and TypeMethodDescriptionretrofit2.Call<String>accountsTemplate(Long loanId, Long clientId) retrofit2.Call<String>retrofit2.Call<String>createGuarantor(Long loanId) retrofit2.Call<String>createGuarantor(Long loanId, String body) retrofit2.Call<String>retrofit2.Call<String>createGuarantor(Long loanId, Map<String, String> headers) retrofit2.Call<String>deleteGuarantor(Long loanId, Long guarantorId, Long guarantorFundingId) retrofit2.Call<String>retrofit2.Call<Void>getGuarantorTemplate(Long loanId, Long officeId, String dateFormat) retrofit2.Call<Void>retrofit2.Call<String>newGuarantorTemplate(Long loanId) retrofit2.Call<String>newGuarantorTemplate(Long loanId, Map<String, String> headers) retrofit2.Call<String>postGuarantorTemplate(Long loanId, String dateFormat, String locale, okhttp3.MultipartBody.Part uploadedInputStream) retrofit2.Call<String>postGuarantorTemplate(Long loanId, String dateFormat, String locale, okhttp3.MultipartBody.Part uploadedInputStream, Map<String, String> headers) retrofit2.Call<String>retrieveGuarantorDetails(Long loanId) retrofit2.Call<String>retrieveGuarantorDetails(Long loanId, Map<String, String> headers) retrofit2.Call<String>retrieveGuarantorDetails1(Long loanId, Long guarantorId) retrofit2.Call<String>retrofit2.Call<String>updateGuarantor(Long loanId, Long guarantorId) retrofit2.Call<String>updateGuarantor(Long loanId, Long guarantorId, String body) retrofit2.Call<String>retrofit2.Call<String>
-
Method Details
-
accountsTemplate
@GET("v1/loans/{loanId}/guarantors/accounts/template") retrofit2.Call<String> accountsTemplate(@Path("loanId") Long loanId, @Query("clientId") Long clientId) - Parameters:
loanId- (required)clientId- (optional)- Returns:
- Call<String>
-
createGuarantor
@Headers("Content-Type:application/json") @POST("v1/loans/{loanId}/guarantors") retrofit2.Call<String> createGuarantor(@Path("loanId") Long loanId, @Body String body) - Parameters:
loanId- (required)body- (optional)- Returns:
- Call<String>
-
deleteGuarantor
@DELETE("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> deleteGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @Query("guarantorFundingId") Long guarantorFundingId) - Parameters:
loanId- (required)guarantorId- (required)guarantorFundingId- (optional)- Returns:
- Call<String>
-
getGuarantorTemplate
@GET("v1/loans/{loanId}/guarantors/downloadtemplate") retrofit2.Call<Void> getGuarantorTemplate(@Path("loanId") Long loanId, @Query("officeId") Long officeId, @Query("dateFormat") String dateFormat) - Parameters:
loanId- (required)officeId- (optional)dateFormat- (optional)- Returns:
- Call<Void>
-
newGuarantorTemplate
@GET("v1/loans/{loanId}/guarantors/template") retrofit2.Call<String> newGuarantorTemplate(@Path("loanId") Long loanId) - Parameters:
loanId- (required)- Returns:
- Call<String>
-
postGuarantorTemplate
@Multipart @POST("v1/loans/{loanId}/guarantors/uploadtemplate") retrofit2.Call<String> postGuarantorTemplate(@Path("loanId") Long loanId, @Part("dateFormat") String dateFormat, @Part("locale") String locale, @Part okhttp3.MultipartBody.Part uploadedInputStream) - Parameters:
loanId- (required)dateFormat- (optional)locale- (optional)uploadedInputStream- (optional)- Returns:
- Call<String>
-
retrieveGuarantorDetails
@GET("v1/loans/{loanId}/guarantors") retrofit2.Call<String> retrieveGuarantorDetails(@Path("loanId") Long loanId) - Parameters:
loanId- (required)- Returns:
- Call<String>
-
retrieveGuarantorDetails1
@GET("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> retrieveGuarantorDetails1(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId) - Parameters:
loanId- (required)guarantorId- (required)- Returns:
- Call<String>
-
updateGuarantor
@Headers("Content-Type:application/json") @PUT("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> updateGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @Body String body) - Parameters:
loanId- (required)guarantorId- (required)body- (optional)- Returns:
- Call<String>
-
createGuarantor
@Headers("Content-Type:application/json") @POST("v1/loans/{loanId}/guarantors") retrofit2.Call<String> createGuarantor(@Path("loanId") Long loanId) - Parameters:
loanId- (required)body- (optional)- Returns:
- Call<String>
-
updateGuarantor
@Headers("Content-Type:application/json") @PUT("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> updateGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId) - Parameters:
loanId- (required)guarantorId- (required)body- (optional)- Returns:
- Call<String>
-
accountsTemplate
@GET("v1/loans/{loanId}/guarantors/accounts/template") retrofit2.Call<String> accountsTemplate(@Path("loanId") Long loanId, @Query("clientId") Long clientId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)clientId- (optional)- Returns:
- Call<String>
-
createGuarantor
@Headers("Content-Type:application/json") @POST("v1/loans/{loanId}/guarantors") retrofit2.Call<String> createGuarantor(@Path("loanId") Long loanId, @Body String body, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)body- (optional)- Returns:
- Call<String>
-
deleteGuarantor
@DELETE("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> deleteGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @Query("guarantorFundingId") Long guarantorFundingId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)guarantorId- (required)guarantorFundingId- (optional)- Returns:
- Call<String>
-
getGuarantorTemplate
@GET("v1/loans/{loanId}/guarantors/downloadtemplate") retrofit2.Call<Void> getGuarantorTemplate(@Path("loanId") Long loanId, @Query("officeId") Long officeId, @Query("dateFormat") String dateFormat, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)officeId- (optional)dateFormat- (optional)- Returns:
- Call<Void>
-
newGuarantorTemplate
@GET("v1/loans/{loanId}/guarantors/template") retrofit2.Call<String> newGuarantorTemplate(@Path("loanId") Long loanId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)- Returns:
- Call<String>
-
postGuarantorTemplate
@Multipart @POST("v1/loans/{loanId}/guarantors/uploadtemplate") retrofit2.Call<String> postGuarantorTemplate(@Path("loanId") Long loanId, @Part("dateFormat") String dateFormat, @Part("locale") String locale, @Part okhttp3.MultipartBody.Part uploadedInputStream, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)dateFormat- (optional)locale- (optional)uploadedInputStream- (optional)- Returns:
- Call<String>
-
retrieveGuarantorDetails
@GET("v1/loans/{loanId}/guarantors") retrofit2.Call<String> retrieveGuarantorDetails(@Path("loanId") Long loanId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)- Returns:
- Call<String>
-
retrieveGuarantorDetails1
@GET("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> retrieveGuarantorDetails1(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)guarantorId- (required)- Returns:
- Call<String>
-
updateGuarantor
@Headers("Content-Type:application/json") @PUT("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> updateGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @Body String body, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)guarantorId- (required)body- (optional)- Returns:
- Call<String>
-
createGuarantor
@Headers("Content-Type:application/json") @POST("v1/loans/{loanId}/guarantors") retrofit2.Call<String> createGuarantor(@Path("loanId") Long loanId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)body- (optional)- Returns:
- Call<String>
-
updateGuarantor
@Headers("Content-Type:application/json") @PUT("v1/loans/{loanId}/guarantors/{guarantorId}") retrofit2.Call<String> updateGuarantor(@Path("loanId") Long loanId, @Path("guarantorId") Long guarantorId, @HeaderMap Map<String, String> headers) - Parameters:
loanId- (required)guarantorId- (required)body- (optional)- Returns:
- Call<String>
-