GiftCardComponentState

data class GiftCardComponentState(val data: PaymentComponentData<GiftCardPaymentMethod>, val isInputValid: Boolean, val isReady: Boolean, val lastFourDigits: String?, val paymentMethodName: String?, val giftCardAction: GiftCardAction) : PaymentComponentState<GiftCardPaymentMethod> , Parcelable

Represents the state of GiftCardComponent.

Constructors

Link copied to clipboard
constructor(data: PaymentComponentData<GiftCardPaymentMethod>, isInputValid: Boolean, isReady: Boolean, lastFourDigits: String?, paymentMethodName: String?, giftCardAction: GiftCardAction)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val isInputValid: Boolean
Link copied to clipboard
open override val isReady: Boolean
Link copied to clipboard
open val isValid: Boolean
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)