Class AccountEventService
java.lang.Object
org.cardanofoundation.lob.app.organisation.service.AccountEventService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByIdAndActive(String organisationId, String debitReferenceCode, String creditReferenceCode) getAllAccountEvent(String orgId) insertAccountEvent(String orgId, EventCodeUpdate eventCodeUpdate, boolean isUpsert) io.vavr.control.Either<Set<org.zalando.problem.Problem>, Set<AccountEventView>> insertAccountEventByCsv(String orgId, org.springframework.web.multipart.MultipartFile file) booleanisActive(ReferenceCode debitReference, ReferenceCode creditReference) updateAccountEvent(String orgId, EventCodeUpdate eventCodeUpdate) voidupdateStatus(String orgId, String refCode)
-
Constructor Details
-
AccountEventService
public AccountEventService()
-
-
Method Details
-
findByIdAndActive
public Optional<AccountEvent> findByIdAndActive(String organisationId, String debitReferenceCode, String creditReferenceCode) -
getAllAccountEvent
-
insertAccountEvent
@Transactional public AccountEventView insertAccountEvent(String orgId, EventCodeUpdate eventCodeUpdate, boolean isUpsert) -
updateAccountEvent
@Transactional public AccountEventView updateAccountEvent(String orgId, EventCodeUpdate eventCodeUpdate) -
insertAccountEventByCsv
@Transactional public io.vavr.control.Either<Set<org.zalando.problem.Problem>,Set<AccountEventView>> insertAccountEventByCsv(String orgId, org.springframework.web.multipart.MultipartFile file) -
updateStatus
-
isActive
-