com.github.asvid.biedra.domain / ShopBuilder

ShopBuilder

class ShopBuilder (source)

DSL Builder for Shop

Constructors

Name Summary
<init> ShopBuilder()
DSL Builder for Shop

Properties

Name Summary
address lateinit var address: Address
uses AddressBuilder
distance var distance: Double?
id var id: String
location lateinit var location: Position
uses ProcessBuilder
openHours lateinit var openHours: OpenHours
uses OpenHoursBuilder

Functions

Name Summary
address fun address(block: AddressBuilder.() -> Unit): Address
build fun build(): Shop
location fun location(block: PositionBuilder.() -> Unit): Position
openHours fun openHours(block: OpenHoursBuilder.() -> Unit): OpenHours