Created
August 27, 2021 18:47
-
-
Save jordanbeck/244f2466c976565e5f175bacc7d4a7de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val price = Money(amount = BigDecimal(26), currencyCode = "USD") | |
| val shop = Shop(1, "AThomeDesignGoods") | |
| val signals = listOf("In 4 other carts", "Only 1 left!").map { title -> Signal(title) }.toList() | |
| val variations = mapOf( | |
| "Primary color" to "Beige", | |
| "Style" to "Modern" | |
| ).map { entry -> Variation(entry.key, entry.value) }.toList() | |
| val listing = Listing( | |
| id = 0, | |
| title = "Rustic Clay Collection Minimalism Mini Vases, Handmade Pottery Vases, Miscellaneous Vases", | |
| imageUrl = "", | |
| price = price, | |
| shop = shop, | |
| signals = signals, | |
| variations = variations | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment