/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/nashtech/order/0.0.1-dev/scala_mock_models */ package com.nashtech.order.v0.mock { object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeOrder(): com.nashtech.order.v0.models.Order = com.nashtech.order.v0.models.Order( id = Factories.randomString(24), number = Factories.randomString(24), merchantId = Factories.randomString(24), submittedAt = _root_.org.joda.time.DateTime.now, total = BigDecimal("1") ) } }