Class CreateLoanInterestPauseByLoanIdCommandStrategy
java.lang.Object
org.apache.fineract.batch.command.internal.CreateLoanInterestPauseByLoanIdCommandStrategy
- All Implemented Interfaces:
org.apache.fineract.batch.command.CommandStrategy
@Component
public class CreateLoanInterestPauseByLoanIdCommandStrategy
extends Object
implements org.apache.fineract.batch.command.CommandStrategy
Implements
CommandStrategy and creates a loan interest pause by loan id. It passes the contents of the body
from the BatchRequest to LoanInterestPauseApiResource and gets back the response. This class will also catch
any errors raised by LoanInterestPauseApiResource and map those errors to appropriate status codes in
BatchResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.fineract.batch.domain.BatchResponseexecute(org.apache.fineract.batch.domain.BatchRequest request, jakarta.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
CreateLoanInterestPauseByLoanIdCommandStrategy
public CreateLoanInterestPauseByLoanIdCommandStrategy()
-
-
Method Details
-
execute
public org.apache.fineract.batch.domain.BatchResponse execute(org.apache.fineract.batch.domain.BatchRequest request, jakarta.ws.rs.core.UriInfo uriInfo) - Specified by:
executein interfaceorg.apache.fineract.batch.command.CommandStrategy
-