Class SavingsAccountTransactionsApiResource

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

@Path("/v1/savingsaccounts/{savingsId}/transactions") @Component public class SavingsAccountTransactionsApiResource extends Object
  • Constructor Details

    • SavingsAccountTransactionsApiResource

      public SavingsAccountTransactionsApiResource()
  • Method Details

    • retrieveTemplate

      @GET @Path("template") @Consumes("application/json") @Produces("application/json") public String retrieveTemplate(@PathParam("savingsId") Long savingsId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveOne

      @GET @Path("{transactionId}") @Consumes("application/json") @Produces("application/json") public String retrieveOne(@PathParam("savingsId") Long savingsId, @PathParam("transactionId") Long transactionId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • searchTransactions

      @GET @Path("search") @Produces("application/json") public String searchTransactions(@PathParam("savingsId") Long savingsId, @QueryParam("fromDate") String fromDate, @QueryParam("toDate") String toDate, @QueryParam("fromSubmittedDate") String fromSubmittedDate, @QueryParam("toSubmittedDate") String toSubmittedDate, @QueryParam("fromAmount") BigDecimal fromAmount, @QueryParam("toAmount") BigDecimal toAmount, @QueryParam("types") String types, @QueryParam("credit") Boolean credit, @QueryParam("debit") Boolean debit, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit, @QueryParam("orderBy") String orderBy, @QueryParam("sortOrder") org.springframework.data.domain.Sort.Direction sortOrder, @QueryParam("locale") String localeString, @QueryParam("dateFormat") String dateFormat)
    • advancedQuery

      @POST @Path("query") @Consumes("application/json") @Produces("application/json") public String advancedQuery(@PathParam("savingsId") Long savingsId, org.apache.fineract.infrastructure.core.service.PagedLocalRequest<org.apache.fineract.portfolio.search.data.AdvancedQueryRequest> queryRequest, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • transaction

      @POST @Consumes("application/json") @Produces("application/json") public String transaction(@PathParam("savingsId") Long savingsId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)
    • adjustTransaction

      @POST @Path("{transactionId}") @Consumes("application/json") @Produces("application/json") public String adjustTransaction(@PathParam("savingsId") Long savingsId, @PathParam("transactionId") Long transactionId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)