org.broadleafcommerce.core.payment.domain
Class PaymentResponseItemImpl
java.lang.Object
org.broadleafcommerce.core.payment.domain.PaymentResponseItemImpl
- All Implemented Interfaces:
- Serializable, PaymentResponseItem
@Entity
public class PaymentResponseItemImpl
- extends Object
- implements PaymentResponseItem
- See Also:
- Serialized Form
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
PaymentResponseItemImpl
public PaymentResponseItemImpl()
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.