/** * Generated by API Builder - https://www.apibuilder.io * Service version: 1.1.0 * User agent: apibuilder app.apibuilder.io/hbc/api-product-recommendations-lat/1.1.0/scala_mock_models */ package com.hbc.api.product.recommendations.lat.v1.mock { object Factories { def randomString(length: Int = 24): String = { _root_.scala.util.Random.alphanumeric.take(length).mkString } def makeSimilarProductContext(): com.hbc.api.product.recommendations.lat.v1.models.SimilarProductContext = com.hbc.api.product.recommendations.lat.v1.models.SimilarProductContext.Pdp def makePrice(): com.hbc.api.product.recommendations.lat.v1.models.Price = com.hbc.api.product.recommendations.lat.v1.models.Price( was = Factories.randomString(24), now = Factories.randomString(24), onSale = true ) def makeRecommendation(): com.hbc.api.product.recommendations.lat.v1.models.Recommendation = com.hbc.api.product.recommendations.lat.v1.models.Recommendation( productId = Factories.randomString(24), productName = Factories.randomString(24), productUrl = Factories.randomString(24), productImageUrl = Factories.randomString(24), brandName = Factories.randomString(24), price = com.hbc.api.product.recommendations.lat.v1.mock.Factories.makePrice(), rating = None, numReviews = None ) def makeSimilarProductRecommendation(): com.hbc.api.product.recommendations.lat.v1.models.SimilarProductRecommendation = com.hbc.api.product.recommendations.lat.v1.models.SimilarProductRecommendation( recommendations = Nil ) } }