org.broadleafcommerce.core.payment.domain
Class CreditCardPaymentInfoImpl

java.lang.Object
  extended by 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

Field Summary
protected  String cvvCode
           
protected  EncryptionModule encryptionModule
           
protected  Integer expirationMonth
           
protected  Integer expirationYear
           
protected  Long id
           
protected  String nameOnCard
           
protected  String pan
           
protected  String referenceNumber
           
 
Constructor Summary
protected CreditCardPaymentInfoImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCvvCode()
           
 EncryptionModule getEncryptionModule()
           
 Integer getExpirationMonth()
           
 Integer getExpirationYear()
           
 Long getId()
           
 String getNameOnCard()
           
 String getPan()
           
 String getReferenceNumber()
           
 int hashCode()
           
 void setCvvCode(String cvvCode)
           
 void setEncryptionModule(EncryptionModule encryptionModule)
           
 void setExpirationMonth(Integer expirationMonth)
           
 void setExpirationYear(Integer expirationYear)
           
 void setId(Long id)
           
 void setNameOnCard(String nameOnCard)
           
 void setPan(String pan)
           
 void setReferenceNumber(String referenceNumber)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CreditCardPaymentInfoImpl

protected CreditCardPaymentInfoImpl()
Method Detail

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 © 2012. All Rights Reserved.