| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nice/plugins/djcatalog2payment/paypal/lib/PayPal/Api/ |
Upload File : |
<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class Patch
*
* A JSON patch object that you can use to apply partial updates to resources.
*
* @package PayPal\Api
*
* @property string op
* @property string path
* @property mixed value
* @property string from
*/
class Patch extends PayPalModel
{
/**
* The operation to perform.
* Valid Values: ["add", "remove", "replace", "move", "copy", "test"]
*
* @param string $op
*
* @return $this
*/
public function setOp($op)
{
$this->op = $op;
return $this;
}
/**
* The operation to perform.
*
* @return string
*/
public function getOp()
{
return $this->op;
}
/**
* A JSON pointer that references a location in the target document where the operation is performed. A `string` value.
*
* @param string $path
*
* @return $this
*/
public function setPath($path)
{
$this->path = $path;
return $this;
}
/**
* A JSON pointer that references a location in the target document where the operation is performed. A `string` value.
*
* @return string
*/
public function getPath()
{
return $this->path;
}
/**
* New value to apply based on the operation.
*
* @param mixed $value
*
* @return $this
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* New value to apply based on the operation.
*
* @return mixed
*/
public function getValue()
{
return $this->value;
}
/**
* 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)
{
$this->from = $from;
return $this;
}
/**
* A string containing a JSON Pointer value that references the location in the target document to move the value from.
*
* @return string
*/
public function getFrom()
{
return $this->from;
}
}