public class CreditCard extends java.lang.Object implements CreditCardIf
| Constructor and Description |
|---|
CreditCard()
Constructor
|
CreditCard(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Address object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressId()
An address associated with the card
|
java.lang.String |
getCcCVV()
The CVV which is not persisted in the database
|
java.lang.String |
getCcExpires()
Expiry normally in format mm/yy
|
int |
getCcExpiryMonth()
Expiry month (1 - 12).
|
int |
getCcExpiryYear()
Expiry year.
|
java.lang.String |
getCcIdentifier()
An identifier that can be used to refer to a credit card that may be stored by a payment
gateway
|
java.lang.String |
getCcImage()
An image displayed with the card
|
java.lang.String |
getCcNumber()
The credit card number.
|
java.lang.String |
getCcOwner()
The credit card owner
|
java.lang.String |
getCcType()
The credit card type
|
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
int |
getCustomerId()
The id of the customer associated with the card
|
java.lang.String |
getFormattedAddress()
String containing the formatted address of the address associated with the card
|
int |
getId()
The numeric unique id of the credit card object
|
void |
setAddressId(int addressId)
String containing the formatted address of the address associated with the card An address
associated with the card
|
void |
setCcCVV(java.lang.String ccCVV)
The CVV which is not persisted in the database
|
void |
setCcExpires(java.lang.String ccExpires)
Expiry normally in format mm/yy
|
void |
setCcExpiryMonth(int ccExpiryMonth)
Expiry month (1 - 12).
|
void |
setCcExpiryYear(int ccExpiryYear)
Expiry year.
|
void |
setCcIdentifier(java.lang.String ccIdentifier)
An identifier that can be used to refer to a credit card that may be stored by a payment
gateway
|
void |
setCcImage(java.lang.String ccImage)
An image displayed with the card
|
void |
setCcNumber(java.lang.String ccNumber)
The credit card number.
|
void |
setCcOwner(java.lang.String ccOwner)
The credit card owner
|
void |
setCcType(java.lang.String ccType)
The credit card type
|
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustomerId(int customerId)
The id of the customer associated with the card
|
void |
setFormattedAddress(java.lang.String formattedAddress) |
void |
setId(int id)
The numeric unique id of the credit card object
|
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public CreditCard()
public CreditCard(com.workingdogs.village.Record vr,
KKCriteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column namescom.workingdogs.village.DataSetException - an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringBrief()
public int getId()
CreditCardIfgetId in interface CreditCardIfpublic void setId(int id)
CreditCardIfsetId in interface CreditCardIfid - the id to setpublic java.lang.String getCcType()
CreditCardIfgetCcType in interface CreditCardIfpublic void setCcType(java.lang.String ccType)
CreditCardIfsetCcType in interface CreditCardIfccType - the ccType to setpublic java.lang.String getCcOwner()
CreditCardIfgetCcOwner in interface CreditCardIfpublic void setCcOwner(java.lang.String ccOwner)
CreditCardIfsetCcOwner in interface CreditCardIfccOwner - the ccOwner to setpublic java.lang.String getCcNumber()
CreditCardIfgetCcNumber in interface CreditCardIfpublic void setCcNumber(java.lang.String ccNumber)
CreditCardIfsetCcNumber in interface CreditCardIfccNumber - the ccNumber to setpublic java.lang.String getCcExpires()
CreditCardIfgetCcExpires in interface CreditCardIfpublic void setCcExpires(java.lang.String ccExpires)
CreditCardIfsetCcExpires in interface CreditCardIfccExpires - the ccExpires to setpublic int getCcExpiryMonth()
CreditCardIfgetCcExpiryMonth in interface CreditCardIfpublic void setCcExpiryMonth(int ccExpiryMonth)
CreditCardIfsetCcExpiryMonth in interface CreditCardIfccExpiryMonth - the ccExpiryMonth to setpublic int getCcExpiryYear()
CreditCardIfgetCcExpiryYear in interface CreditCardIfpublic void setCcExpiryYear(int ccExpiryYear)
CreditCardIfsetCcExpiryYear in interface CreditCardIfccExpiryYear - the ccExpiryYear to setpublic java.lang.String getCcCVV()
CreditCardIfgetCcCVV in interface CreditCardIfpublic void setCcCVV(java.lang.String ccCVV)
CreditCardIfsetCcCVV in interface CreditCardIfccCVV - the ccCVV to setpublic java.lang.String getCcIdentifier()
CreditCardIfgetCcIdentifier in interface CreditCardIfpublic void setCcIdentifier(java.lang.String ccIdentifier)
CreditCardIfsetCcIdentifier in interface CreditCardIfccIdentifier - the ccIdentifier to setpublic int getAddressId()
CreditCardIfgetAddressId in interface CreditCardIfpublic void setAddressId(int addressId)
CreditCardIfsetAddressId in interface CreditCardIfaddressId - the addressId to setpublic java.lang.String getFormattedAddress()
CreditCardIfgetFormattedAddress in interface CreditCardIfpublic void setFormattedAddress(java.lang.String formattedAddress)
setFormattedAddress in interface CreditCardIfformattedAddress - the formattedAddress to setpublic int getCustomerId()
CreditCardIfgetCustomerId in interface CreditCardIfpublic void setCustomerId(int customerId)
CreditCardIfsetCustomerId in interface CreditCardIfcustomerId - the customerId to setpublic java.lang.String getCcImage()
CreditCardIfgetCcImage in interface CreditCardIfpublic void setCcImage(java.lang.String ccImage)
CreditCardIfsetCcImage in interface CreditCardIfccImage - the ccImage to setpublic java.lang.String getCustom1()
getCustom1 in interface CreditCardIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface CreditCardIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface CreditCardIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface CreditCardIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface CreditCardIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface CreditCardIfcustom3 - the custom3 to setpublic java.lang.String getCustom4()
getCustom4 in interface CreditCardIfpublic void setCustom4(java.lang.String custom4)
setCustom4 in interface CreditCardIfcustom4 - the custom4 to setpublic java.lang.String getCustom5()
getCustom5 in interface CreditCardIfpublic void setCustom5(java.lang.String custom5)
setCustom5 in interface CreditCardIfcustom5 - the custom5 to setCopyright © 2018 DS Data Systems UK Ltd.