Class TaxComponentApiResource

java.lang.Object
org.apache.fineract.portfolio.tax.api.TaxComponentApiResource

@Path("/v1/taxes/component") @Component public class TaxComponentApiResource extends Object
  • Constructor Details

    • TaxComponentApiResource

      public TaxComponentApiResource()
  • Method Details

    • retrieveAllTaxComponents

      @GET @Consumes("application/json") @Produces("application/json") public List<org.apache.fineract.portfolio.tax.data.TaxComponentData> retrieveAllTaxComponents()
    • retrieveTaxComponent

      @GET @Path("{taxComponentId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.portfolio.tax.data.TaxComponentData retrieveTaxComponent(@PathParam("taxComponentId") Long taxComponentId)
    • retrieveTemplate

      @GET @Path("template") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.portfolio.tax.data.TaxComponentData retrieveTemplate()
    • createTaxComponent

      @POST @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult createTaxComponent(org.apache.fineract.portfolio.tax.request.TaxComponentRequest taxComponentRequest)
    • updateTaxCompoent

      @PUT @Path("{taxComponentId}") @Consumes("application/json") @Produces("application/json") public org.apache.fineract.infrastructure.core.data.CommandProcessingResult updateTaxCompoent(@PathParam("taxComponentId") Long taxComponentId, org.apache.fineract.portfolio.tax.request.TaxComponentRequest taxComponentRequest)