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