Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4 more arguments than can be applied to method apply: (errors: Option[Seq[String]], result: String)Playground.this.IncompleteDecisionItem in object IncompleteDecisionItem
- Note that 'engine', 'loanAmount', 'loanTerm', 'lvr', 's3ObjectLink', 'timestamp' are not parameter names of the invoked method.
- trait DecisionItem {
- val engine : String = "Pepper"
- val loanAmount : Int
- val loanTerm : Int
- val lvr : Int
- val result : String
- val s3ObjectLink : String
- val timestamp : String
- }
- case class IncompleteDecisionItem(
- val errors: Option[Seq[String]] = None,
- val result: String = "Incomplete"
- ) extends DecisionItem
- IncompleteDecisionItem(
- engine = "Pepper",
- loanAmount = 222222,
- loanTerm = 300,
- lvr = 200,
- s3ObjectLink = "google cloud platform",
- timestamp = "million years in Japan"
- )
Add Comment
Please, Sign In to add comment