public final class CardComponent
extends <any>
Modifier and Type | Field and Description |
---|---|
static <any> |
PROVIDER |
Constructor and Description |
---|
CardComponent(PaymentMethod paymentMethod,
CardConfiguration configuration)
Constructs a
CardComponent object. |
CardComponent(StoredPaymentMethod paymentMethod,
CardConfiguration configuration)
Constructs a
CardComponent object. |
Modifier and Type | Method and Description |
---|---|
protected CardComponentState |
createComponentState() |
CardInputData |
getStoredPaymentInputData() |
protected java.util.List<CardType> |
getSupportedFilterCards() |
java.lang.String[] |
getSupportedPaymentMethodTypes() |
boolean |
isHolderNameRequire()
Return false when
isStoredPaymentMethod() is true. |
boolean |
isStoredPaymentMethod() |
protected com.adyen.checkout.card.CardOutputData |
onInputDataChanged(CardInputData inputData) |
boolean |
showStorePaymentField() |
public CardComponent(StoredPaymentMethod paymentMethod, CardConfiguration configuration)
CardComponent
object.paymentMethod
- PaymentMethod
represents card payment method.configuration
- CardConfiguration
.public CardComponent(PaymentMethod paymentMethod, CardConfiguration configuration)
CardComponent
object.paymentMethod
- PaymentMethod
represents card payment method.configuration
- CardConfiguration
.public boolean isStoredPaymentMethod()
public CardInputData getStoredPaymentInputData()
public boolean isHolderNameRequire()
isStoredPaymentMethod()
is true.public boolean showStorePaymentField()
protected com.adyen.checkout.card.CardOutputData onInputDataChanged(CardInputData inputData)
public java.lang.String[] getSupportedPaymentMethodTypes()
protected CardComponentState createComponentState()
protected java.util.List<CardType> getSupportedFilterCards()