Interface GiftCardDelegate
-
- All Implemented Interfaces:
-
com.adyen.checkout.components.core.internal.ui.ComponentDelegate,com.adyen.checkout.components.core.internal.ui.PaymentComponentDelegate,com.adyen.checkout.ui.core.internal.ui.ButtonDelegate,com.adyen.checkout.ui.core.internal.ui.UIStateDelegate,com.adyen.checkout.ui.core.internal.ui.ViewProvidingDelegate
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public interface GiftCardDelegate implements PaymentComponentDelegate<GiftCardComponentState>, ViewProvidingDelegate, ButtonDelegate, UIStateDelegate
-
-
Method Summary
Modifier and Type Method Description abstract UnitupdateInputData(Function1<GiftCardInputData, Unit> update)abstract UnitsetInteractionBlocked(Boolean isInteractionBlocked)abstract UnitresolveBalanceResult(BalanceResult balanceResult)abstract UnitresolveOrderResponse(OrderResponse orderResponse)abstract BooleanisPinRequired()abstract GiftCardOutputDatagetOutputData()abstract Flow<GiftCardOutputData>getOutputDataFlow()abstract Flow<GiftCardComponentState>getComponentStateFlow()abstract Flow<CheckoutException>getExceptionFlow()-
Methods inherited from class com.adyen.checkout.components.core.internal.ui.PaymentComponentDelegate
getPaymentMethodType, getSubmitFlow, observe, removeObserver -
Methods inherited from class com.adyen.checkout.components.core.internal.ui.ComponentDelegate
getComponentParams, initialize, onCleared -
Methods inherited from class com.adyen.checkout.ui.core.internal.ui.ButtonDelegate
isConfirmationRequired, onSubmit, shouldShowSubmitButton -
Methods inherited from class com.adyen.checkout.ui.core.internal.ui.ViewProvidingDelegate
getViewFlow -
Methods inherited from class com.adyen.checkout.ui.core.internal.ui.UIStateDelegate
getUiEventFlow, getUiStateFlow -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
updateInputData
abstract Unit updateInputData(Function1<GiftCardInputData, Unit> update)
-
setInteractionBlocked
abstract Unit setInteractionBlocked(Boolean isInteractionBlocked)
-
resolveBalanceResult
abstract Unit resolveBalanceResult(BalanceResult balanceResult)
-
resolveOrderResponse
abstract Unit resolveOrderResponse(OrderResponse orderResponse)
-
isPinRequired
abstract Boolean isPinRequired()
-
getOutputData
abstract GiftCardOutputData getOutputData()
-
getOutputDataFlow
abstract Flow<GiftCardOutputData> getOutputDataFlow()
-
getComponentStateFlow
abstract Flow<GiftCardComponentState> getComponentStateFlow()
-
getExceptionFlow
abstract Flow<CheckoutException> getExceptionFlow()
-
-
-
-