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: Addressuses AddressBuilder |
| distance | var distance: Double? |
| id | var id: String |
| location | lateinit var location: Positionuses ProcessBuilder |
| openHours | lateinit var openHours: OpenHoursuses 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 |