Class Card
- java.lang.Object
-
- com.thalesgroup.tpcsdk.model.Card
-
public class Card extends Object
Card class represents card data received in the TSH server CardList api responseid- Unique identifier of the card allocated by Issuerstate- State of the card. On Samsung Pay, can be one of the following:CardDigitizationStatus.SAMSUNG_PAY_ACTIVECardDigitizationStatus.SAMSUNG_PAY_DISPOSEDCardDigitizationStatus.SAMSUNG_PAY_EXPIREDCardDigitizationStatus.SAMSUNG_PAY_SUSPENDEDCardDigitizationStatus.SAMSUNG_PAY_PENDING_ENROLLEDCardDigitizationStatus.SAMSUNG_PAY_PENDING_PROVISIONCardDigitizationStatus.SAMSUNG_PAY_PENDING_ACTIVATION
type- list of media contents for requested assetIdprimaryScheme- Primary card schemeauxiliarySchemeuserAccount- User accountbankCode- Bank codeprefix- First 4 digits of the PANsuffix- Last 4 digits of the PANpsn- PAN sequence numberexpiryDate- Expiry date of the cardcardholderName- card holder nameregistrationCode- Registration codetncUrl- Terms and conditions urlimageUrl- Card image URL if not available card image can be retrieved using getCardArtTSHProxy.getCardArt(java.lang.String, java.lang.String, java.lang.String, com.thalesgroup.tpcsdk.manager.listener.TPCSDKListener<com.thalesgroup.tpcsdk.model.MediaData>)APItokenUniqueReferences- list of tokenUniqueReferences linked to the card. This is available only if the card has been digitized into devicespanUniqueReferences- list of panUniqueReferences linked to the card. This is available only if the card has been digitized into deviceslast4FPAN- last 4 digit of FPAN. Samsung Pay only.last4DPAN- last 4 digit of DPAN. Samsung Pay only.app2AppPayLoad- App2App payload sent by issuer server. Samsung Pay only.issuerName- Name of the issuer. Samsung Pay only.cardScheme-CardSchemeor brand name of the card. Samsung Pay only.- Since:
- 1.0
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description Card()
-
Method Summary
-
-
-
Method Detail
-
getLast4FPAN
public String getLast4FPAN()
-
setLast4FPAN
public void setLast4FPAN(String last4FPAN)
-
getLast4DPAN
public String getLast4DPAN()
-
setLast4DPAN
public void setLast4DPAN(String last4DPAN)
-
getApp2AppPayLoad
public String getApp2AppPayLoad()
-
setApp2AppPayLoad
public void setApp2AppPayLoad(String app2AppPayload)
-
getIssuerName
public String getIssuerName()
-
setIssuerName
public void setIssuerName(String issuerName)
-
getCardScheme
public CardScheme getCardScheme()
-
setCardScheme
public void setCardScheme(CardScheme cardScheme)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getState
public String getState()
-
setState
public void setState(String state)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getPrimaryScheme
public String getPrimaryScheme()
-
setPrimaryScheme
public void setPrimaryScheme(String primaryScheme)
-
getAuxiliaryScheme
public String getAuxiliaryScheme()
-
setAuxiliaryScheme
public void setAuxiliaryScheme(String auxiliaryScheme)
-
getUserAccount
public String getUserAccount()
-
setUserAccount
public void setUserAccount(String userAccount)
-
getBankCode
public String getBankCode()
-
setBankCode
public void setBankCode(String bankCode)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getSuffix
public String getSuffix()
-
setSuffix
public void setSuffix(String suffix)
-
getPsn
public String getPsn()
-
setPsn
public void setPsn(String psn)
-
getExpiryDate
public String getExpiryDate()
-
setExpiryDate
public void setExpiryDate(String expiryDate)
-
getCardholderName
public String getCardholderName()
-
setCardholderName
public void setCardholderName(String cardholderName)
-
getRegistrationCode
public String getRegistrationCode()
-
setRegistrationCode
public void setRegistrationCode(String registrationCode)
-
getTncUrl
public String getTncUrl()
-
setTncUrl
public void setTncUrl(String tncUrl)
-
getImageUrl
public String getImageUrl()
-
setImageUrl
public void setImageUrl(String imageUrl)
-
getTokenUniqueReferences
public String[] getTokenUniqueReferences()
-
setTokenUniqueReferences
public void setTokenUniqueReferences(String[] tokenUniqueReferences)
-
getPanUniqueReferences
public String[] getPanUniqueReferences()
-
setPanUniqueReferences
public void setPanUniqueReferences(String[] panUniqueReferences)
-
-