Package com.adyen.checkout.giftcard
Class GiftCardComponentState
-
- All Implemented Interfaces:
-
android.os.Parcelable,com.adyen.checkout.components.core.PaymentComponentState
public final class GiftCardComponentState implements PaymentComponentState<GiftCardPaymentMethod>, Parcelable
Represents the state of GiftCardComponent.
-
-
Field Summary
Fields Modifier and Type Field Description private final PaymentComponentData<GiftCardPaymentMethod>dataprivate final BooleanisInputValidprivate final BooleanisReadyprivate final StringlastFourDigitsprivate final StringpaymentMethodNameprivate final GiftCardActiongiftCardActionprivate final BooleanisValid
-
Constructor Summary
Constructors Constructor Description GiftCardComponentState(PaymentComponentData<GiftCardPaymentMethod> data, Boolean isInputValid, Boolean isReady, String lastFourDigits, String paymentMethodName, GiftCardAction giftCardAction)
-
Method Summary
Modifier and Type Method Description PaymentComponentData<GiftCardPaymentMethod>getData()BooleanisInputValid()BooleanisReady()final StringgetLastFourDigits()final StringgetPaymentMethodName()final GiftCardActiongetGiftCardAction()-
Methods inherited from class com.adyen.checkout.components.core.PaymentComponentState
isValid -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GiftCardComponentState
GiftCardComponentState(PaymentComponentData<GiftCardPaymentMethod> data, Boolean isInputValid, Boolean isReady, String lastFourDigits, String paymentMethodName, GiftCardAction giftCardAction)
-
-
Method Detail
-
getData
PaymentComponentData<GiftCardPaymentMethod> getData()
-
isInputValid
Boolean isInputValid()
-
getLastFourDigits
final String getLastFourDigits()
-
getPaymentMethodName
final String getPaymentMethodName()
-
getGiftCardAction
final GiftCardAction getGiftCardAction()
-
-
-
-