CardInformation¶
-
public class
CardInformation
¶ This represents the data that is shared between the terminal and the Android application Setting the fields is only relevant when sending the data to the terminal, and conversely, getting the fields is only relevant when receiving this object from the terminal.
Fields¶
AMEX¶
DINERS_CLUB¶
DISCOVER¶
INTERAC¶
JCB¶
MASTER_CARD¶
NON_PCI_CARD_STATUS¶
PCI_CARD¶
UNKNOWN_PAYMENT_BRAND¶
UNSET_PAYMENT_BRAND¶
UPI¶
VISA¶
Methods¶
create¶
-
public static CardInformation
create
()¶ create CardInformation
getAccountReference¶
-
public String
getAccountReference
()¶ Reference of the PAN, which identifies the PAN or the card uniquely, named also PAR (Payment Account Reference). This reference may be defined by the card issuer or by a token service provider under the control of the card issuer, and cannot be used for a payment transaction.
getAccountType¶
-
public AccountType
getAccountType
()¶ The account type used to complete this payment. This may be empty.
getAvailableBalance¶
getBankUserData¶
-
public String
getBankUserData
()¶ Deprecated on 2022-03-01. Please use
getTokens()
andToken.getScheme()
instead.
getBin¶
getCardCountry¶
getCardCurrency¶
getCardExpiry¶
getCardHolderName¶
getCardPan¶
getCardPreferredLanguages¶
getCardStatus¶
getCardToken¶
-
public String
getCardToken
()¶ Deprecated on 2022-03-01. Please use
getTokens()
andToken.getValue()
instead.
getCardTokenizationMethod¶
-
public TokenizationMethod
getCardTokenizationMethod
()¶ Deprecated on 2022-03-01. Please use
getTokens()
andToken.getType()
instead.
getCardTrack1¶
getCardTrack2¶
getCardTrack3¶
getCvv2¶
-
public String
getCvv2
()¶ Refer to
setCvv2(String)
.
getEncryptedPan¶
getEncryptedPanKsn¶
getEncryptedTracks¶
getEncryptedTracksKsn¶
getFullVasResponse¶
getIssuerId¶
getPanFirst2¶
getPanHandle¶
getPanLast4¶
getPaymentBrand¶
getPinBypassed¶
getPresentationMethod¶
-
public PresentationMethod
getPresentationMethod
()¶ The method used to obtain the card data
getPreviousBalance¶
getProcessorCardNetwork¶
getTokens¶
getVasData¶
getVclCryptoInformation¶
setAccountReference¶
-
public void
setAccountReference
(String accountReference)¶ Reference of the PAN, which identifies the PAN or the card uniquely, named also PAR (Payment Account Reference). This reference may be defined by the card issuer or by a token service provider under the control of the card issuer, and cannot be used for a payment transaction.
setAccountType¶
-
public void
setAccountType
(AccountType accountType)¶ The account type used to complete this payment.
setAvailableBalance¶
setBankUserData¶
-
public void
setBankUserData
(String bankUserData)¶ Deprecated on 2022-03-01. Please use
setTokens()
instead.
setBin¶
setCardCountry¶
setCardCurrency¶
setCardExpiry¶
setCardHolderName¶
setCardPan¶
setCardPreferredLanguages¶
setCardStatus¶
setCardToken¶
-
public void
setCardToken
(String cardToken)¶ Deprecated on 2022-03-01. Please use
setTokens()
instead.
setCardTokenizationMethod¶
-
public void
setCardTokenizationMethod
(TokenizationMethod tokenizationMethod)¶ Deprecated on 2022-03-01. Please use
setTokens()
instead.
setCardTrack1¶
setCardTrack2¶
setCardTrack3¶
setCvv2¶
setEncryptedPan¶
setEncryptedPanKsn¶
setEncryptedTracks¶
setEncryptedTracksKsn¶
setFullVasResponse¶
setIssuerId¶
setPanFirst2¶
setPanHandle¶
setPanLast4¶
setPaymentBrand¶
setPresentationMethod¶
-
public void
setPresentationMethod
(PresentationMethod presentationMethod)¶ Set the presentation method. The method used to set the card data
setPreviousBalance¶
setProcessorCardNetwork¶
-
public void
setProcessorCardNetwork
(String processorCardNetwork)¶ Set the processor card network. Refer to
getProcessorCardNetwork
.