CardComponentState

data class CardComponentState(val data: PaymentComponentData<CardPaymentMethod>, val isInputValid: Boolean, val isReady: Boolean, val cardBrand: CardBrand?, val binValue: String, val lastFourDigits: String?) : PaymentComponentState<CardPaymentMethod>

Represents the state of CardComponent.

Constructors

Link copied to clipboard
constructor(data: PaymentComponentData<CardPaymentMethod>, isInputValid: Boolean, isReady: Boolean, cardBrand: CardBrand?, binValue: String, lastFourDigits: String?)

Properties

Link copied to clipboard
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