public class Token extends java.lang.Object implements CardInformation
CARD_NUMBER_MAX_LENGTH
Constructor and Description |
---|
Token() |
Modifier and Type | Method and Description |
---|---|
Cardholder |
getCardHolder() |
java.lang.String |
getCardId() |
java.lang.Integer |
getCardNumberLength() |
java.util.Date |
getCreationDate() |
java.util.Date |
getDueDate() |
java.lang.String |
getEsc() |
java.lang.Integer |
getExpirationMonth() |
java.lang.Integer |
getExpirationYear() |
java.lang.String |
getFirstSixDigits() |
java.lang.String |
getId() |
java.lang.String |
getLastFourDigits() |
java.util.Date |
getLastModifiedDate() |
java.lang.String |
getLuhnValidation() |
java.lang.String |
getPublicKey() |
java.lang.Integer |
getSecurityCodeLength() |
java.lang.String |
getStatus() |
java.lang.String |
getTruncCardNumber() |
java.lang.String |
getUsedDate() |
boolean |
isTokenValid() |
void |
setCardholder(Cardholder cardholder) |
void |
setCardId(java.lang.String cardId) |
void |
setCardNumberLength(java.lang.Integer cardNumberLength) |
void |
setCreationDate(java.util.Date creationDate) |
void |
setDueDate(java.util.Date dueDate) |
void |
setEsc(java.lang.String esc) |
void |
setExpirationMonth(java.lang.Integer expirationMonth) |
void |
setExpirationYear(java.lang.Integer expirationYear) |
void |
setFirstSixDigits(java.lang.String firstSixDigits) |
void |
setId(java.lang.String id) |
void |
setLastFourDigits(java.lang.String lastFourDigits) |
void |
setLastModifiedDate(java.util.Date lastModifiedDate) |
void |
setLuhnValidation(java.lang.String luhnValidation) |
void |
setPublicKey(java.lang.String publicKey) |
void |
setSecurityCodeLength(java.lang.Integer securityCodeLength) |
void |
setStatus(java.lang.String status) |
void |
setTruncCardNumber(java.lang.String truncCardNumber) |
void |
setUsedDate(java.lang.String usedDate) |
java.lang.String |
toJson() |
public java.lang.Integer getSecurityCodeLength()
getSecurityCodeLength
in interface CardInformation
public void setSecurityCodeLength(java.lang.Integer securityCodeLength)
public java.lang.Integer getExpirationMonth()
getExpirationMonth
in interface CardInformation
public void setExpirationMonth(java.lang.Integer expirationMonth)
public java.lang.Integer getExpirationYear()
getExpirationYear
in interface CardInformation
public void setExpirationYear(java.lang.Integer expirationYear)
public java.util.Date getLastModifiedDate()
public void setLastModifiedDate(java.util.Date lastModifiedDate)
public java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
public java.lang.String getCardId()
public void setCardId(java.lang.String cardId)
public java.lang.String getLuhnValidation()
public void setLuhnValidation(java.lang.String luhnValidation)
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String getUsedDate()
public void setUsedDate(java.lang.String usedDate)
public java.lang.Integer getCardNumberLength()
public void setCardNumberLength(java.lang.Integer cardNumberLength)
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationDate)
public java.lang.String getTruncCardNumber()
public void setTruncCardNumber(java.lang.String truncCardNumber)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getPublicKey()
public void setPublicKey(java.lang.String publicKey)
public java.lang.String getFirstSixDigits()
getFirstSixDigits
in interface CardInformation
public void setFirstSixDigits(java.lang.String firstSixDigits)
public java.lang.String getLastFourDigits()
getLastFourDigits
in interface CardInformation
public void setLastFourDigits(java.lang.String lastFourDigits)
public Cardholder getCardHolder()
getCardHolder
in interface CardInformation
public void setCardholder(Cardholder cardholder)
public java.lang.String getEsc()
public void setEsc(java.lang.String esc)
public java.lang.String toJson()
public boolean isTokenValid()