Class FixedDepositAccountsApiResource
java.lang.Object
org.apache.fineract.portfolio.savings.api.FixedDepositAccountsApiResource
@Path("/v1/fixeddepositaccounts")
@Component
public class FixedDepositAccountsApiResource
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountClosureTemplate(Long accountId, String commandParam, jakarta.ws.rs.core.UriInfo uriInfo) calculateFixedDepositInterest(jakarta.ws.rs.core.UriInfo uriInfo, BigDecimal principalAmount, BigDecimal annualInterestRate, Long tenureInMonths, Long interestCompoundingPeriodInMonths, Long interestPostingPeriodInMonths) jakarta.ws.rs.core.ResponsegetFixedDepositTemplate(Long officeId, Long staffId, String dateFormat) jakarta.ws.rs.core.ResponsegetFixedDepositTransactionTemplate(Long officeId, String dateFormat) handleCommands(Long accountId, String commandParam, jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson) postFixedDepositTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) postFixedDepositTransactionTemplate(InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String locale, String dateFormat) retrieveAll(jakarta.ws.rs.core.UriInfo uriInfo, Boolean paged, Integer offset, Integer limit, String orderBy, String sortOrder) retrieveOne(Long accountId, boolean staffInSelectedOfficeOnly, String chargeStatus, jakarta.ws.rs.core.UriInfo uriInfo) submitApplication(String apiRequestBodyAsJson) template(Long clientId, Long groupId, Long productId, boolean staffInSelectedOfficeOnly, jakarta.ws.rs.core.UriInfo uriInfo)
-
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
-
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
-
handleCommands
-
delete
-
accountClosureTemplate
-
getFixedDepositTemplate
-
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
-
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)
-