org.broadleafcommerce.vendor.paypal.service.payment.message.payment
Class PayPalPaymentResponse

java.lang.Object
  extended by org.broadleafcommerce.vendor.paypal.service.payment.message.PayPalResponse
      extended by org.broadleafcommerce.vendor.paypal.service.payment.message.payment.PayPalPaymentResponse
All Implemented Interfaces:
Serializable, org.broadleafcommerce.common.vendor.service.message.PaymentResponse, ErrorCheckable

public class PayPalPaymentResponse
extends PayPalResponse
implements org.broadleafcommerce.common.vendor.service.message.PaymentResponse, ErrorCheckable

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  String ack
           
protected  String correlationId
           
protected  List<PayPalErrorResponse> errorResponses
           
protected  String errorText
           
protected  boolean isErrorDetected
           
protected  boolean isSuccessful
           
protected  PayPalMethodType methodType
           
protected  Map<String,String> passThroughErrors
           
protected  PayPalPaymentInfo paymentInfo
           
protected  PayPalRefundInfo refundInfo
           
protected  PayPalTransactionType transactionType
           
protected  String userRedirectUrl
           
 
Fields inherited from class org.broadleafcommerce.vendor.paypal.service.payment.message.PayPalResponse
referenceNumber, responseToken
 
Constructor Summary
PayPalPaymentResponse()
           
 
Method Summary
 boolean equals(Object o)
           
 String getAck()
           
 String getCorrelationId()
           
 String getErrorCode()
           
 List<PayPalErrorResponse> getErrorResponses()
           
 String getErrorText()
           
 PayPalMethodType getMethodType()
           
 Map<String,String> getPassThroughErrors()
           
 PayPalPaymentInfo getPaymentInfo()
           
 PayPalRefundInfo getRefundInfo()
           
 PayPalTransactionType getTransactionType()
           
 String getUserRedirectUrl()
           
 int hashCode()
           
 boolean isErrorDetected()
           
 boolean isSuccessful()
           
 void setAck(String ack)
           
 void setCorrelationId(String correlationId)
           
 void setErrorCode(String errorCode)
           
 void setErrorDetected(boolean isErrorDetected)
           
 void setErrorResponses(List<PayPalErrorResponse> errorResponses)
           
 void setErrorText(String errorText)
           
 void setMethodType(PayPalMethodType methodType)
           
 void setPassThroughErrors(Map<String,String> passThroughErrors)
           
 void setPaymentInfo(PayPalPaymentInfo paymentInfo)
           
 void setRefundInfo(PayPalRefundInfo refundInfo)
           
 void setSuccessful(boolean successful)
           
 void setTransactionType(PayPalTransactionType transactionType)
           
 void setUserRedirectUrl(String userRedirectUrl)
           
 
Methods inherited from class org.broadleafcommerce.vendor.paypal.service.payment.message.PayPalResponse
getReferenceNumber, getResponseToken, setReferenceNumber, setResponseToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isErrorDetected

protected boolean isErrorDetected

isSuccessful

protected boolean isSuccessful

errorText

protected String errorText

transactionType

protected PayPalTransactionType transactionType

methodType

protected PayPalMethodType methodType

errorResponses

protected List<PayPalErrorResponse> errorResponses

passThroughErrors

protected Map<String,String> passThroughErrors

userRedirectUrl

protected String userRedirectUrl

correlationId

protected String correlationId

ack

protected String ack

paymentInfo

protected PayPalPaymentInfo paymentInfo

refundInfo

protected PayPalRefundInfo refundInfo
Constructor Detail

PayPalPaymentResponse

public PayPalPaymentResponse()
Method Detail

getTransactionType

public PayPalTransactionType getTransactionType()

setTransactionType

public void setTransactionType(PayPalTransactionType transactionType)

getErrorCode

public String getErrorCode()
Specified by:
getErrorCode in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

getErrorText

public String getErrorText()
Specified by:
getErrorText in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

isErrorDetected

public boolean isErrorDetected()
Specified by:
isErrorDetected in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

setErrorCode

public void setErrorCode(String errorCode)
Specified by:
setErrorCode in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

setErrorDetected

public void setErrorDetected(boolean isErrorDetected)
Specified by:
setErrorDetected in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

setErrorText

public void setErrorText(String errorText)
Specified by:
setErrorText in interface org.broadleafcommerce.common.vendor.service.message.PaymentResponse

getErrorResponses

public List<PayPalErrorResponse> getErrorResponses()
Specified by:
getErrorResponses in interface ErrorCheckable

setErrorResponses

public void setErrorResponses(List<PayPalErrorResponse> errorResponses)
Specified by:
setErrorResponses in interface ErrorCheckable

getPassThroughErrors

public Map<String,String> getPassThroughErrors()

setPassThroughErrors

public void setPassThroughErrors(Map<String,String> passThroughErrors)

getMethodType

public PayPalMethodType getMethodType()

setMethodType

public void setMethodType(PayPalMethodType methodType)

isSuccessful

public boolean isSuccessful()

setSuccessful

public void setSuccessful(boolean successful)

getUserRedirectUrl

public String getUserRedirectUrl()

setUserRedirectUrl

public void setUserRedirectUrl(String userRedirectUrl)

getCorrelationId

public String getCorrelationId()

setCorrelationId

public void setCorrelationId(String correlationId)

getAck

public String getAck()

setAck

public void setAck(String ack)

getPaymentInfo

public PayPalPaymentInfo getPaymentInfo()

setPaymentInfo

public void setPaymentInfo(PayPalPaymentInfo paymentInfo)

getRefundInfo

public PayPalRefundInfo getRefundInfo()

setRefundInfo

public void setRefundInfo(PayPalRefundInfo refundInfo)

equals

public boolean equals(Object o)
Overrides:
equals in class PayPalResponse

hashCode

public int hashCode()
Overrides:
hashCode in class PayPalResponse


Copyright © 2013. All Rights Reserved.