Class VoucherComponentProvider
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.provider.ActionComponentProvider,com.adyen.checkout.components.core.internal.provider.ComponentProvider
public final class VoucherComponentProvider implements ActionComponentProvider<VoucherComponent, VoucherConfiguration, VoucherDelegate>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<String>supportedActionTypes
-
Constructor Summary
Constructors Constructor Description VoucherComponentProvider(AnalyticsManager analyticsManager, DropInOverrideParams dropInOverrideParams, LocaleProvider localeProvider)
-
Method Summary
Modifier and Type Method Description List<String>getSupportedActionTypes()VoucherComponentget(SavedStateRegistryOwner savedStateRegistryOwner, ViewModelStoreOwner viewModelStoreOwner, LifecycleOwner lifecycleOwner, Application application, CheckoutConfiguration checkoutConfiguration, ActionComponentCallback callback, String key)VoucherComponentget(SavedStateRegistryOwner savedStateRegistryOwner, ViewModelStoreOwner viewModelStoreOwner, LifecycleOwner lifecycleOwner, Application application, VoucherConfiguration configuration, ActionComponentCallback callback, String key)VoucherDelegategetDelegate(CheckoutConfiguration checkoutConfiguration, SavedStateHandle savedStateHandle, Application application)BooleancanHandleAction(Action action)BooleanprovidesDetails(Action action)-
-
Method Detail
-
getSupportedActionTypes
List<String> getSupportedActionTypes()
-
get
VoucherComponent get(SavedStateRegistryOwner savedStateRegistryOwner, ViewModelStoreOwner viewModelStoreOwner, LifecycleOwner lifecycleOwner, Application application, CheckoutConfiguration checkoutConfiguration, ActionComponentCallback callback, String key)
-
get
VoucherComponent get(SavedStateRegistryOwner savedStateRegistryOwner, ViewModelStoreOwner viewModelStoreOwner, LifecycleOwner lifecycleOwner, Application application, VoucherConfiguration configuration, ActionComponentCallback callback, String key)
-
getDelegate
VoucherDelegate getDelegate(CheckoutConfiguration checkoutConfiguration, SavedStateHandle savedStateHandle, Application application)
-
canHandleAction
Boolean canHandleAction(Action action)
-
providesDetails
Boolean providesDetails(Action action)
-
-
-
-