Class SavingsAccountChargesApiResource

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

@Path("/v1/savingsaccounts/{savingsAccountId}/charges") @Component public class SavingsAccountChargesApiResource extends Object
  • Constructor Details

    • SavingsAccountChargesApiResource

      public SavingsAccountChargesApiResource()
  • Method Details

    • retrieveAllSavingsAccountCharges

      @GET @Consumes("application/json") @Produces("application/json") public String retrieveAllSavingsAccountCharges(@PathParam("savingsAccountId") Long savingsAccountId, @DefaultValue("all") @QueryParam("chargeStatus") String chargeStatus, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • retrieveTemplate

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

      @GET @Path("{savingsAccountChargeId}") @Consumes("application/json") @Produces("application/json") public String retrieveSavingsAccountCharge(@PathParam("savingsAccountId") Long savingsAccountId, @PathParam("savingsAccountChargeId") Long savingsAccountChargeId, @Context jakarta.ws.rs.core.UriInfo uriInfo)
    • addSavingsAccountCharge

      @POST @Consumes("application/json") @Produces("application/json") public String addSavingsAccountCharge(@PathParam("savingsAccountId") Long savingsAccountId, String apiRequestBodyAsJson)
    • updateSavingsAccountCharge

      @PUT @Path("{savingsAccountChargeId}") @Consumes("application/json") @Produces("application/json") public String updateSavingsAccountCharge(@PathParam("savingsAccountId") Long savingsAccountId, @PathParam("savingsAccountChargeId") Long savingsAccountChargeId, String apiRequestBodyAsJson)
    • payOrWaiveSavingsAccountCharge

      @POST @Path("{savingsAccountChargeId}") @Consumes("application/json") @Produces("application/json") public String payOrWaiveSavingsAccountCharge(@PathParam("savingsAccountId") Long savingsAccountId, @PathParam("savingsAccountChargeId") Long savingsAccountChargeId, @QueryParam("command") String commandParam, String apiRequestBodyAsJson)
    • deleteSavingsAccountCharge

      @DELETE @Path("{savingsAccountChargeId}") @Consumes("application/json") @Produces("application/json") public String deleteSavingsAccountCharge(@PathParam("savingsAccountId") Long savingsAccountId, @PathParam("savingsAccountChargeId") Long savingsAccountChargeId)