AnsweringQuestionsHelper

uk.gov.hmrc.apiplatform.modules.organisations.submissions.utils.AnsweringQuestionsHelper
See theAnsweringQuestionsHelper companion object
trait AnsweringQuestionsHelper extends FixedClock

Attributes

Companion
object
Graph
Supertypes
trait FixedClock
trait ClockNow
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited classlikes

object Instants

Attributes

Inherited from:
FixedClock
Supertypes
class Object
trait Matchable
class Any
object Texts

Attributes

Inherited from:
FixedClock
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def answerForQuestion(desiredMark: Mark)(question: Question): Map[Id, Option[ActualAnswer]]
def answersForGroups(desiredMark: Mark)(groups: NonEmptyList[GroupOfQuestionnaires]): Map[Id, ActualAnswer]
def answersForQuestionnaire(desiredMark: Mark)(questionnaire: Questionnaire): Map[Id, ActualAnswer]

Concrete fields

val address: RegisteredOfficeAddress
val fullName: FullName

Inherited fields

val clock: Clock

Attributes

Inherited from:
FixedClock
override val instant: Instant

Attributes

Inherited from:
FixedClock
override val now: LocalDateTime

Attributes

Inherited from:
FixedClock
val nowAsText: String

Attributes

Inherited from:
FixedClock
override val precise: Instant

Attributes

Inherited from:
FixedClock