com.paypal.api.payments
Class PatchRequest

java.lang.Object
  extended by com.paypal.api.payments.PatchRequest

public class PatchRequest
extends Object


Constructor Summary
PatchRequest()
          Default Constructor
PatchRequest(String op, String path)
          Parameterized Constructor
 
Method Summary
 String getOp()
          Getter for op
 String getPath()
          Getter for path
 PatchRequest setOp(String op)
          Setter for op
 PatchRequest setPath(String path)
          Setter for path
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatchRequest

public PatchRequest()
Default Constructor


PatchRequest

public PatchRequest(String op,
                    String path)
Parameterized Constructor

Method Detail

setOp

public PatchRequest setOp(String op)
Setter for op


getOp

public String getOp()
Getter for op


setPath

public PatchRequest setPath(String path)
Setter for path


getPath

public String getPath()
Getter for path


toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.