com.paypal.adaptive.api.responses
Class RefundResponse

java.lang.Object
  extended by com.paypal.adaptive.api.responses.RefundResponse

public class RefundResponse
extends java.lang.Object

RefundResponse is returned as a result of the Refund API operation..


Field Summary
protected  CurrencyCodes currencyCode
           
protected  java.util.ArrayList<PayError> errorList
           
protected  java.util.ArrayList<RefundInfo> refundInfoList
           
protected  ResponseEnvelope responseEnvelope
           
 
Constructor Summary
RefundResponse(java.lang.String responseString)
           
 
Method Summary
 void addToRefundInfoList(RefundInfo refundInfo)
           
 CurrencyCodes getCurrencyCode()
          Gets the value of the currencyCode property.
 java.util.ArrayList<PayError> getErrorList()
           
 java.util.ArrayList<RefundInfo> getRefundInfoList()
          Gets the value of the refundInfoList property.
 ResponseEnvelope getResponseEnvelope()
          Gets the value of the responseEnvelope property.
 void setCurrencyCode(CurrencyCodes value)
          Sets the value of the currencyCode property.
 void setErrorList(java.util.ArrayList<PayError> errorList)
           
 void setRefundInfoList(java.util.ArrayList<RefundInfo> value)
          Sets the value of the refundInfoList property.
 void setResponseEnvelope(ResponseEnvelope value)
          Sets the value of the responseEnvelope property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

responseEnvelope

protected ResponseEnvelope responseEnvelope

currencyCode

protected CurrencyCodes currencyCode

refundInfoList

protected java.util.ArrayList<RefundInfo> refundInfoList

errorList

protected java.util.ArrayList<PayError> errorList
Constructor Detail

RefundResponse

public RefundResponse(java.lang.String responseString)
               throws PayPalErrorException
Throws:
PayPalErrorException
Method Detail

getErrorList

public java.util.ArrayList<PayError> getErrorList()

setErrorList

public void setErrorList(java.util.ArrayList<PayError> errorList)

getResponseEnvelope

public ResponseEnvelope getResponseEnvelope()
Gets the value of the responseEnvelope property.

Returns:
possible object is ResponseEnvelope

setResponseEnvelope

public void setResponseEnvelope(ResponseEnvelope value)
Sets the value of the responseEnvelope property.

Parameters:
value - allowed object is ResponseEnvelope

getCurrencyCode

public CurrencyCodes getCurrencyCode()
Gets the value of the currencyCode property.

Returns:
possible object is CurrencyCodes

setCurrencyCode

public void setCurrencyCode(CurrencyCodes value)
Sets the value of the currencyCode property.

Parameters:
value - allowed object is CurrencyCodes

getRefundInfoList

public java.util.ArrayList<RefundInfo> getRefundInfoList()
Gets the value of the refundInfoList property.

Returns:
possible object is RefundInfoList

setRefundInfoList

public void setRefundInfoList(java.util.ArrayList<RefundInfo> value)
Sets the value of the refundInfoList property.

Parameters:
value - allowed object is RefundInfoList

addToRefundInfoList

public void addToRefundInfoList(RefundInfo refundInfo)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object