org.broadleafcommerce.core.payment.domain
Class PaymentResponseItemImpl

java.lang.Object
  extended by org.broadleafcommerce.core.payment.domain.PaymentResponseItemImpl
All Implemented Interfaces:
Serializable, PaymentResponseItem

@Entity
public class PaymentResponseItemImpl
extends Object
implements PaymentResponseItem

See Also:
Serialized Form

Field Summary
protected  Map<String,String> additionalFields
           
protected  BigDecimal amountPaid
           
protected  String authorizationCode
           
protected  String avsCode
           
protected  BroadleafCurrency currency
           
protected  Customer customer
           
protected  String cvvCode
           
protected  Long id
           
protected  String implementorResponseCode
           
protected  String implementorResponseText
           
protected  String middlewareResponseCode
           
protected  String middlewareResponseText
           
protected  PaymentInfo paymentInfo
           
protected  Long paymentInfoId
           
protected  String paymentInfoReferenceNumber
           
protected  String processorResponseCode
           
protected  String processorResponseText
           
protected  String referenceNumber
           
protected  BigDecimal remainingBalance
           
protected  BigDecimal transactionAmount
           
protected  String transactionId
           
protected  Boolean transactionSuccess
           
protected  Date transactionTimestamp
           
protected  String transactionType
           
protected  String userName
           
 
Constructor Summary
PaymentResponseItemImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,String> getAdditionalFields()
           
 Money getAmountPaid()
          Deprecated. 
 String getAuthorizationCode()
           
 String getAvsCode()
           
 BroadleafCurrency getCurrency()
           
 Customer getCustomer()
           
 String getCvvCode()
           
 Long getId()
           
 String getImplementorResponseCode()
           
 String getImplementorResponseText()
           
 String getMiddlewareResponseCode()
           
 String getMiddlewareResponseText()
           
 PaymentInfo getPaymentInfo()
           
 Long getPaymentInfoId()
           
 String getPaymentInfoReferenceNumber()
           
 String getProcessorResponseCode()
           
 String getProcessorResponseText()
           
 String getReferenceNumber()
           
 Money getRemainingBalance()
           
 Money getTransactionAmount()
          The amount that the system processed.
 String getTransactionId()
           
 Boolean getTransactionSuccess()
           
 Date getTransactionTimestamp()
           
 TransactionType getTransactionType()
           
 String getUserName()
           
 int hashCode()
           
 void setAdditionalFields(Map<String,String> additionalFields)
           
 void setAmountPaid(Money amountPaid)
          Deprecated. 
 void setAuthorizationCode(String authorizationCode)
           
 void setAvsCode(String avsCode)
           
 void setCurrency(BroadleafCurrency currency)
           
 void setCustomer(Customer customer)
           
 void setCvvCode(String cvvCode)
           
 void setId(Long id)
           
 void setImplementorResponseCode(String implementorResponseCode)
           
 void setImplementorResponseText(String implementorResponseText)
           
 void setMiddlewareResponseCode(String middlewareResponseCode)
           
 void setMiddlewareResponseText(String middlewareResponseText)
           
 void setPaymentInfo(PaymentInfo paymentInfo)
           
 void setPaymentInfoId(Long paymentInfoId)
           
 void setPaymentInfoReferenceNumber(String paymentInfoReferenceNumber)
           
 void setProcessorResponseCode(String processorResponseCode)
           
 void setProcessorResponseText(String processorResponseText)
           
 void setReferenceNumber(String referenceNumber)
           
 void setRemainingBalance(Money remainingBalance)
           
 void setTransactionAmount(Money transactionAmount)
          Sets the transaction amount.
 void setTransactionId(String transactionId)
           
 void setTransactionSuccess(Boolean transactionSuccess)
           
 void setTransactionTimestamp(Date transactionTimestamp)
           
 void setTransactionType(TransactionType transactionType)
           
 void setUserName(String userName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected Long id

userName

protected String userName

amountPaid

protected BigDecimal amountPaid

transactionAmount

protected BigDecimal transactionAmount

authorizationCode

protected String authorizationCode

middlewareResponseCode

protected String middlewareResponseCode

middlewareResponseText

protected String middlewareResponseText

processorResponseCode

protected String processorResponseCode

processorResponseText

protected String processorResponseText

implementorResponseCode

protected String implementorResponseCode

implementorResponseText

protected String implementorResponseText

referenceNumber

protected String referenceNumber

transactionSuccess

protected Boolean transactionSuccess

transactionTimestamp

protected Date transactionTimestamp

transactionId

protected String transactionId

avsCode

protected String avsCode

cvvCode

protected String cvvCode

remainingBalance

protected BigDecimal remainingBalance

transactionType

protected String transactionType

additionalFields

protected Map<String,String> additionalFields

paymentInfoId

protected Long paymentInfoId

customer

protected Customer customer

paymentInfoReferenceNumber

protected String paymentInfoReferenceNumber

currency

protected BroadleafCurrency currency

paymentInfo

protected PaymentInfo paymentInfo
Constructor Detail

PaymentResponseItemImpl

public PaymentResponseItemImpl()
Method Detail

getAuthorizationCode

public String getAuthorizationCode()
Specified by:
getAuthorizationCode in interface PaymentResponseItem

setAuthorizationCode

public void setAuthorizationCode(String authorizationCode)
Specified by:
setAuthorizationCode in interface PaymentResponseItem

getMiddlewareResponseCode

public String getMiddlewareResponseCode()
Specified by:
getMiddlewareResponseCode in interface PaymentResponseItem

setMiddlewareResponseCode

public void setMiddlewareResponseCode(String middlewareResponseCode)
Specified by:
setMiddlewareResponseCode in interface PaymentResponseItem

getMiddlewareResponseText

public String getMiddlewareResponseText()
Specified by:
getMiddlewareResponseText in interface PaymentResponseItem

setMiddlewareResponseText

public void setMiddlewareResponseText(String middlewareResponseText)
Specified by:
setMiddlewareResponseText in interface PaymentResponseItem

getProcessorResponseCode

public String getProcessorResponseCode()
Specified by:
getProcessorResponseCode in interface PaymentResponseItem

setProcessorResponseCode

public void setProcessorResponseCode(String processorResponseCode)
Specified by:
setProcessorResponseCode in interface PaymentResponseItem

getProcessorResponseText

public String getProcessorResponseText()
Specified by:
getProcessorResponseText in interface PaymentResponseItem

setProcessorResponseText

public void setProcessorResponseText(String processorResponseText)
Specified by:
setProcessorResponseText in interface PaymentResponseItem

getReferenceNumber

public String getReferenceNumber()
Specified by:
getReferenceNumber in interface PaymentResponseItem

setReferenceNumber

public void setReferenceNumber(String referenceNumber)
Specified by:
setReferenceNumber in interface PaymentResponseItem

getAmountPaid

@Deprecated
public Money getAmountPaid()
Deprecated. 

Specified by:
getAmountPaid in interface PaymentResponseItem
See Also:
PaymentResponseItem.getTransactionAmount()

setAmountPaid

@Deprecated
public void setAmountPaid(Money amountPaid)
Deprecated. 

Specified by:
setAmountPaid in interface PaymentResponseItem
See Also:
PaymentResponseItem.setTransactionAmount(org.broadleafcommerce.common.money.Money)

getTransactionAmount

public Money getTransactionAmount()
Description copied from interface: PaymentResponseItem
The amount that the system processed. For example, when submitting an order, this would be the order.getTotal. If refunding $10, this would be 10.

Specified by:
getTransactionAmount in interface PaymentResponseItem
Returns:

setTransactionAmount

public void setTransactionAmount(Money transactionAmount)
Description copied from interface: PaymentResponseItem
Sets the transaction amount.

Specified by:
setTransactionAmount in interface PaymentResponseItem

getTransactionSuccess

public Boolean getTransactionSuccess()
Specified by:
getTransactionSuccess in interface PaymentResponseItem

setTransactionSuccess

public void setTransactionSuccess(Boolean transactionSuccess)
Specified by:
setTransactionSuccess in interface PaymentResponseItem

getTransactionTimestamp

public Date getTransactionTimestamp()
Specified by:
getTransactionTimestamp in interface PaymentResponseItem

setTransactionTimestamp

public void setTransactionTimestamp(Date transactionTimestamp)
Specified by:
setTransactionTimestamp in interface PaymentResponseItem

getImplementorResponseCode

public String getImplementorResponseCode()
Specified by:
getImplementorResponseCode in interface PaymentResponseItem

setImplementorResponseCode

public void setImplementorResponseCode(String implementorResponseCode)
Specified by:
setImplementorResponseCode in interface PaymentResponseItem

getImplementorResponseText

public String getImplementorResponseText()
Specified by:
getImplementorResponseText in interface PaymentResponseItem

setImplementorResponseText

public void setImplementorResponseText(String implementorResponseText)
Specified by:
setImplementorResponseText in interface PaymentResponseItem

getTransactionId

public String getTransactionId()
Specified by:
getTransactionId in interface PaymentResponseItem

setTransactionId

public void setTransactionId(String transactionId)
Specified by:
setTransactionId in interface PaymentResponseItem

getAvsCode

public String getAvsCode()
Specified by:
getAvsCode in interface PaymentResponseItem

setAvsCode

public void setAvsCode(String avsCode)
Specified by:
setAvsCode in interface PaymentResponseItem

getCvvCode

public String getCvvCode()
Specified by:
getCvvCode in interface PaymentResponseItem

setCvvCode

public void setCvvCode(String cvvCode)
Specified by:
setCvvCode in interface PaymentResponseItem

getRemainingBalance

public Money getRemainingBalance()
Specified by:
getRemainingBalance in interface PaymentResponseItem

setRemainingBalance

public void setRemainingBalance(Money remainingBalance)
Specified by:
setRemainingBalance in interface PaymentResponseItem

getTransactionType

public TransactionType getTransactionType()
Specified by:
getTransactionType in interface PaymentResponseItem

setTransactionType

public void setTransactionType(TransactionType transactionType)
Specified by:
setTransactionType in interface PaymentResponseItem

getAdditionalFields

public Map<String,String> getAdditionalFields()
Specified by:
getAdditionalFields in interface PaymentResponseItem

setAdditionalFields

public void setAdditionalFields(Map<String,String> additionalFields)
Specified by:
setAdditionalFields in interface PaymentResponseItem

getId

public Long getId()

setId

public void setId(Long id)

getPaymentInfoId

public Long getPaymentInfoId()
Specified by:
getPaymentInfoId in interface PaymentResponseItem

setPaymentInfoId

public void setPaymentInfoId(Long paymentInfoId)
Specified by:
setPaymentInfoId in interface PaymentResponseItem

getUserName

public String getUserName()
Specified by:
getUserName in interface PaymentResponseItem

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface PaymentResponseItem

getCustomer

public Customer getCustomer()
Specified by:
getCustomer in interface PaymentResponseItem

setCustomer

public void setCustomer(Customer customer)
Specified by:
setCustomer in interface PaymentResponseItem

getCurrency

public BroadleafCurrency getCurrency()
Specified by:
getCurrency in interface PaymentResponseItem

setCurrency

public void setCurrency(BroadleafCurrency currency)
Specified by:
setCurrency in interface PaymentResponseItem

getPaymentInfoReferenceNumber

public String getPaymentInfoReferenceNumber()
Specified by:
getPaymentInfoReferenceNumber in interface PaymentResponseItem

setPaymentInfoReferenceNumber

public void setPaymentInfoReferenceNumber(String paymentInfoReferenceNumber)
Specified by:
setPaymentInfoReferenceNumber in interface PaymentResponseItem

getPaymentInfo

public PaymentInfo getPaymentInfo()
Specified by:
getPaymentInfo in interface PaymentResponseItem

setPaymentInfo

public void setPaymentInfo(PaymentInfo paymentInfo)
Specified by:
setPaymentInfo in interface PaymentResponseItem

toString

public String toString()
Overrides:
toString in class Object

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.