forked from LiveCarta/PayPal-PHP-SDK
Update Payouts to v1.2
This commit is contained in:
@@ -7,13 +7,13 @@ use PayPal\Common\PayPalModel;
|
||||
/**
|
||||
* Class Patch
|
||||
*
|
||||
* A JSON patch object used for applying partial updates to resources.
|
||||
* A JSON Patch object used for doing 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 (the target location) 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 (the target location) where the operation is performed.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -68,8 +68,8 @@ class Patch extends PayPalModel
|
||||
/**
|
||||
* New value to apply based on the operation.
|
||||
*
|
||||
* @param mixed $value
|
||||
*
|
||||
* @param string $value
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setValue($value)
|
||||
@@ -81,7 +81,7 @@ class Patch extends PayPalModel
|
||||
/**
|
||||
* New value to apply based on the operation.
|
||||
*
|
||||
* @return mixed
|
||||
* @return string
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
@@ -92,7 +92,7 @@ class Patch extends PayPalModel
|
||||
* 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)
|
||||
|
||||
Reference in New Issue
Block a user