Payments API Updates

This commit is contained in:
Jay Patel
2015-10-02 14:25:46 -05:00
parent 02fca1bda4
commit a37b880e96
112 changed files with 3857 additions and 1495 deletions

View File

@@ -7,13 +7,13 @@ use PayPal\Common\PayPalModel;
/**
* Class Patch
*
* A JSON Patch object used for doing partial updates to resources.
* A JSON patch object used for applying partial updates to resources.
*
* @package PayPal\Api
*
* @property string op
* @property string path
* @property mixed value
* @property mixed value
* @property string from
*/
class Patch extends PayPalModel
@@ -23,7 +23,7 @@ class Patch extends PayPalModel
* Valid Values: ["add", "remove", "replace", "move", "copy", "test"]
*
* @param string $op
*
*
* @return $this
*/
public function setOp($op)
@@ -43,10 +43,10 @@ class Patch extends PayPalModel
}
/**
* String containing a JSON-Pointer value that references a location within the target document where the operation is performed.
* String containing a JSON Pointer value that references a location within the target document where the operation is performed.
*
* @param string $path
*
*
* @return $this
*/
public function setPath($path)
@@ -56,7 +56,7 @@ class Patch extends PayPalModel
}
/**
* String containing a JSON-Pointer value that references a location within the target document where the operation is performed.
* String containing a JSON Pointer value that references a location within the target document where the operation is performed.
*
* @return string
*/
@@ -69,7 +69,7 @@ class Patch extends PayPalModel
* New value to apply based on the operation.
*
* @param mixed $value
*
*
* @return $this
*/
public function setValue($value)
@@ -89,10 +89,10 @@ class Patch extends PayPalModel
}
/**
* A string containing a JSON Pointer value that references the location in the target document from which to move the value. Required for use where op=move.
* A string containing a JSON Pointer value that references the location in the target document to move the value from.
*
* @param string $from
*
*
* @return $this
*/
public function setFrom($from)
@@ -102,7 +102,7 @@ class Patch extends PayPalModel
}
/**
* A string containing a JSON Pointer value that references the location in the target document from which to move the value. Required for use where op=move.
* A string containing a JSON Pointer value that references the location in the target document to move the value from.
*
* @return string
*/