public class CreditCard extends PaymentGroupImpl implements CreditCardInfo, PaymentAddressContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mCardVerificationNumber |
Constructor and Description |
---|
CreditCard() |
Modifier and Type | Method and Description |
---|---|
Address |
getBillingAddress()
Returns the billingAddress
|
java.lang.String |
getCardVerficationNumber()
Deprecated.
use getCardVerificationNumber
|
java.lang.String |
getCardVerificationNumber()
Returns the card verification number for this credit card.
|
java.lang.String |
getCreditCardNumber()
Returns the creditCardNumber
|
java.lang.String |
getCreditCardType()
Returns the creditCardType
|
java.lang.String |
getExpirationDayOfMonth()
Returns the expirationDayOfMonth
|
java.lang.String |
getExpirationMonth()
Returns the expirationMonth
|
java.lang.String |
getExpirationYear()
Returns the expirationYear
|
Order |
getOrder()
Always returns null.
|
java.lang.String |
getPaymentId()
Returns property paymentId
|
java.lang.String |
getPaymentTypeVariation()
Return the variation of this payment group which, in this case, corresponds to the
type of the credit card.
|
void |
setBillingAddress(Address pBillingAddress)
Sets the billingAddress
|
void |
setCardVerficationNumber(java.lang.String pCardVerficationNumber) |
void |
setCardVerificationNumber(java.lang.String pCardVerificationNumber)
Sets the card verification number for this credit card.
|
void |
setCreditCardNumber(java.lang.String pCreditCardNumber)
Sets the creditCardNumber
|
void |
setCreditCardType(java.lang.String pCreditCardType)
Sets the creditCardType
|
void |
setExpirationDayOfMonth(java.lang.String pExpirationDayOfMonth)
Sets the expirationDayOfMonth
|
void |
setExpirationMonth(java.lang.String pExpirationMonth)
Sets the expirationMonth
|
void |
setExpirationYear(java.lang.String pExpirationYear)
Sets the expirationYear
|
addAuthorizationStatus, addChangedProperty, addCommerceItemRelationship, addCommerceItemRelationship, addCreditStatus, addDebitStatus, addOrderRelationship, addShippingGroupRelationship, addShippingGroupRelationship, clearChangedProperties, getAmount, getAmountAuthorized, getAmountCredited, getAmountDebited, getAuthorizationStatus, getChangedProperties, getCommerceItemRelationship, getCommerceItemRelationshipCount, getCommerceItemRelationships, getCreditStatus, getCurrencyCode, getDebitStatus, getOrderRelationship, getOrderRelationshipCount, getPaymentGroupClassType, getPaymentMethod, getPropertyValue, getRepositoryItem, getRequisitionNumber, getSaveAllProperties, getShippingGroupRelationship, getShippingGroupRelationshipCount, getShippingGroupRelationships, getSpecialInstructions, getState, getStateAsString, getStateAsUserResource, getStateDetail, getSubmittedDate, isChanged, removeAllCommerceItemRelationships, removeAllShippingGroupRelationships, removeCommerceItemRelationship, removeOrderRelationship, removeShippingGroupRelationship, setAmount, setAmountAuthorized, setAmountCredited, setAmountDebited, setChanged, setCurrencyCode, setPaymentGroupClassType, setPaymentMethod, setPropertyValue, setRepositoryItem, setRequisitionNumber, setSaveAllProperties, setSpecialInstructions, setState, setStateAsString, setStateDetail, setSubmittedDate, toString, update
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAmount, getCurrencyCode
getId
public static java.lang.String CLASS_VERSION
protected transient java.lang.String mCardVerificationNumber
public java.lang.String getCreditCardNumber()
getCreditCardNumber
in interface BasicCreditCardInfo
public void setCreditCardNumber(java.lang.String pCreditCardNumber)
public java.lang.String getCreditCardType()
getCreditCardType
in interface BasicCreditCardInfo
public void setCreditCardType(java.lang.String pCreditCardType)
public java.lang.String getExpirationMonth()
getExpirationMonth
in interface BasicCreditCardInfo
public void setExpirationMonth(java.lang.String pExpirationMonth)
public java.lang.String getExpirationDayOfMonth()
getExpirationDayOfMonth
in interface BasicCreditCardInfo
public void setExpirationDayOfMonth(java.lang.String pExpirationDayOfMonth)
public java.lang.String getExpirationYear()
getExpirationYear
in interface BasicCreditCardInfo
public void setExpirationYear(java.lang.String pExpirationYear)
public Address getBillingAddress()
getBillingAddress
in interface PaymentAddressContainer
getBillingAddress
in interface BasicCreditCardInfo
public void setBillingAddress(Address pBillingAddress)
setBillingAddress
in interface PaymentAddressContainer
public java.lang.String getPaymentId()
getPaymentId
in interface BasicCreditCardInfo
public Order getOrder()
getOrder
in interface CreditCardInfo
public java.lang.String getCardVerficationNumber()
public void setCardVerficationNumber(java.lang.String pCardVerficationNumber)
public java.lang.String getCardVerificationNumber()
public void setCardVerificationNumber(java.lang.String pCardVerificationNumber)
pCardVerificationNumber
- The cardVerificationNumber to set.public java.lang.String getPaymentTypeVariation()
getPaymentTypeVariation
in interface PaymentGroup
getPaymentTypeVariation
in class PaymentGroupImpl