Class FixedDepositAccountsApiResource

java.lang.Object
org.apache.fineract.portfolio.savings.api.FixedDepositAccountsApiResource

@Path("/v1/fixeddepositaccounts") @Component public class FixedDepositAccountsApiResource extends Object
  • Constructor Details

    • FixedDepositAccountsApiResource

      public FixedDepositAccountsApiResource()
  • Method Details

    • template

      @GET @Path("template") @Consumes("application/json") @Produces("application/json") public String template(@QueryParam("clientId") Long clientId, @QueryParam("groupId") Long groupId, @QueryParam("productId") Long productId, @DefaultValue("false") @QueryParam("staffInSelectedOfficeOnly") boolean staffInSelectedOfficeOnly, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveAll

      @GET @Consumes("application/json") @Produces("application/json") public String retrieveAll(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("paged") Boolean paged, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") String sortOrder)
    • submitApplication

      @POST @Consumes("application/json") @Produces("application/json") public String submitApplication(String apiRequestBodyAsJson)
    • retrieveOne

      @GET @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public String retrieveOne(@PathParam("accountId") Long accountId, @DefaultValue("false") @QueryParam("staffInSelectedOfficeOnly") boolean staffInSelectedOfficeOnly, @DefaultValue("all") @QueryParam("chargeStatus") String chargeStatus, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • calculateFixedDepositInterest

      @GET @Path("calculate-fd-interest") @Consumes("application/json") @Produces("application/json") public String calculateFixedDepositInterest(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("principalAmount") BigDecimal principalAmount, @QueryParam("annualInterestRate") BigDecimal annualInterestRate, @QueryParam("tenureInMonths") Long tenureInMonths, @QueryParam("interestCompoundingPeriodInMonths") Long interestCompoundingPeriodInMonths, @QueryParam("interestPostingPeriodInMonths") Long interestPostingPeriodInMonths)
    • update

      @PUT @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public String update(@PathParam("accountId") Long accountId, String apiRequestBodyAsJson)
    • handleCommands

      @POST @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public String handleCommands(@PathParam("accountId") Long accountId, @QueryParam("command") String commandParam, @Context jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson)
    • delete

      @DELETE @Path("{accountId}") @Consumes("application/json") @Produces("application/json") public String delete(@PathParam("accountId") Long accountId)
    • accountClosureTemplate

      @GET @Path("{accountId}/template") @Consumes("application/json") @Produces("application/json") public String accountClosureTemplate(@PathParam("accountId") Long accountId, @QueryParam("command") String commandParam, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • getFixedDepositTemplate

      @GET @Path("downloadtemplate") @Produces("application/vnd.ms-excel") public jakarta.ws.rs.core.Response getFixedDepositTemplate(@QueryParam("officeId") Long officeId, @QueryParam("staffId") Long staffId, @QueryParam("dateFormat") String dateFormat)
    • postFixedDepositTemplate

      @POST @Path("uploadtemplate") @Consumes("multipart/form-data") public String postFixedDepositTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat)
    • getFixedDepositTransactionTemplate

      @GET @Path("transaction/downloadtemplate") @Produces("application/vnd.ms-excel") public jakarta.ws.rs.core.Response getFixedDepositTransactionTemplate(@QueryParam("officeId") Long officeId, @QueryParam("dateFormat") String dateFormat)
    • postFixedDepositTransactionTemplate

      @POST @Path("transaction/uploadtemplate") @Consumes("multipart/form-data") public String postFixedDepositTransactionTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat)