Package com.stripe.android.ui.core.forms.resources

Types

Link copied to clipboard
class AsyncResourceRepository @Inject constructor(    resources: Resources,     workContext: CoroutineContext,     locale: Locale?) : ResourceRepository

ResourceRepository that loads all resources from JSON asynchronously.

Link copied to clipboard
class LpmRepository @Inject constructor(resources: Resources?)

This class is responsible for loading the LPM UI Specification for all LPMs, and returning a particular requested LPM.

Link copied to clipboard
interface ResourceRepository

Interface that provides all resources needed by the forms.

Link copied to clipboard
class StaticResourceRepository(addressRepository: AddressFieldElementRepository, lpmRepository: LpmRepository = LpmRepository(null)) : ResourceRepository

ResourceRepository that receives all resources pre-loaded.