public class CreditCard extends JDBCObject<CreditCard>
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
CreditCard()
Constructs a
CreditCard object with all field values set to
null. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress1()
Returns the cardholder street address.
|
private Customer |
getBilltoCustomer(FlashServletContext ctx)
Returns the credit card's bill-to customer.
|
java.lang.String |
getCardId()
(not persisted) Returns the card id or security code.
|
java.lang.String |
getExpires()
Returns the expiration date (yyyymm).
|
boolean |
getIsPersisted()
(not persisted) Returns the is persisted state flag.
|
java.lang.String |
getIVAddress1()
Returns the cardholder street address initialization vector.
|
java.lang.String |
getIVExpires()
Returns the expiration date initialization vector.
|
java.lang.String |
getIVName()
Returns the cardholder name initialization vector.
|
java.lang.String |
getIVNumber()
Returns the card number initialization vector.
|
java.lang.String |
getIVPostalCode()
Returns the cardholder postal code initialization vector.
|
java.lang.String |
getName()
Returns the cardholder name.
|
java.lang.String |
getNumber()
Returns the card number.
|
java.lang.String |
getNumberAsIs()
Returns the card number as-is.
|
java.lang.String |
getPostalCode()
Returns the cardholder postal code.
|
java.lang.String |
getPurchaseRef()
Returns the purchase reference.
|
java.lang.String |
getType()
Returns the type of card.
|
User |
getUser(FlashServletContext ctx)
Returns the user who owns the credit card.
|
java.lang.String |
getUserId()
Returns the id for the user who owns the credit card.
|
java.lang.String |
getVerificationAddress(FlashServletContext ctx)
Returns the credit card's verification street address, which is the override
address if one exists for this credit card; otherwise, it is the first non
blank address line for the bill-to customer for the user associated with
this credit card.
|
java.lang.String |
getVerificationPostalCode(FlashServletContext ctx)
Returns the credit card's verification postal code, which is the override
postal code if one exists for this credit card; otherwise, it is the postal
verification code for the bill-to customer for the user associated with
this credit card.
|
void |
setAddress1(java.lang.String value)
Sets the cardholder street address.
|
void |
setCardId(java.lang.String value)
(not persisted) Sets the card id or security code.
|
void |
setExpires(java.lang.String value)
Sets the expiration date (yyyymm).
|
void |
setIsPersisted(boolean value)
(not persisted) Sets the is persisted state flag.
|
void |
setIVAddress1(java.lang.String value)
Sets the cardholder street address initialization vector.
|
void |
setIVExpires(java.lang.String value)
Sets the expiration date initialization vector.
|
void |
setIVName(java.lang.String value)
Sets the cardholder name initialization vector.
|
void |
setIVNumber(java.lang.String value)
Sets the card number initialization vector.
|
void |
setIVPostalCode(java.lang.String value)
Sets the cardholder postal code initialization vector.
|
void |
setName(java.lang.String value)
Sets the cardholder name.
|
void |
setNumber(java.lang.String value)
Sets the card number.
|
void |
setPostalCode(java.lang.String value)
Sets the cardholder postal code.
|
void |
setPurchaseRef(java.lang.String value)
Sets the purchase reference.
|
void |
setType(java.lang.String value)
Sets the type of card.
|
void |
setUserId(java.lang.String value)
Sets the id for the user who owns the credit card.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
public CreditCard()
CreditCard object with all field values set to
null.public java.lang.String getType()
public void setType(java.lang.String value)
value - (String) The type of card.public java.lang.String getName()
public void setName(java.lang.String value)
value - (String) The cardholder name (unencrypted value).public java.lang.String getNumber()
public java.lang.String getNumberAsIs()
public void setNumber(java.lang.String value)
value - (String) The card number (unencrypted value).public java.lang.String getExpires()
public void setExpires(java.lang.String value)
value - (String) The expiration date (yyyymm) (unencrypted value).public User getUser(FlashServletContext ctx)
ctx - (FlashServletContext) The current servlet context.public java.lang.String getUserId()
public void setUserId(java.lang.String value)
value - (String) The id for the user who owns the credit card.public java.lang.String getCardId()
public void setCardId(java.lang.String value)
value - (String) The card id or security code.public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String value)
value - (String) The cardholder postal code (unencrypted value).public java.lang.String getAddress1()
public void setAddress1(java.lang.String value)
value - (String) The cardholder street address (unencrypted value).public java.lang.String getPurchaseRef()
public void setPurchaseRef(java.lang.String value)
value - (String) The purchase reference.public java.lang.String getIVName()
public void setIVName(java.lang.String value)
value - (String) The cardholder name initialization vector.public java.lang.String getIVNumber()
public void setIVNumber(java.lang.String value)
value - (String) The card number initialization vector.public java.lang.String getIVExpires()
public void setIVExpires(java.lang.String value)
value - (String) The expiration date initialization vector.public java.lang.String getIVPostalCode()
public void setIVPostalCode(java.lang.String value)
value - (String) The cardholder postal code initialization vector.public java.lang.String getIVAddress1()
public void setIVAddress1(java.lang.String value)
value - (String) The cardholder street address initialization vector.public boolean getIsPersisted()
public void setIsPersisted(boolean value)
value - (boolean) The is persisted state flag.private Customer getBilltoCustomer(FlashServletContext ctx)
ctx - (FlashServletContext) The current servlet context.null if the bill-to
customer could not be found or determined.public java.lang.String getVerificationPostalCode(FlashServletContext ctx)
ctx - (FlashServletContext) The current servlet context.public java.lang.String getVerificationAddress(FlashServletContext ctx)
ctx - (FlashServletContext) The current servlet context.