com.github.asvid.biedra.domain

Package com.github.asvid.biedra.domain

Types

Name Summary
Address data class Address
Address data class for Shop
AddressBuilder class AddressBuilder
DLS builder for Address
OpenHours data class OpenHours
Shop open hours, contains TimeRange for weekdays, saturday and sunday
OpenHoursBuilder class OpenHoursBuilder
DSL builder for OpenHours
Position data class Position
Domain object for Shop position
PositionBuilder class PositionBuilder
DLS builder for Position
Shop data class Shop
Biedronka domain object
ShopBuilder class ShopBuilder
DSL Builder for Shop
SundayShopping object SundayShopping
TimeRange class TimeRange
TimeRange allows easer storing and manipulating time ranges, for example: Shop open hours This class uses Duration and LocalTime from JodaTime library, because similar Java classes are available from API26

Annotations

Name Summary
ShopDsl annotation class ShopDsl

Extensions for External Classes

Name Summary
kotlin.String  

Functions

Name Summary
address fun address(block: AddressBuilder.() -> Unit): Address
DSL method for creating Address
getForToday fun OpenHours.getForToday(): TimeRange
openHours fun openHours(block: OpenHoursBuilder.() -> Unit): OpenHours
DLS method for OpenHours
position fun position(block: PositionBuilder.() -> Unit): Position
DLS method for Position
shop fun shop(block: ShopBuilder.() -> Unit): Shop
DSL method for creating Shop