com.paypal.adaptive.api.requests
Class PreapprovalDetailsRequest

java.lang.Object
  extended by com.paypal.adaptive.api.requests.PreapprovalDetailsRequest

public class PreapprovalDetailsRequest
extends java.lang.Object

PreapprovalDetails API provides information about a preapproval set up with the Preapproval API operation.


Field Summary
protected  ServiceEnvironment env
           
protected  boolean getBillingAddress
           
protected  java.lang.String preapprovalKey
           
protected  RequestEnvelope requestEnvelope
           
 
Constructor Summary
PreapprovalDetailsRequest(java.lang.String language, ServiceEnvironment env)
           
 
Method Summary
 PreapprovalDetailsResponse execute(APICredential credentialObj)
           
 java.lang.String getPreapprovalKey()
          Gets the value of the preapprovalKey property.
 RequestEnvelope getRequestEnvelope()
          Gets the value of the requestEnvelope property.
 boolean isGetBillingAddress()
          Gets the value of the getBillingAddress property.
 void setGetBillingAddress(boolean value)
          Sets the value of the getBillingAddress property.
 void setPreapprovalKey(java.lang.String value)
          Sets the value of the preapprovalKey property.
 void setRequestEnvelope(RequestEnvelope value)
          Sets the value of the requestEnvelope property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestEnvelope

protected RequestEnvelope requestEnvelope

preapprovalKey

protected java.lang.String preapprovalKey

getBillingAddress

protected boolean getBillingAddress

env

protected ServiceEnvironment env
Constructor Detail

PreapprovalDetailsRequest

public PreapprovalDetailsRequest(java.lang.String language,
                                 ServiceEnvironment env)
Method Detail

getRequestEnvelope

public RequestEnvelope getRequestEnvelope()
Gets the value of the requestEnvelope property.

Returns:
possible object is RequestEnvelope

setRequestEnvelope

public void setRequestEnvelope(RequestEnvelope value)
Sets the value of the requestEnvelope property.

Parameters:
value - allowed object is RequestEnvelope

getPreapprovalKey

public java.lang.String getPreapprovalKey()
Gets the value of the preapprovalKey property.

Returns:
possible object is String

setPreapprovalKey

public void setPreapprovalKey(java.lang.String value)
Sets the value of the preapprovalKey property.

Parameters:
value - allowed object is String

isGetBillingAddress

public boolean isGetBillingAddress()
Gets the value of the getBillingAddress property.

Returns:
possible object is Boolean

setGetBillingAddress

public void setGetBillingAddress(boolean value)
Sets the value of the getBillingAddress property.

Parameters:
value - allowed object is Boolean

execute

public PreapprovalDetailsResponse execute(APICredential credentialObj)
                                   throws MissingParameterException,
                                          InvalidResponseDataException,
                                          RequestFailureException,
                                          java.io.IOException
Throws:
MissingParameterException
InvalidResponseDataException
RequestFailureException
java.io.IOException

toString

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