public class Card extends java.lang.Object implements CardInformation
Modifier and Type | Field and Description |
---|---|
static int |
CARD_DEFAULT_IDENTIFICATION_NUMBER_LENGTH |
static int |
CARD_DEFAULT_SECURITY_CODE_LENGTH |
static java.lang.Integer |
CARD_NUMBER_MAX_LENGTH |
Constructor and Description |
---|
Card() |
Modifier and Type | Method and Description |
---|---|
Cardholder |
getCardHolder() |
java.lang.String |
getCustomerId() |
java.util.Date |
getDateCreated() |
java.util.Date |
getDateLastUpdated() |
java.lang.Integer |
getExpirationMonth() |
java.lang.Integer |
getExpirationYear() |
java.lang.String |
getFirstSixDigits() |
java.lang.String |
getId() |
Issuer |
getIssuer() |
java.lang.String |
getLastFourDigits() |
PaymentMethod |
getPaymentMethod() |
SecurityCode |
getSecurityCode() |
java.lang.Integer |
getSecurityCodeLength() |
java.lang.String |
getSecurityCodeLocation() |
boolean |
isSecurityCodeRequired() |
void |
setCardHolder(Cardholder cardHolder) |
void |
setCustomerId(java.lang.String customerId) |
void |
setDateCreated(java.util.Date dateCreated) |
void |
setDateLastUpdated(java.util.Date dateLastUpdated) |
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 |
setIssuer(Issuer issuer) |
void |
setLastFourDigits(java.lang.String lastFourDigits) |
void |
setPaymentMethod(PaymentMethod paymentMethod) |
void |
setSecurityCode(SecurityCode securityCode) |
java.lang.String |
toString() |
public static final int CARD_DEFAULT_IDENTIFICATION_NUMBER_LENGTH
public static final int CARD_DEFAULT_SECURITY_CODE_LENGTH
public static final java.lang.Integer CARD_NUMBER_MAX_LENGTH
public Cardholder getCardHolder()
getCardHolder
in interface CardInformation
public void setCardHolder(Cardholder cardHolder)
public java.lang.String getCustomerId()
public void setCustomerId(java.lang.String customerId)
public java.util.Date getDateCreated()
public void setDateCreated(java.util.Date dateCreated)
public java.util.Date getDateLastUpdated()
public void setDateLastUpdated(java.util.Date dateLastUpdated)
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.lang.String getFirstSixDigits()
getFirstSixDigits
in interface CardInformation
public void setFirstSixDigits(java.lang.String firstSixDigits)
public java.lang.String getId()
public void setId(java.lang.String id)
@Nullable public Issuer getIssuer()
public void setIssuer(@Nullable Issuer issuer)
@Nullable public java.lang.String getLastFourDigits()
getLastFourDigits
in interface CardInformation
public void setLastFourDigits(@Nullable java.lang.String lastFourDigits)
public PaymentMethod getPaymentMethod()
public void setPaymentMethod(@Nullable PaymentMethod paymentMethod)
public SecurityCode getSecurityCode()
public void setSecurityCode(@Nullable SecurityCode securityCode)
public boolean isSecurityCodeRequired()
public java.lang.Integer getSecurityCodeLength()
getSecurityCodeLength
in interface CardInformation
public java.lang.String getSecurityCodeLocation()
public java.lang.String toString()
toString
in class java.lang.Object