Functions

Link copied to clipboard
open fun get(activity: ComponentActivity, storedPaymentMethod: StoredPaymentMethod, configuration: ConfigurationT, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(activity: ComponentActivity, storedPaymentMethod: StoredPaymentMethod, checkoutConfiguration: CheckoutConfiguration, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(fragment: Fragment, storedPaymentMethod: StoredPaymentMethod, configuration: ConfigurationT, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
open fun get(fragment: Fragment, storedPaymentMethod: StoredPaymentMethod, checkoutConfiguration: CheckoutConfiguration, callback: ComponentCallbackT, order: Order? = null, key: String? = null): ComponentT
abstract fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, storedPaymentMethod: StoredPaymentMethod, configuration: ConfigurationT, application: Application, componentCallback: ComponentCallbackT, order: Order?, key: String?): ComponentT
abstract fun get(savedStateRegistryOwner: SavedStateRegistryOwner, viewModelStoreOwner: ViewModelStoreOwner, lifecycleOwner: LifecycleOwner, storedPaymentMethod: StoredPaymentMethod, checkoutConfiguration: CheckoutConfiguration, application: Application, componentCallback: ComponentCallbackT, order: Order?, key: String?): ComponentT

Get a PaymentComponent with a stored payment method.

Link copied to clipboard
abstract fun isPaymentMethodSupported(storedPaymentMethod: StoredPaymentMethod): Boolean

Checks if the provided component can handle a given stored payment method.