Class DefaultAddressRepository
-
- All Implemented Interfaces:
-
com.adyen.checkout.ui.core.internal.data.api.AddressRepository
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public final class DefaultAddressRepository implements AddressRepository
-
-
Field Summary
Fields Modifier and Type Field Description private final Flow<List<AddressItem>>statesFlowprivate final Flow<List<AddressItem>>countriesFlow
-
Constructor Summary
Constructors Constructor Description DefaultAddressRepository(AddressService addressService, CoroutineDispatcher coroutineDispatcher)
-
Method Summary
Modifier and Type Method Description Flow<List<AddressItem>>getStatesFlow()Flow<List<AddressItem>>getCountriesFlow()UnitgetStateList(Locale shopperLocale, String countryCode, CoroutineScope coroutineScope)UnitgetCountryList(Locale shopperLocale, CoroutineScope coroutineScope)-
-
Constructor Detail
-
DefaultAddressRepository
DefaultAddressRepository(AddressService addressService, CoroutineDispatcher coroutineDispatcher)
-
-
Method Detail
-
getStatesFlow
Flow<List<AddressItem>> getStatesFlow()
-
getCountriesFlow
Flow<List<AddressItem>> getCountriesFlow()
-
getStateList
Unit getStateList(Locale shopperLocale, String countryCode, CoroutineScope coroutineScope)
-
getCountryList
Unit getCountryList(Locale shopperLocale, CoroutineScope coroutineScope)
-
-
-
-