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.Object
public java.lang.String toStringBrief()
public int getId()
CreditCardIf
getId
in interface CreditCardIf
public void setId(int id)
CreditCardIf
setId
in interface CreditCardIf
id
- the id to setpublic java.lang.String getCcType()
CreditCardIf
getCcType
in interface CreditCardIf
public void setCcType(java.lang.String ccType)
CreditCardIf
setCcType
in interface CreditCardIf
ccType
- the ccType to setpublic java.lang.String getCcOwner()
CreditCardIf
getCcOwner
in interface CreditCardIf
public void setCcOwner(java.lang.String ccOwner)
CreditCardIf
setCcOwner
in interface CreditCardIf
ccOwner
- the ccOwner to setpublic java.lang.String getCcNumber()
CreditCardIf
getCcNumber
in interface CreditCardIf
public void setCcNumber(java.lang.String ccNumber)
CreditCardIf
setCcNumber
in interface CreditCardIf
ccNumber
- the ccNumber to setpublic java.lang.String getCcExpires()
CreditCardIf
getCcExpires
in interface CreditCardIf
public void setCcExpires(java.lang.String ccExpires)
CreditCardIf
setCcExpires
in interface CreditCardIf
ccExpires
- the ccExpires to setpublic int getCcExpiryMonth()
CreditCardIf
getCcExpiryMonth
in interface CreditCardIf
public void setCcExpiryMonth(int ccExpiryMonth)
CreditCardIf
setCcExpiryMonth
in interface CreditCardIf
ccExpiryMonth
- the ccExpiryMonth to setpublic int getCcExpiryYear()
CreditCardIf
getCcExpiryYear
in interface CreditCardIf
public void setCcExpiryYear(int ccExpiryYear)
CreditCardIf
setCcExpiryYear
in interface CreditCardIf
ccExpiryYear
- the ccExpiryYear to setpublic java.lang.String getCcCVV()
CreditCardIf
getCcCVV
in interface CreditCardIf
public void setCcCVV(java.lang.String ccCVV)
CreditCardIf
setCcCVV
in interface CreditCardIf
ccCVV
- the ccCVV to setpublic java.lang.String getCcIdentifier()
CreditCardIf
getCcIdentifier
in interface CreditCardIf
public void setCcIdentifier(java.lang.String ccIdentifier)
CreditCardIf
setCcIdentifier
in interface CreditCardIf
ccIdentifier
- the ccIdentifier to setpublic int getAddressId()
CreditCardIf
getAddressId
in interface CreditCardIf
public void setAddressId(int addressId)
CreditCardIf
setAddressId
in interface CreditCardIf
addressId
- the addressId to setpublic java.lang.String getFormattedAddress()
CreditCardIf
getFormattedAddress
in interface CreditCardIf
public void setFormattedAddress(java.lang.String formattedAddress)
setFormattedAddress
in interface CreditCardIf
formattedAddress
- the formattedAddress to setpublic int getCustomerId()
CreditCardIf
getCustomerId
in interface CreditCardIf
public void setCustomerId(int customerId)
CreditCardIf
setCustomerId
in interface CreditCardIf
customerId
- the customerId to setpublic java.lang.String getCcImage()
CreditCardIf
getCcImage
in interface CreditCardIf
public void setCcImage(java.lang.String ccImage)
CreditCardIf
setCcImage
in interface CreditCardIf
ccImage
- the ccImage to setpublic java.lang.String getCustom1()
getCustom1
in interface CreditCardIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface CreditCardIf
custom1
- the custom1 to setpublic java.lang.String getCustom2()
getCustom2
in interface CreditCardIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface CreditCardIf
custom2
- the custom2 to setpublic java.lang.String getCustom3()
getCustom3
in interface CreditCardIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface CreditCardIf
custom3
- the custom3 to setpublic java.lang.String getCustom4()
getCustom4
in interface CreditCardIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface CreditCardIf
custom4
- the custom4 to setpublic java.lang.String getCustom5()
getCustom5
in interface CreditCardIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface CreditCardIf
custom5
- the custom5 to setCopyright © 2018 DS Data Systems UK Ltd.