class PendingPartnerProgressServiceImpl extends RootTransactionalService implements PendingPartnerProgressService {

    @Override
    @Transactional
    public ServiceResult<Void> completePartnerSetup(ProjectOrganisationCompositeId projectOrganisationCompositeId) {
        return getPartnerProgress(projectOrganisationCompositeId)
                .andOnSuccess(this::canJoinProject)
                .andOnSuccess(this::sendNotification)
                .andOnSuccessReturnVoid(PendingPartnerProgress::complete);
    }

}