org.broadleafcommerce.core.payment.domain
Class CreditCardPaymentInfoImpl
java.lang.Object
org.broadleafcommerce.core.payment.domain.CreditCardPaymentInfoImpl
- All Implemented Interfaces:
- Serializable, CreditCardPaymentInfo, Referenced
@Entity
public class CreditCardPaymentInfoImpl
- extends Object
- implements CreditCardPaymentInfo
- Author:
- jfischer
- See Also:
- Serialized Form
encryptionModule
protected EncryptionModule encryptionModule
id
protected Long id
referenceNumber
protected String referenceNumber
pan
protected String pan
expirationMonth
protected Integer expirationMonth
expirationYear
protected Integer expirationYear
nameOnCard
protected String nameOnCard
cvvCode
protected String cvvCode
CreditCardPaymentInfoImpl
protected CreditCardPaymentInfoImpl()
getId
public Long getId()
- Specified by:
getId in interface CreditCardPaymentInfo- Specified by:
getId in interface Referenced
- Returns:
- the id
setId
public void setId(Long id)
- Specified by:
setId in interface CreditCardPaymentInfo- Specified by:
setId in interface Referenced
- Parameters:
id - the id to set
getReferenceNumber
public String getReferenceNumber()
- Specified by:
getReferenceNumber in interface Referenced
- Returns:
- the referenceNumber
setReferenceNumber
public void setReferenceNumber(String referenceNumber)
- Specified by:
setReferenceNumber in interface Referenced
- Parameters:
referenceNumber - the referenceNumber to set
getPan
public String getPan()
- Specified by:
getPan in interface CreditCardPaymentInfo
- Returns:
- the pan
setPan
public void setPan(String pan)
- Specified by:
setPan in interface CreditCardPaymentInfo
- Parameters:
pan - the pan to set
getExpirationMonth
public Integer getExpirationMonth()
- Specified by:
getExpirationMonth in interface CreditCardPaymentInfo
- Returns:
- the expirationMonth
setExpirationMonth
public void setExpirationMonth(Integer expirationMonth)
- Specified by:
setExpirationMonth in interface CreditCardPaymentInfo
- Parameters:
expirationMonth - the expirationMonth to set
getExpirationYear
public Integer getExpirationYear()
- Specified by:
getExpirationYear in interface CreditCardPaymentInfo
- Returns:
- the expirationYear
setExpirationYear
public void setExpirationYear(Integer expirationYear)
- Specified by:
setExpirationYear in interface CreditCardPaymentInfo
- Parameters:
expirationYear - the expirationYear to set
getNameOnCard
public String getNameOnCard()
- Specified by:
getNameOnCard in interface CreditCardPaymentInfo
- Returns:
- the nameOnCard
setNameOnCard
public void setNameOnCard(String nameOnCard)
- Specified by:
setNameOnCard in interface CreditCardPaymentInfo
- Parameters:
nameOnCard - the name on the card to set
getCvvCode
public String getCvvCode()
- Specified by:
getCvvCode in interface CreditCardPaymentInfo
setCvvCode
public void setCvvCode(String cvvCode)
- Specified by:
setCvvCode in interface CreditCardPaymentInfo
getEncryptionModule
public EncryptionModule getEncryptionModule()
- Specified by:
getEncryptionModule in interface Referenced
setEncryptionModule
public void setEncryptionModule(EncryptionModule encryptionModule)
- Specified by:
setEncryptionModule in interface Referenced
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.