com.paypal.svcs.types.perm
Class RequestPermissionsRequest

java.lang.Object
  extended by com.paypal.svcs.types.perm.RequestPermissionsRequest

public class RequestPermissionsRequest
extends Object

Describes the request for permissions over an account. Primary element is "scope", which lists the permissions needed.


Constructor Summary
RequestPermissionsRequest()
          Default Constructor
RequestPermissionsRequest(List<String> scope, String callback)
          Constructor with arguments
 
Method Summary
 String getCallback()
          Getter for callback
 RequestEnvelope getRequestEnvelope()
          Getter for requestEnvelope
 List<String> getScope()
          Getter for scope
 void setCallback(String callback)
          Setter for callback
 void setRequestEnvelope(RequestEnvelope requestEnvelope)
          Setter for requestEnvelope
 void setScope(List<String> scope)
          Setter for scope
 String toNVPString()
           
 String toNVPString(String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestPermissionsRequest

public RequestPermissionsRequest(List<String> scope,
                                 String callback)
Constructor with arguments


RequestPermissionsRequest

public RequestPermissionsRequest()
Default Constructor

Method Detail

getRequestEnvelope

public RequestEnvelope getRequestEnvelope()
Getter for requestEnvelope


setRequestEnvelope

public void setRequestEnvelope(RequestEnvelope requestEnvelope)
Setter for requestEnvelope


getScope

public List<String> getScope()
Getter for scope


setScope

public void setScope(List<String> scope)
Setter for scope


getCallback

public String getCallback()
Getter for callback


setCallback

public void setCallback(String callback)
Setter for callback


toNVPString

public String toNVPString()
                   throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

toNVPString

public String toNVPString(String prefix)
                   throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright © 2013. All Rights Reserved.