public class SavedCardToken
extends java.lang.Object
Constructor and Description |
---|
SavedCardToken(java.lang.String cardId,
java.lang.String securityCode) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCardId() |
Device |
getDevice() |
java.lang.String |
getSecurityCode() |
void |
setCardId(java.lang.String cardNumber) |
void |
setDevice(android.content.Context context) |
void |
setDevice(Device device) |
void |
setSecurityCode(java.lang.String securityCode) |
boolean |
validate() |
boolean |
validateCardId() |
boolean |
validateSecurityCode() |
void |
validateSecurityCode(Card card) |
public SavedCardToken(java.lang.String cardId, java.lang.String securityCode)
public Device getDevice()
public void setDevice(android.content.Context context)
public void setDevice(@NonNull Device device)
public java.lang.String getCardId()
public void setCardId(java.lang.String cardNumber)
public java.lang.String getSecurityCode()
public void setSecurityCode(java.lang.String securityCode)
public boolean validate()
public boolean validateCardId()
public boolean validateSecurityCode()
public void validateSecurityCode(Card card) throws CardTokenException
CardTokenException