trait TurnoverValidation extends Validators
Ordering
- Alphabetic
- By Inheritance
Inherited
- TurnoverValidation
- Validators
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
And(predicates: () ⇒ Boolean*)(): Boolean
- Attributes
- protected
- Definition Classes
- Validators
-
def
Or(predicates: () ⇒ Boolean*)(): Boolean
- Attributes
- protected
- Definition Classes
- Validators
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
belowMin(value: Option[Int], min: Int = MIN_MONEY_AMOUNT_ALLOWED)(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
belowMinWithMax(value: Option[Int], max: Int, min: Int = MIN_MONEY_AMOUNT_ALLOWED)(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
val
boxId: String
- Attributes
- protected
- Definition Classes
- Validators
-
def
cannotExistErrorIf(predicate: ⇒ Boolean)(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collectErrors(predicates: () ⇒ Set[CtValidation]*): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
collectWithBoxId(newBoxId: String)(errors: Set[CtValidation]): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
errorMessage[A](messageKey: String, errorArguments: Seq[A] = Seq.empty): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
exceedsMax(value: Option[Int], max: Int = MAX_MONEY_AMOUNT_ALLOWED, errorMsg: String = "exceeds.max")(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
failIf(condition: ⇒ Boolean)(validationErrors: ⇒ Set[CtValidation])(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDaysInYear[BR <: BoxRetriever](boxRetriever: BR, start: (BR) ⇒ StartDate, end: (BR) ⇒ EndDate): Int
- Attributes
- protected
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEmpty(value: Option[_]): Boolean
- Attributes
- protected
- Definition Classes
- Validators
-
def
isFRS10x(boxRetriever: AccountsBoxRetriever): Boolean
- Attributes
- protected
-
def
isFrs10xHmrcAbridgedReturnWithLongPoA[BR <: AccountsBoxRetriever with FilingAttributesBoxValueRetriever](start: (BR) ⇒ StartDate, end: (BR) ⇒ EndDate)(boxRetriever: BR): Boolean
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nonEmpty(value: Option[_]): Boolean
- Attributes
- protected
- Definition Classes
- Validators
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
passIf(condition: ⇒ Boolean)(validationErrors: ⇒ Set[CtValidation])(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
replaceBoxId(newBoxId: String, errors: () ⇒ Set[CtValidation])(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
requiredErrorIf(predicate: ⇒ Boolean)(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
validateCoHoTurnover[BR <: AccountsBoxRetriever](boxRetriever: BR, start: (BR) ⇒ StartDate, end: (BR) ⇒ EndDate, secondaryIncome: Int = 0, errorSuffix: String = s".coho.turnover", minimumAmount: Option[Int] = None): Set[CtValidation]
- Attributes
- protected
-
def
validateHmrcTurnover[BR <: BoxRetriever](boxRetriever: BR, start: (BR) ⇒ StartDate, end: (BR) ⇒ EndDate, errorSuffix: String = ".hmrc.turnover", secondaryIncome: Int = 0, minimumAmount: Option[Int] = None)(): Set[CtValidation]
- Attributes
- protected
-
def
validateMoney(value: Option[Int], min: Int = -99999999, max: Int = 99999999)(): Set[CtValidation]
- Attributes
- protected
- Definition Classes
- Validators
-
def
validateTurnoverRangeWithMinAndMaxMessages(box: OptionalIntIdBox, message: String, min: Int, max: Int, secondaryIncome: Int)(): Set[CtValidation]
- Attributes
- protected
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()