-
- All Implemented Interfaces:
-
com.adyen.checkout.components.Component,com.adyen.checkout.components.PaymentComponent,com.adyen.checkout.components.ViewableComponent
public final class CashAppPayComponent extends BasePaymentComponent<CashAppPayConfiguration, CashAppPayInputData, CashAppPayOutputData, GenericComponentState<CashAppPayPaymentMethod>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCashAppPayComponent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final PaymentMethodDelegatemPaymentMethodDelegateprivate final CashAppPayConfigurationmConfiguration
-
Method Summary
Modifier and Type Method Description Array<String>getSupportedPaymentMethodTypes()BooleanrequiresInput()final Unitsubmit()Call this to indicate that the shopper has clicked the Pay button and Cash App Pay is ready to authorize the request. -
Methods inherited from class com.adyen.checkout.components.base.lifecycle.PaymentComponentViewModel
addCloseable, clear, getTag, setTagIfAbsent -
Methods inherited from class com.adyen.checkout.cashapppay.CashAppPayComponent
getOutputData, getState, inputDataChanged, notifyException, notifyStateChanged, notifyStateChanged, observe, observeErrors, observeOutputData, removeErrorObserver, removeErrorObservers, removeObserver, removeObservers, sendAnalyticsEvent, setAnalyticsEnabled, setCreatedForDropIn -
Methods inherited from class com.adyen.checkout.components.base.BasePaymentComponent
getConfiguration, getSavedStateHandle -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSupportedPaymentMethodTypes
Array<String> getSupportedPaymentMethodTypes()
-
requiresInput
Boolean requiresInput()
-
submit
final Unit submit()
Call this to indicate that the shopper has clicked the Pay button and Cash App Pay is ready to authorize the request. You should only call this method when the component requires user interaction, which means when the "Store payment method" switch is shown. You can check this value using requiresInput.
-
-
-
-