Builder

class Builder

Builder for comfortable creation of SearchAddress instance.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): SearchAddress
Create SearchAddress instance from builder data.
country
Link copied to clipboard
fun country(country: String): SearchAddress.Builder
Sets address country.
district
Link copied to clipboard
fun district(district: String): SearchAddress.Builder
Sets address district.
houseNumber
Link copied to clipboard
fun houseNumber(houseNumber: String): SearchAddress.Builder
Sets address house number.
locality
Link copied to clipboard
fun locality(locality: String): SearchAddress.Builder
Sets address locality.
neighborhood
Link copied to clipboard
fun neighborhood(neighborhood: String): SearchAddress.Builder
Sets address neighborhood.
place
Link copied to clipboard
fun place(place: String): SearchAddress.Builder
Sets address place.
postcode
Link copied to clipboard
fun postcode(postcode: String): SearchAddress.Builder
Sets address postcode.
region
Link copied to clipboard
fun region(region: String): SearchAddress.Builder
Sets address region.
street
Link copied to clipboard
fun street(street: String): SearchAddress.Builder
Sets address street.