VoucherComponentProvider

class VoucherComponentProvider @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(analyticsManager: AnalyticsManager? = null, dropInOverrideParams: DropInOverrideParams? = null, localeProvider: LocaleProvider = LocaleProvider()) : ActionComponentProvider<VoucherComponent, VoucherConfiguration, VoucherDelegate>

Constructors

Link copied to clipboard
constructor(analyticsManager: AnalyticsManager? = null, dropInOverrideParams: DropInOverrideParams? = null, localeProvider: LocaleProvider = LocaleProvider())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val supportedActionTypes: List<String>

Functions

Link copied to clipboard
open override fun canHandleAction(action: Action): Boolean
Link copied to clipboard
open fun get(activity: ComponentActivity, checkoutConfiguration: CheckoutConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
open fun get(activity: ComponentActivity, configuration: VoucherConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
open fun get(fragment: Fragment, checkoutConfiguration: CheckoutConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
open fun get(fragment: Fragment, configuration: VoucherConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
open override fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, application: Application, checkoutConfiguration: CheckoutConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
open override fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, application: Application, configuration: VoucherConfiguration, callback: ActionComponentCallback, key: String?): VoucherComponent
Link copied to clipboard
open override fun getDelegate(checkoutConfiguration: CheckoutConfiguration, savedStateHandle: SavedStateHandle, application: Application): VoucherDelegate
Link copied to clipboard
open override fun providesDetails(action: Action): Boolean