Package-level declarations

Types

Link copied to clipboard
class AddressAutocompleteController(debounceMillis: Long = 80, search: suspend (query: String, countryCode: String?) -> List<AddressSuggestion> = { query, country -> AddressSearchService.shared.suggest(query, country) }, retrieveAddress: suspend (AddressSuggestion) -> FrameObjects.BillingAddress? = { suggestion -> AddressSearchService.shared.retrieve(suggestion) })

Drives the suggestion list behind an address field.

Link copied to clipboard
data class AddressSuggestion(val id: String, val title: String, val subtitle: String)

One address the user can pick from the autocomplete list.