PaymentComponentProvider
Functions
Link copied to clipboard
open fun get(activity: ComponentActivity, paymentMethod: PaymentMethod, configuration: ConfigurationT, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(activity: ComponentActivity, paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(fragment: Fragment, paymentMethod: PaymentMethod, configuration: ConfigurationT, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(fragment: Fragment, paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
abstract fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, paymentMethod: PaymentMethod, configuration: ConfigurationT, application: Application, componentCallback: ComponentCallbackT, order: Order?, key: String?): ComponentT
abstract fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, paymentMethod: PaymentMethod, checkoutConfiguration: CheckoutConfiguration, application: Application, componentCallback: ComponentCallbackT, order: Order?, key: String?): ComponentT
Get a PaymentComponent.
Link copied to clipboard
Checks if the provided component can handle a given payment method.